IoT has helped thousands among thousands of our population. IoT plays a major role in our day-to-day lives. One such way is by reminding you to take your medicines on time.
Here, I have devised a quick and easy way to build your own medicine alert using the Bolt Wifi Module. So lets get on with it!
HARDWARE CONNECTIONSHere, we implement a simple buzzer connection to the Bolt Wifi Module. For this, connect the longer leg,the positive leg, of the buzzer to the digital pin 0 of the Bolt Wifi Module. Then connect the shorter leg,the negative leg, of the buzzer to the GND pin of the Bolt Wifi Module. Make all these connections using the male/female jumper wires.
Now plug the Bolt Wifi Module using a simple android usb cable and plug it in to an adapter and a suitable source.
SETTING UP YOUR INTEGROMAT ACCOUNTFill all the required details and sign up for a free account. Now, verify your email address using the verification email sent to your registered id.
Click on 'Create New Scenario'.
Type 'bolt iot' in the search bar and select it.
You should now find yourself on this page:
Now click on the question mark in the middle of the screen.
Then click on 'Bolt IoT'.
Now click on 'Execute Command'.
After that, click on 'Add'.
Now enter your api key which you will find on your Bolt Cloud, https://cloud.boltiot.com/home/ under the tab, API. Copy that and paste it in the integromat bar asking for it. Keep in mind that Device ID can also be found here under the tab 'Devices'. You will need it later.
Your screen should now look something like this.
Now, under command, select 'Write Digital Output'.
Fill in the device id which can be retrieved from your Bolt Cloud as described earlier.
Under pin, type in the pin number where you connected the buzzer's positive leg. In our case, its pin 0.
Now under 'Command', type 'HIGH'.
Now click on 'Tools' which will be found among the icons on the bottom.
And select 'Sleep'.
Now click on the sleep tool created and enter 5 as the delay value. This ensures the lasting time of the buzzer. In our case, it will last for 5 seconds.
Click on 'OK'.
Now hover over the sleep tool created and select 'Add another module'.
Select 'Bolt IoT'.
Follow the steps we followed to create the first module, but in this case, enter state as 'LOW'. This is to shut off the buzzer. The previous module was to turn it on. This module action follows the sleep tool. So when 5 seconds is up, it will turn off.
Your final screen should look something like this:
Click on the 'Save' icon.
To test your scenario, you can press 'Run Once'.
SCHEDULINGTurn the 'Scheduling' ON. This will open up a window called 'Schedule Setting'. Select your preferred time according to which you would want to take your medicines.
Click on 'Activate' and then on the 'Save' icon.
Now turn on your Bolt WiFi Module and test your project out.
And there you have it! Your very own Medicine Alarm!
Comments
Please log in or sign up to comment.