• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
Traffic Light for Arduino Ampel für Arduino 3D Printer File Image 1
Traffic Light for Arduino Ampel für Arduino 3D Printer File Image 2
Traffic Light for Arduino Ampel für Arduino 3D Printer File Thumbnail 1
Traffic Light for Arduino Ampel für Arduino 3D Printer File Thumbnail 2

Traffic Light for Arduino Ampel für Arduino

Volker_P avatarVolker_P

March 11, 2023

printables-icon
DescriptionCommentsTags

Description

Printing things for a traffic light, controlled by an Arduino.

One model is for 5 mm LEDs, the other for 10 mm LEDs!

You have to write an Arduino-Sketch!

####

Take that simple one for first experience :-) :

Sketch added to files!

----------------------


int ROT=2; //Red LED on PIN 2
int GELB=4; // and so on
int GRUEN=6;


void setup() {
pinMode(ROT, OUTPUT);
pinMode(GELB,OUTPUT);
pinMode(GRUEN,OUTPUT);

}

void loop() {
 digitalWrite(ROT,HIGH);
 delay(10000);             // 10 sec Red
 digitalWrite(GELB,HIGH);
 delay(3000);
 digitalWrite(ROT,LOW);
 digitalWrite(GELB,LOW);
 digitalWrite(GRUEN,HIGH);
 delay(10000);
 digitalWrite(GRUEN,LOW);
 digitalWrite(GELB,HIGH);
 delay(4000);
 digitalWrite(GELB,LOW);

 
}

License:

GNU General Public License v2.0

Related Models

#3DBenchy - The jolly 3D printing torture-test by CreativeTools.se preview image

#3DBenchy - The jolly 3D printing torture-test by CreativeTools.se

CreativeTools profile image

CreativeTools

90,984

Flying Night Dragon preview image

Flying Night Dragon

Sevro profile image

Sevro

8,770

Chunky toddler beads  preview image

Chunky toddler beads

xtract profile image

xtract

967

The T-Rex Skull preview image

The T-Rex Skull

MakerBot profile image

MakerBot

39,868

Stable Flyer VI - Small Toy Glider preview image

Stable Flyer VI - Small Toy Glider

João Hackbart profile image

João Hackbart

3,762

Baby Educational Shape Toy preview image

Baby Educational Shape Toy

Daniel Nowill profile image

Daniel Nowill

1,386

Plantygon - Modular Geometric Stacking Planter for Succulents preview image

Plantygon - Modular Geometric Stacking Planter for Succulents

Printfutura profile image

Printfutura

28,552

Upcycled ATX Lab Bench Power Supply preview image

Upcycled ATX Lab Bench Power Supply

Caelestis Workshop profile image

Caelestis Workshop

1,523