Traffic Light

From i3Detroit
Jump to: navigation, search



Traffic Light
Traffic Light ESP.jpg
Name Traffic Light
Zone Infrastructure
Owner i3Detroit
Make Model Traffic control technologies plastic light with LED mod and esp8266 controller
Part Number nodemcu controller
Date Acquired Controller added 09/08/2017
Storage Location Hanging over the fab lab door
Authorization Required No
Status Running
Value $200
IP Address 10.13.0.139
MAC Address 18:FE:34:FA:3C:8E
Hostname trafficLight-7310
Documentation https://github.com/i3detroit/Sonoff-Tasmota/blob/i3/sonoff/sonoff_template.h
Other References

Intro

Can be used to describe the state of the space, has not been decided what it means yet.

Rules

Anyone is allowed to develop code to talk to this.

Instructions

Send commands via MQTT to control, view responses to get the state. Alternatively there is a web server hosted on this IP that will let you control the relays

Maintenance Info

Should live forever with no changes needed unless the wifi name is changing

8p8c pinout:

1 - Orange/White - ground

2 - Orange - ?

3 - Green/White - NC

4 - Blue - +12vdc

5 - Blue/White - green light (active high)

6 - Green - NC

7 - Brown/White - yellow light (active high)

8 - Brown - red light (active high)


Module GPIO pinout

0 - Button (internal, on nodemcu v1.0)

1 - Serial RXD and Optional sensor

2 - Optional sensor

3 - Serial TXD and Optional sensor

4 - Relay 3 (1 = Off, 0 = On)

5 - Relay 2 (1 = Off, 0 = On)

6 - Flash

7 - Flash

8 - Flash

9 - Flash

10 - Flash

11 - Flash

12 - Relay 1 (1 = Off, 0 = On)

13 - Optional sensor

14 - DHT22

15 - Relay 4 (1 = Off, 0 = On)

16 - Blue Led (0 = On, 1 = Off)

ADC - NC

FAQ

ToDo

make PWM capable