🌐
GitHub
github.com › espressif › arduino-esp32 › blob › master › libraries › Ticker › examples › TickerBasic › TickerBasic.ino
arduino-esp32/libraries/Ticker/examples/TickerBasic/TickerBasic.ino at master · espressif/arduino-esp32
Basic Ticker usage · · Ticker is an object that will call a given function with a certain period. Each Ticker calls one function. You can have as many Tickers as you like, memory being the only limitation.
Author   espressif
🌐
TechTutorialsX
techtutorialsx.com › home › esp32 › esp32: ticker library
ESP32: Ticker library - techtutorialsx
August 7, 2021 - #include <Ticker.h> Ticker periodicTicker; Ticker onceTicker; void periodicPrint() { Serial.println("printing in periodic function."); } void oncePrint() { Serial.println("printing in once function."); } void setup() { Serial.begin(115200); periodicTicker.attach_ms(5000, periodicPrint); onceTicker.once_ms(10000, oncePrint); } void loop() {} As usual, to test the code, simply compile it and upload it to your ESP32 using the Arduino IDE.
Discussions

ESP32 stock ticker with sensor data
Next, someone is selling an algorithm that predicts stock prices based on humidity over temperature More on reddit.com
🌐 r/esp32
59
122
October 11, 2023
c++ - arduino (esp8266/esp32) ticker callback class member function - Stack Overflow
Can someone help me with the following code ? I have a custom class and I want to define a callback for the ticker the function onTickerCallback(). It compiles and runs on ESP8266 but not on ESP32.... More on stackoverflow.com
🌐 stackoverflow.com
Made a Simple ESP32 Ticker for Crypto and Stocks
Soo cool, i will build one for my self More on reddit.com
🌐 r/arduino
7
42
July 12, 2025
Finished an e-ink stock ticker project (ESP32 + Waveshare display)
Are you willing to share the code for the ticker? More on reddit.com
🌐 r/esp32
40
239
January 10, 2026
🌐
GitHub
github.com › espressif › arduino-esp32 › blob › master › libraries › Ticker › src › Ticker.h
arduino-esp32/libraries/Ticker/src/Ticker.h at master · espressif/arduino-esp32
Ticker.h - esp32 library that calls functions periodically · · Copyright (c) 2017 Bert Melis. All rights reserved. · Based on the original work of: Copyright (c) 2014 Ivan Grokhotkov.
Author   espressif
🌐
PlatformIO
registry.platformio.org › libraries › bertmelis › Ticker-esp32
bertmelis/Ticker-esp32: Ticker library for ESP32
This library acts as a compatibility layer to add Ticker functionality as seen in the ESP8266 core for the Arduino environment. As such the same function calls can be used on ESP32 as on ESP8266.
🌐
GitHub
github.com › espressif › arduino-esp32 › tree › master › libraries › Ticker
arduino-esp32/libraries/Ticker at master · espressif/arduino-esp32
espressif / arduino-esp32 Public · Notifications · You must be signed in to change notification settings · Fork 7.7k · Star 15.5k ·
Author   espressif
🌐
GitHub
github.com › mike-rankin › ESP32_Stock_Ticker
GitHub - mike-rankin/ESP32_Stock_Ticker: ESP32 based multiple stocks ticker · GitHub
ESP32 based multiple stocks ticker This project was created to monitor multiple stock and crypto prices throughout the day without having check on my phone. I've seen a few versions on Kickstarter that monitor just one at a time and wanted more. The sketch uses a free Finnhub acount using a loop and Json to cycle though grabbing the data for each stock ticker.
Starred by 39 users
Forked by 3 users
Languages   C 98.8% | C++ 1.2%
🌐
Reddit
reddit.com › r/arduino › live stock ticker using esp32 + groww api
r/arduino on Reddit: Live Stock Ticker using ESP32 + Groww API
October 27, 2025 - My lil esp32 weather display! I just made it open source. ... Stock Ticker with live quotes from Internet.
Find elsewhere
🌐
GitHub
github.com › Patrick-E-Rankin › ESP32StockTicker
GitHub - Patrick-E-Rankin/ESP32StockTicker: Basic stock ticker using ESP32 and MAX7219 LED Matrix. Produces a webpage so user can input a ticker. · GitHub
ESP32 based stock ticker that uses a MAX7219 LED Matrix (mine is 4 segments but how many is up to you), that receives the ticker symbol from self served webpage.
Starred by 19 users
Forked by 3 users
Languages   C++
🌐
GitHub
github.com › Pedroalbuquerque › Ticker-ESP32 › blob › master › Ticker-ESP32.h
Ticker-ESP32/Ticker-ESP32.h at master · Pedroalbuquerque/Ticker-ESP32
Ticker equivalente to ESP8266 to make code ESP32 campatible - Pedroalbuquerque/Ticker-ESP32
Author   Pedroalbuquerque
🌐
GitHub
github.com › bertmelis › Ticker-esp32
GitHub - bertmelis/Ticker-esp32: Ticker library for the ESP32
March 12, 2019 - Ticker library for the ESP32. Contribute to bertmelis/Ticker-esp32 development by creating an account on GitHub.
Starred by 18 users
Forked by 9 users
Languages   C++ 100.0% | C++ 100.0%
🌐
Instructables
instructables.com › circuits › arduino
ESP32 LED Matrix WIFI Ticker Display : 24 Steps - Instructables
March 21, 2023 - ESP32 LED Matrix WIFI Ticker Display: ESP32 powered LED matrix displaying real-time news, weather, stock, date, time, barometer data, menu and web interface with notification. Notes Jan 2023 The API code will need updating before this project ...
Top answer
1 of 1
7

The implementations of the two Ticker.h files are a bit different. On ESP8266, the once method expects type "callback_function_t" where callback_function_t is defined as:

typedef std::function<void(void)> callback_function_t;

On ESP32, it expects type "callback_t" which is defined as:

typedef void (*callback_t)(void);

In your code example, std::bind provides the std::function type that is expected. This is not the case for the ESP32 Ticker.h, it expects a function pointer. You have two options:

  1. Instead of having the onTickerCallback function part of the Test class, just create a free function for the callback. (Note that this is only acceptable if the callback doesn't need to be part of the Test class).
#include <Arduino.h>
#include <Test.h>
#include <functional>

// for ESP8266: https://github.com/esp8266/Arduino/blob/master/libraries/Ticker/src/Ticker.h
// for ESP32:   https://github.com/espressif/arduino-esp32/blob/master/libraries/Ticker/src/Ticker.h
#include <Ticker.h>

Ticker ticker;

void callbackFunction() {
  Serial.println("Hello");
}

void Test::start(){
  ticker.once(5, callbackFunction);
}
  1. Create a free function that takes an instance of test and use this to call your function. (Note this will also require onTickerCallback to be public, no real way around this that I can think of).
#include <Arduino.h>
#include <Test.h>
#include <functional>

// for ESP8266: https://github.com/esp8266/Arduino/blob/master/libraries/Ticker/src/Ticker.h
// for ESP32:   https://github.com/espressif/arduino-esp32/blob/master/libraries/Ticker/src/Ticker.h
#include <Ticker.h>

Ticker ticker;

void callbackFunc(Test* testInstance) {
  testInstance->onTickerCallback();
}

void Test::start(){
  ticker.once(5, callbackFunc, this);
}

void Test::onTickerCallback() {
  doSomething();
}

void Test::doSomething() {
  Serial.println("Hello");
}

Bonus: After thinking about it for a second, you could use a lambda instead of creating the function (note you need to have a + sign before the lambda in order for it to work as a function pointer). This would look like:

#include <Arduino.h>
#include <Test.h>
#include <functional>

// for ESP8266: https://github.com/esp8266/Arduino/blob/master/libraries/Ticker/src/Ticker.h
// for ESP32:   https://github.com/espressif/arduino-esp32/blob/master/libraries/Ticker/src/Ticker.h
#include <Ticker.h>

Ticker ticker;

void Test::start(){
  ticker.once(5, + { testInstance->onTickerCallback(); }, this);
}

void Test::onTickerCallback() {
  doSomething();
}

void Test::doSomething() {
  Serial.println("Hello");
}
🌐
Reddit
reddit.com › r/arduino › made a simple esp32 ticker for crypto and stocks
r/arduino on Reddit: Made a Simple ESP32 Ticker for Crypto and Stocks
July 12, 2025 -

Hey everyone, I wanted to share a little project I put together for my desk using the ESP32-2432S028R (CYD). I wanted to get more into coding, so I started experimenting with Arduino IDE and my unused CYD board. Whenever I got stuck with code errors (which happened alot🙈), Perplexity helped me to figure it out.

The ticker shows live prices for crypto and stocks right on its screen. Setup is easy: just connect to its WiFi, open your browser, and enter your WiFi details, API keys, and the symbols you want to track. The ticker automatically figures out how often to update so you don’t hit any free API limits.

If the APIs are down, it keeps showing the last price with an asterisk, so you’re never left with a blank display. You can track pretty much any crypto or stock that’s supported by CoinGecko and Finnhub.

If you want to build one for your own desk, I’ve uploaded everything to GitHub: source code, ready-to-flash firmware, and step-by-step instructions, including how to flash it right from your browser using web.esphome.io.

Check it out here: https://github.com/MaWe88/esp32-cyd-ticker

I hope you like my little stonks ticker 😁

🌐
GitHub
github.com › AndrewBudziszek › bitcoin-ticker-esp32
GitHub - AndrewBudziszek/bitcoin-ticker-esp32: A Physical Bitcoin Ticker. For use with Arduino ESP32 board and I2C OLED Display. · GitHub
Bitcoin Ticker is Arduino code for ESP32 boards. This ticker displays the price of Bitcoin/USD and idicates whether the crypto currency went up or down.
Starred by 42 users
Forked by 10 users
Languages   C++ 97.6% | C 2.4%
🌐
GitHub
github.com › MaWe88 › esp32-cyd-ticker
GitHub - MaWe88/esp32-cyd-ticker · GitHub
This project turns an ESP32 2432S028R also called the Cheap Yellow Display or CYD into a live stock and crypto ticker for your desk. It shows real time prices on the built in touchscreen and is fully configurable through a simple web interface.
Author   MaWe88
🌐
GitHub
github.com › sglvladi › Ticker_ESP32 › blob › master › Ticker.h
Ticker_ESP32/Ticker.h at master · sglvladi/Ticker_ESP32
esp32 library that calls functions periodically (similar to "Ticker.h" for esp8266) - sglvladi/Ticker_ESP32
Author   sglvladi
🌐
Reddit
reddit.com › r/esp32 › finished an e-ink stock ticker project (esp32 + waveshare display)
r/esp32 on Reddit: Finished an e-ink stock ticker project (ESP32 + Waveshare display)
January 10, 2026 -

My spouse was eyeing "Tickr" devices that show a single stock. They're about $80 each. He wanted to track 10+ stocks and crypto, which would've cost $800+ . So I built him this instead for about $70. It cycles between two pages of stock data every 60 seconds.

It’s an ESP32 running Arduino, driving a Waveshare e-ink display. The goal was a low-power, glanceable desk display rather than something constantly updating.

The enclosure is 3D printed and based on an STL originally designed for a blood glucose monitor display (from Printables), which I reused for this project since the hardware was the same.

Learned a lot about e-ink refresh behavior, layout constraints, and ESP32 power management along the way.

Hardware:

  • ESP32-WROOM-32 ($12)

  • Waveshare 4.2" e-Paper Module (B) Rev 2.2 ($37)

  • 3D printed case from Printables ($15) https://www.printables.com/model/1080934-nightscout-blood-glucose-waveshare-42-e-ink-displa

Codebase:

https://github.com/kakosut91/StockTicker

What it does:

  • Alternates between two pages every 60 seconds

  • Page 1: His main stock picks

  • Page 2: More stocks + Bitcoin/Ethereum prices

  • Smooth partial refresh for page swaps, full refresh every 15 minutes when fetching new data

  • Updates prices every 15 minutes via API

  • Shows market open/closed status

  • Pacific and Eastern time