Raspberry Pi Crypto Currency Tracker Oled Display

About the project

A real time crypto currency tracker display for use with an OLED screen and any Raspberry Pi.

Project info

Difficulty: Easy

Platforms: Raspberry Pi

Estimated time: 1 hour

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Raspberry Pi 4 Model B 1GB, 2GB, 4GB or 8GB RAM Raspberry Pi 4 Model B 1GB, 2GB, 4GB or 8GB RAM I used a Raspberry Pi 4, but any model will work. x 1
Monochrome 0.96" OLED Graphic Display Monochrome 0.96" OLED Graphic Display x 1

Software apps and online services

https://www.cryptonator.com/ https://www.cryptonator.com/ Crypto currency price tracker API
https://pypi.org/project/luma.oled/ https://pypi.org/project/luma.oled/ OLED Driver

Story

This project will show you how to setup a live crypto currency tracker on an OLED display using a Raspberry Pi. I setup this tracker as an alternative to a specs display used in a custom Raspberry Pi case. I host a node for the Ravencoin network on my Pi, and I liked the idea of it also displaying current crypto prices. You can use the code for a variety of different OLED displays and this will work with any model Pi. This project uses python code to request data from a crypto currency price tracking API and display that data onto the OLED screen.


Code

Raspberry Pi Crypto Display

Line 9 is for your OLED model as supported by our Luma driver. Line 12(cryptos = ["eth", "rvn", "xmr"]) is what you will want to edit to change which crypto prices you want displayed. Lines 33-35 is where you would want to edit the spacing of the words on your display Line 36 will change the amount of time before changing the current displayed crypto.

Credits

Photo of Roq

Roq

Just a guy interested in tech that enjoys learning and trying new things.

   

Leave your feedback...