Skip to content

reynico/bear-market-ticker

Repository files navigation

Bear market ticker

A ticker for ants?

ESP8266 based Bitcoin (and many other cryptocurrencies) ticker.

Hardware requirements

Software requirements

Programming the ESP-01

ESP-01 pinout

Programming the ESP-01 is not that straightforward as many other boards. The ESP-01 needs its GPIO-0 pin put low before power up to enter in flash mode.

ESP-01 program mode

This way the ESP-01 can be programmed from the Arduino IDE. Don't forget to set the board to "Generic ESP8266 module" and the serial port pointing to your USB TTL device. Take into account that as long as GPIO-0 is kept in a low level the ESP-01 will remain in flash mode, so the software you burnt into it wouldn't run, unless you left GPIO-0 floating.

Setting up the WiFi connection

The ESP-01 has a WiFi transceiver embedded. The WifiManager library brings up an access point where you can connect to and then configure your local wifi network. These are the default ssid and password for the AP mode, they're also shown on the Oled screen.

ssid: ticker
pass: notsatoshi

If you need to reset the configuration to connect to a different wifi network, power up the ticker and then press and hold the reset button for 3 seconds.

Setting up other currencies

Take a look to the Bitstamp ticker api then open a browser pointing to the IP address of your ticker, the IP address is shown during startup on the Oled screen.

Debugging the ticker

Once you programmed the code bear-market-ticker.ino into the ESP-01, remove the GND connection to GPIO-0, remove power and apply power again. Now if you open a serial console, you'll get the BTCUSD pair price.

ESP-01 debug mode

Running the ticker

The OLED display is connected to the ESP-01 using an i2c connection, hence SDA and SCL signals are routed through GPIO-2 and GPIO-0. There's also an AMS1117 voltage regulator, hence you can power up the entire board using any USB charger.

ESP-01 run mode

3D printed case

I've included two stl files to build a case for the ticker. The Oled screen needs to be glued and pieces have a groove to snap fit between.

Finished ticker pictures

Bitcoin and Ethereum ticker

Soldering the AMS1117

Soldering the display

3D printed case

About

a ticker for ants???

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages