IOT Applications Water Management
let’s build a smarter water management system.
I’ll navigate to the water management IOT application where I can find this video along with resources on materials and a guide to generate code
first I’ll obtain my API credentials I already have an Exim account and I’ve collected my API key and secret with help from this gift next I’ll save these API credentials so that I can use them with any of Tim gooseneck smoke Oreos
now it’s time to set our inputs the capture text-to-speech prompt allows us to set a phone call alert containing the message that we’d like our receiver to hear when the receiver of the call presses one on their keypad we’ll have our board turn on the pump and respond that the water tank is now being filled
I’ll go ahead and save these inputs into a profile which saves RAM and allows our inputs to be remotely reprogrammed later. we’ll also be using the Yahoo weather get weather by address choreo to append the forecast to our phone call alert message.
now I’ll specify my hardware today I’m choosing the Samsung artic 10 but you can choose the board that best suits your needs. here I can find diagrams that show me how to connect my sensor my pump and the 12-volt power supply required by the pump. and that’s all there is to it we’re ready to download the code
let’s take a look at how things are set up in case you need to modify the code later at the bottom we have our main loop we’re averaging the last 10 values of the water level sensor to get a smoother reading if the water level is greater than our threshold will trigger a phone call alert then we’ll make sure we don’t fill up the tank too much
let’s see it in action
our Samsung Kartik is connected to this water tank with a liquid level sensor to determine when the water level is too low I’ll go ahead and get started by triggering that sensor and we should receive that next to my phone call alert press 1 to refill the tank so press 1 to refill the tank by and there you have it a smarter water management system in minutes go to the link on your screen to learn how to build this Scioto application and many more