Intro: WeMos D1 Mini ESP8266 DevKit | Bitcoin Price Ticker | Tutorial & Project
WeMos D1 Mini ESP8266 DevKit | Bitcoin Price Ticker | Tutorial & Project
Step 1: GETTING STARTED
Bitcoin Price Ticker is built with WeMos D1 Mini ESP8266 DevKit. It contains ESP12E Wi-Fi Module, which integrates an ESP8266EX Wi-Fi System-on-a-Chip (SoC). It supports IEEE 802.11 b/g/n wireless networking standards and operates on 2.4GHz frequency band. Bitcoin Price Ticker also uses an 64x48 0.66" OLED Display Shield for displaying the current Bitcoin price.
WeMos D1 Mini ESP8266 DevKit will connect to your Wi-Fi network, to retrieve real-time Bitcoin price from the CoinDesk Bitcoin Price Index (BPI) API. The price is updated once in every minute. CoinDesk.com provides a simple API, makes it easy to integrate Bitcoin Price Index (BPI) data into your application. CoinDesk data is made available through a number of HTTP resources, and data is returned in the JSON format.
Step 2: COMPONENTS REQUIRED
Components that are required:
- WeMos D1 Mini ESP8266 DevKit: http://s.click.aliexpress.com/e/ba9aClms
- 64x48 0.66" OLED Display Shield: http://s.click.aliexpress.com/e/nhXDKBm
- Dual Base Shield: http://s.click.aliexpress.com/e/YYJ50PW
- Type-A to Type-Micro B USB Cable: http://s.click.aliexpress.com/e/cjMhrDOo
Step 3: CONNECTIONS
Now, let’s see the connections.
- Connect the WeMos D1 Mini ESP8266 DevKit to the Dual Base Shield.
- Connect the 64x48 0.66" OLED Display Shield to the Dual Base Shield.
- Connect the one end of USB cable to the WeMos D1 Mini ESP8266 DevKit, and another end to the Computer.
Step 4: PROGRAMMING
In this tutorial, we will use Arduino IDE to program the board. Software and Source Code that are required:
Now, let’s program the board.
- Open the sketch in the Arduino IDE.
- Select the proper Board from the Tools menu of Arduino IDE.
- Select the proper Serial Port from the Tools menu of Arduino IDE.
- Include the required Library from the Sketch menu of Arduino IDE.
- Now, click on the Upload button to upload the sketch to the board.
If the upload is successful, the message "Done uploading" will appear in the status bar of Arduino IDE. After a few seconds, you should see the current Bitcoin price is displayed in the OLED Display.