Introduction: Bitcoin Price Indicator Using Arduino

About: Engineering Student in India

Hello Guys :)

In this Instructables I am going to make Bitcoin Price Indicator . By Using Arduino

Bitcoin is the first cryptocurrency started in 2009 . Today Bitcoin become so popular . The Price of Bitcoin is

increasing exponentially . For that I made a Bitcoin Price Indicator . Each Time Bitcoin Price Changes . It

indicates with a BEEP sound

Step 1: Components Required:

Arduino UNO : 1

Buzzer : 1

For arduino you use any sort of arduino board you have . Because the main part is done by python program

Step 2: Circuit

I made a simple circuit by using TINKER CAD

Connect Buzzer Postive terminal to Pin Number 13 of Arduino

Connect Buzzer Negative terminal to Gnd Pin of Arduino

Connect Your arduino to your PC or Laptap via USB

Step 3: Uploading Arduino Code

First Open Arduino IDE

Go To ---> Examples ---> Communication ---> PhysicalPixel

Physical Pixel is a progam which make the digital pin high when it got a data H in serial Communication. If it got a data L it makes the digital pin low

Check the board type and port number and upload the program

Code Link

Step 4: Run Python Script

First Install All the Packags

requests pip install requests

pyserial pip install pyserial

beautifulsoups pip install bs4

Run the pip commands one by one in Command Prompt Run as administrator mode

Enter the Arduino Port Number in python program

This python program scrap the Bitcoin Price from the internet

This program will give the value of bitcoin each second

It will add the value of Bitcoin in list stored in variable price

Compare the current value with previous value

If it is not same . In the serial communication it will send word H it makes the Pin State High and after 2 seconds

It will send data L in the serial communication which makes the pin state Low

Code Link

Step 5: Sample Output