[Josh] had a little project where he needed to keep a variable in RAM while a microcontroller was disconnected from a power source. Yes, the EEPROM on board would be able to store a variable without power, but that means writing to the EEPROM a lot, killing the lifetime of the chip. He found an ATTiny can keep the RAM alive for a variable amount of time – somewhere between 150ms and 10 minutes. Wanting to understand this variability, he decided to solve the mystery of the zombie RAM.
The first experiment involved writing a little bit of code for an ATTiny4313 that looked for a value in RAM on power up and light up a LED if it saw the right value. The test circuit consisted of a simple switch connected to the power pin. Initial tests were astonishing; the ATTiny could hold a value in RAM for up to 10 minutes without power.
With the experiment a success, [Josh] updated his project to use this new EEPROM-saving technique. Only this time, it didn’t work. The value hidden away in RAM would die in a matter of milliseconds, not minutes. After tearing his hair out looking for something different, [Josh] rigged up an Arduino based test circuit with humidity and temperature sensors to see if that had any effect. It didn’t, and the zombie RAM was still not-undead.
The key insight into how the RAM in an ATtiny could stay alive for so long came when [Josh] noticed his test circuit had a LED, but the actual project didn’t. Apparently this LED was functioning as a very tiny solar cell, generating a tiny bit of current that kept the RAM alive. A dark room with a flashlight confirmed this hypothesis, and once [Josh] gets his uCurrent from Kickstarter he’ll know exactly how much current this LED is supplying.
In what we hope is a new trend in interviewing, some of the people at [Anthony]’s place of work asked him to make some wireless quiz buttons. He took the task quite seriously, making them extremely robust and low-power.
[Anthony] is experienced in the button arts, having made this party push button for a wedding reception. His design for the quiz buttons is a little different. Each button has an Arduino Pro mini and an nRF24L01 wireless RF module. On the receiver side is an Arduino Pro micro and an another RF module. A connected PC captures the serial data and displays the pressed button’s ID. It also shows the order in which subsequent buttons were pressed and the time elapsed between them.
The really notable part of this build aside from the awesome laser-cut MDF Devo energy dome button housings is the extremely low power consumption of the transmitting Arduinos. [Anthony] has designed them to go into sleep mode which disables all on-board circuitry and only wakes on interrupt. He removed the power LED and the voltage regulator since they run on 2-AA batteries. The voltage regulator was drawing more than 25mA in sleep mode. Because of these mods, each button consumes < 1μA, which is less power than the batteries can self discharge over their lifetime.
Earlier this week, I showed you [Naim Busek’s] kickstarter for his turn signal helmet. In that article I explained that, while the helmet is a neat idea, I was really interested in what [Naim] had told me about his power consumption. To put it the shortest way, he has made his arduino sleep so efficiently, it can be waiting for input longer than the battery’s optimum shelf life.
After that article, [Naim] wrote in to give me the details on what he did to achieve such an efficient system. You can read his entire explanation, un altered here.
Continue reading “Making the Arduino sleep the long sleep”
[Viktor] decided to replace his old power hungry home server with a model that is much easier on the old electric bill. The new motherboard uses an Intel Atom chip and consumes far less power than its predecessor. He figured there was no reason to use a bulky ATX power supply when all he needed was 12V for the mainboard and a pair of 5V rails for his hard drives, so he decided to build a PSU himself.
He sourced a 100VA toroid transformer as the basis of the power supply due to its popularity with audio amp builders, adding a standard bridge rectifier and smoothing capacitor before regulating the DC output. A pair of switching regulators were added, one for the 6A, 12V, and a second for the 1.5A, 5V supply. The motherboard only requires about 18W at full tilt, so the PSU should be more than sufficient for his needs.
Schematics and board layouts are available for free on his site, if you are in the market for your own DIY low-power PSU.
Looking for more build to suit electronics? Check out this DIY amp we featured just the other day.
We’ve all known the MSP430s under the Launchpad are designed to be low power, but who wants to bet how long the chip can last on only 20F worth of capacitors? A couple of hours? A day at max? [Kenneth Finnegan] setup a MSP430 with supercaps to find out. To make sure the chip is actually running, [Kenneth] programmed it to count from 0 to 9 over a period of 10 seconds, and then reset. To get it ultra low power, the chip is in sleep mode most of the time, and a raw low current LCD is used to display the output. While [Kenneth] simply checks the chip every few hours to see if it’s still counting, a setup much like the Flash Destroyer, tracking a clock and then storing the current value would get a more exact time of death. Either way, it’s been over 3 weeks…and still counting. Video after the rift.
Continue reading “Launchpad takes ultra low power to the extreme”
The line between serious research and well-executed hacks has been getting pretty blurry lately. The device above could have been designed in your basement but it actually comes from researchers at the University of Washington. They are working on low-power home automation sensors for monitoring things like humidity, temperature, air quality, and light. The key point in their research has been the use of a home’s electrical system for wireless communication. Operating at 27 MHz has proven quite efficient to the point that one of these modules placed within 10-15 feet of an electrical run can communicate with the rest of the home, powered only by a watch battery projected to last ten years.
That’s kind of exciting, it’s a heck of a lot easier to produce and distribute a set of small boards like this than to run communication wiring throughout the house. Now we just need to pair this with the Air Force’s parasitic power work and there’ll be no need for a battery at all.
A few months ago, we introduced the SheevaPlug, a 1.2GHz ARM processor with 512Mb of RAM, 2 usb ports, an ethernet port, and an SD card slot. In that article, we asked: “What would you do with one?”. We received tons of responses, 118 comments and counting. Scientific American had a similar idea and asked some “hackers”(MIT students) what they would do with it (thanks, grisspy). We thought maybe we would weigh in with our opinions. Join us after the break and in the comments.
Continue reading “Hackit: SheevaPlug”