updates

arendst 2017-02-15 11:30:28 +01:00
parent dbd9342365
commit 3f2cd4c479
2 changed files with 2 additions and 2 deletions

@ -46,5 +46,5 @@ Current | A | Current line current
```
## Debugging
Debugging the Sonoff Pow is a bit tricky as the serial interface has a **direct connection to one of the AC power lines**. Therefore I designed below schematic which allows for serial monitoring at 115200 baud and uploading of firmware up to 57600 baud while AC is connected.
Debugging the Sonoff Pow is a bit tricky as the serial interface has a **direct connection to one of the AC power lines**. I designed below schematic using two opto couplers seperating the AC connection on the **left** from the low voltage connection on the **right** allowing for serial control at 115200 baud and uploading of firmware up to 57600 baud while AC is connected.
<img alt="OptoSerial" src="https://github.com/arendst/arendst.github.io/blob/master/media/OptoSerial.jpg" />

@ -19,7 +19,7 @@ BTW changing TOPIC can be done online using the fallback topic and is only neede
### Debugging
- For debugging purposes you can use the serial interface with command ```SerialLog 4``` and the Arduino IDE set to 115200 baud (19200 for Sonoff Dual) and both NL & CR or the web console with command ```WebLog 4```.
- Debugging the Sonoff Pow is a bit tricky as the serial interface has a **direct connection to one of the AC power lines**. Therefore I designed below schematic which allows for serial monitoring at 115200 baud and uploading of firmware up to 57600 baud while AC is connected.
- Debugging the Sonoff Pow is a bit tricky as the serial interface has a **direct connection to one of the AC power lines**. I designed below schematic using two opto couplers seperating the AC connection on the **left** from the low voltage connection on the **right** allowing for serial control at 115200 baud and uploading of firmware up to 57600 baud while AC is connected.
<img alt="OptoSerial" src="https://github.com/arendst/arendst.github.io/blob/master/media/OptoSerial.jpg" />
- To aid in finding the IP address of sonoff the network name will be ```<MQTT_TOPIC>-<last 4 decimal chars of MAC address>```. So the default name is ```sonoff-1234```. Another option is MQTT command ```Status 5```.