User Tools

Site Tools


projets:fuz:piedthon

This is an old revision of the document!


Piedthon

Goals

  • make use of the pedestrian traffic light: make it controllable via WiFi via MQTT

Resources

  • pedestrian traffic light, already hacked to run on regular AC power socket
  • 2 relay module 3V
  • wires (Dupont and electric cables for 220V AC)
  • USB 5V charger

Roadmap

  1. install esp and relays to control each light individually
  2. secure connections using veroboard or custom-made PCB
  3. flash webduino using Arduino IDE
  4. make it blink
  5. make it blink according to received MQTT messages
  6. enable wifi OTA upgrades
  7. add wifimanager
  8. make MQTT parameters configurable at runtime (prampec/IotWebConf? see this reddit thread also)

Software

Code: https://git.interhacker.space/jeanjack/piedthon

The eps listens to a MQTT channel at sonic.fuz.re, described in mqtt.

For testing, using mqttcli: while :; do for I in {0..3}; do mqttcli pub --host sonic.fuz.re -m "$I" -t piedthon/input; sleep 0.5; done; done

Hardware

(Describe pinout here, components…)

Follow-up

  • Project created on Fri 22-11-19 by lomanic
projets/fuz/piedthon.1575451310.txt.gz · Last modified: 2023-02-02 22:06 (external edit)