An Optocoupler Doorbell Notifier

Over the years we’ve seen several attempts at adding Internet connectivity to the lowly wired doorbell. Generally, these projects aim to piggyback on the existing wiring, bells, and buttons rather than replace them entirely. Which invariably means at some point the AC wiring is going to need to interface with a DC microcontroller. This is often where things get interesting, as it seems everyone has a different idea on how best to bridge these two systems.

That’s the point where [Ben Brooks] found himself not so long ago. While researching the best way to tap into the 20 VAC pumping through his doorbells, he found a forum post where somebody was experimenting with optocouplers. As is unfortunately so often the case, the forum thread never really had a conclusion, and it wasn’t clear if the original poster ever figured it out.

DIY optocouplers wrapped in electrical tape

[Ben] liked the idea though, so he thought he would give it a shot. But before investing in real optocouplers, he created his own DIY versions to use as a proof of concept. He put a standard LED and photoresistor together with a bit of black tape, and connected the LED to the doorbell line with a resistor. Running the LED on 60 Hz AC meant it was flickering rapidly, but for the purposes of detecting if there was voltage on the line, it worked perfectly.

Wanting something slightly more professional for the final product, [Ben] eventually evolved his proof of concept to include a pair of 4N35s, a custom PCB, and a 3D printed enclosure. Powered by a Particle Xenon, the device uses IFTTT to fire off smartphone notifications and blink the lights in the house whenever somebody pushes the bell.

If you’re still wondering why it’s so tricky to connect a microcontroller up to your door bell, a quick look at some of the similar projects we’ve covered should give you a pretty good idea of how annoying these systems can be to modernize.

The MorningRod Wants Your Mornings Easier, Not Harder

Curtains are about as simple as household devices get, but they can be remarkably troublesome to automate. Everyone’s window treatments are slightly different, which frustrates a standardized solution. [dfrenkel] has a passion for DIY and wanted his mornings flooded with sunlight for more peaceful awakenings, so the MorningRod Smart Curtain Rod was born.

Replacing the curtain rod with aluminum extrusion and 3D printed fixtures goes a long way towards standardizing for automation.

MorningRod’s design takes advantage of affordable hardware like aluminum extrusions and 3D printed parts to create a system that attempts to allow users to keep their existing curtains as much as possible.

The curtain rod is replaced with aluminum extrusion. MorningRod borrows ideas from CNC projects to turn the curtain rod into a kind of double-ended linear actuator, upon which the curtains are just along for the ride. An ESP32 serves as the brains while a NEMA17 stepper motor provides the brawn. The result is a motorized curtain opening and closing with a wireless interface that can be easily integrated into home automation projects.

[dfrenkel] is offering a kit, but those who would prefer to roll their own should check out the project page on Thingiverse.

The World’s Smallest Vacuum In An Altoids Tin

There’s been a lot of Altoids tin hacks over the years, but a vacuum cleaner in a tin is something new. In [Toby Bateson]’s first project on Hackaday, he used simple household items to create a functioning vacuum cleaner to use for sucking crumbs out of your keyboard or paper punch holes off your desk.

The vacuum features a retractable suction tube, a low-profile switch, and a bagless waste collection system (the waste is stored and discarded out from the tin itself). A brushed motor and impeller provide the airflow. A scrap of a beer can mounted on the shaft is used for an impeller blade, and two bolts with a thin metal sheet between them are made into a switch (the instructions recommend you finish your drink before using the scrap metal). A sponge is used for filtering the dirt from the motor while a hole is cut out of the top of the tin to provide airflow.

[Bateson] is looking to put his name in the world record book for the world’s smallest vacuum tube, as he recently created an even smaller vacuum in a 1cc tube.

“Oh dear, I’ve spilled something on my desk, whatever am I going to do? Luckily, I have my vacuum cleaner in an Altoids tin…”

Continue reading “The World’s Smallest Vacuum In An Altoids Tin”

Teardown: Quirky Egg Minder

Many of the biggest stars are hesitant to do sequels, believing that the magic captured the first time around is hard to reproduce in subsequent productions. As I’m known (at least around the former closet that now serves as my home office) as the “Meryl Streep of Teardowns”, I try to follow her example when it comes to repeat performances. But if they could get her to come back for another Mamma Mia film, I suppose I can take a look at a second Quirky product.

An elderly egg calls to inquire about euthanasia services.

This time around we’ll be looking at the Quirky Egg Minder, a smart device advertised as being able to tell you when your eggs are getting old. Apparently, this is a problem some people have. A problem that of course is best solved via the Internet of Things, because who wouldn’t pay $80 USD for a battery-powered WiFi device that lives in their refrigerator and communicates vital egg statistics to an online service?

As it turns out, the answer to that question is “most people”. The Egg Minder, like most of its Quirky peers, quickly became a seemingly permanent fixture of retailer’s clearance shelves. This particular unit, which I was able to pick up new from Amazon, only cost me $9.99. This is still more than I would have paid under normal circumstances, but such sacrifices are part and parcel with making sure the readers of Hackaday get their regular dose of unusual gadgetry.

You may recall that our last Quirky device, the “Refuel” propane tank monitor, ended up being a fantastically engineered and built piece of hardware. The actual utility of the product was far from certain, but nobody could deny that the money had been spent in all the right places.

What will the internals of the Egg Minder reveal? Will it have the same level of glorious over-engineering that took us by surprise with the Refuel? Will that zest for form over function ultimately become the legacy of these Quirky devices, or was it just a fluke? Let’s crack this egg and find out.

Continue reading “Teardown: Quirky Egg Minder”

Dry Your Clothes In One Minute Or Less

If you’re like most people, then washing clothes is probably a huge pain for you. Figuring out the odd number of minutes necessary to run a wash and dry cycle, trying desperately not to end up with clothes that are still wet, and worst of all having to wait so long for your clothes to be clean can be a real hassle.

One team of inventors decided to build Eleven, a dryer that dries and sanitizes clothes in a minute or less. As explained in their demo video, clothes are placed around the center tube and dried by the airflow initiated by Eleven. Fragrance and ozone is injected to prevent bacteria from causing bad smells.

The team experimented with ultrasonics and microwave-vacuum system, and ultimately decided to use a method that controls the flow of air within the fabric. A steam generator sprays the clothes with a disinfectant while a filter quarantines the chemicals to a receptacle within the device.

They also installed sensors to monitor the performance of the machine remotely, allowing users to track their clothes and the health of the machine even when they aren’t home. Something we’ve previously seen done in the DIY space.

It might not be the futuristic heat-free clothes dryer we were promised, but Eleven certainly looks like a step in the right direction.

Fried Desk Lamp Reborn: How To Use ESP8266 To Build Connected Devices

Some hacks are born of genius or necessity, and others from our sheer ham-fisted incompetence. This is not a story about the first kind. But it did give me an excuse to show how easy it is to design WiFi-connected devices that work the way you want them to, rather than the way the manufacturer had in mind.

It started out as a sensible idea – consumer electronics in Vietnam have many different electric plug types for mains AC power: A, C, G, F, and I are fairly present, with A and C being most common. For a quick review of what all those look like, this website sums it up nicely. There are universal power adapters available of course, but they tend to fit my most common type (C) poorly, resulting in intermittent power loss whenever you sneeze. So I figured I should replace all the plugs on my devices to be A-type (common to those of you in North America), as it holds well in all the power bar types I have, mainly leftover server PDUs.

This was very straightforward until I got to my desk lamp. Being a fancy Xiaomi smart lamp, they had opted to hide a transformer in the plug with such small dimensions that I failed to notice it. So instead of receiving a balmy 12 volts DC, it received 220 volts AC. With a bright flash and bang, it illuminated my desk one final time.

Continue reading “Fried Desk Lamp Reborn: How To Use ESP8266 To Build Connected Devices”

Intelligent Control For That Cheap Diesel Heater

If you own a caravan or a boat, you’ll know that keeping it warm can present something of a struggle. Open-flame gas heaters carry a risk of carbon monoxide poisoning, while solid fuel stoves are heavy and require safe flues. The prospect of a diesel heater then is enticing, bringing as they use a safer fuel and allow for easy external exhaust. Unfortunately they’ve been something of an expensive option, but the arrival of cheap imported heaters in recent years has made them an attractive choice. [Ray Jones] has improved upon their sometimes basic control electronics with the Afterburner, an intelligent controller that packs both ESP32 and HC-05 modules to both enhance the feature set and the connectivity of the devices.

The full list of capabilities is somewhat exhaustive but has a few stand-outs such as the ability to connect 1-wire temperature sensors to the system. It’s not compatible with all the heaters on the market, but there is a comprehensive guide to those models with which it can work. Meanwhile, all the code and other resources are available on GitLab should you wish to try it for yourself.

Diesel is something of a dirty word in 2019, but maybe biodiesel will save devices like this one.

Thanks [Bob] for the tip!