Introduction: Bitcoin Price Change Ticker
Hey everyone, in this instructable, I will show you how to make a Bitcoin price checker that shows if the price of Bitcoin has gone up or down.
It works in (almost) real time over the internet and has 3 LEDs; one green, one red, and one white. When the price goes up, the green LED turns on. When the price goes down, the red LED turns on and when the price goes below a specified price, the white LED turns on.
Step 1: Parts and Tools
Here are the parts and tools that you will need to make this project:
White or blue LED
Linkit ONE microcontroller and WiFi antenna
Computer with the latest version of the Arduino IDE and linkit ONE drivers
Step 2: Code
Download the attached code and find the line of code that says: "#define WIFI_AP "Your Network" and change "Your Network" to the name of your WiFi network. Now, go to the next line of code and change "Your Password" to the password of your network.
Optionally, you may change the threshold for the blue LED to turn on, by default, it turns on at $300 USD. To change the threshold, use the "find" function under "edit" and type in 300 and use "replace" to change it to the minimum price that it should be before turning on.
Remember, the code uses the comparators <= and >=. This means that it is a range from $0 to the specified number as the threshold for the blue LED to turn on.
Step 3: Wiring
Wire the blue LED's positive pin to pin 13 on the linkit ONE board and negative pin to GND. Then, the red LED's positive pin to pin 12, its negative to GND, and the green LED's positive pin to pin 11 and its negative to GND.
You will also need to plug in the antenna. Do so by taking the WiFi antenna, flipping the board around, and press the antenna's connector to the connector on the board that says "WiFi ant".
Optionally, you may use the included Li-ion battery. If you do want to use the battery, plug the battery's JST plus to the JST connector on the front of the linkit ONE. Then, flip the switch that says "USB"---"BATT" and have it toward "BATT".
Step 4: Modify Project Enclosure
To drill the holes in the box for the LEDs, I taped a piece of paper to the lid of the enclosure and drew 5mm circles approximately where the LEDs should go. Then I used a 3/16" drill bit to drill out the 3 holes for the LEDs.
Step 5: Assemble Enclosure
Using the screws provided with the project enclosure, I secured the lid to the base.
Step 6: Done!
If you have wired and programmed everything correctly, when you apply power to the board, it should have a red LED turn on when the price lowers, green when the price raises, and white when the price goes below a specified threshold.
If you liked this instructable, please "like" or comment for feedback.
We have a be nice policy.
Please be positive and constructive.