My project is wake up alarm. I have decided to make this project because many people have the habit of putting an alarm to wake up so for them it would be more useful.
I think by this time you have got a doubt as we have alarms readily available and in the latest smart phones we do have am alarm so why this ?
Here is an answer for that.In my work the alarm can be used to wake you up and it can also be used to send text messages or send a reply for a message.
Interesting right !
For Hardware Connections:
Take the Buzzer
Connect its LONGER that is (+) to the pin 1.
Connect its SHORTER that is (-) to the GND.
Connect one end of the USB cable to the BOLT Wi-Fi Module and other end of the USB to the Laptop.
For Software:
Login to Integromat then you can see something called Create new Scenario.
Then select your required service, the services I used are Bolt IoT and Telegram Bot and click on continue.
Click on Bolt IoT module that you have created and add the connections and fill the remaining as shown.
In My Bolt connections click on add you find API key, fill it. If you don't remember it you can find it in Bolt Cloud.
After that for commands select Write Digital Output and give your device name which you find in Bolt Cloud and Pin as 1 and status as HIGH.
Then select tools from bottom which is in purple color and pass delay as the number you wish. I gave it as 6 in my case.
Now again add the Bolt module and add the API key which you can find it in Bolt Cloud.
After that for commands select Write Digital Output and give your device name which you find in Bolt Cloud and Pin as 1 and status as LOW.
At the bottom you find a clock symbol click that and set your time at which you want your alarm to wake you up. Their are settings like everyday, once, etc.
Choose the one which fits your need.
Now click on save at the bottom and click on run once.
As I have told earlier, I have added Telegram Bot to send a Text Message or a Reply.
For this first we need to install telegram on our PC or Mobile. Then login using our mobile number.
Now we need to create a channel in that. It can be found on the top right corner.
Then give a suitable name and write about to it.
Now click on the channel created.
Now in the search bar search for Bot father and their type
/new bot
and then give your bot name and that has to end with bot.
Now come to your channel click on it and add the link that is your bot which you created and make it public.
We can view the admins.
Now our channel creation along with bot is now completed.
In the Bot Father while creating a bot we can find something called TOKEN. Please do save it.
Now come back to where you created three modules, add the last module that is Telegram Bot.
Now first we need to connect with telegram so for that click on My Telegram Bot connection and add the TOKEN which you have saved earlier.
Chat id is your channel username and text is what you want the message or reply to be.
Parse Mode may be anyone you wish and disable notification and disable link previews also as you wish and click on OK.
Now all your modules and alarm setting and the message to be sent are ready. They look like this.
Now again save them.
Click on run once.
You hear your buzzer ringing and you get the text message on telegram.
This telegram helps not only for text but also audio and images and documents.
It can send this message which the run is executed or when the alarm rings with our we sending it every time.
Usually we send Good Morning after we wake up everyday. So this can be done using this project.
Comments