ESP32 Crypto Ticker With MAX7219: Parts, Wiring, Setup
Build an ESP32 crypto ticker with a MAX7219 matrix: XIAO ESP32-S3 pinout, browser flashing, captive portal setup and a free CoinGecko key. Firmware on GitHub.
- Author
Mauro Brambilla- Published
- Reading time
- 9 min
- Category
- Builds

In short
A Gizmo Ticker needs a XIAO ESP32-S3, a 4-in-1 FC16 MAX7219 matrix, five wires and a free CoinGecko Demo key. It takes about 60 minutes, and you flash the firmware from your browser.
An ESP32 crypto ticker is a Seeed Studio XIAO ESP32-S3 wired to a MAX7219 4-in-1 FC16 LED matrix with five wires. Its firmware fetches Bitcoin or Kaspa prices from the CoinGecko API every 6 minutes and scrolls them across the matrix. The build takes about 60 minutes and needs some soldering.
This guide follows the real Gizmo Ticker, an open-source OpenGizmo project. The pins, library versions and timings below come from its firmware source, so you can check each one, and every step says what you should see before you move on.
A Wi-Fi-connected crypto display built with an ESP32, a MAX7219 LED matrix, and a Nuxt 4 web app for browser-based setup and configuration.
- Live crypto ticker
- MAX7219 LED matrix
- Web-based setup
How does the ticker get a price onto the matrix?
Two hops, and it helps to know them before you wire anything. The board calls CoinGecko over HTTPS from a background task, keeps the last answer in memory, and a loop that never blocks scrolls it across the matrix over SPI. The phone is not part of the price path: you only use it to change settings, which are saved in the board's flash.

What do you need to build an ESP32 crypto ticker?
Five things, plus a computer with Chrome or Edge for the flashing step.
| Part | Qty | Notes |
|---|---|---|
| Seeed Studio XIAO ESP32-S3 | 1 | Comes with an FPC antenna. The board has no antenna of its own |
| MAX7219 4-in-1 FC16 LED matrix | 1 | Four 8x8 modules on one PCB, 32x8 pixels |
| 6-wire flat cable | 1 | Only five wires are used |
| USB-C data cable | 1 | For flashing and for power. A charge-only cable will not work |
| M3 x 8 screws | 4 | Only for the printed enclosure |
The XIAO ESP32-S3 has a dual-core Xtensa LX7 at up to 240 MHz and 2.4 GHz Wi-Fi, per the Seeed Studio wiki. It is the board every OpenGizmo device runs on. If you are still choosing a board, which ESP32 to buy compares the options.
A MAX7219 is a driver chip that lights up to 64 LEDs, one 8x8 matrix, from a short serial bus, and it chains with other MAX7219s (Analog Devices product page). The 4-in-1 FC16 board chains four of them for you.
How do you wire the MAX7219 to the XIAO ESP32-S3?
With the USB-C port up and the components facing you, the right edge of the XIAO reads 5V, GND, 3V3, D10, D9, D8, D7. That is close to the order of the matrix input (VCC, GND, DIN, CS, CLK), so the firmware uses the pads next to 5V and GND, and a flat cable runs straight across. The 3V3 wire just hangs free.

| MAX7219 input | XIAO ESP32-S3 pad | ESP32-S3 GPIO | Role |
|---|---|---|---|
| VCC | 5V | none | Power for the matrix |
| GND | GND | none | Ground |
| DIN | D10 | GPIO9 | SPI data (MOSI) |
| CS | D9 | GPIO8 | Chip select |
| CLK | D8 | GPIO7 | SPI clock (SCK) |
The firmware starts SPI without a MISO pin, because the display never sends anything back. That frees D9, which is the default MISO pad, to act as CS. The pin constants live in config.h.
Three things before you power it up:
- Attach the FPC antenna to the U.FL connector, or the board won't join your Wi-Fi.
- The 5V pad is the USB supply, so the matrix is powered through the same cable as the board. The repo gives no current figure, and the draw grows with brightness and module count, so start at low brightness.
- The XIAO's GPIOs signal at 3.3 V while the matrix is powered from 5 V. The project wires them directly, without a level shifter. That is below the 3.5 V input level the MAX7219 datasheet guarantees, so add a shifter if the display shows garbage. MAX7219 FC16 with ESP32: wiring, 3.3 V logic, mirroring has the numbers.
On the matrix board, solder the wires to the input pads instead of using the header pins if you plan to print the enclosure: the straight pins stick out about 7 mm at each end (measured in the project's part notes), and they get in the way of the shell.
How do you flash the firmware from your browser?
You don't need an IDE. The released firmware is flashed with ESP Web Tools, which talks to the board over Web Serial, so it works in Chrome and Edge.
- Plug the XIAO into your computer with the USB-C data cable.
- Open the Gizmo Ticker project page and scroll to the firmware flashing card.
- Press Flash firmware, pick the serial port of the board and wait for it to finish.
The board restarts by itself, and a flash from the website keeps the settings already saved on it. The button reads a manifest of the latest release, so you always get the newest firmware. After the restart, the matrix scrolls Initializing..., and you should see a Wi-Fi message right after.
Prefer to build it yourself? The repo uses PlatformIO with the board seeed_xiao_esp32s3, and Node.js 24.21 or newer for the web app. The libraries are pinned in platformio.ini: MD_Parola 3.7.5, MD_MAX72XX 3.5.1, ESPAsyncWebServer 3.12.1, ArduinoJson 7.2.2 and the shared gizmo-common library 2.5.1. If you wonder why PlatformIO and not the Arduino IDE, there is an Arduino IDE vs PlatformIO comparison.
cd webapp && npm ci && npm run build:embeddedcd ../microcontrollerpio run --target uploadpio run -e debug --target upload && pio device monitorThe last command flashes the debug profile instead, which turns the serial log on so pio device monitor shows what the firmware is doing. The released firmware keeps the log off.
How does the first Wi-Fi setup work?
The board doesn't know your Wi-Fi yet, so it creates its own. A captive portal is a page that opens by itself when you join a hotspot, the same trick hotel Wi-Fi uses.
- About 12 seconds after boot with no working network, the board opens an open hotspot called Gizmo-Ticker, with no password. The matrix scrolls
Not connected to Wi-Fi. Use the 'Gizmo-Ticker' access point to enter the Wi-Fi credentials. - Join it from your phone. The setup page should open on its own. If it doesn't, open any
http://address in the browser (nothttps://). - Pick your network, type the password and confirm. The new credentials are saved only once the board actually connects.
The hotspot and portal come from the shared gizmo-common library, which documents this flow. If the page never appears, ESP32 captive portal not working walks through the causes one at a time.
Now join your usual network again and open http://gizmo-ticker.local. Some routers and Android versions don't resolve .local names. In that case, use the board's IP address from your router's client list, or read the mDNS troubleshooting guide.
How do you get a CoinGecko API key and add it?
The ticker shows API key is not present. Use the web page to insert the key and try again. until you give it a key. Create a free Demo account at CoinGecko and copy the key from its Developer Dashboard.
Open the API Key page of the web app, paste the key, and save. The field accepts up to 34 characters and trims spaces from a paste. The page then shows the key masked, and the board saves it in its flash. Saving a new key triggers a fetch right away, so the first price should scroll in soon after.
What does the board actually send? A GET request to https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=bitcoin&price_change_percentage=24h, with the key in the x-cg-demo-api-key header, which CoinGecko's Demo authentication docs recommend over a query string. You can test your key from a computer first:
curl -H "x-cg-demo-api-key: YOUR_KEY" "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=bitcoin"On limits: as of November 2026, CoinGecko's rate limit page gives the Demo plan 100 calls per minute, and its pricing page a monthly cap of 10,000 call credits. One call every 6 minutes is 10 an hour, about 7,200 in 30 days, so the ticker stays under the cap. For the arithmetic and what happens on a 429, see CoinGecko API on ESP32: free limits and polling rate.
How do you configure the ticker?
Once the price scrolls, the Ticker page controls what you see. Changes are saved on the board, so you never reflash to change a setting.

| Setting | Options | Default |
|---|---|---|
| Coin | Bitcoin or Kaspa | Bitcoin |
| Sections | Price, price change, market cap, daily high/low, all-time high/low, open price, volume | All seven on |
| Number format | US or EU style | US |
| Brightness | 0 to 15 | 1 |
| Scroll speed | 0 to 15, mapped to a scroll delay of 100 ms (0) down to 20 ms (15) | 1 |
| Modules | 4 to 32, in steps of 4 | 4 |
The matrix cycles through the enabled sections, one message after the other. If you switch every section off, it tells you to enable at least one. Changing the module count restarts the board.
Only two coins are built in. Adding a third means editing the coin lookup in market_data.cpp and the coin list in the web app, then rebuilding.
How does the firmware scroll text while it fetches prices?
A blocking HTTPS request would freeze the animation for the length of the call. So the main loop never makes it. It asks the MD_Parola library whether the current message has finished, and a separate FreeRTOS task does the network call.
void loop() {
// Restart the device if the web server asked for it
gizmo::manageDevice();
// Manage the Wi-Fi connection
manageWiFiConnection();
// Wait until the current matrix animation cycle finishes before preparing the next message
if (!isLedMatrixReadyForNextMessage()) {
return;
}
...
}isLedMatrixReadyForNextMessage() ends in MD_Parola's displayAnimate(), which advances the scroll a little and returns whether the message is done. When the cache is empty or due, api.cpp starts a marketDataFetch task, which parses only the fields the display uses with an ArduinoJson filter, then stores the result and deletes itself. The loop keeps showing the last good data meanwhile.
If refreshes keep failing, the data gets old. After 12 minutes the matrix opens each cycle with Prices from N min ago. and the last error. One honest limit: the firmware calls setInsecure() on its HTTPS client, so it encrypts the traffic to CoinGecko but does not verify the server's certificate.
What do you do when the ticker misbehaves?
Change one thing at a time, and let the matrix messages tell you which layer is failing.
The matrix is blank or shows garbage
Check the wiring against the table first: DIN, CS and CLK on D10, D9 and D8, and a solid 5V and GND. Then check that the module count in the settings matches your hardware. A mismatch between the two is one of the first things to rule out.
The text is mirrored or the modules are in the wrong order
The firmware is set to FC16_HW in config.h, which matches common 4-in-1 FC-16 boards. The MD_MAX72XX library also has PAROLA_HW, GENERIC_HW and ICSTATION_HW. I have not tested them on this project, but switching the constant and rebuilding is the standard fix.
The board never joins Wi-Fi
Look at the antenna. The XIAO needs its FPC antenna on the U.FL connector, and without it the board fails to connect. Next, confirm your network is 2.4 GHz, since the ESP32-S3 has no 5 GHz radio.
The matrix says "Error while calling the API" or "Prices from N min ago"
The message names the symptom, so work out the cause from outside. Run the curl test above with your key. A 401 means a wrong key or a typo, while a 429 means too many calls. If curl works, the problem is on the board: re-save the key, or check that the board has internet access.
I need to start over
Hold the BOOT button for 10 seconds while the board runs. It forgets the Wi-Fi and the settings and restarts into the setup hotspot. BOOT and RESET sit on top of the XIAO, so inside the closed enclosure they are out of reach: open the back plate first.
Can you put it in a printed enclosure?
Yes, and the project ships one. A white shell with a five-layer, 1 mm diffuser turns the LEDs into soft pixels, and an orange back plate closes it with four M3 x 8 screws. The footprint is 153.6 x 53.6 mm and the height is 28.2 mm. The matrix slides into its pocket from the back, and the XIAO is held by crush ribs, with its USB-C port flush with the end wall.

The design rules behind it are in 3D-printed ESP32 enclosure design rules that fit.
What did you build, and what are the limits?
You now have a XIAO ESP32-S3 that joins your Wi-Fi, fetches Bitcoin or Kaspa data from CoinGecko every 6 minutes, and scrolls it on a MAX7219 matrix, with everything adjustable from your phone. I took these details from the firmware source and the vendor docs. The repo documents wiring only for a single 4-in-1 board, so longer chains and the power they need are yours to test.
For a deeper look at the display side, start with the MAX7219 FC16 wiring guide. If you want a different gadget built the same way, control a Reolink NVR with an ESP32 uses the same board and setup flow, or see what OpenGizmo is.
Frequently asked questions
Find quick answers to the most common questions about this topic.
In the Gizmo Ticker firmware, the MAX7219 DIN pin goes to D10 (GPIO9, MOSI), CS to D9 (GPIO8) and CLK to D8 (GPIO7, SCK). VCC goes to the 5V pad and GND to GND. The 3V3 pad stays unconnected, and the display only writes, so there is no MISO wire.
Author
Mauro BrambillaReady to build your own gizmo?
Pick an open-source ESP32 project and follow its step-by-step guide, from the parts list and wiring to the firmware and the first boot.







