====== Expressiv ESP8266 / ESP32 ======
==== ESP8266 / ESP32 ====
* https://www.heise.de/developer/artikel/Arduino-goes-ESP8266-3240085.html
* https://www.esp8266.com/wiki/doku.php?id=start
* http://www.mikrocontroller.net/articles/ESP8266
* https://espressif.com/en/products/hardware/esp8266ex/overview
* https://www.heise.de/ct/ausgabe/2018-2-Sechs-IoT-Projekte-flexibel-und-ohne-Cloud-3930050.html
* https://hackaday.com/2018/08/26/demystifying-the-esp8266-with-a-series-of-tutorials/
=== Installation des Virtual-Com-Port (VCP) Treibers: ===
* https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
=== Programmieren des ESP32 (Mac): ===
# esptool installieren:
$ pip install --user esptool
# Board vorbereiten (Flash Speicher löschen)
$ /Users/xxx/Library/Python/3.7/bin/esptool.py -p /dev/tty.SLAB_USBtoUART erase_flash
# Board mit einem MicroPython-Image beschreiben:
$ /Users/xxx/Library/Python/3.7/bin/esptool.py --chip esp32 -p /dev/tty.SLAB_USBtoUART --baud 115200 write_flash -z 0x1000 esp32-20190125-v1.10.bin
Zugriff auf das Board über die serielle Verbindung mit ''screen'':
screen /dev/tty.SLAB_USBtoUART 115200
screen -ls # List Screen sessions
screen -r # Re-Attach
=== MicroPython auf ESP8266/ESP32 ===
* [[iot:micropython|MicroPython auf ESP8266/ESP32]]
=== Pinout ESP32: ===
* https://ouilogique.com/pinouts/
=== ESP32 Live GPIO Monitoring ===
* https://www.youtube.com/watch?v=UxkOosaNohU
==== Wifi ====
=== Probleme mit Spannungsversorgung: Brownout bei WiFi-Start===
:!: **Abhilfe**: Kondensator > 100µF zwischen VCC und GND
* https://github.com/espressif/arduino-esp32/issues/863
* https://github.com/nkolban/esp32-snippets/issues/168
=== Examples: ===
* https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/client-examples.html
* https://www.hackster.io/Salmanfarisvp/webserverblink-using-nodemcu-26e1ed
* https://www.arduino.cc/en/Reference/WiFi
* https://www.mikrocontroller-elektronik.de/nodemcu-esp8266-tutorial-wlan-board-arduino-ide/
=== Geschwindigkeitsmessung: ====
* https://github.com/espressif/esp-idf/tree/master/examples/wifi/iperf
==== Power-Saving: ====
* https://randomnerdtutorials.com/esp8266-deep-sleep-with-arduino-ide/
* https://randomnerdtutorials.com/latching-power-switch-circuit-auto-power-off-circuit-esp32-esp8266-arduino/
* [[https://microcontrollerslab.com/micropython-esp32-deep-sleep-mode-wake-up-sources/|MicroPython: ESP32 Deep Sleep Mode and Wake Up Sources]]
==== Mesh Networking ====
* [[https://github.com/olab-io/ESP8266-Research/blob/master/defining_mesh_network_for_esp8266.md|Mesh Network for ESP8266]]
* https://tech.scargill.net/esp8266-mesh-experiment/