I am a Night person, so wakes up late in our family. We had a habit of switching on the pump for filling the water tank just after getting up in the morning. Everyone goes for jogging except me so it's my duty to switch off the pump but as I fall asleep again which makes me forget about the pump. So, as usual, I use to get scoldings from my father. Those were the days I too up Bolt IoT and ML course. By now you would have understood what the problem statement is?
The problem statement is water tank notifier it notifies to your mobile where ever you are. I used the bolt Module along with Arduino to achieve this. There is an Ultrasonic sensor connected to the Arduino. the values are taken and sent to Bolt Module through serial communication.
let me break the making this into parts.
STEP-1
Get used to the ultrasonic sensor. this is one of my favourite and cool sensor. it actually finds distance from the object. (Add on: It has two pins: trigger pin- for giving an ultrasonic signal. echo pin - the sent signal hits object (water in our case). and gets bounced back to here). Here the distance is calculated using the time it took to bounce back. It is connected to Arduino and the distance is measured.
STEP-2
Get the serial communication done between Arduino and Bolt Module. we have to do this step as the Bolt Module does not support the ultrasonic sensor. we do this step using connecting Tx of Arduino to Rx of Bolt and vice versa.(Tip time: make sure to connect the ground of bolt to the ground of Arduino).
STEP-3
Once this process is done, now collect the data from serial communication and based on the condition code it. and send the notification if it reaches the maximum limit.
For the demo, please look at this link: https://youtu.be/x7HFX_409pg



_ztBMuBhMHo.jpg?auto=compress%2Cformat&w=48&h=48&fit=fill&bg=ffffff)













_3u05Tpwasz.png?auto=compress%2Cformat&w=40&h=40&fit=fillmax&bg=fff&dpr=2)

Comments