Skip to content

Latest commit

 

History

History
46 lines (41 loc) · 2.58 KB

README.md

File metadata and controls

46 lines (41 loc) · 2.58 KB

Cryptoticker-by-dread-cz

Cryptoticker for your table

What does it do?

Ticker shows the price(s) of chosen cryptocurrencies. Data comes from Binance websocket API / WiFi. It aslo serves as a NTP controlled clock.

ticker-and-ntpclock

How to make my own?

  • You will need:
    • ESP8266 or ESP32-C3 (RISC-V) board (not tested if it works with non-C3 version of ESP32)
    • 8-digit LED display driven by MAX7219 (or pair of them)
    • Arduino with ESP8266 / ESP32 support installed
    • MAX7219 HW SPI library - https://github.com/BugerDread/esp8266-hw-spi-max7219-7seg
    • ArduinoJson library (by Benoit Blanchon) - install from Arduino Library Manager
    • WebSockets library (by Markus Sattler) - also from lib manager
    • WiFiManager library (by tzapu) - again lib mngr
    • Clone of this repo
  • Hook up the display to the ESP
    • for ESP8266 connect:
      • Vcc to 3V3
      • GND to GND
      • DIN to GPIO13
      • CS to GPIO15
      • CLK to GPIO14
    • for ESP32-C3 connect:
      • Vcc to 3V3
      • GND to GND
      • DIN to GPIO7
      • CS to GPIO5
      • CLK to GPIO6
  • If you are going to use pair of displays hook up the 2nd to the output of the 1st one.
  • Hook up the ESP to the computer, launch Arduino, open the ticker-ws-ticker.ino.
  • Configure the project:
    • if you are using pair of displays change "DISP_AMOUNT = 1;" at the top of the code to "DISP_AMOUNT = 2;"
    • adjust "ourtimezone[] PROGMEM = "Europe/Prague";" to fit your timezone
  • Upload code to the board.
  • Wait until the display reads "config 192.168.4.1" (it may take about 15seconds).
  • Connect to the "Bgr ticker" WiFi network (via phone or computer - password is "btcbtcbtc") and open http://192.168.4.1 in your web browser it if doesnt do so automatically.
  • Click "Configure WiFi", then fill in (you can also click / tap it in the list above the form) name (SSID) and password for your WiFi (leave password blank for open WiFi).
  • Fill in list of Binance symbols separated by spaces.
  • You can also change brightness of the display (range 1-16) and interval how long is each value shown on the display.
  • Click save, wait few seconds, display should show "WiFi online" and then the ticker should start to show the prices of configured symbols. If it doesnt, please try to repeat the configuration and make sure that the configuration is correct.
  • If you want to configure the ticker again hold the "Flash" button on the ESP board for about 5 seconds to switch into configuration mode and repeat the steps above from #5.