Coder Social home page Coder Social logo

btc-ticker-esp8266's Introduction

Bitcoin price ticker with ESP8266 (realtime websockets)

  • 7-segment 8-bit - or - Dot Matrix LED Display support with 32x8px
  • bitstamp & bitfinex websocket interfacing for lightning fast, real time updates!
  • solderless build possible (if you order the display with pre-soldered pin headers)
  • low power (<0.5W), cheap to build (around 5 EUR)

pictures in action

animation
v0.2-bitstamp-websockets in action (gfycat link)

coinboard case 3D printed coinboard case

picture
v0.3 with dot matrix display

picture
original prototype

components

  • ESP8266 Wemos D1 R2 Uno (link) or ESP8266s/NodeMCUs (link) or Wemos D1 Mini
  • 7 segment display with MAX7219 (link) or Dot Matrix display (link)
  • dupont cables (female-to-male) and maybe a cheap antenna ;)

wiring 7-segment (software SPI, Wemos D1 Mini)

D1 Mini Display
GND GND
5V/VIN VCC
D8 CS
D7 DIN
D5 CLK

wiring dot-matrix-display using hardware SPI

NodeMCU Display
GND GND
5V/VIN VCC
D2 CS
D5 CLK
D7 DIN

how to install

  • flash the board
  • connect board to power
  • connect your smartphone/computer to ESPxxxxxx wifi
  • enter your home wifi settings at the captive portal

3D printed case options

these are the 3rd party designs I have tested for this project

Case Link Remarks
coinboard https://www.thingiverse.com/thing:2785082 Wemos D1 only, works okish with some hotglue (picture)
ESP8266 Matrix Display Case https://www.thingiverse.com/thing:2885225 printed too small, pay attention to your matrix module size! mine was a little larger
IR Remote Tester https://www.thingiverse.com/thing:1413083 works good (I closed the sensor hole above the display) but screw mechanism needs rework or maybe screw inserts

known issues

  • compilation error in LedControl.h:
    solution: comment out or delete pgmspace.h include

TODO

  • ! correct level-shifting to 5V (3.3V is out of spec, but works anyway)
  • add 5th digit for next ATHs ;-)
  • web portal configuration
  • better error handling (although it seems to be pretty stable with good connection)
  • maybe use websockets for real-time ticker
  • add more APIs and currencies plus option to choose
  • TLS support for HTTPS requests
  • options for 3D printed case

btc-ticker-esp8266's People

Contributors

nebman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.