In this video course, you will learn how to control a 0.96 inch OLED display with the U8g2 library. You can convert your own JPG files into XBM files and display them on the display.
In the next section, we will fetch the current rate/price data of the desired cryptocurrencies via a free API. We will display these in EUR and USD on the display next to a small graph. The API provides us with a timestamp, which we can use to display the exact date/time of the cryptocurrency's price. This way you are always up to date and keep an overview of your crypto portfolio.
Furthermore, we will also display a multiline text, so that you can also use other APIs for your crypto tickers, such as current news or weather data.
At the end of the coding, I will show you how to adapt the whole project for the ESP8266. For this, you need a slightly different structure for the GET request. So you can decide if you want to use the ESP32 or ESP8266 for this project.
In another chapter, I'll go into the construction of the 3D printed case, in case you're interested in adopting or using it. In the last video, I show you how I assemble everything.
All codes can be downloaded, so you can get the result without frustration.
We use the following components in this practical project.
See you in class
Who this course is for: