-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Welcome to the esp wiki! these are my notes.
https://en.wikipedia.org/wiki/ESP8266
Where to start https://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/intro.html
setup includes the use of https://github.com/wendlers/mpfshell mpfshell is an excellent utility that allows you to connect to the espboard using the supported websocket protocol. My develpment uses UART(0) of ESP01 to talk to the Arduino over the network using the Firmata protocol:
https://github.com/firmata/protocol/blob/master/protocol.md
http://firmata.org/wiki/Main_Page
adding MQTT setup notes:
MQTT is a lightweight protocol for device to device communication.
http://www.switchdoc.com/2016/02/tutorial-installing-and-testing-mosquitto-mqtt-on-raspberry-pi/
Connect the 5v output of mini pro, via mcp1700 found here
http://ww1.microchip.com/downloads/en/DeviceDoc/20001826C.pdf
driving 3.3v ESP01 connect Vin and CH_PD to 3.3v, I flashed ESP01 with custom version of micropython patch just allows programmatic disable of uart as stdout, you need to connect via webrepl of mpfshell to talk to ESP01 once you disable serial port io.
pin out of ESP01:
http://www.electrodragon.com/w/ESP8266_NodeMCU_Dev_Board https://media.readthedocs.org/pdf/micropython-on-esp8266-workshop/latest/micropython-on-esp8266-workshop.pdf
NodeMCU micropython flashing notes.
erase the flash
esptool.py --port /dev/ttyUSB0 --baud 460800 erase_flash
program the fresh build or any rom image
esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect -fm dio 0 build/firmware-combined.bin