User Tools

Site Tools


projets:fuz:piedthon

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projets:fuz:piedthon [2019-12-02 00:34] – [Roadmap] veroboard Lomanicprojets:fuz:piedthon [2023-12-01 13:28] (current) rozlav
Line 1: Line 1:
 ====== Piedthon ====== ====== Piedthon ======
 +
 +<WRAP center round alert 60%>
 +This item as been lost somehow around october 2023~~
 +</WRAP>
 +
  
 <WRAP round box 60%> <WRAP round box 60%>
Line 6: Line 11:
 </WRAP> </WRAP>
  
-Code: https://git.interhacker.space/jeanjack/piedthon 
 ===== Resources ===== ===== Resources =====
   * pedestrian traffic light, already hacked to run on regular AC power socket   * pedestrian traffic light, already hacked to run on regular AC power socket
Line 22: Line 26:
   - enable wifi OTA upgrades   - enable wifi OTA upgrades
   - add wifimanager   - add wifimanager
-  - make MQTT parameters configurable at runtime+  - make MQTT parameters configurable at runtime ([[https://github.com/prampec/IotWebConf|prampec/IotWebConf]]? see [[https://reddit.com/comments/e4pj1u|this reddit thread]] also) 
 + 
 + 
 +===== Software ===== 
 +Code: https://git.interhacker.space/jeanjack/piedthon 
 + 
 +The ESP listens to an MQTT channel at ''sonic.fuz.re'', described in [[:infra:mqtt]]. 
 + 
 +For testing, using [[https://github.com/shirou/mqttcli|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%%'' 
 + 
 +or mosquitto ( package mosquitto-clients sur ubuntu ) : ''%%while :; do for I in {0..3}; do mosquitto_pub -h sonic.fuz.re -m "$I" -t piedthon/input; sleep "$J.5"; J="$I";done; done%%'' 
 + 
 +===== 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…) 
 + 
 +{{:projets:fuz:piedthon:relays_webduino_connections.jpg?400|}} 
 + 
 +<code> 
 +Relay module          Webduino 
 +GND                   GND 
 +VCC                   3.3V 
 +IN1                   14 (relay controlling the green light) 
 +IN2                   16 (relay controlling the red light) 
 +</code>
  
 <WRAP notice round box 70%> <WRAP notice round box 70%>
Line 28: Line 58:
   * Project created on **Fri 22-11-19** by **[[:user:lomanic|lomanic]]**   * Project created on **Fri 22-11-19** by **[[:user:lomanic|lomanic]]**
 </WRAP> </WRAP>
- 
projets/fuz/piedthon.1575246879.txt.gz · Last modified: 2023-02-02 22:06 (external edit)