Now a days the interest in cryptocurrencies like Bitcoin, ethereum and etc are blooming. In such era the interested people or individual would like to invest some some money in Bitcoin market but checking everyday the real-time value of Bitcoin price value in market would be cumbersome.
So to avoid such problem I have made a small project which keeps eye on the current Bitcoin value and alarms you whenever the market value of bitcoin goes down about your given threshold currency or price from which you would be able to find whether it is right time to invest in Bitcoin market or not.
STEP-1 SETTING UP YOUR TWILIO ACCOUNT(Before starting to make this project, I want to say that the whole project, accessories, and electronic equipment arefrom BOLT IOT KIT. So this project is based on their kit So to have yours you can buy this from here. )
Twilio is online web service which helps you to send SMS, Voicecall, and many more functionality depending on some conditions you provide.
- So for making an account go to twilio webpage.
- Click on the signup button.
- Fill your personal details and make an account.
- After setting up your account you will get an pop up to set your twilio no. just hit ok.
- When you get logged in your account go to dashboard. From there you will get your no. and SID and AUTH TOKEN.
- To connect Bolt IOT WIFI module to the cloud install bolt apk from google playstore.
- Power on your bolt device and make sure your phone is connected to internet.
- Now open your BOLT mobile app.
- Select ADD DEVICES and follow the given set of instructions and then click READY.
- The Green led will light up if the WIFI module is succesfully connected to BOLT CLOUD.
- Go to https://shop.boltiot.com
- Login with your Bolt account.
- After login go to API section and copy your API
- Go to https://min-api.cryptocompare.com
- You dont have to create an account to get API.
- Now go to documentaion of API to see what it does and save it in your program.
- Connect the A0 pin of the Bolt WIFI module to positive terminal of the buzzer and connect one of the digital pins of Bolt WIFI module to positive of LED(Place 10k ohm resistor in between the connection to prevent damge to LED). Connect all the negative terminal of buzzer and LED to ground or GND pin of Bolt WIFI module use the breadboard as it would be better.
Suppose a user needs to invest his money in Bitcoin market and he/she would be repeatedly checking for Bitcoin value in current market. So instead of regularly checking, the python program in this project comes in handy. In this the program asks the user to enter the currency from which he/she have to invest in bitcoin market, then the program asks for his/her desired selling price. After taking the selling price the program stores it and then it checks for current bitcoin value in the market in his/her given currency. For this the program uses the API of value of bitcoin which we have inserted in our program. Basically this API we can found out from here. If it finds that the current market value of bitcoin is less than the selling price, the program automaticaly as a sign of alarm rings buzzer and also the LED as warning. But tif suppose the user is not able to hear alarm, this program also have SMS feature(Twilio), which sends SMS to the user stating the current value of bitcoin in market. This programs checks for bitcoin value in every 30 seconds online.
HERE IS AN EXECUTION :-
Comments