User Tools

Site Tools


projets:fuz:presence_button

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
projets:fuz:presence_button [2021-02-01 19:24] – [Misc] +https://www.iot-experiments.com/esp32-warning-light/ Lomanicprojets:fuz:presence_button [2021-02-04 18:35] – [Hardware] mention revolving light Lomanic
Line 9: Line 9:
 ===== Hardware ===== ===== Hardware =====
   * some glorious esp8266 in a [[https://sonoff.tech/product/wifi-smart-plugs/s20|Sonoff S20 power plug]] (NodeMCU v0.9 for development)   * some glorious esp8266 in a [[https://sonoff.tech/product/wifi-smart-plugs/s20|Sonoff S20 power plug]] (NodeMCU v0.9 for development)
 +  * something to turn on/off that may get attendants attention, that they would want to turn off. We chose a revolving light that we already had, an off-the-shelf lamp (like [[https://www.amazon.fr/Eurolite-060090-Police-Lumi%C3%A8re-Rouge/dp/B000TGOGRS/|this one]]) which plugs to main via the Sonoff 
  
 To flash a Sonoff S20, solder the pins on the left of the push button, connect your USB-to-Serial convertor (RobotDyn CH340G in this case) to the headers like in the image below (from top to bottom, GND, TX, RX, 3.3v VCC), push Sonoff button while plugging in your USB-to-Serial convertor in your PC and then release the push button after a few seconds (check out [[https://medium.com/@jeffreyroshan/flashing-a-custom-firmware-to-sonoff-wifi-switch-with-arduino-ide-402e5a2f77b|this link]] and [[http://blinkingled.cc/update-firmware-of-smart-switch-sonoff-s20/|that one]]). Don't forget about the SPIFFS setting in Arduino IDE as we are using it to store custom settings via WifiManager (see step 6 below). To flash a Sonoff S20, solder the pins on the left of the push button, connect your USB-to-Serial convertor (RobotDyn CH340G in this case) to the headers like in the image below (from top to bottom, GND, TX, RX, 3.3v VCC), push Sonoff button while plugging in your USB-to-Serial convertor in your PC and then release the push button after a few seconds (check out [[https://medium.com/@jeffreyroshan/flashing-a-custom-firmware-to-sonoff-wifi-switch-with-arduino-ide-402e5a2f77b|this link]] and [[http://blinkingled.cc/update-firmware-of-smart-switch-sonoff-s20/|that one]]). Don't forget about the SPIFFS setting in Arduino IDE as we are using it to store custom settings via WifiManager (see step 6 below).
projets/fuz/presence_button.txt · Last modified: 2023-02-02 22:06 by 127.0.0.1