Skip to content

Realtime Bitcoin Ticker based on ESP8266 ESP-01S WiFi Module

Notifications You must be signed in to change notification settings

jansturm92/btc-ticker-esp01s

Repository files navigation

Realtime Bitcoin Ticker

Features

  • Displays current price and candle chart in realtime using websockets
  • Supported boards:
    • ESP8266 ESP-01S WiFi Module combined with a SSD1306 OLED display
    • LILYGO TTGO T-Display ESP32
  • Based on PlatformIO for dependency management, compilation and flashing of binaries
  • Arduino framework

Hardware requirements

  • ESP8266 ESP-01S WiFi Module combined with OLED Display SSD1306 128×64
  • Programmer for the ESP8266 (I used a USB to Serial Converter)
  • LILYGO TTGO T-Display ESP32 Development Board

Usage

Pin connections for ESP8266

ESP8266 programming mode

ESP <--> OLED connections

image sources:

Compilation and Flashing

Make sure PlatformIO is installed (see also the PlatformIO documentation):

$ pip install -U platformio

Set the WiFi parameters in config.h, then choose an environment from:

$ pio project config

Compile the project and create the firmware for a specific environment:

$ pio run -e <env>

ESP8266

Put the ESP8266 in programming mode and flash the device:

$ pio run -e esp01_1m -t upload

TTGO

Connect the board and flash the firmware:

$ pio run -e ttgo -t upload

Debugging

For verbose serial output choose the respective debug environments:

$ pio run -e <env>:debug -t upload

License

CC0
To the extent possible under law, Jan Sturm has waived all copyright and related or neighboring rights to BTC ticker. This work is published from: Germany.

About

Realtime Bitcoin Ticker based on ESP8266 ESP-01S WiFi Module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published