ideaspark NodeMCU ESP8266

ideaspark NodeMCU ESP8266 Development Board with 0.96 Inch OLED Display User Manual

Model: NodeMCU ESP8266

1. Вступ

This manual provides comprehensive instructions for the setup, operation, and maintenance of your ideaspark NodeMCU ESP8266 Development Board with a 0.96 Inch OLED Display. This board integrates the ESP8266 WiFi module with a 128x64 SSD1306 OLED display, offering a compact solution for Internet of Things (IoT) projects, network monitoring, and data visualization.

ideaspark NodeMCU ESP8266 Development Board with 0.96 Inch OLED Display

Figure 1: The ideaspark NodeMCU ESP8266 Development Board with integrated 0.96 inch OLED display.

2. Продукт закінчивсяview

The ideaspark NodeMCU ESP8266 Development Board combines the powerful ESP-12E WiFi module with a convenient 0.96-inch OLED display. This integration simplifies development by eliminating the need for external wiring for the display. Key features include:

  • ESP-12E Module: Features a Tensilica Xtensa 32-bit LX106 RISC microprocessor, 128 KB RAM, and 4MB Flash memory.
  • Integrated 0.96-inch OLED Display: 128x64 resolution with SSD1306 driver, compatible with I2C and SPI interfaces.
  • CH340 Driver: For USB-to-serial communication.
  • Порт Micro USB: Для живлення та передачі даних.
  • Self-Recovery Fuse: Protects against overcurrent and short circuits.
ESP-12E Development Board Pinout Diagram

Figure 2: Pinout diagram for the ESP-12E Development Board, detailing GPIO assignments and power connections.

3. Посібник із налаштування

Follow these steps to prepare your NodeMCU ESP8266 board for programming using the Arduino IDE.

3.1. CH340 Driver Installation

The board uses a CH340 chip for USB-to-serial communication. You may need to install the appropriate driver for your operating system.

  1. шукати "CH340 Driver" on a search engine (e.g., Google.com or Bing.com).
  2. Download the latest driver package compatible with your operating system (Windows 10 recommended).
  3. Follow the provided installation instructions.

3.2. Arduino IDE Setup for ESP8266

To program the ESP8266 board using the Arduino IDE, you need to add the ESP8266 board package.

  1. Відкрийте Arduino IDE.
  2. Перейти до File > Налаштування.
  3. In the "Additional Boards Manager URLs" field, add the following URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json
  4. Натисніть OK.
  5. Перейти до Tools > Board > Boards Manager...
  6. шукати "esp8266" and install the "ESP8266 by ESP8266 Community" package.
  7. Після встановлення перейдіть до Інструменти > Дошка і виберіть NodeMCU 1.0 (ESP-12E Module).
Arduino IDE setup steps for ESP8266 board manager and selection

Figure 3: Steps for configuring the Arduino IDE to support the ESP8266 board, including adding the board manager URL and selecting the board type.

3.3. OLED Display Library Installation (U8g2)

To control the integrated OLED display, the U8g2 library is recommended.

  1. У середовищі розробки Arduino перейдіть до Sketch > Include Library > Manage Libraries...
  2. шукати "U8g2" and install the "U8g2 by oliver" library (version 2.19.8 or newer).
Arduino IDE steps for installing U8g2 library and configuring board settings

Figure 4: Instructions for installing the U8g2 library and setting board parameters in the Arduino IDE.

3.4. Initial Code Upload

After setting up the IDE and libraries, you can upload example code to test the board and OLED display. A common initialization for the OLED using U8g2 is:

#include <Arduino.h>
#include <U8g2lib.h>
#include <Wire.h>

// For this board, the OLED uses I2C on D6 (SDA) and D5 (SCL)
// U8G2_SSD1306_128X64_NONAME_F_SW_I2C u8g2(U8G2_R0, /* clock=*/ 14, /* data=*/ 12, /* reset=*/ U8X8_PIN_NONE);
// Or for hardware I2C (GPIO14=SCL, GPIO12=SDA):
U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE, /* clock=*/ 14, /* data=*/ 12);

void setup() {
Serial.begin(115200);
u8g2.begin();
u8g2.setFont(u8g2_font_7x13_tf);
u8g2.clearBuffer();
u8g2.drawStr(0, 10, "Hello, ideaspark");
u8g2.sendBuffer();
}

void loop() {
// Your main code here
}

Ensure the correct COM port is selected under Інструменти > Порт перед завантаженням.

4. Інструкція з експлуатації

The NodeMCU ESP8266 board is designed for flexible operation in various IoT applications.

4.1. Powering the Board

Connect the board to a computer or a 5V USB power adapter using a Micro USB cable. The board will power on automatically.

4.2. Підключення Wi-Fi

The ESP8266 module provides 802.11 b/g/n Wi-Fi connectivity. You can program it to connect to existing Wi-Fi networks or create its own access point. Refer to ESP8266 Wi-Fi examples in the Arduino IDE for detailed programming.

4.3. OLED Display Usage

The 0.96-inch OLED display is connected via I2C. The SDA (Data) pin is D6 (GPIO12) and the SCL (Clock) pin is D5 (GPIO14). Use the U8g2 library functions to draw text, graphics, and display data on the screen.

Close-up of the NodeMCU ESP8266 board displaying 'Hello, ideaspark' on the OLED screen

Figure 5: The integrated OLED display showing a sample message, demonstrating its functionality.

5. Технічні характеристики

ОсобливістьДеталь
Назва моделіNodeMCU ESP8266
ПроцесорTensilica Xtensa 32-bit LX106 RISC microprocessor
Робоча частота80 МГц - 160 МГц
ОЗУ128 КБ
Флеш-пам'ять4 Мб
Бездротовий типWi-Fi (802.11 b/g/n)
OLED-дисплей0.96 inch, 128x64 resolution, SSD1306 driver
Інтерфейс OLEDI2C (SDA: D6/GPIO12, SCL: D5/GPIO14)
USB-to-Serial ChipCH340
Вхідна потужністьMicro USB, 5В
Розміри (ДxШxВ)2.24 x 1.22 x 0.51 дюймів
Вага товару0.634 унції

6. Вирішення проблем

  • Плата не розпізнана комп'ютером:

    Ensure the CH340 driver is correctly installed. Try a different USB cable or port. Restart your computer.

  • Failed to upload code:

    Verify that "NodeMCU 1.0 (ESP-12E Module)" is selected under Інструменти > Дошка and the correct COM port is chosen under Інструменти > Порт. Ensure the board is properly connected. Sometimes, pressing the "Flash" button on the board while uploading can help.

  • OLED-дисплей не працює:

    Confirm the U8g2 library is installed. Check the I2C pin assignments in your code (SDA: D6/GPIO12, SCL: D5/GPIO14). Ensure the U8g2 constructor matches the hardware I2C configuration for this board. An example constructor is: U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE, /* clock=*/ 14, /* data=*/ 12);

  • Проблеми з підключенням Wi-Fi:

    Double-check your Wi-Fi SSID and password in the code. Ensure the board is within range of the Wi-Fi access point. Verify that the ESP8266 Wi-Fi library is correctly included and used.

7. Технічне обслуговування

  • Keep the board in a dry, dust-free environment.
  • Уникайте впливу екстремальних температур або прямих сонячних променів на дошку.
  • Тримайте плату за краї, щоб запобігти пошкодженню компонентів або статичному розряду.
  • Regularly check for firmware updates for the ESP8266 core in the Arduino IDE to benefit from bug fixes and new features.
Нижня сторона view of the NodeMCU ESP8266 board highlighting the self-recovery fuse

Figure 6: The self-recovery fuse on the board, designed to protect against electrical overloads.

8. Гарантія та підтримка

For specific warranty information, please refer to the product's purchase documentation or contact the retailer. For technical support, consult online communities and forums dedicated to ESP8266 and NodeMCU development, as they offer extensive resources and peer assistance.

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.