Trafficlight: Difference between revisions

From The Munich Maker Lab's Wiki
Jump to navigation Jump to search
(reworked to be up to date)
mNo edit summary
 
Line 16: Line 16:
*Barreljack Power Supply (the small white thing in the top of the Photo)
*Barreljack Power Supply (the small white thing in the top of the Photo)
*The [[Multiswitch]] board
*The [[Multiswitch]] board
[[File:Traffic light pcb front.jpg|center|thumb|The PCB]]
{|-
[[File:Traffic light pcb back.jpg|center|thumb|the back of the pcb]]
| [[File:Traffic light pcb front.jpg|center|thumb|The PCB]] || [[File:Traffic light pcb back.jpg|center|thumb|the back of the pcb]]
|}


==Software==  
==Software==  

Latest revision as of 22:47, 24 November 2024

   
Internet of Trafficlights (IoT)

Status: working [box doku]

Traffic light.jpg
Description A trafficlight connected to the internet
Owner  Tiefpunkt (tiefpunkt)

We have a traffic light in the space that can be controlled via the internet.

Hardware

  • Trafficlight
  • 3 5V LED Lamps (voltage uncertain)
  • 4-channel relais board
  • esp8266
  • Barreljack Power Supply (the small white thing in the top of the Photo)
  • The Multiswitch board
The PCB
the back of the pcb

Software

Control

Use Homeassistant to control the lights either directly or via automations

It's currently tied to the status - closed is red and open is green :)

ESP Home also provides a webinterface which is currently reachable at http://10.10.10.253/ (that's a DHCP IP so it will possibly change soon => TODO: Fix IP Address)

Pinout

You can find the pinout for the ESP here.


name: red

pin: GPIO5 (D1)


name: yellow

pin: GPIO4 (D2)


name: green

pin: GPIO14 (D5)