Original Supplier information

  • The Development Kit based on ESP8266, integrates GPIO, PWM, IIC, 1-Wire and ADC all in one board.
  • Power your development in the fastest way combining with NodeMCU Firmware!
  • USB-TTL converter included, plug & play.
  • 10 GPIO, every GPIO can be PWM, I2C, 1-wire.
  • FCC CERTIFIED WI-FI module.
  • PCB antenna.
NodeMCU.jpg

Board with display

There is also a NodeMCU with an integrated display.

nodedisp.jpg

Beware: The D5 and D6 as shown in the display are incorrect!

The board uses I²C to connect to the 0.96" OLED display via the SCL (D6/GPIO12) and SDA (D5/GPIO14) pins. The SSD-1306 display has a resolution 128x64.

displine.jpg

0.96" SD1306 OLED Parameters:

  • OLED self-luminous, no backlight
  • Screen material: glass, need good protection
  • Size: 0.96 inch
  • Colour: yellow blue (2 text lines yellow, 6 text lines blue)
  • Voltage: 3.3V-5V DC
  • Viewing angle: >160°
  • High resolution: 128x64
  • Driver lC:SSD1306
conns-aa.png

This upside-down figure has been corrected by me (OLED SCL, OLED SDA)

Advised library for Arduino: U8g2

Use with Tasmota

For testing, I connected a SI7021 temperature sensor to the same I²C bus as the display.

Load a Tasmota custom firmware with USE_DISPLAY_SSD1306 and USE_HTU (you have to build this yourself!).

Set the template to:

{"NAME":"NodeMCU-SSD1306","GPIO":[1,1,1,1,1,1,1,1,608,1,640,1,1,1],"FLAG":0,"BASE":18}

Enter the following commands in the console:

  • i2cdriver4 1 <-- SSD1306 display USE_DISPLAY_SSD1306
  • i2cdriver9 1 <-- SI7021 temp hum USE_HTU
  • displaymodel 2 <-- SSD1306 display
  • displaymode 4 <-- MQTT, local sensors
  • displayrows 8 <-- default 2 rows, change to 8

The display now shows the measured temperature and humidity.

IMG_1471-converted.png

Showing the sensor values on the screen with Tasmota

NodeMCU-OLED-Tasmota.png

The web-interface of the Tasmota NodeMCU-OLED with Si7021

The big "ON" represents the display: it can be toggled off/on.

Comments: