Internet of Things Pregnancy Test

“The project idea came from this tongue-in-cheek Twitter post. But hey, why not try to make one? I read somewhere that the world needs more ridiculous smart devices”. These are the words of Eric Tsai, a maker of connected devices and home automation, on his website etsai.net. And while this website boasts many interesting and useful projects (plus a watermelon sea monster), it was his tongue-in-cheek ‘Too Much IoT’ project on hackster.io that had us chuckling. The aforementioned Twitter post?

Eric Tsai on Twitter

IoT pregnancy test: connects to phone via BLE, instantly tweets test results. Also text msg result to contacts name “mom”.

Eric did indeed create an IoT pregnancy test: it’s a Bluetooth-enabled digital pregnancy test that sends data to a Raspberry Pi which, in turn, sends a tweet of the result (as well as a special text message to your Mum).

To start his project, Eric turned to an unsuspecting customer service representative, quizzing her on the composition of a digital pregnancy test:

Does your test have an ON button? What kind of battery does it use? Do the different characters on the LCD overlap, or are they separated? Well, I mean, is “Pregnant” the same as “Not Pregnant”, but just without the “Not”? You need a serial number? No, I don’t have a serial number, I haven’t purchased it yet. Oh, well… I like to be prepared.

And after that, a search of YouTube provided the information he needed in order to hack the test.

IoT Pregnancy Test

After working his way through the internals of the test, the LCD pins, and the energy consumption, Eric was able to hijack the correct components and solder new wiring to gain control of the ‘not’ and ‘pregnant’ portions of the display, along with the clock function and, obviously, the ground.

IoT Pregnancy Test

Eric added header pins to the test, allowing him to connect a Light Blue Bean, which in turn provided Bluetooth and I/O functionality. He explains:

The Light Blue Bean provides the real world I/O and Bluetooth connectivity. The digital I/O monitors the “Not” and “Pregnant” pins on the LCD and compares them to the “clock”. When they don’t match, it means the corresponding icon is being displayed.

The Raspberry Pi runs Node-RED to receive data from the Bean. Using Twilio, the Pi can tweet, text, or email the information to any predetermined recipient, advising them of the test results.

IoT Pregnancy Test

As a home automation pro, Eric already had several lights in his house set up via MQTT and OpenHAB, so it wasn’t hard for him to incorporate them into the project, triggering them to light up to indicate a positive result.

Though the project was originally started as a joke, it’s clear to see that Eric enjoyed the process and learnt from the experience. And if that wasn’t enough, he also used the hackster.io project page as a means of announcing the news of his own impending bundle of joy. So congratulations to Eric and his family, and thank you for this brilliant project!

Too Much IoT on Twitter

Pregnant! Yay!

Connected Pregnancy Test – Long Version

A pregnancy test that tweets and text messages test results. https://www.hackster.io/projects/15076/