Components · 11 min read

Nextion Display Arduino Guide: Nextion Editor, Commands & ESP32

Use a Nextion display with Arduino and ESP32: UI in Nextion Editor, serial commands, EasyNextionLibrary, uploading the .tft file via SD and a model table.

A Nextion display with Arduino is the easiest way to give your project a touch interface like a phone's. Nextion is an HMI (human-machine interface) display made by ITEAD, with its own processor and memory: you design the pages, buttons, gauges and images on your computer in Nextion Editor and upload them to the screen once. After that the Arduino only sends short serial commands such as t0.txt="24.5"; the display does the drawing itself and reports a touched button back to the Arduino in a single message. That is why even an Arduino Uno with 2 KB of RAM can comfortably run a 7 inch screen.

In this guide you will first see how the Nextion works, how to read its model codes and which sizes exist, then how to wire it to an Arduino Uno, Mega, ESP32 and Raspberry Pi Pico. You will build your first interface in Nextion Editor, upload the .tft file with a microSD card or a USB-TTL adapter, and then control the screen with three ready-made sketches: an Arduino Uno sketch with no library, an ESP32 sketch using EasyNextionLibrary and a MicroPython example. At the end there is a list of the most common wiring mistakes.

What is a Nextion and how does it work?

On an ordinary TFT display the Arduino draws every pixel: to show a button you send the rectangle, text and border commands one by one over SPI, and on large screens that strains both memory and processor. On a Nextion the interface lives in the display's own flash memory instead. The microcontroller on board draws the pages, detects touches and only reports the result over UART (the serial port). The Arduino's job is to read the sensor, drive the relay and tell the display "show this value". Four wires are all it takes: 5V, GND, TX and RX.

FeatureNextionSPI TFT (ILI9341)I2C LCD (16x2)
Who draws the interface?The display's own processorThe ArduinoThe display driver (characters only)
ConnectionUART, 4 wiresSPI, 7–9 wiresI2C, 4 wires
Load on Arduino memoryVery low (short text commands)High (libraries and fonts)Very low
TouchBuilt in, reported as eventsSeparate touch chip and calibrationNone
Design toolNextion Editor (drag and drop)Drawing in codeNone
PriceHigherMediumLow

Nextion models and sizes

The Nextion comes in four series. Basic (T in the model code) is the most common and most affordable series; it has no RTC and no GPIO. Discovery (F) does the same jobs as Basic with a faster processor. Enhanced (K) adds a battery-backed real-time clock (RTC), 8 GPIO pins and more memory. Intelligent (P) is the top series with animations, video and much more RAM. The model code describes the screen: in NX4832T035, 4832 stands for 480×320 resolution, T for the Basic series and 035 for the 3.5 inch diagonal.

Model (Basic)SizeResolutionFlashPower note
NX3224T0242.4 inch320×2404 MBAbout 90 mA, the Arduino's 5V is enough
NX3224T0282.8 inch320×2404 MBThe Arduino's 5V is enough
NX4024T0323.2 inch400×2404 MBThe Arduino's 5V is enough
NX4832T0353.5 inch480×32016 MBA separate 5 V supply is recommended for long use
NX4827T0434.3 inch480×27216 MBUse a separate 5 V supply
NX8048T0505.0 inch800×48016 MBSeparate 5 V, at least 1 A
NX8048T0707.0 inch800×48016 MBSeparate 5 V, at least 1 A; over 500 mA at full brightness
An interface is designed for one specific resolution, and moving it to another model means redoing the images and the layout. So pick your screen first and only then start designing. For a first project a 2.8 or 3.5 inch Basic model is a great start; if your panel needs to keep time or use its own pins, look at the Enhanced series.

Wiring the Nextion: Arduino Uno, Mega, ESP32 and Pico

Nextion pinArduino UnoArduino MegaESP32Raspberry Pi Pico
5V (red)5V5VVIN (5 V)VBUS (5 V)
GND (black)GNDGNDGNDGND
TXD2 (SoftwareSerial RX)19 (RX1)GPIO 16 (RX2)GP1 (UART0 RX)
RXD3 (SoftwareSerial TX)18 (TX1)GPIO 17 (TX2)GP0 (UART0 TX)
TX and RX are crossed: the Nextion's TX goes to the board's RX and the Nextion's RX to the board's TX. Wire colours can differ between batches, so trust the labels printed on the board. Power 4.3 inch and larger screens from a separate 5 V supply and always connect that supply's GND to the Arduino's GND. If you connect the screen to pins 0 and 1 on an Uno, it clashes with sketch uploads and the Serial Monitor; move the screen to other pins with SoftwareSerial or unplug the TX wire while uploading.

The Nextion's serial line outputs 3.3 V levels, while its RX input is 5 V tolerant. That is why the screen connects directly, without a level shifter, both to a 5 V Arduino Uno or Mega and to a 3.3 V ESP32 or Pico. The display itself, however, must be powered from 5 V; it will not run on 3.3 V. On the ESP32, Serial2 uses GPIO 16 and 17 by default, and on the Mega you can pick any of the hardware ports from Serial1 to Serial3.

Your first interface in Nextion Editor

  1. Download Nextion Editor from the manufacturer's website and install it; the program only runs on Windows.
  2. Open a new project with File > New, pick your screen's series and model (for example NX4832T035) in the dialog, and set the orientation (landscape or portrait) on the Display tab.
  3. Create a font with Tools > Font Generator: choose the size (for example 24) and the encoding, use utf-8 for accented letters, save the file and add it to the project. Without a font a text component shows nothing.
  4. Drag a Text (t0), a Button (b0), a Number (n0) and a Progress Bar (j0) from the Toolbox onto the page. Each component's name and id appear in the attribute panel on the right.
  5. Select b0, open the Touch Release Event tab in the Event area at the bottom and tick Send Component ID; now the screen sends the Arduino a message every time the button is pressed and released.
  6. Open the simulator with the Debug button and try the interface; then build it with Compile. The project's .tft file is in the folder that opens with File > Open build folder.

Every component has attributes you can change: txt sets the text, val the numeric value, bco the background colour and pco the font colour. Colours are a single number in RGB565 format: red 63488, green 2016, blue 31, yellow 65504, white 65535 and black 0. By default components are only valid on their own page (vscope: local). To write to a component on another page, make it global and send the command as page1.t0.txt; otherwise the screen treats the command as invalid.

ComponentDefault nameKey attributeExample command
Textt0txt (text)t0.txt="Hello"
Numbern0val (integers only)n0.val=42
Buttonb0txt, bcob0.bco=2016
Dual-state buttonbt0val (0 or 1)bt0.val=1
Progress barj0val (0–100)j0.val=75
Gaugez0val (0–360 degrees)z0.val=90
Sliderh0val (between minval and maxval)get h0.val
Waveforms0channels 0–3, values 0–255add 5,0,128 (5 = id of s0)

Uploading the .tft file: microSD or USB-TTL

The easiest method is a microSD card. Format it as FAT32 (cards of 32 GB or less work most reliably), copy a single .tft file onto it and insert it while the screen is off. When you power the screen up the update starts by itself, shows a progress percentage and ends with a success message. Then cut the power, remove the card and switch the screen on again; as long as the card stays in, it reflashes on every power-up. The second method is a USB-TTL adapter: connect the adapter's TX to the Nextion's RX, its RX to the Nextion's TX, 5V and GND to their counterparts, press Upload in Nextion Editor and choose the port and speed. No Arduino may be connected to the screen's serial line while you do this.

CH340 USB-TTL adapter module
CH340 USB-TTL adapter: used to upload the .tft file from Nextion Editor over the serial port; the TX and RX lines are crossed to the Nextion.

Serial commands: the Nextion's language

Every command you send to a Nextion is plain text and ends with three 0xFF bytes; until those three bytes arrive the screen does not execute anything. Text goes in double quotes, numbers without quotes. The default speed is 9600 baud, which carries about 960 bytes per second: you can easily send a 15-byte command dozens of times a second, but if you try to refresh dozens of components on every loop the line clogs up. For faster communication baud=115200 changes the speed for the current session, while bauds=115200 saves it permanently; in recent Editor versions the baud line on the Program.s tab sets the start-up speed. If you change the speed, remember to use the same one on the Arduino side.

CommandWhat it does
page 1Switches to page number 1
t0.txt="Hello"Writes text into the t0 text box
n0.val=25Sets the number component n0 to 25
vis b0,0Hides b0 (1 shows it again)
tsw b0,0Disables touch on b0
dim=30Sets the backlight to 30% (dims=30 saves it)
thsp=60 and thup=1Sleeps after 60 s without touch, wakes on touch
get n0.valAsks for n0's value; the reply starts with 0x71
sendmeAsks for the current page number; the reply starts with 0x66
restRestarts the screen
First byteMeaningExample packet
0x65Touch event: page, component id, event (01 press, 00 release)65 00 02 00 FF FF FF
0x66Current page number (reply to sendme)66 01 FF FF FF
0x70Text reply (get t0.txt)70 48 69 FF FF FF
0x71Numeric reply, 4 bytes, low byte first71 2A 00 00 00 FF FF FF
0x1AInvalid component or attribute name1A FF FF FF
0x88Screen has booted and is ready88 FF FF FF

Arduino Uno sketch with no library

The first sketch uses no Nextion library at all, so you really understand the protocol. The screen is connected to D2 and D3 through SoftwareSerial, there is a potentiometer on A0 and the board's own LED on D13. Page 0 of the Nextion holds t0 (id 1), b0 (id 2), n0 and j0, and Send Component ID is ticked in b0's Touch Release Event. Each time you press the button the LED toggles and the button's colour and text change, while the potentiometer value appears on screen as a number and a bar.

C++ (Arduino IDE)
1// Arduino Uno + Nextion: kütüphanesiz, SoftwareSerial ile
2// Arduino Uno + Nextion: no library, using SoftwareSerial
3#include <SoftwareSerial.h>
4
5SoftwareSerial nex(2, 3);     // RX = D2 (Nextion TX), TX = D3 (Nextion RX)
6const int LED_PIN = 13;
7const int POT_PIN = A0;
8
9bool ledOn = false;
10uint8_t buf[16];
11uint8_t len = 0, ffCount = 0;
12unsigned long lastUpdate = 0;
13
14void sendCmd(const String &cmd) {
15  nex.print(cmd);
16  nex.write(0xFF); nex.write(0xFF); nex.write(0xFF);   // her komut üç 0xFF ile biter / every command ends with three 0xFF
17}
18
19void handleFrame() {
20  // dokunma olayı: 0x65 sayfa bileşen olay / touch event: 0x65 page component event
21  if (len >= 4 && buf[0] == 0x65) {
22    uint8_t page = buf[1], id = buf[2], event = buf[3];
23    if (page == 0 && id == 2 && event == 0x00) {        // sayfa 0, b0 (id 2), bırakma / page 0, b0 (id 2), release
24      ledOn = !ledOn;
25      digitalWrite(LED_PIN, ledOn ? HIGH : LOW);
26      sendCmd(String("b0.txt=\"") + (ledOn ? "LED ON" : "LED OFF") + "\"");
27      sendCmd(String("b0.bco=") + (ledOn ? "2016" : "63488"));  // yeşil ya da kırmızı / green or red (RGB565)
28    }
29  }
30}
31
32void readNextion() {
33  while (nex.available()) {
34    uint8_t c = nex.read();
35    if (len < sizeof(buf)) buf[len++] = c;
36    if (c == 0xFF) {
37      if (++ffCount == 3) {                            // paket bitti / frame complete
38        handleFrame();
39        len = 0;
40        ffCount = 0;
41      }
42    } else {
43      ffCount = 0;
44    }
45  }
46}
47
48void setup() {
49  pinMode(LED_PIN, OUTPUT);
50  nex.begin(9600);                                     // Nextion varsayılan hızı / Nextion default baud rate
51  delay(500);                                          // ekranın açılmasını bekle / let the display boot
52  sendCmd("page 0");
53  sendCmd("t0.txt=\"BlueGrays\"");
54}
55
56void loop() {
57  readNextion();
58  if (millis() - lastUpdate > 500) {                   // ekranı saniyede iki kez güncelle / refresh twice a second
59    lastUpdate = millis();
60    int raw = analogRead(POT_PIN);
61    sendCmd("n0.val=" + String(raw));                  // sayı bileşeni / number component
62    sendCmd("j0.val=" + String(map(raw, 0, 1023, 0, 100)));  // ilerleme çubuğu 0-100 / progress bar 0-100
63  }
64}

readNextion() collects incoming bytes in an array and hands the packet to handleFrame() as soon as it sees three 0xFF in a row. If the packet starts with 0x65, the second byte is the page, the third the component id and the fourth the event. In this example b0 has id 2; in your own project read the id from the attribute panel in the Editor, because it depends on the order in which you add components. Refreshing the screen every 500 ms looks smooth without filling the 9600 baud line. SoftwareSerial is reliable at 9600 baud; at 57600 baud and above the Uno starts losing data, and then the Mega's hardware serial ports are the better choice.

ESP32 with EasyNextionLibrary

In bigger projects you can use EasyNextionLibrary instead of decoding the protocol by hand; you will find it in the Library Manager as "Easy Nextion Library". The library only works with hardware serial ports (HardwareSerial), so it is more comfortable on a Mega or an ESP32 than on an Uno. Its strongest feature is trigger functions: write printh 23 02 54 00 in a Nextion event and trigger0() runs on the Arduino by itself; printh 23 02 54 01 runs trigger1(). writeStr() sends text, writeNum() sends a number and readNumber() reads a component's value, returning 777777 on error.

ComponentEventCode to write in the NextionWhat runs on the Arduino
b0 (relay button)Touch Release Eventprinth 23 02 54 00trigger0()
h0 (brightness slider)Touch Release Eventprinth 23 02 54 01trigger1()
Every pagePreinitialize Eventprinth 23 02 50 00 (for page 0)currentPageId is updated
C++ (Arduino IDE)
1// ESP32 + Nextion + EasyNextionLibrary: DHT22 göstergesi, röle ve parlaklık kaydırıcısı
2// ESP32 + Nextion + EasyNextionLibrary: DHT22 gauge, relay and brightness slider
3#include "EasyNextionLibrary.h"
4#include <DHT.h>
5
6EasyNex myNex(Serial2);        // Serial2: RX = GPIO 16 (Nextion TX), TX = GPIO 17 (Nextion RX)
7DHT dht(4, DHT22);
8
9const int RELAY_PIN = 26;
10const int LED_PIN = 25;
11bool relayOn = false;
12unsigned long lastRead = 0;
13
14void setup() {
15  pinMode(RELAY_PIN, OUTPUT);
16  dht.begin();
17#if ESP_ARDUINO_VERSION_MAJOR >= 3
18  ledcAttach(LED_PIN, 5000, 8);          // çekirdek 3.x: pin, frekans, çözünürlük / core 3.x: pin, freq, resolution
19#else
20  ledcSetup(0, 5000, 8);                 // çekirdek 2.x: kanal 0 / core 2.x: channel 0
21  ledcAttachPin(LED_PIN, 0);
22#endif
23  myNex.begin(9600);
24  myNex.writeStr("page 0");              // tek parametre = ham komut / one parameter = raw command
25}
26
27void setBrightness(uint32_t duty) {
28#if ESP_ARDUINO_VERSION_MAJOR >= 3
29  ledcWrite(LED_PIN, duty);              // 3.x: pin ile yazılır / written by pin
30#else
31  ledcWrite(0, duty);                    // 2.x: kanal ile yazılır / written by channel
32#endif
33}
34
35void loop() {
36  myNex.NextionListen();                 // dokunma olaylarını dinle / listen for touch events
37
38  if (millis() - lastRead > 2000) {      // DHT22'yi 2 s'de bir oku / read DHT22 every 2 s
39    lastRead = millis();
40    float t = dht.readTemperature();
41    float h = dht.readHumidity();
42    if (!isnan(t) && !isnan(h)) {
43      myNex.writeStr("t0.txt", String(t, 1) + " C");
44      myNex.writeStr("t1.txt", String(h, 0) + " %");
45      int angle = constrain((int)(t * 180.0 / 50.0), 0, 180);   // 0-50 °C -> 0-180 derece / degrees
46      myNex.writeNum("z0.val", angle);   // ibreli gösterge / gauge
47    }
48  }
49}
50
51// b0 bırakma olayı: printh 23 02 54 00 / b0 release event: printh 23 02 54 00
52void trigger0() {
53  relayOn = !relayOn;
54  digitalWrite(RELAY_PIN, relayOn ? HIGH : LOW);
55  myNex.writeStr("b0.txt", relayOn ? "ROLE ON" : "ROLE OFF");
56  myNex.writeNum("b0.bco", relayOn ? 2016 : 63488);
57}
58
59// h0 kaydırıcı bırakma olayı: printh 23 02 54 01 / h0 slider release event: printh 23 02 54 01
60void trigger1() {
61  uint32_t level = myNex.readNumber("h0.val");   // 0-255 arası ayarlı / set to 0-255 in the Editor
62  if (level != 777777) setBrightness(level);      // 777777 = okuma hatası / read error
63}

In this sketch the ESP32 writes the temperature it reads from a DHT22 every two seconds to t0 and the humidity to t1, then converts the temperature from the 0–50 °C range to 0–180 degrees and sends it to the needle gauge (z0). Pressing b0 makes trigger0() toggle the relay and change the button's colour. Set the h0 slider's maxval to 255 in the Editor; when you lift your finger off the slider, trigger1() reads the value and sets the brightness of the LED on GPIO 25 with PWM. The PWM lines are split so the sketch compiles on both the 2.x and 3.x versions of the ESP32 Arduino core. Buttons that use triggers do not need Send Component ID ticked.

Nextion with the Raspberry Pi Pico (MicroPython)

Because the protocol is the same on every board, the Pico does not even need a library. Wire the screen to UART0 (GP0 TX, GP1 RX) and, while the Pico runs on USB, take 5 V from the VBUS pin. The code below uses the same interface: pressing b0 toggles the onboard LED, and the potentiometer on GP26 is shown as a number and a bar.

MicroPython
1# Raspberry Pi Pico + Nextion (MicroPython): yazı gönder, dokunmayı oku
2# Raspberry Pi Pico + Nextion (MicroPython): send text, read touches
3from machine import UART, Pin, ADC
4import time
5
6uart = UART(0, baudrate=9600, tx=Pin(0), rx=Pin(1))   # GP0 -> Nextion RX, GP1 <- Nextion TX
7led = Pin(25, Pin.OUT)                                 # dahili LED (Pico W'de "LED") / onboard LED ("LED" on Pico W)
8pot = ADC(26)                                          # GP26 = ADC0
9END = b"\xff\xff\xff"
10
11def send(cmd):
12    uart.write(cmd.encode() + END)                     # komut + üç 0xFF / command + three 0xFF
13
14send('t0.txt="Pico"')
15buf = b""
16last = time.ticks_ms()
17
18while True:
19    if uart.any():
20        buf += uart.read()
21        while END in buf:
22            frame, buf = buf.split(END, 1)
23            # 0x65 sayfa bileşen olay / 0x65 page component event
24            if len(frame) >= 4 and frame[0] == 0x65 and frame[2] == 2 and frame[3] == 0:
25                led.toggle()
26                send('b0.txt="LED ON"' if led.value() else 'b0.txt="LED OFF"')
27    if time.ticks_diff(time.ticks_ms(), last) > 500:
28        last = time.ticks_ms()
29        raw = pot.read_u16()                           # 0-65535
30        send("n0.val=" + str(raw >> 6))                # 0-1023 aralığına indir / scale to 0-1023
31        send("j0.val=" + str(raw * 100 // 65535))

Project ideas with a Nextion

  • Touchscreen thermostat: show the temperature on a needle gauge, set the target temperature with + and − buttons and switch the heater with a relay.
  • Smart home panel: mount an ESP32 and a Nextion on the wall and control the lights and plugs in every room from one screen.
  • Greenhouse or aquarium controller: plot temperature, humidity and water level live with the Waveform component and switch the pump and fan from the screen.
  • Code lock: draw a keypad on the screen and open a solenoid lock when the code is right; a touch interface instead of a mechanical keypad.
  • Workbench meter panel: show current, voltage and power in big digits and turn the screen red when a limit is exceeded.
  • Menu-driven device interface: build settings, calibration and info screens across several pages; the touch version of character LCD menus.

Common wiring mistakes and how to fix them

  • The screen powers up but nothing the Arduino sends changes: TX and RX are swapped, the speeds differ or the three 0xFF at the end of the command are missing. Cross the wires first, then use 9600 baud on both sides.
  • Some commands work and others do not: the component name is misspelled or the component is on another page; the screen replies with error 0x1A. Compare the name with the objname in the Editor and make sure you are on the right page.
  • The text box stays empty or letters are missing: no font has been added to the project, or the font lacks those characters. Generate a new font with the right encoding in Font Generator.
  • The Arduino does not react when you press a button: Send Component ID is not ticked, the printh line is wrong or NextionListen() is not called in loop(). On an Uno, sharing Serial between the Serial Monitor and the screen also breaks the events.
  • After uploading the screen stays white or shows "Model does not match": the .tft file was built for a different model. Select the right model in the Editor's Device settings and compile again.
  • The SD card update does not start: the card is not FAT32, is too large or holds more than one .tft file. Format it and leave a single file on it.
  • The screen flickers or restarts by itself: the supply is too weak. Power large screens from a separate 5 V source, use short, thick wires and connect the grounds together.
The Debug window in Nextion Editor is very useful even without real hardware: type a command such as t0.txt="test" into the instruction field at the bottom, see the result in the simulator and watch which bytes the screen returns. In the same window you can connect the simulator to your computer's serial port and test your Arduino sketch before the display even arrives.

A Nextion gives your project a professional touch panel without straining the Arduino's memory; if a small, low-cost interface is enough, also look at the OLED and LCD options in Arduino display types. To build the circuits your screen will control, the BlueGrays app has projects such as the ESP32 DHT22 thermometer with LCD, smart lighting with an OLED and a keypad code lock, step by step with circuit diagrams and ready-to-use code.

Frequently asked questions

Does a Nextion display work with an Arduino Uno?

Yes. Because the display's own processor draws the interface, the Uno only sends short serial commands and can drive even a 7 inch screen. The Uno's single hardware serial port is shared with USB, so the most convenient approach is to connect the screen to other pins such as D2 and D3 with SoftwareSerial.

Does Nextion Editor run on a Mac?

Nextion Editor is only released for Windows. On a Mac or Linux you can run it in Windows inside a virtual machine, and the compiled .tft file can be loaded onto the screen from any computer with a microSD card.

How do I show special characters such as é or ü on a Nextion?

Generate the font in Font Generator with utf-8 encoding and make sure those letters are in the character set. Since the strings in an Arduino sketch are already sent as UTF-8, the characters display correctly once the project encoding is set to utf-8 as well.

How do I upload a .tft file from an SD card?

Format the microSD card as FAT32, copy a single .tft file onto it and insert it while the screen is off. The update starts by itself at power-up; when it finishes, cut the power, remove the card and switch the screen on again.

Can I use a Nextion display with an ESP32?

Yes. The Nextion's serial line works at 3.3 V levels, so it connects straight to an ESP32; just use Serial2 with GPIO 16 as RX and GPIO 17 as TX. The screen itself still needs 5 V, from the ESP32 board's VIN pin or a separate supply.

What is the difference between Nextion Basic and Enhanced?

The Basic series offers only the display and touch. The Enhanced series adds a battery-backed real-time clock, 8 GPIO pins, user EEPROM and more flash memory, so the screen can handle some tasks on its own without an Arduino.

See all projects
Using LCD Screen with I2C
AR-32Beginner
Premium

Using LCD Screen with I2C

Give your Arduino its own screen and make it write its first message. The two-line LCD screen hooks up with just a few wires; a greeting appears on the top line, then a second message on the bottom…

4.8(53)
71
ESP32 I2C LCD Display (16x2)
ES-17Intermediate
Premium

ESP32 I2C LCD Display (16x2)

In this project we connect a 16x2 character LCD to the ESP32 over I2C and display text. With I2C, just 2 data pins (SDA and SCL) control the screen, instead of the 6+ pins a classic parallel connection wastes. The code prints a fixed message on the first line and a counter that goes up every second on the second. At startup an I2C scanner also prints the display's address to the Serial Monitor (usually 0x27 or 0x3F).

4.9(23)
40
ESP32 DHT22 Temperature and Humidity (with LCD Display)
ES-15Intermediate

ESP32 DHT22 Temperature and Humidity (with LCD Display)

This project measures ambient temperature and humidity using a DHT22 sensor and displays the data in real time on a 16x2 I2C LCD. Data is read from the sensor using the one-wire protocol via the Adafruit DHT library. This project serves as the foundation for IoT weather stations, smart home automation, or environmental monitoring systems in greenhouses. Communication with the DHT22 is established via the ESP32's GPIO 4 pin.

4.8(38)
57
ESP32 HTTPClient + Weather API (with SSD1306 OLED Display)
ES-32Advanced
Premium

ESP32 HTTPClient + Weather API (with SSD1306 OLED Display)

In this project the ESP32 makes a REST API call over the internet to a weather API (wttr.in) using HTTPClient.h. Unlike the I2C LCD version, it uses an SSD1306 OLED (128×64) display, with large text and vector icons for a richer look. Seven weather icons (sunny, rainy, snowy and more) are drawn on the fly, with no bitmap files.

4.3(10)
22
ESP32 Color Mixer Light (3 Potentiometers + RGB LED + OLED)
ES-36Advanced
Premium

ESP32 Color Mixer Light (3 Potentiometers + RGB LED + OLED)

A smart color-mixer lamp: turn 3 potentiometers on the ESP32 and mix any color you like! As you turn the red, green and blue potentiometers, the common-cathode RGB LED changes color instantly. The SSD1306 OLED display shows each channel's 0-255 value, fill bars and the HEX web color code (like #FF8040) live.

4.7(6)
10
ESP32 Smart Lighting (PIR + LDR + Relay + OLED)
ES-37Advanced
Premium

ESP32 Smart Lighting (PIR + LDR + Relay + OLED)

With an ESP32, a PIR motion sensor, an LDR light sensor and a relay module, we turn your hallway, bathroom or pantry into smart lighting. If the room is already bright, the light stays off even when there is motion, so it never wastes energy during the day. The light stays on for 30 seconds, and the time extends automatically while motion continues.

4.3(6)
11
Password Lock with 4x4 Keypad and LCD
AR-64Advanced
Premium

Password Lock with 4x4 Keypad and LCD

A small electronic door lock that keeps out anyone who doesn't know the code. You press the hash key and type the code on the keypad; if it is right, the screen says access granted, the green LED…

4.8(59)
75
Arduino I2C Calculator
AR-94Intermediate
Premium

Arduino I2C Calculator

It is an Arduino-based calculator project that performs addition, subtraction, multiplication and division operations using a 4x4 membrane keypad and a 16x2 I2C LCD display. Thanks to I2C, the display connection is provided with only 2 cables, thus reducing cable clutter and keeping more pins open for use. There is also decimal number input and negative number support.

5.0(31)
43