IoT toilet paper sheet counter

Keep Track Of Toilet Paper Usage With This IoT Roll Holder

Remember the Great Toilet Paper Crisis of 2020? We sure do, and it looks like our old friend [Vije Miller] does as well, while seemingly harboring a somewhat morbid fascination about how much paper every bathroom visitor is consuming. And to that end, we present his IoT toilet sheet tracker.

His 3D printed roll holder has a Hall effect sensor that counts revolutions of the roll and sends it to a NodeMCU. The number of sheets per roll is entered when the roll is changed, so some simple math yields the number of sheets each yank consumes. Or at least a decent estimate — [Vije] admits that there’s some rounding necessary. The best part of the build is the connection to Thingspeak, where sheet usage is plotted and displayed. Go ahead and check it out if you dare; at the time of writing, there was an alarming spike in sheet usage — a sudden need for 68 sheets where the baseline usage is in single digits. We shudder to think what might have precipitated that. The video below is — well, let’s just say there’s a video.

This isn’t the first time we’ve seen bathroom-based projects from [Vije Miller]. A few years back there was an attempt to freshen the air with plasma, and his IoT shower valve controller probably never scalded anyone accidentally.

Continue reading “Keep Track Of Toilet Paper Usage With This IoT Roll Holder”

WiFi bird box with phone showing video of a rubber ducky

Building A WiFi-Enabled Bird Box On The Cheap

[Jude] was looking for a fun DIY project for him and his son and thought that a bird box might be a good option. He wanted to equip the box with a WiFi camera so he could watch his little guests from his phone but didn’t find any suitable, inexpensive, commercially-available options. So with that, he built one himself.

He did, however, start with a generic bird box, which he bought online, and then modified with his particular features of interest. He wanted the project to be scalable so after-school programs and other kids clubs could easily implement his design within a classroom setting. He figured minimizing the woodwork would make the project easier for children.

He added a dowel to the generic bird box he bought online, but cautions that readers need to investigate if a dowel would attract invasive species in their area. He found a relatively inexpensive WiFi-enabled endoscope that he noted was far more affordable than the camera-equipped, commercially-available bird boxes he found earlier. He craftily used a plastic syringe as a waterproof spy hole that housed the endoscope, allowing him to easily slip the camera in and out of the bird box without disturbing its occupants. He noted that the 3 mL syringe had the perfect inner diameter to fit the endoscope rather snugly.

[Jude] doesn’t intend to have the endoscope active 24/7, so he needed a way to seal the access hole when the camera was not in use. His many years at Dyson taught him that implementing a removable, water-tight, rubber seal is not as easy as people may think. Fortunately, the rubber stopper at the tip of the syringe’s plunger was naturally a perfect removable seal and he could use it to plug the access hole when the endoscope was not in use.

The endoscope was mostly waterproof, except for the WiFi transmitter, so [Jude] needed to place that end of the device in a waterproof enclosure. He said these are often called “IP rated” enclosures and he figured these could come in handy for any number of outdoor electronics projects so we imagine this might come in handy for a lot of our readers as well.

Mother nature has certainly inspired many projects here at Hackaday and [Jude]’s bird box is no exception. Cool project!

The insides of a coffee machine replaced with new smart electronics

Add Smarts To Your Old Capsule Coffee Maker

Everyone has their preferred method of making (and consuming) coffee. While modern coffee makers are starting to come standard with IoT and ‘smart’ capabilities, owners of older models should fear not, as [Andreas Skoglund] shows how just about any old machine can be upgraded with the latest automation wizardry.

The most involved part of this conversion is removing the electronic guts of the Dolce Gusto donor machine, leaving just the original heater, pump and the control levers. With safety in mind, the user must make the machine ‘hot’ by configuring the levers and replacing the coffee capsule manually, otherwise no automated coffee magic can take place.

A low-tech relay powers on the coffee maker, with the entire logic supported by an off-the-shelf microcontroller. If you’re using a Particle.io controller, the provided instructions offer some helpful tips on automatically brewing your first beverage. From there it’s trivial to start using Home Assistant to set up various rules and schedules for your coffee drinking pleasure. You can even select whether you want a small or large cup.

There’s a few improvements that our coffee-starved hero suggests implementing, such as upgrading the power supply, as well as investing in refillable capsules to spite a certain global conglomerate corporation (plus it’s cheaper and much better for the environment). We’re not short on coffee-inspired hacks, so why not also check out this AI Powered Coffee Maker.

Continue reading “Add Smarts To Your Old Capsule Coffee Maker”

Comfortable, wearable packaging for biometric device for monitoring physiological data and pushing the data to the cloud

A DIY Biometric Device With Some Security Considerations

Biohacking projects are not new to Hackaday and it’s certainly a genre that really piques our interest. Our latest biohacking device comes courtesy of [Manivannan] who brings his flavor of a wearable biosensor with some security elements built-in through AWS.

The hardware is composed of some impressive components we have seen. He has an AD8232 electrocardiogram front end, the MAX30102 integrated pulse oximeter IC for determining blood oxygen and heart rate, and the ever-popular LM35 for measuring body temperature. Either of these chips would be perfect for your next DIY biosensor project though you might try the MAX30205 body temperature sensor given its 0.1-degree Celsius accuracy. However, what really piqued our interest was the use of Microchip’s AVR-IoT WA Development Board. Now we’ve talked about this board before and also mentioned you could probably do all the same things with an ESP-device, but perhaps now we get to see the board a bit more in action.

[Manivannan] walks the reader through the board’s setup and everything looks to be pretty straightforward. He ultimately rigged together a very primitive dashboard for viewing all his vitals in real-time, demonstrating how you could put together your own patient dashboard for remote monitoring of vitals or other sensor signals. He emphasizes that all this is powered through AWS, giving him some added security layers that are critical for protecting his data from unwanted viewers.

Though [Manivannan’s] security implementation doesn’t rise to the standard of medical devices, maybe it will serve as a case study in the growing open-source medical device movement.

Continue reading “A DIY Biometric Device With Some Security Considerations”

Google Sheet showing wins and losses of sports team. Data automated by IFTTT, Alexa, and Particle

An Overly Complicated Method Of Tracking Your Favorite Sports Team

Much of the world appears to revolve around sports, and sports tracking is a pretty big business. So how do people keep up with their favorite team? Well, [Jackson] and [Mourad] decided to devise a custom IoT solution.

Their system is a bit convoluted, so bear with us. First, they tell Alexa whether or not the team won or lost that week. Alexa then sends that information to IFTTT where two different Particle Argon boards are constantly polling the results to decide how to respond next. One Particle responds by lighting up an LED, green for a win and red for a loss. Another Particle board displays the results on an LCD screen. But this is where things get tricky. One of the more confusing aspects of their design is one of the Particle boards then signals back to IFTTT, telling it to tally the number of wins and losses. This seems a bit roundabout since the system started with IFTTT in the first place. Regardless, they seemed to be happy with the result and I’m sure they learned something in the process.

This project might not fulfill any functional need given that Alexa knows everything about all our lives already and you could just ask her how your favorite team is doing whenever you want to. But hey, we’re all about learning by doing here at Hackaday and we’re all guilty of building useless projects here and there just because we can. In any case, their project could serve as a good intro to integrating your Particle with IFTTT or Alexa since there appears to be quite a bit of probably unnecessary handshaking going on here.

Continue reading “An Overly Complicated Method Of Tracking Your Favorite Sports Team”

iPhone pictured with a lock

Make Your Own BLE-Enabled IOS App From Scratch

Even those readers who are most skeptical of Apple products will like this Bluetooth Low Energy (BLE)-enabled iOS app tutorial from [Akio].

With everything being “connected” these days smartphone applications are of course a ubiquitous part of our existence. We’ve seen plenty of examples connecting your Bluetooth-enabled projects to an Android device, but comparatively fewer tutorials for connecting to iOS devices. This mostly has to do with Android’s much larger market share and also Android’s more open-source friendly business model. Nevertheless, if you do much IoT development either as a hobby or professionally, then you probably find yourself interacting with Apple devices more than you like to admit.

[Akio’s] app is essentially updating a chart, in real-time, with data read from an Adafruit nRF52832 Feather board. He then walks you through all the basics of creating a user interface (UI) using Apple’s Storyboard interface, a simple drag-and-drop scheme similar to something you’ve probably used in many other contexts. [Akio] shows readers how to add buttons for allowing users to interact with the app, labels for displaying data to the user, as well as walks you through Apple’s odd methodology of connecting UI elements to code using IBAction and IBOutlets. The highlight of his tutorial is showing readers how to add charts to their iOS apps which seems to take a few more steps than you might imagine.

[Akio] does a really good job detailing all the relevant functions so that readers will hopefully understand what each piece of the code is doing. And we really enjoyed him adding individual video tutorials for some of the trickier programming steps. He also readily admits that some folks may opt to develop their UI exclusively in code as opposed to the Storyboard but he argues that the Storyboard is still important for beginners and is really handy when the UI is fairly simple.

Of course, in true open-source fashion, [Akio] provides all his code on his GitHub repository so you can clone the repo and run the code yourself as well as credit some of the resources he used while making his app. Two things we really love to see. Hopefully, [Akio’s] tutorial will make connecting to iOS devices seem much less onerous than it once was.

Moon Bouncing And Radar Imaging With LoRa

The LoRa radio protocol is well known to hardware hackers because of its Long Range (hence the name) but also its extremely low power use, making it a go-to for battery powered devices with tiny antennae. But what if the power wasn’t low, and the antenna not tiny? You might just bounce a LoRa message off the moon. But that’s not all.

The team that pulled off the LoRa Moonbounce consisted of folks from the European Space Agency, Lacuna Space, and the CA Muller Radio Astronomy Station Foundation which operates the Dwingeloo Radio Telescope. The Dwingeloo Radio Telescope is no stranger to Amateur Radio experiments, but this one was unique.

LoRa Moonbounce plotted for doppler shift by frequency
A radar image of the moon generated from LoRa Moonbounce

Operating in the 70 cm Amateur Radio band (430 MHz) meant that the LoRa signal was not limited to the low power signals allowed in the ISM bands. The team amplified the signal to 350 Watts, and then used the radio telescope’s 25 Meter dish to direct the transmission toward the moon.

The result? Not only were they able to receive the reflected transmission using the same transceiver they modulated it with — an off the shelf IOT LoRa radio — but they also recorded the transmission with an SDR. By plotting frequency and doppler delay, the LoRa transmission was able to be used to get a radar image of the moon- a great dual purpose use that is noteworthy in and of itself.

LoRa is a versatile technology, and can even be used for tracking your High Altitude Balloon that’s returned to Terra Firma.