Put A Smoke Detector To Some Use

While we’re certainly not denying that smoke detectors are useful, there’s a certain kind of tragedy to the fact that most of them will never realize their true purpose of detecting smoke, and alerting us to a dangerous fire. On the other hand, [Ben] really unlocks the potential hidden deep in every smoke detector with his latest project which uses the smoke-detecting parts of a smoke detector to turn on the exhaust fan over his stove.

The project didn’t start with the noble aim of realizing the hidden and underutilized quiescent nature of a smoke alarm, though. He wanted his range exhaust fan to turn on automatically when it was needed during his (and his family’s) cooking activities. The particular range has four speeds so he wired up four relays to each of the switches in the range and programmed a Particle Photon to turn them on based on readings from an MQ-2 gas-detecting sensor.

The sensor didn’t work as well as he had hoped. It was overly sensitive to some gasses like LPG which would turn the range on full blast any time he used his cooking spray. Meanwhile, it would drift and not work properly during normal cooking. He tried disabling it and using only a temperature sensor, which didn’t work well either. Finally, he got the idea to tear apart a smoke detector and use its sensor’s analog output to inform the microcontroller of the current need for an exhaust fan. Now that that’s done, [Ben] might want to add some additional safety features to his stovetop too.

Custom Bases Make LEGO Spacecraft Even Cooler

If you’re reading Hackaday, we’re willing to bet that you either own the LEGO Saturn V and Lunar Module models, or at the very least know somebody who does. Even if you thought you’d finally outgrown playing with little plastic bricks (a critical mistake, but one we’ll ignore for now), these two kits just have an undeniable appeal to them. You might never get a chance to work for NASA, but you can at least point to the Saturn V rocket hanging on your wall and say you built it yourself.

[Ben Brooks] thought these fantastic models deserved equally impressive stands, so he built “exhaust plumes” that both craft could proudly perch on. With the addition of some RGB LEDs and a Particle Photon to drive them, he added incredible lighting effects that really bring the display to life. There are also sound effects provided by an Adafruit Audio FX board, and for the Lander, an LCD display that mimics the Apollo Guidance Computer DSKY that astronauts used to safely navigate to the Moon and back.

In his write-up on Hackaday.io, [Ben] makes it clear that he was inspired by previous projects that added an illuminated column of smoke under the LEGO Saturn V, but we think his additions are more than worthy of praise. Playing real audio from the Apollo missions that’s synchronized to the light show honestly makes for a better display than we’ve seen in some museums, and he even rigged up a wireless link so that his neighbor’s kids can trigger a “launch” that they can watch from their window.

For the Lunar Module, he 3D printed an enclosure for the Photon and Adafruit quad alphanumeric display that stands in for the DSKY. There’s even lighted indicators for the 1201/1202 program alarms that popped up as Neil Armstrong and Buzz Aldrin descended to the lunar surface 50 years ago.

While many of us aren’t old enough to have our own first hand memories of the Moon landing, projects like this prove that the incredible accomplishments of the Apollo program never fail to inspire. Who knows? Those kids that are watching [Ben]’s Saturn V from next door might one day get to make the trip themselves.

Continue reading “Custom Bases Make LEGO Spacecraft Even Cooler”

Putting Some Smarts Into An Electric Car Charger

Many electric cars feature a timer capability that allows the owner to set which hours they want the vehicle to start pulling a charge. This lets the thrifty EV owner take advantage of the fact that the cost of electricity generally goes down late at night when the demand is lower. The Renault Zoe that [Ryan Walmsley] owns has this feature, but not only does it cost him extra to have it enabled, it’s kind of a hassle to use. So being an enterprising hacker, he decided to implement his own timer in the charger itself.

Now controlling high voltages with a lowly microcontroller might sound dangerous, but it’s actually not nearly as tricky as you might think. The charger and the vehicle actually communicate with low-voltage signals to determine things like the charge rate, so it turns out you don’t need to cut into the AC side of things at all. You just need to intercept the control signals between the two devices and modify them accordingly.

Or do you? As [Ryan] eventually realized, he didn’t need to bother learning how the control signals actually worked since he wasn’t trying to do anything tricky like set the charge rate. He just wanted to be able to stop and start the charging according to what time it was. So all he had to do was put the control signal from his car through a relay controlled by a Particle Photon, allowing him to selectively block communication.

The charger also had an optional key lock, which essentially turns the controller off when the contacts are shorted. [Ryan] put a relay on that as well so he could be absolutely sure the charger cuts the juice at the appropriate time. Then it was just a matter of getting the schedule configured with IFTTT. He mentions the system could even be tweaked to automatically control the charger based on the instantaneous cost of electricity provided by the utility company, rather than assuming overnight is always the most economical.

We’ve seen a fair amount of electric car hacking, but with only a few exceptions, the projects always steer clear of modifying the actual chargers themselves. In general hackers feel a lot safer playing around in the world of DC, but as [Ryan] has shown, safely hacking your EV charger is possible if you do your homework.

Home Brewing Rig Gets A Particle Upgrade

Home brewing is a pastime that can be as much an art or a science as you make it, depending on your predilections. [Brandon Satrom] is one who leans very much towards the science side. There’s plenty that can be done to monitor and control a brew, and [Brandon] is one of many who have built custom hardware to help get the best possible results. Now, that hardware was due for an upgrade.

[Brandon]’s original BrewBuddy system relied on the Particle Photon, a useful platform that was nonetheless getting on in years. With the launch of the new Particle Argon, [Brandon] set his sights on new features that were possible with the added horsepower available. Graphics were added to the LCD screen, and a piezo sensor to detect the start of the fermentation process. This is in addition to the original temperature monitoring and plotting features of the first build.

The upgrade from one microcontroller platform to another can be fraught with headaches, but in this case, only minor changes were needed. 3 lines of code were changed to account for different pin assignments, and the rest fell neatly into place. It’s a testament to the compatibility of the Particle platforms that this upgrade was so easy.

We’ve talked about the 3rd generation Particle boards before, and we expect to see them turning up in many more builds to come. Video after the break.

[Thanks to dcschelt for the tip!]

Continue reading “Home Brewing Rig Gets A Particle Upgrade”

State Machine Controls Garage Door Over The Internet

Home automation has been a hot-button topic time and again since the dawn of the personal computer age. These days, thanks to modern communications technology, it’s possible to do some pretty cool stuff. [Brad Harbert] decided to automate his garage door, controlling it over the Internet.

The build relies on a Particle Photon to do the heavy lifting of connecting the door to the Internet. Particle offer a cloud service that makes setting up such a project easy for the first timer, and [Brad] was able to get things working quickly. A relay is used to activate the garage door remote button, as it was desired to leave the main control board of the garage door opener untouched. Reed switches are used to sense the position of the door, and [Brad] coded a state machine to ensure the door’s current state is always known.

It’s a simple project, but [Brad]’s use of state machine techniques and position sensing mean it’s less likely he’ll get home to find his garage open and his possessions missing. If you’re new to programming simple physical devices, you could take a page out of his logbook. Of course we’ve seen similar builds before, like this one from parts from the scrapbin.

Alexa And Particle Modernize Coffee Machine By One Iota

When [Steve Parker]’s girlfriend got a tea kettle that takes voice commands, he suddenly saw his fancy bean-to-cup coffee machine as a technological dinosaur. It may make good coffee, but getting the DeLonghi going is inconvenient, because it runs a self-cleaning cycle each time it’s turned on or off.

Thus began [Steve]’s adventure in trying to turn the thing on with Alexa via Particle Photon. Because of the way the machine is designed, simply adding a relay wouldn’t do—the machine would just turn off and back on, only to start the self-clean again. Once inside, he found it’s controlled by a PIC18LF2520. Further research indicated that it is powered by an off-line switcher that combines a power MOSFET with a power supply controller. [Steve] figured out that the buttons are read via square wave and interpreted by a multiplexer.

The project went into the weeds a bit when [Steve] tried to read the signals with a knock-off Saleae. As soon as he plugged it in, the control board fried because the DeLonghi evidently has no reference to Earth ground. While waiting for a replacement board to arrive, he tried replacing the mux and shift register chips, which actually fixed the board. Then it was more or less a matter of using the DeLonghi’s status LEDs to determine the machine’s state, and then to interface with the Photon and Alexa. Cycle past the break for a ristretto-sized demonstration.

[Steve] didn’t do all this to actually make coffee, just turn the machine on with a voice command. The Photon is totally capable of making coffee, though, as we saw with this closed-loop espresso machine.

Continue reading “Alexa And Particle Modernize Coffee Machine By One Iota”

Will Hack For Espresso

[Avidan Ross] has an unyielding passion for coffee. Brewing a proper espresso is more than measuring fluid ounces, and to that end, his office’s current espresso machine was not making the cut. What’s a maker to do but enlist his skills to brew some high-tech coffee.

For a proper espresso, the mass of the grounds and the brewed output need to be precisely measured. So, the office La Marzocco GS3 has been transformed into a closed-loop espresso machine with a Particle Photon and an Acaia Lunar waterproof scale at its heart.

Continue reading “Will Hack For Espresso”