Logging Baby’s Day In Linux

There’s plenty of surprises to be had when you become a parent, and one of the first is that it’s suddenly your job to record  the frequency of your infant’s various bodily functions in exacting detail. How many times did the little tyke eat, how long did they sleep, and perhaps most critically, how many times did they poop. The pediatrician will expect you to know these things, so you better start keeping notes.

Or, if you’re [Triceratops Labs], you build a physical button panel that will keep tabs on the info for you. At the press of each button, a log entry is made on the connected Raspberry Pi Zero W, which eventually makes its way to a web interface that you can view to see all of Junior’s statistics.

In terms of hardware, this one is quite simple — it’s really just an array of arcade-style push buttons wired directly into the Pi’s GPIO header. Where it shines is in the software. This project could have been just a Python script and a text file, but instead it uses a MariaDB database on the back-end, with Apache and PHP serving up the web page, and a custom Systemd service to tie it all together. In other words, it’s what happens when you let a Linux admin play with a soldering iron.

It probably won’t come as much surprise to find that hackers often come up with elaborate monitoring systems for their newborn children, after all, it’s a great excuse for a new project. This machine learning crib camera comes to mind.

High-contrast pictures described on the article, put onto a wall beside a crib

High-Contrast Images For Hacker Family Harmonics

There’s a new addition to the Adafruit family, and it’s not a microcontroller board as you’d expect – however, we will still find plenty to learn from. On the Adafruit blog, [Phillip Torrone] shares a set of high-contrast images with us; the idea for such images is that they’re more appealing for a child during the first few months of its life, and not just that – they can support a kid’s development, too. The idea behind high-contrast images is twofold. During the first few months of life, a baby’s visual systems are only taking shape, and are nowhere near being advanced – so, sources of easily discernible and varied visual input can help it develop, as well as, perhaps, aid in holding attention.

The second part is – they look nice in their own way, and one would hope that a baby can appreciate them in the same way parents do. The images are quite varied, with some being somewhat electronics-themed (including an Adafruit logo, of course) and many being fairly neutral, which has to be an upside for us hackers when it comes to the spouse acceptance factor. For any of us interested, there are downloadable PDFs and

In a way, these are just like AprilTags – aiming to be helpful in development of visual algorithms. With such a family, we can’t wait to see what comes next – computer engineering books? Baby monitors with machine learning? Sleep-data-driven knit blankets? No matter what’s in store for us, we hope that for the Adafruit family, this journey will be smooth sailing.

Machine Learning Baby Monitor Prevents The Hunger Games

Newborn babies can be tricky to figure out, especially for first-time parents. Despite the abundance of unsolicited advice proffered by anyone who ever had a baby before — and many who haven’t — most new parents quickly get in sync with the baby’s often ambiguous signals. But [Caleb] took his observations of his newborn a step further and built a machine-learning hungry baby early warning system that’s pretty slick.

Normally, babies are pretty unsubtle about being hungry, and loudly announce their needs to the world. But it turns out that crying is a lagging indicator of hunger, and that there are a host of face, head, and hand cues that precede the wailing. [Caleb] based his system on Google’s MediaPipe library, using his baby monitor’s camera to track such behaviors as lip smacking, pacifier rejection, fist mouthing, and rooting, all signs that someone’s tummy needs filling. By putting together a system to recognize these cues and assign a weight to them, [Caleb] now gets a text before the baby gets to the screaming phase, to the benefit of not only the little nipper but to his sleep-deprived servants as well. The video below has some priceless bits in it; don’t miss [Baby Caleb] at 5:11 or the hilarious automatic feeder gag at the end.

We’ve seen some interesting videos from [Caleb] recently, mostly having to do with his dog’s bathroom habits and getting help cleaning up afterward. We can only guess how those projects will be leveraged when this kid gets a little older and starts potty training.

Continue reading “Machine Learning Baby Monitor Prevents The Hunger Games”

ESP8266 Sound Machine Soothes Baby Remotely

[Zack] had trouble getting his six-month-old to sleep through the night. That was before he found out about ‘shh’ videos on YouTube. These are exactly what they sound like: eight hours of someone whooshing white noise into a microphone. He set a phone up on a charger in the nursery and let one of these play overnight. But the phone was unreliable. It would lock up, or just crash completely, making the baby’s distress worse.

To restore peace in the house, he built a sound machine that both simplifies and fortifies the white noise shh-loution. It uses an ESP8266 and a DFPlayer Mini to loop a lone MP3 file of shh-video audio and play it from a small speaker. By integrating the machine with Home Assistant, he’s able to trigger the sound remotely at baby’s bedtime. ESP Home has no module for the DFPlayer, but [Zack] built one that he’s happy to share.

If you are mired in early parenthood, this is a nice, simple solution. The DFPlayer does all the work of reading from the SD card and converting the signal to analog for speaker output, so there’s no need to get your hands dirty wasting valuable sleeping or kid-playing time.

Once the kid starts toddling out of babyhood, [Zack] could turn to ESP8266-based ambient lighting to help establish the difference between sleep and wake time.

A Bluetooth Speaker For Babies

[Mike Clifford] of [Modustrial Maker] had not one, not two, but five friends call him to announce that their first children were on the way, and he was inspired to build them a Bluetooth speaker with a unique LED matrix display as a fitting gift. Meant to not only entertain guests, but to audio-visually stimulate each of their children to promote neurological development.

Picking up and planing down rough maple planks, [Clifford] built a mitered box to house the components before applying wood finish. The brain inside the box is an Arduino Mega — or a suitable clone — controlling a Dayton Bluetooth audio and 2x15W amp board. In addition to the 19.7V power supply, there’s a step down converter for the Mega, and a mic to make the LED matrix sound-reactive. The LED matrix is on a moveable baffle to adjust the distance between it and a semi-transparent acrylic light diffuser. This shifts the light between sharp points or a softer, blended look — perfect for the scrolling Matrix text and fireplace effects! Check it out!

Continue reading “A Bluetooth Speaker For Babies”

Baby’s First Hands-Free Stroller

So you’ve had your first child. Congratulations; your life will never be the same again. [Dusan] was noticing how the introduction of his children into his life altered it by giving him less time for his hobbies in his home laboratory, and decided to incorporate his children into his hacks. The first one to roll out of his lab is a remote-controlled baby stroller.

After some engineering-style measurements (lots of rounding and estimating), [Dusan] found two motors to drive each of the back wheels on a custom stroller frame. He created a set of wooden gears to transfer power from the specialized motors to the wheels. After some batteries and an Arduino were installed, the stroller was ready to get on the road. At this point, though, [Dusan] had a problem. He had failed to consider the fact that children grow, and the added weight of the child was now too much for his stroller. After some adjustments were made (using a lighter stroller frame), the stroller was eventually able to push his kid around without any problems.

This is an interesting hack that we’re not sure has much utility other than the enjoyment that came from creating it. Although [Dusan]’s kid certainly seems to enjoy cruising around in it within a close distance to its operator. Be sure to check out the video of it in operation below, and don’t forget that babies are a great way to persuade your significant other that you need more tools in your work bench, like a CNC machine for example.

Continue reading “Baby’s First Hands-Free Stroller”

Pandaphone

Pandaphone Is A DIY Baby Toy

[Tyler] was looking for a gift for his friend’s one year old son. Searching through the shelves in the toy store, [Tyler] realized that most toys for children this age are just boxes of plastic that flash lights and make sound. Something that he should be able to make himself with relative ease. After spending a bit of time in the shop, [Tyler] came up with the Pandaphone.

The enclosure is made from a piece of 2×4 lumber. He cut that piece into three thinner pieces of wood. The top piece has two holes cut out to allow for an ultrasonic sensor to poke out. The middle piece has a cavity carved out using a band saw. This would leave room to store the electronics. The bottom piece acts as a cover to hide the insides.

The circuit uses an ATtiny85. The program watches the ultrasonic PING sensor for a change in distance. It then plays an audio tone out of a small speaker, which changes pitch based on the distance detected. The result is a pitch that is lower when your hand is close to the sensor, but higher when your hand is farther away. The case was painted with the image of a panda on the front, hence the name, “Pandaphone”. Based on the video below, it looks like the recipient is enjoying it! Continue reading “Pandaphone Is A DIY Baby Toy”