Hacking The IKEA Trådfri Light Bulb

[BasilFX] wanted to shoehorn custom firmware onto his IKEA Trådfri light bulb. The product consists of a GU10-size light bulb with a LED driver as well as IKEA’s custom ZigBee module controlling it all. A diffuser, enclosure shell, and Edison-screw base give the whole thing the same form factor as a standard A-series bulb. The Trådfri module, which ties together IKEA’s home automation products, consists of an ARM Cortex M4 MCU with integrated 2.4Ghz radio and 256 Kb of flash — not bad for 7 euros!

Coincidentally, [BasilFX] had just contributed EFM32 support to RIOT-OS (“the friendly OS for IoT”) so he was already halfway there. He used a JTAG/SWD-compatible debugger to flash the chip on the light bulb while the chip was still attached.

[BasilFX] admits the whole project is a proof of concept with no real use yet, though he has turned his eye toward getting the radio to work, with a goal of creating a network of light bulbs. You can find more info on his code repository.

We ran a post on Trådfri hacking earlier this year, as well as one on the reverse-engineering process used to suss out the bulb’s secrets.

Continue reading “Hacking The IKEA Trådfri Light Bulb”

“Hey! Don’t Lock The Door, I’m In Here!”

Those that work in front of a computer for a living spend most of the time making very little sound. Unless you’re a member of the clicky mechanical keyboard club, your working time is a low-observables time during which people can forget about you. You can make sure you’re not overlooked with this smartphone hotspot presence detector.

[Emilio Ficara]’s quiet work habits resulted in his housemates locking him in sometimes, to his inconvenience. PIR or microwave occupancy sensors might have worked to fix the problem, except that a few flexing fingers aren’t always enough to trigger them. Luckily, [Emilio] is also wisely distrustful of free WiFi, so his phone is always set up as a mobile hotspot, giving him the means to reliably detect his presence. An ATtiny2313 and an ESP-01 do the business of polling for the SSID of his phone and blinking a bright blue LED by his door for his housemates. It’s not perfect, of course; it could easily be spoofed by anyone else who knows his SSID. But simple works for now.

With almost everyone carrying one now, smartphone detection is a good proxy for the presence of a person. But it doesn’t work in every case, so you may want to familiarize yourself with the aforementioned PIR and microwave methods.

A Motion Sensing Light For Your Entrance Hallway

Arriving home to a dark house with an armful of anything is usually an exercise in fumbling confusion until someone manages to turn on a light. [Pavel Gesyuk] has circumvented this problem entirely by building and installing a motion detecting entrance light!

[Gesyuk] is using an Arduino clone by the name of  Funduino Mini Pro, a 2-channel, 2-way relay, — he only needed one, but you use what you have on hand — a recycled power supply to convert 220V AC to 5V DC, and an infrared sensor.

The project’s goal — in excess of a lighting solution for an entrance hallway — was the learn the ins and outs of the Arduino and motion sensors. After some initial hurdles familiarizing himself with the Arduino, [Gesyuk] wired everything together on a protoboard and stuck it in a plastic case — loose wires in a high traffic area doesn’t a safe home make.

Continue reading “A Motion Sensing Light For Your Entrance Hallway”

Measuring Airflow In An HVAC System

[Nubmian] wrote in to share his experiments with measuring airflow in an HVAC system. His first video deals with using with ultrasonic sensors. He found an interesting white paper that described measuring airflow with a single-path acoustic transit time flow meter. The question was, could he get the same effects with off-the-shelf components?

[Nubmian] created a rig using a pair of typical ultrasonic distance sensors. He detached the two transducers from the front of the PCB. The transducers were then extended on wires, with the “send” capsules together pointing at the “receive” capsules. [Nubmian] set the transducers up in a PVC pipe and blew air into it with a fan.

Continue reading “Measuring Airflow In An HVAC System”

Coffee, Conspiracy, And Citizen Science: An Introduction To Iodometry

I take coffee very seriously. It’s probably the most important meal of the day, and apparently the largest overall dietary source of antioxidants in the United States of America. Regardless of whether you believe antioxidants have a health effect (I’m skeptical), that’s interesting!

Unfortunately, industrially roasted and ground coffee is sometimes adulterated with a variety of unwanted ‘other stuff’: corn, soybeans, wheat husks, etc. Across Southeast Asia, there’s a lot of concern over food adulteration and safety in general, as the cost-driven nature of the market pushes a minority of vendors to dishonest business practices. Here in Vietnam, one of the specific rumors is that coffee from street vendors is not actually coffee, but unsafe chemical flavoring agents mixed with corn silk, roasted coconut husks, and soy. Local news reported that 30% of street coffee doesn’t even contain caffeine.

While I’ve heard some pretty fanciful tales told at street side coffee shops, some of them turned out to be based on some grain (bean?) of truth, and local news has certainly featured it often enough. Then again, I’ve been buying coffee at the same friendly street vendors for years, and take some offense at unfounded accusations directed at them.

This sounds like a job for science, but what can we use to quantify the purity of many coffee samples without spending a fortune? As usual, the solution to the problem (pun intended) was already in the room:

Continue reading “Coffee, Conspiracy, And Citizen Science: An Introduction To Iodometry”

Junkbox Freezer Alarm Keeps Steaks Safe

A fully stocked freezer can be a blessing, but it’s also a disaster waiting to happen. Depending on your tastes, there could be hundreds of dollars worth of food in there, and the only thing between it and the landfill is an uninterrupted supply of electricity. Keep the freezer in an out-of-the-way spot and your food is at even greater risk.

Mitigating that risk is the job of this junkbox power failure alarm. [Derek]’s freezer is in the garage, where GFCI outlets are mandated by code. We’ve covered circuit protection before, including GFCIs, and while they can save a life, they can also trip accidentally and cost you your steaks. [Derek] whipped up a simple alarm based on current flow to the freezer. A home-brew current transformer made from a split ferrite core and some magnet wire is the sensor, and a couple of op-amps and a 555 timer make up the detection and alarm part. And it’s all junk bin stuff — get a load of that Mallory Sonalert from 1983!

Granted, loss of power on a branch circuit is probably one of the less likely failure modes for a freezer, but the principles are generally applicable and worth knowing. And hats off to [Derek] for eschewing the microcontroller and rolling this old school. Not that there’s anything wrong with IoT fridge and freezer alarms.

Continue reading “Junkbox Freezer Alarm Keeps Steaks Safe”

Dual Direction Gaming/Dining Room Beam Lights

Sometimes, you just can’t find something you want, and that’s when you break out the tools and get dirty with a bit of DIY. Reddit user [JaredBanyard] wanted a nice beam light for the dining room/gaming room. He ended up building one that shone both downward, on the table, and upward, adding some light to the room.

Warm white LED strip lighting was chosen, and two aluminum channels were glued together to hold them. After wiring the four LED strips together a diffuser was placed over them and then they were wired up and turned on to check the amount of light. With two strips per channel, even with the diffuser, there was plenty.

Each pair of channels were set into the main housing, which is made from Sirari hardwood. Two long outside side pieces make for a great looking final product, and the end pieces are sandwiched between the two outside pieces. After a bit of sanding and an application of matte polyacrylic, transformers were screwed inside and then the channels were placed on top. The circuitry was wired to a Z-Wave dimmer to control the lights remotely.

[JaredBanyard]’s put together a bill of materials and there are plenty of pictures. It’s a great, unique, light for the room, which includes a Duchess gaming table from boardgametables.com. For more lighting articles, check out this 2017 Hackaday Prize entry article on modular rail lighting, or this article about adding intelligence to your lighting solution.

[via Reddit]