magnifier
Language
  • English
  • German
Currency

News

Three ESP8266 OLED Projects: Bitcoin Ticker, Analog NTP Clock & Flip Clock — Same Tiny Board (88 chars, slightly long — alt: 3 ESP8266 OLED Projects: BTC Ticker, Analog & Flip

0 comments /

Three ESP8266 OLED Projects: Bitcoin Ticker, Analog NTP Clock & Flip Clock — All Running on the Same Tiny Integrated Board



The NodeMCU ESP8266 with integrated 0.96" OLED display is one of the most quietly capable hobbyist dev boards on the market: a full WiFi microcontroller, a crisp SSD1306 screen, and four mounting holes — all soldered together as a single piece for less than the price of lunch. Below are three of our favorite weekend projects that turn that little board into a desk-worthy gadget. Each one is a single-file Arduino sketch, fully open-source under the MIT license, and ships with the full source code below — copy, flash, and you're done. Get Parts: NodeMCU ESP8266 + Integrated 0.96" OLED


Project 1 — ESP8266 Bitcoin Ticker

A live BTC dashboard driven from CoinGecko's free public API. The headline price is rendered in big custom 7-segment glyphs that flip in odometer-style only on the digits that actually changed. A multi-feed RSS news scroll periodically slides in from the right with the latest Bitcoin headlines from NewsBTC, Bitcoin Magazine, and Decrypt. Below the price, a stats panel rotates every 25 seconds through market cap, 24h volume, 24h low/high, dollar change, and a halving countdown. An NTP-synced clock with full date and AM/PM lives along the bottom.

Because the ESP8266 only has one core, the sketch carefully gates every blocking HTTPS fetch to idle moments when the top row is in the static-ticker state — so the unavoidable freeze always lands in a visual lull instead of stuttering an active animation. The same firmware can ticker Ethereum, Solana, Dogecoin, or any of CoinGecko's 10,000+ coins with a one-line change to the API URL.

Features:

  • Live BTC price from CoinGecko's free API, refreshed every 60 seconds — no API key required
  • Custom 7-segment glyph renderer with a hand-tuned "$" silhouette to match
  • Per-digit odometer flip animation — only the digits that actually changed flip
  • Direction-aware flip — price up, new digits arrive from below; price down, from above
  • Up/down arrow + edge-pulse brackets that flash on every successful API fetch
  • Rotating stats panels: market cap & volume, 24h low/high, 24h dollar change, halving countdown
  • Multi-feed RSS news scroll — NewsBTC + Bitcoin Magazine + Decrypt in one rotation
  • HTML entity & UTF-8 fold-down so accented characters and curly quotes render cleanly
  • Reverse-video source badges so you can tell at a glance which feed the headline came from
  • Live WiFi signal-strength bars driven by RSSI
  • NTP-synced clock with full date, automatic DST handling via POSIX TZ strings
  • Coin-agnostic firmware — one-line change to ticker any CoinGecko-listed coin
  • Smart freeze-gating — HTTPS fetches only run during idle visual moments to hide the single-core stall

btc_ticker_esp8266.ino


Project 2 — ESP8266 Analog NTP Clock with RSS News & "On This Day" History

A hybrid analog + digital clock that turns the little OLED into a miniature mantle clock. A traditional clock face fills most of the screen with hour and minute hands; a moving seconds bead glides around a 1-pixel border surrounding the entire display, giving a satisfying once-per-second visual pulse. Between time displays, the clock rotates through "On this day in history" cards drawn from a built-in database of 365+ days of events — one or more entries per calendar day, including February 29.

A scrolling RSS news ticker periodically slides across the screen with reverse-video source badges, and small fetch indicators in the corners flash whenever fresh data arrives. The historical event database lives in a separate companion header file (history_events.h) so you can localize, personalize, or expand the entries without touching the main sketch.

Features:

  • Hybrid analog + digital clock face with hour, minute, and visible second indicators
  • Moving seconds bead that traces the perimeter of the display once per minute
  • 1-pixel border framing the entire screen for a polished, finished look
  • "On this day in history" cards rotating through 365+ days of events — multiple entries per day
  • Companion header file (history_events.h) for easy localization or personalization
  • Scrolling RSS news ticker with reverse-video source badges
  • Small fetch-status indicators that pulse on each successful network refresh
  • NTP-synced time with automatic DST handling via POSIX TZ strings
  • Four US time zones supported out of the box (Eastern, Central, Mountain, Pacific)
  • Compact TomThumb font for the dense history-card text without sacrificing readability
  • Single-file sketch + one tidy data header — nothing else to wire or configure

Important: this project needs both files below in the same Arduino sketch folder — the main .ino sketch and the companion history_events.h header. Copy each into a file with the matching name, save them side-by-side, then open the .ino in the Arduino IDE and flash.

ESP8266_analog_clock_ntp_rss.ino

history_events.h


Project 3 — ESP8266 Flip Clock NTP

A vintage split-flap clock distilled into a 128×64 OLED. Big bold HH:MM digits live in four individual flip cards, each one rendering a satisfying two-phase mechanical animation when its digit changes — the old top half collapses toward the midline, then a new bottom flap grows down to cover the old. Every digit slot is independent, so the ones-of-minutes can be mid-flip while the hours sit perfectly still, exactly like a real flip clock.

The full date runs along the top; the bottom row carries the timezone abbreviation (which auto-switches between standard and daylight names on the DST boundary), live WiFi signal bars, a time-of-day greeting that updates as the hour changes, and AM/PM with live ticking seconds. Toggle a single #define to switch between 12-hour and 24-hour mode.

Features:

  • Bold sans-serif HH:MM digits using Adafruit's FreeSansBold24pt7b font
  • Two-phase mechanical-style flip animation, ~350 ms per digit change
  • Four independent digit slots — minutes can flip while hours sit still
  • Pre-rendered digit canvases at startup for crisp, OR-downsampled flap rendering
  • NTP time sync over WiFi, accurate to the second — no RTC module needed
  • Automatic timezone display — CST/CDT, EST/EDT, etc. switch automatically at the DST boundary
  • Four US time zones supported out of the box (Eastern, Central, Mountain, Pacific)
  • 12-hour or 24-hour mode — toggle a single #define
  • WiFi signal-strength bars driven by live RSSI
  • Time-of-day greeting (Morning / Afternoon / Evening / Night) updated automatically
  • Live ticking seconds in the bottom row for a visible once-per-second pulse
  • Solid hinge line through every card to sell the "folded paper" look
  • Smart leading-zero blanking in 12-hour mode so single-digit hours don't show an awkward "0"

flip_clock_ntp_esp8266.ino


Get Yours:

NodeMCU ESP8266 + Integrated 0.96" OLED


NodeMCU ESP8266 Board with 0.96" OLED Display CH340 WHITE WiFi Type C USB - eElectronicParts


All three projects run on the exact same hardware — a NodeMCU ESP8266 with the 0.96" SSD1306 OLED already soldered on. No wiring, no breadboards, no separate I²C cables. Just a USB cable, the Arduino IDE, and one of the sketches above. Pick whichever speaks to you, flash it, and you've got a working desk gadget in under an hour.

👉 Shop ESP8266 DIY Kits at eelectronicparts.com


0 comments

Leave a comment

All blog comments are checked prior to publishing

You have successfully subscribed!