Build Your Own Crypto Price Tracker with ESP32

Published Jul 14, 2025
 24 hours to build
 Intermediate

In this project, we will build a real-time cryptocurrency dashboard using an ESP32 microcontroller and a Nextion touchscreen display. The dashboard connects to the internet, fetches live prices from Binance API, and displays:

display image

Components Used

ESP32 WROOM
WiFi Development Tools - 802.11 ESP32 General Development Kit, embeds ESP32-WROOM-32E, 4MB flash.
1
nextion 10 inch hmi display
inteligent series,capacitve touch
1
Description

In this project, we will build a real-time cryptocurrency dashboard using an ESP32 microcontroller and a Nextion touchscreen display.
The dashboard connects to the internet, fetches live prices from Binance API, and displays:

  • Current price
  • 24-hour high and low
  • Percentage change
  • A real-time auto-scaling chart

It also features touchscreen-based coin selection, timeframe switching, and visual alerts for support/resistance levels.

No PC or cloud server is required — just plug in the ESP32 and go!

You can use this simple connection mapping

designed the user interface in Nextion Editor, including:

  • Text components for price, percent change, high, low
  • Buttons to switch coins and timeframes
  • A chart using the scope component
  • Labels to represent Y-axis scale

After designing the UI:

  • Export the .tft file
  • Copy to an SD card
  • Insert into the Nextion display and power it on to flash

 

ESP32 Code Overview

The Arduino code uses FreeRTOS to run two tasks:

  1. serialTask() – listens for messages from the Nextion screen
  2. fetchTask() – fetches live crypto data from Binance in JSON format

The coin price, 24-hour change, high and low are extracted and displayed.
The chart is auto-scaled to keep the current price centered. All data is sent over Serial2.

 Working vedio-https://www.youtube.com/watch?v=U1MZoj3MJso&t=4s
 

Codes

Downloads

Screenshot 2025-07-12 212016 Download
Comments
Ad