projets:fuz:piedthon
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| projets:fuz:piedthon [2019-11-22 11:07] – created Lomanic | projets:fuz:piedthon [2025-01-04 20:31] (current) – typofix Lomanic | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Piedthon ====== | ====== Piedthon ====== | ||
| + | |||
| + | <WRAP center round alert 60%> | ||
| + | This traffic light has been lost somehow around october 2023… | ||
| + | </ | ||
| + | |||
| <WRAP round box 60%> | <WRAP round box 60%> | ||
| Line 9: | Line 14: | ||
| * pedestrian traffic light, already hacked to run on regular AC power socket | * pedestrian traffic light, already hacked to run on regular AC power socket | ||
| * 1 [[webduino]] | * 1 [[webduino]] | ||
| - | * cables | + | * 2 relay module 3V |
| - | * | + | * wires (Dupont and electric |
| + | * USB 5V charger | ||
| ===== Roadmap ===== | ===== Roadmap ===== | ||
| - | - ... | + | - install esp and relays to control each light individually |
| + | - secure connections using [[wp> | ||
| + | - flash [[webduino]] using Arduino IDE | ||
| + | - make it blink | ||
| + | - make it blink according to received MQTT messages | ||
| + | - enable wifi OTA upgrades | ||
| + | - add wifimanager | ||
| + | - make MQTT parameters configurable at runtime ([[https:// | ||
| + | |||
| + | |||
| + | ===== Software ===== | ||
| + | Code: https://git.interhacker.space/ | ||
| + | |||
| + | The ESP listens to an MQTT channel at '' | ||
| + | |||
| + | For testing, using [[https:// | ||
| + | |||
| + | or mosquitto ( package mosquitto-clients sur ubuntu ) : '' | ||
| + | |||
| + | ===== Hardware ===== | ||
| + | |||
| + | :!: **RISK OF DEATH OR INJURY: always unplug the traffic light from mains when it is opened as the inside is not insulated at all** :!: | ||
| + | |||
| + | (Describe pinout here, components…) | ||
| + | |||
| + | {{: | ||
| + | |||
| + | < | ||
| + | Relay module | ||
| + | GND GND | ||
| + | VCC | ||
| + | IN1 14 (relay controlling the green light) | ||
| + | IN2 16 (relay controlling the red light) | ||
| + | </ | ||
| <WRAP notice round box 70%> | <WRAP notice round box 70%> | ||
| Line 19: | Line 58: | ||
| * Project created on **Fri 22-11-19** by **[[: | * Project created on **Fri 22-11-19** by **[[: | ||
| </ | </ | ||
| - | |||
projets/fuz/piedthon.1574420873.txt.gz · Last modified: (external edit)