Traffic Light (Ampel) for Arduino / ESP32 & Co.

Simple traffic light using a Neopixel Stick - e.g. Arduino, ESP32, Raspberry, Microbit, Calliope, ...
17
137
0
1003
updated August 14, 2024

Description

PDF

Traffic light (Ampel)

A Neopixel Stick traffic light  - usable with e.g. Arduino, ESP32, Raspberry, Microbit, Calliope, …  Quick and easy to build

Parts needed 

Print

  • No support
  • Orientation as in the files
  • Infill 15%  
  • Material: PLA
  • Filament clear 4g / Filament black (matte) 42g

Final dimension (assembled): height 17.5cm, width 4cm, depth 4cm

Solder

Cut the jumper cable on one side and solder it to the LED stick (GND, 5V, DIN)

Assemble

  • Insert the stick as shown in the pictures 
  • Fix the stick with using the spacer (make sure it is in the right direction)
  • Push the cable including connector through the standpipe
  • Connect the stand pipe

Connect & Code

LEDs are named 0-7 (from top to bottom)  visible are:  red (0,1) yellow (3,4) green (6,7) covered by spacers  (2,5) 

 

######################################################

More information about Neopixel, code examples, connections and warnings at: https://learn.adafruit.com/adafruit-neopixel-uberguide/the-magic-of-neopixels.
The sample code has been tested with original Adafruit Neopixel sticks and may require adaptation when using other sticks.

Disclaimer

 Pls check the documentation of your microcontroller before connecting. I do not take any liablity for damages or injuries. Build and use at your own risk. The linked products and pages are for reference only. I dont get paid for from the owners.

#######################################################

[German translation]

Ampel 

Eine schnell und einfach zu bauende Ampelfür Calliope, Arduino, ESP32, Raspberry & Co.

Benötigt wird:  

Drucken

  • keine Stützstrukturen nötig (ohne Support)
  • Orientierung auf dem Druckbett wie in den Dateien
  • Füllung (Infill) 15%  
  • Material: PLA
  • Filament klar, durchsichtig  4g / Filament schwarz (matt) 42g

Abmessungen (zusammengebaut):  Höhe 17,5cm , Breite 4cm, Tiefe 4cm

Löten

Jumperkabel hinter dem Stecker abschneiden und am LED Stick anlöten (GND, 5V, DIN)

Zusammenbauen

  • Stick wie auf den Bildern zu sehen einlegen (Richtung beachten)
  • Stick mit doppelseitigem Klebeband befestigen
  • Kabel mit Stecker durch das Standrohr schieben
  • Standrohr ins Gehäuse stecken

Verbinden & Programmieren

Calliope:  5V →  +  , GND → - , DIN → P0,  Beispielcode https://makecode.calliope.cc/_WiR00fh3FWwr

Arduino:  5V → 5V, GND → GND, DIN → D6, Beispielcode https://wokwi.com/projects/397144578284602369

ESP32:  5V → 3.3V, GND → GND, DIN → D16 , Beispielcode   https://wokwi.com/projects/397147458586094593

Bemerkungen

Die LEDs werden im Programm mit 0 bis 7 benannt. (von oben nach unten)  Sichtbar sind:  rot (0,1) gelb (3,4) grün(6,7) Verdeckt durch die Abstandshalter sind: (2,5) 

Mehr Informationen zu Neopixel, Codebeispiele, Verbindungen und Warnhinweise unter: https://learn.adafruit.com/adafruit-neopixel-uberguide/the-magic-of-neopixels

Der Beispielcode ist mit originalen Adafruit Neopixel Sticks getestet und benötigt ggf. Anpassung bei Verwendung anderer Sticks.

Disclaimer

Das ist ein Hobbyprojekt. Bitte prüft vor dem Anschluss die Dokumentation Eures Mikrocontrollers. Ich übernehme keine Haftung für Schäden oder Verletzungen. Bauen und benutzen auf eigenes Risiko. Die Links auf Produkte oder andere Informationen dienen nur der besseren Erklärung. Ich erhalte keine Vergütung von den Seiteninhabern.

 

Tags



Model origin

The author marked this model as their own original creation.

License