33 lines
No EOL
910 B
Markdown
33 lines
No EOL
910 B
Markdown
|
|
## ESP8266 Firmware
|
|
|
|
### Building
|
|
|
|
Edit esp/src/main.cpp and set the configuration (WiFi credentials, MQTT broker & topic)!
|
|
|
|
For Sanyo Z4:
|
|
|
|
```
|
|
cd esp
|
|
pio run -e sanyoz4 -t upload --upload-port /dev/ttyUSB0
|
|
```
|
|
|
|
For Benq X3000i
|
|
|
|
```
|
|
cd esp
|
|
pio run -e benqx3000i -t upload --upload-port /dev/ttyUSB0
|
|
```
|
|
|
|
## PCB
|
|
|
|
* ESP-01
|
|
* [This specific MAX3232-Board from AliExpress][max3232]
|
|
* 1x 10k 0805 SMD Resistor
|
|
* 1x 2x2 2.54mm pin header
|
|
* 1x 2x4 2.54mm socket header
|
|
* 1x 1x4 2.54mm socket header
|
|
* USB Micro-B socket
|
|
* SOT-223 3v3 voltage regulator
|
|
|
|
[max3232]: https://de.aliexpress.com/item/1005001548466845.html?spm=a2g0o.productlist.0.0.29142932HtTivS&algo_pvid=37640f61-ffd9-40fb-b468-f261709c162b&algo_exp_id=37640f61-ffd9-40fb-b468-f261709c162b-1&pdp_ext_f=%7B%22sku_id%22%3A%2212000016543520800%22%7D&pdp_npi=2%40dis%21CHF%21%210.41%21%21%21%21%21%402101d8b516564877891056410e1251%2112000016543520800%21sea |