With the recent fall of Bitcoin and other crypto currency and my continue interest in learning more about Arduino, after reading several other instruction of using OLED display, I had combine it all to create a BTCmarket ticker using ESP8266. Since I live in Australia, I am connecting this to one of the Australian Crypto exchange called BTCMarket. And this instruction is showing the ticker for Ethereum, but can easily be modified to show any crypto currency that is supported such as Bitcoin, Litecoin, Ripple, etc.
Step 1: Gather All the Materials Needed
You will need:
- 128×64 0.96″ OLED display
Step 2: Connect the ESP8266 to the OLED Display
You can use the following connection:
- Connect the SCL of OLED display to D2 of ESP8266
- Connect the SDA of OLED display to D4 of ESP8266
- Connect the VCC to 3.3V
- Connect the GND to ground
Step 3: Load the Required Library
The following instruction assume that you are already familiar with Arduino interface and know where the library is located. For Mac users the Arduino library is located in Documents/Arduino/Libraries.
You will need the ESP8266RestClient library, TimeLib library and the ESP8266_and_ESP32_Oled_Driver_for_SSD1306_display library. Credit goes to their respective author for creating such an awesome library.
If you are not sure how to load the library you can follow my earlier instructables on IoT Temperature sensor.
Step 4: Load the Code in Arduino Interface and Upload It to the ESP8266
You can get the code from my personal blog here.
I hope you had enjoyed this instructables, you can now modify this to add more currency, or setup alert when the value goes above or below a certain threshold. The possibility is limitless. Please leave some comments if you like this instructables.