While looking for a OLED display for my WiFi connected Temperature/Humidity logger, i found some very interesting boards on “Tindie”: ESP8266 MCUs with integrated OLED Display and USB connection. I ordered one of each flavour: a D-duino-B and a D-duino V2
Update: Basic D-duino code (OLED, WifiManager)
Specs
Differences
As the D-duino V2 is the successor of the D-duino-B, it comes with several changes. The most obvious: A smaller OLED display.
But by using a smaller display, there was also the chance to put the reset & flash buttons and the USB connector on top of the board. One of the problems with the older boards, was the placement of the buttons on the back. If the board was plugged into a shield or a bread board, the flash/reset buttons where hard to reach. Another nice feature is the possibility to make to board “deepsleep ready”. To use deepsleep, the GPIO16 and the RESET pin has to be connected. On the V2 board, this can easily be done by putting a solder dot on the backside of the board.
Pin definition
Both boards share the same pin schematics
Usage in platform.io
There is no predefined board in platform.io. The following configuration is working for both boards
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
; PlatformIO Project Configuration File ; ; Build options: build flags, source filter ; Upload options: custom upload port, speed and extra flags ; Library options: dependencies, extra library storages ; Advanced options: extra scripting ; ; Please visit documentation for the other options and examples ; http://docs.platformio.org/page/projectconf.html [env:esp-12F] platform = espressif8266 board = esp8285 framework = arduino upload_resetmethod = nodemcu build_flags = -Wl,-Tesp8266.flash.4m1m.ld |
The OLED Display
The Display is utilising a SH1106 display driver connected via i2c to the ESP (SDA→ D1, SCL → D2) and can be easily integrated in your projects by using the ESP8266_SSD1306 library.
Overall: Awesome boards 🙂