Code and how-to docs for the moxie board.
What's the moxie board? Check the explanation at link
This project has code for an esp8266 based points tracker + website. We used an ESP-WROOM-02 D1 like these and these.
But it does run on a regular esp32!
We used vscode + the arduino extension + the arduino CLI. The regular arduino IDE should also work, but if you're starting from scratch Please give https://platformio.org/ + VSCode a chance first, it's better if you haven't already learned the arduino IDE.
I have no idea, one board works the other doesn't. Maybe grounding GPIO 0 during boot turns on programming mode, which is waht the FLASH and RST pins should do but they don't change the behavior of one board as far as I can tell.
- simultaneously press
FLASH
andRST
on the board - release only
RST
while still holding downFLASH
- wait 1 second
- release
FLASH
- upload code(?!)
- WEMOS esp8266 w/ battery charger support library
- http://arduino.esp8266.com/stable/package_esp8266com_index.json
- paste into Board Manager's
Additional URLs
section - In board config choose
ESP8266_WEMOS_D1WROOM02
- Preferences
- Task Scheduler
- Adafruit PCF8574
arduino.json
board config for vscode + arduino-cli
{
"configuration": "xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,eesz=2M64,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600",
"board": "esp8266:esp8266:d1_wroom_02",
"sketch": "esp8266.ino",
"port": "/dev/ttyUSB0",
"output": "../arduinoOutput"
}