Mom Needs to Know That the Baby Is Dry
by oleg_67 in Circuits > Microcontrollers
346 Views, 1 Favorites, 0 Comments
Mom Needs to Know That the Baby Is Dry

Good afternoon! We with son creating this project. I recently had a granddaughter, and my daughter is hard with her. She cannot leave her daughter for a second. In order for the baby to not have irritation on the skin, he should be without diapers for some time, and at this time it is important that the baby remains dry. For this, the mother often has to check her baby. And we want to help her. That's why we create a soaking detector.
This detector will check the baby and, if wet, the device will play music.
Video of demonstration this device - https://youtu.be/RDFMmRBdSL8
Supplies


For this project we used 2 microcontrollers Micro:Bit, a bracelet for Micro:Bit, iron mesh and 2 wires.
Create Sensor

We place the wires next to each other, having previously cleaned them of insulating rubber and twisted the bare wires. I used an mosquito net as an insulator, passing the conductors between the mosquito net cells. Connect it to Micro: Bit. The sensor is ready!
Create a Programm

If we read the analog value P2 in a dry state, we get a value of 500-700, in wet state value will be less than 100. This is due to the fact that water conducts an electric current and closes the contact to GND (ground).
2 Micro:Bits

The Micro:Bit microcontroller has a built-in bluetooth module that allows you to transfer data from one device to another. Therefore, we decided to use two Micro:Bit in my development. The first one will be with the sensor, next to the monitored object, and the second one will be on the mother's hand. And when the soak detector is triggered, mom will hear and see the alarm.
Programm to 1 Micro:Bit

This program will process the value of the sensor, and if the sensor shows a value greater than 100, then everything is fine, if it is less than 100, then it will send a signal via "radio".
Programm to 2 Micro:Bit

Let me explain what this program does. We read the "radio" and wait for a signal for the first Micro: Bit, if we find a signal, then Micro: Bit starts playing music. To stop this music, we must pressed to the button "A".
Done!

Mission accomplished! Thank you for the attention