Skip to content
Marc Hoffman edited this page Feb 27, 2017 · 19 revisions

Welcome to the esp wiki! these are my notes.

I bought these: https://www.amazon.com/Makerfire-ESP8266-Serial-Wireless-Transceiver/dp/B01EA3UJJ4/ref=sr_1_1?ie=UTF8&qid=1485549113&sr=8-1-spons&keywords=esp-01&psc=1

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/

esp01-programmer

minipro

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: 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

look at

https://github.com/Neon22/micropython-firmata

Clone this wiki locally