ESP8266 WeMos D1 Mini WIFI
15/01/21 16:21 Filed in: Electronics
For less than AU$10 I picked up ESP8266 ESP-12 ESP-12F CH340G CH340 V2 USB WeMos D1 Mini WIFI Development Board for curiosity.
Deployment turns out to be fairly easy … the hardest bit was fixing the Arduino IDE on OS X Big Sur … and with 11 IO pins it could quickly become a useful device
Deployment turns out to be fairly easy … the hardest bit was fixing the Arduino IDE on OS X Big Sur … and with 11 IO pins it could quickly become a useful device
Getting started
The example works as advertised (remember to use 115200 baud)
- This article by Joshua Hrisko covers the basics well https://makersportal.com/blog/2019/6/12/wemos-d1-mini-esp8266-arduino-wifi-board
- Add the community supported package to "Additional Boards Manager URLS" in the Preferences pane (https://arduino.esp8266.com/stable/package_esp8266com_index.json)
- Install esp8266 in the Board Manager (use the latest versions distinct from the article)
- Fix up pyserial as per juanssls advice in https://forum.arduino.cc/index.php?topic=702144.0 (this is to avoid there error "pyserial or esptool directories not found next to this upload.py tool.")
- Open ~/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/pyserial/ serial/tools/list_ports_osx.py
- Comment out lines 29 and 30 and append these lines:
iokit = ctypes.cdll.LoadLibrary('/System/Library/Frameworks/IOKit.framework/IOKit')
cf = ctypes.cdll.LoadLibrary('/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation')
The example works as advertised (remember to use 115200 baud)