Turn Down the Bed, Turn Down the Lights

Home automation seems to be working its way to a computer-controlled future in which humans will be little more than an afterthought. Eventually they will take over Skynet-style, but until then, we will enjoy the relative comfort that a good home automation project provides. The latest from [Clement] certainly goes a long way towards this goal by automating his bed (Google Translate from French).

With four load cells and a microcontroller, [Clement]’s bed can tell whether or not he is sleeping. After taking a weight reading, the bed can send commands to the rest of his home automation system and tell it to turn off his stereo and turn the lights off in the house (or change them to a different color). And it doesn’t stop with just going to bed, but when he wakes up as well. The system can begin turning on lights, starting the coffee machine, and opening the blinds without any interaction from him at all.

This project goes well beyond simple home automation. With a little configuration and extrapolation, [Clement] can tell where in the bed he slept at night, what stages of sleep he was in at specific times, and the overall quality of his sleep. This could go a long way for someone who has a hard time sleeping and needs a little more information on how to correct the problem.

While we’ve seen various takes on tying a bed into one’s home automation system, this one goes above and beyond with the amount of data collected. You could even go one step further and have it turn on some Barry White if the normal weight in the bed suddenly doubles, for whatever reason. Maybe that will be a feature in Version 2.

Air Quality Sensors in Every Classroom

One of the first electronics projects for the aspiring hobbyist is wiring a sensor of some sort to a microcontroller, and then doing something useful with the new information. [Brock] has taken this type of gateway project and turned it into a way to get his students involved and familiar with electronics. His take on an air quality meter accomplishes both of these goals, and hopefully helps turn all of his students into the next generation of hackers.

The bill of materials is pretty straightforward. Instead of the go-to Arduino, [Brock] has gone with a Particle Photon which has the added benefits of various wireless connectivity options. The air quality sensor is a Shinyei PP42ns which interfaces easily with the Photon. The only thing that might be out of reach of most public high schools (at least in the United States) is the 3D-printed enclosure, although if you have access to one, [Brock] put the files on the project page so anyone can use them.

Of course, we’re big fans of projects that get students involved in anything beyond standardized tests, and this project goes a long way towards teaching students more than how to pass a test. There are many videos and instructions on the project page if you want to try this on your own, but if the cost for the materials is the only thing scaring you off from doing this in your own classroom there are a few other options. You could use ATtiny chips, or try a different style of sensor, or maybe just try out a different project altogether.

Continue reading “Air Quality Sensors in Every Classroom”

Master’s UAV Project Takes Flight

Pushing the maker envelope all the way to the Master level, [Przemyslaw Brudny], [Marek Ulita], and [Maciej Olejnik] from the Politechnika Wroclawska in Poland packed a UAV full of custom sensor boards for their thesis project.

The Skywalker X-8 FPV drone underwent extensive modifications to accommodate the embedded systems as well as upgrading the chassis with carbon glass to withstand the high load and speeds they would need to perform their tests. The ailerons were customized for finer control of the drone. But for our money, it’s all the board design that supports those sensors which is really fun to delve into.

Continue reading “Master’s UAV Project Takes Flight”

Hackaday Prize Entry: Ears On The Back Of Your Head

From context clues, we can tell that [TVMiller] has been in and around NYC for some time now. He has observed a crucial weakness in the common metropolitan. Namely, they deafen themselves with earphones, leaving them senseless in a hostile environment.

To fix this problem, he came up with a simple hack, the metrophone. An ultrasonic sensor is hung from a backpack. The user’s noise making device of choice is plugged into one end, and the transducer into the other. When the metropolitan is approached from the rear by a stalking tiger or taxi cab, the metrophone will reduce the volume and allow the user to hear and respond to their impending doom. Augmentation successful.

The device itself consists of an off-the-shelf ultrasonic sensor, an Arduino, and a digital potentiometer. It all fits in a custom 3D printed enclosure and runs of two rechargeable coin cells. A simple bit of code scales the volume to the current distance being measured by the ultrasonic sensor once a threshold has been met.

In the video after the break, you can observe [TVMiller]’s recommended method for tranquilizing and equipping a metropolitan in its natural habitat without disturbing its patterns or stressing it unduly.

Continue reading “Hackaday Prize Entry: Ears On The Back Of Your Head”

Clever And Elegant Tilt Sensors From Ferrofluid

Let’s talk about tilt sensors for a second. The simplest tilt sensors – the dead simplest – are a few ball bearings rolling around in a small metal can. When the can is tilted, the balls roll into a pair of electrical contacts, completing the circuit. How about a drop of mercury in a glass ampule with a few contacts? Same thing. You can get more expensive tilt sensors, including a few that are basically MEMS gyros, but they’re all pretty much the same. For [Aron]’s project for the Hackaday Prize, he’s come up with a tilt sensor that is so clever, so innovative, and so elegant, we’re gobsmacked by his creativity.

5700111461442877186Instead of electrical contacts or gyroscopes, [Aron] is using induction to measure the tilt of a sensor. By wrapping a tube with one long primary winding of copper wire, and several secondary windings in various places, [Aron] built a Linear Variable Differential Transformer. If you insert an iron rod inside this transformer, different voltages will be induced in the primary. Simple, and this device is effectively a position sensor for any ferrous material.

Now for the real trick: put ferrofluid in the core of that transformer. Liquids always find their level, and different tilts will induce different voltages in the primary. Brilliant. Continue reading “Clever And Elegant Tilt Sensors From Ferrofluid”

WISP Needs No Battery Or Cable

One of the problems with the Internet of Things, or any embedded device, is how to get power. Batteries are better than ever and circuits are low power. But you still have to eventually replace or recharge a battery. Not everything can plug into a wall, and fuel cells need consumables.

University of Washington researchers are turning to a harvesting approach. Their open source WISP board has a sensor and a CPU that draws power from an RFID reader. To save power during communication, the device backscatters incoming radio waves, which means it doesn’t consume a lot of its own power during transmissions.

The big  news is that TU Delft has contributed code to allow WISP to reprogram wirelessly. You can see a video about the innovation below. The source code is on GitHub. Previously, a WISP had to connect to a PC to receive a new software load.

Continue reading “WISP Needs No Battery Or Cable”

Beyond Measure: Instrumentation Essentials

The physical world is analog and if we want to interface with it using a digital device there are conversions that need to be made. To do this we use an Analog to Digital Converter (ADC) for translating real world analog quantities into digital values. But we can’t just dump any analog signal into the input of an ADC, we need this analog signal to be a measurable voltage that’s clean and conditioned. Meaning we’ve removed all the noise and converted the measured value into a usable voltage.

Things That Just Work.

This is not new information, least of all to Hackaday readers. The important bit is that we rely on these systems daily and they need to work as advertised. A simple example are the headlights in my car that I turned on the first night I got in it 5 years ago and haven’t turned off since. This is not a daytime running lights system, the controller turns the lights on when it’s dark and leaves them off during the day. This application falls into the category of things that go largely unnoticed because simply put: They. Work. Every. Time. It’s not a jaw dropping example but it’s a well implemented use of an analog to digital conversion that’s practical and reliable.

Figure 1

Continue reading “Beyond Measure: Instrumentation Essentials”