How To Create a Cryptocurrency Tracker in E-Paper Using WisBlock

KHM-048-00.png

If you are interested in cryptocurrency or decentralized applications, this WisBlock project is for you. This project displays the most recent cryptocurrency values for three popular cryptocurrencies. It monitors three different cryptocurrencies: Bitcoin (BTC), Ethereum (ETH), and Helium (HNT). It draws data from the Coingecko API and shows US dollar and Euro values. It also displays the percentage change in the cryptocurrency's value over the last 24 hours.

This project requires a RAK11200 as the WisBlock Core, which can connect to WiFi. The RAK11200 is based on the ESP32. It will connect to the internet via WiFi and then retrieve the most recent values using the Coingecko API.

To display the data, you must use the WisBlock RAK14000 E-Ink (E-Paper) Module. This display module is very low-power, making it ideal for IoT projects that are battery-powered or for projects that are running continuously for 24 hours. The RAK14000 also has three push-button membrane switches that can be used to toggle through the specific cryptocurrency you want to see the current value of.

KHM-048-01.png

A WisBlock Base Board with an IO slot is required in addition to the RAK11200 (WisBlock Core) and RAK14000 (WisBlock E-Ink/E-Paper). In this project, RAK5005-O will be used.

Prerequisites

Hardware

How to Build This Project

Install the RAKwireless ESP32 BSP for the RAK11200. The full instructions can be found in the module's quick start guide.

Test your setup to see if all is working by running the sample code for RAK14000 on the RAK11200 WisBlock Core. By doing this test, you can be sure that your hardware is in tip-top shape.

The complete guide for running the sample sketch is detailed in RAK14000 quick start guide.

đź“ť NOTE: Before doing any firmware upload with the RAK11200, make sure to press the reset button first while the BOOT0 pin is shorted. If you don't do this, your upload will fail.

For more details, you can refer to the RAK11200 quick start guide.

KHM-048-02.png

You can now run the Cryptocurrency Tracker sketch on your RAK11200. You can get the source code from the WisBlock GitHub repository. Make sure to update the SSDI and password on your sketch to establish the WiFi connection.

If you uploaded the Cryptocurrency Tracker sketch successfully, you should see WisBlock Crypto Tracker at the start (some kind of splash screen).

Then, in less than a minute, it will show BTC as the default coin selected.

KHM-048-03.png

The three buttons represent BTC, ETH, and HNT, respectively. You can select which coin you want to see by pressing the button. Every minute, the selected coin's value will be updated, and you can adjust the update interval to your liking.

KHM-048-04.png

That concludes this crypto-related project! You can improve this project by adding more features, such as a buzzer for alerts, and additional integrations, such as email, for example. You can even add more cryptocurrencies and currencies besides USD and EUR. With the release of more WisBlock modules, the possibilities for IoT applications are truly limitless!

Updated