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.
[Paul] participated in a hackathon at work and created a hack to help solve what was ultimately a people problem. A soda fridge at work wasn’t getting refilled when empty. Instead of trying to make people less lazy, [Paul] went with making the fridge more needy.
The first thing [Paul] did was make a soda fridge refill sensor from a scale. As the fridge got emptier, it got lighter. The scale senses that and can decide it’s time for a refill. The only part missing was how to read the output from the scale. To do that, he took an unusual approach.
Continue reading “Soda Fridge Hack to Fix a Lazy People Problem”
For those fighting the battle of the bulge, the forced discipline of fitness bands and activity tracking software might not be enough motivation. Some who are slimming down need a little gentle encouragement to help you lose weight and keep it off. If that sounds like you, then by all means avoid building this weight-tracking IoT scale with an attitude.
Then again, if you live in fear of your scale, [Jamie Bailey]’s version is easy to hate, at least when your numbers are going in the wrong direction. Centered around a second-hand Wii Balance Board talking to a Raspberry Pi via Bluetooth, the scale really only captures your weight and sends it up to InitialState for tracking and feedback. Whether the feedback is in the form of jokes at your expense is, of course, is entirely up to you; if you’d rather get gentle nudges and daily affirmations, just edit a few files. Or if your tastes run more toward “Yo momma so fat” jokes, have at it.
Bathroom scales are a good hacking target, whether it’s reverse engineering a digital scale or eavesdropping on a smart scale. This build is snarky good fun, and if nothing else, it’s good for pranking your roommate. Unless your roommate is your husband or wife, of course. That’s just – no.
We’ve featured a lot of clock builds, but this one, as the title suggests, is frickin’ amazing. Talented art student [Kango Suzuki] built this Wooden Mechanical Clock (Google translation from Japanese) as a project while on his way to major in product design. There’s a better translation at this link. And be sure to check out the video of it in motion below the break.
[Kango]’s design brief was to do something that is “easy for humans to do, but difficult for machines”. Writing longhand fits the bill, although building the machine wasn’t easy for a human either — he needed six months just to plan the project.
The clock writes time in hours and minutes on a magnetic board. After each minute, the escapement mechanism sets in motion almost 400 wooden cogs, gears and cams. The board is tilted first to erase the old numbers, and then the new numbers are written using four stylii.
The clock doesn’t have any micro controllers, Arduinos, servos or any other electronics. The whole mechanism is powered via gravity using a set of four weights. [Kango] says his biggest challenge was getting the mechanism to write the numbers simultaneously. While he managed the geometry right, the cumulative distortion and flex in the hundreds of wooden parts caused the numbers to be distorted until he tuned around the error.
Continue reading “Frickin’ Amazing Clock”
Whether you are trying to drop some fat or build some muscle, it’s important to track progress. It’s easy enough to track your weight, but weight doesn’t tell the whole story. You might be burning fat but also building muscle, which can make it appear as though you aren’t losing weight at all. A more useful number is body fat percentage. Students from Cornell have developed their own version of an electrical body fat analyzer to help track body fat percentage.
Fat free body mass contains mostly water, whereas fat contains very little water. This means that if you were to pass an electrical current through a body, the overall bioelectrical impedance will vary depending on how much fat or water there is. This isn’t a perfect system, but it can give a rough approximation in a relatively easy way.
The students’ system places an electrode on one hand and another on the opposite foot. This provides the longest electrical path possible in the human body to allow for the most accurate measurement possible. An ATMega1284P is used to generate a 50kHz square wave signal. This signal is opto-isolated for user safety. Another stage of the circuit then uses this source signal to generate a 10ua current source at 50kHz. This is passed through a human body and fed back to the microcontroller for analysis.
The voltage reading is sent to a MATLAB script via serial. The user must also enter in their weight and age. The MATLAB script uses these numbers combined with the voltage reading to estimate the body fat percentage. In order to calibrate the system, the students measured the body fat of 12 of their peers using body fat calipers. They admit that their sample size is too small. All of the sample subjects are about 21 years old and have a similar body fat percentage. This means that their system is currently very accurate for people in this range, but likely less accurate for anyone else. Continue reading “DIY Electrical Body Fat Analyzer”
This interesting take on weights and measures uses a two foot long level as the base for a diy equal arm balance. The balance is the oldest method used for measuring mass. That’s because you don’t even need a reference weight for it to work as long as you are measuring ingredients that are proportional to each other in whole numbers.
The key to accuracy with these scales is to reduce friction at the fulcrum. In this case the fulcrum is made of two upturned razor blades on the base, with a single razor blade resting perpendicular to those on the arm. But because gravity is doing the equalization, the base must be as level as possible. Adjustable feet were added to the base so that it can be leveled on two axes. When the tower at the center was built (using threaded rod) a disc level was used to fine-tune the mounting angle of the two razor blades. The finishing touches include a coupling nut on each end for fine-tuning the balance, and the halves of a tea ball strainer as the weighing vessels.
This toothbrush holder will make sure you’re brushing your pearly whites for an appropriate length of time. The three cups serves as tootbrush storage, and detect when one has been removed. Once you start brushing your teeth the lights on the front and bell in the back count down the process automatically.
The counting sequence starts when a weight sensor in the base detects a change caused by picking up a toothbrush. The ATmega328 — which is programmed with Arduino-style code — then turns on all of the incandescent lamps mounted on the front portion of the base. Each of these are switched with a 2N3904 transistor in order to sink enough current for the bulb. As a two-minute timer decrements, the bulbs are extinguished one by one. But there is also an auditory feedback mechanism. On the back of the base is a small bell. A hammer on a servo strikes the bell every 30 seconds to let you know how you’re doing. The entire thing is driven by an internal Li-ion battery which lasts about three weeks between charges. Don’t miss the demo video found after the break.
Continue reading “Toothbrush timer”