Game Boy Plays Forever

For those of us old enough to experience it first hand, the original Game Boy was pretty incredible, but did have one major downside: battery consumption. In the 90s rechargeable batteries weren’t common, which led to most of us playing our handhelds beside power outlets. Some modern takes on the classic Game Boy address these concerns with modern hardware, but this group from the Delft University of Technology and Northwestern has created a Game Boy clone that doesn’t need any batteries at all, even though it can play games indefinitely.

This build was a proof-of-concept for something called “intermittent computing” which allows a computer to remain in a state of processing limbo until it gets enough energy to perform the next computation. The Game Boy clone, fully compatible with the original Game Boy hardware, is equipped with many tiny solar panels which can harvest energy and is able to halt itself and store its state in nonvolatile memory if it detects that there isn’t enough energy available to continue. This means that Super Mario Land isn’t exactly playable, but other games that aren’t as action-packed can be enjoyed with very little impact in gameplay.

The researchers note that it’ll be a long time before their energy-aware platform becomes commonplace in devices and replaces batteries, but they do think that internet-connected devices that don’t need to be constantly running or powered up would be a good start. There are already some low-powered options available that can keep their displays active when everything else is off, so hopefully we will see even more energy-efficient options in the near future.

Thanks to [Sascho] for the tip!

Continue reading “Game Boy Plays Forever”

Hackaday Links Column Banner

Hackaday Links: September 6, 2020

That was a close shave! On Tuesday, asteroid 2011 ES4 passed really close to the earth. JPL’s close approach data pegs its nominal distance from earth at about 0.00081083276352288 au! Yeah, we had to look it up too: that’s around 75,000 miles (120,000 kilometers), just ten times the diameter of the earth and only about one-third the distance from the earth the moon. It got within about 52,000 miles of the moon itself. Bookworms who made it all the way through Seveneves are surely sweating right now.

There’s a low current arms race when it comes to lighting up LEDs. The latest salvo in the field comes from [Christoph Tack] who boasts a current of 1.36 µA at 3 V for a green LED that is roughly 10x brighter than a phosphorescent watch dial. Of course, the TritiLED is the design being chased, which claims to run 17.6-20.2 years on a single CR2032 coin cell.

Proving once again that Hanna and Barbera were indeed future-tech prophets, flying cars are now a thing. Sky Drive Inc. made a four-minute test flight of a single passenger octo-rotor aircraft. Like a motorcycle of the sky (and those are a thing too) this thing is single-passenger and the cockpit is open air. The CNN article mentions that “The company hopes to make the flying car a part of normal life and not just a commodity”. Yeah, we’re sure they do, but in an age when electric cars are demonized for ranges in the low hundreds of miles, this is about as practical for widespread use as self-balancing electric unicycles.

Just when you thought the Marble Machine X project couldn’t get any bigger, we find out they have a few hundred volunteers working to update and track CAD models for all parts on the machine. Want a quick-start on project management and BOM control? These are never seen as the sexy parts of hardware efforts, but for big projects, you ignore them at your own peril.

Google and Apple built a COVID-19 contact tracing framework into their mobile platforms but stopped short of building the apps to actually do the work, anticipating that governments would want to control how the apps worked. So was the case with the European tracing app as Elliot Williams recently covered in this excellent overview. However, the United States has been slower to the game. Looks like the tech giants have become tired of waiting and have now made it possible for the framework itself to work as a contact tracing mechanism. To enable it, local governments need to upload a configuration file that sets parameters and URLs that redirect to informational pages from local health departments, and users must opt-in on their phone. All other tracing apps will continue to function, this is meant to add an option for places that have not yet adopted/developed their own app.

And finally, it’s time to take back responsibility for your poor spelling. Auto-correct has been giving us sardines instead of teaching how to fish for them ourselves. That ends now. The Autocorrect Remover is an extension for Google Docs that still tells you the word is wrong, but hides the correct spelling, gamifying it by having you guess the right spelling and rewarding you with points when you get it right.

Bike Computer Powers On Long After Your Legs Give Out

A typical bicycle computer from the store rack will show your speed, trip distance, odometer, and maybe the time. We can derive all this data from a magnet sensor and a clock, but we live in a world with all kinds of sensors at our disposal. [Matias N.] has the drive to put some of them into a tidy yet competent bike computer that has a compass, temperature, and barometric pressure.

The brains are an STM32L476 low-power controller, and there is a Sharp Memory LCD display as it is a nice compromise between fast refresh rate and low power. E-paper would be a nice choice for outdoor readability (and obviously low power as well) but nothing worse than a laggy speedometer or compass.

In a show of self-restraint, he didn’t try to replace his mobile phone, so there is no GPS, WiFi, or streaming music. Unlike his trusty phone, you measure the battery life in weeks, plural. He implemented EEPROM memory for persistent data through power cycles, and the water-resistant board includes a battery charging circuit for easy topping off between rides.

When you toss the power of a mobile phone at a bike computer, someone will unveil the Android or you can measure a different kind of power from your pedals.

Continue reading “Bike Computer Powers On Long After Your Legs Give Out”

ESP32 Trail Camera Goes The Distance On AA Batteries

There’s no shortage of things to like about the ESP8266 and ESP32, but if we had to make a list of the best features these WiFi-enabled microcontrollers have to offer, their power management capabilities would certainly be near the top. Which is how we assumed [Mark] was able to take a whopping 23,475 pictures on his ESP32 camera while powered by nothing more exotic than four AA batteries from the grocery store.

But as it turns out, the full story is quite a bit more interesting. As far as we can tell, [Mark] isn’t bothering with the ESP32’s sleep modes all. In fact, it looks like you could pull this trick off with whatever chip you wanted, which certainly makes it worth mentally filing away for the future; even if it depends on a fairly specific use case.

In the most simplistic of terms, [Mark] is cutting power to the ESP32 completely when it’s not actively taking pictures. The clever circuit he’s come up with only turns on the microcontroller when a PIR sensor detects something moving around in front of the camera. Once the chip is powered up and running code, it brings one of its GPIO pins high which in turn triggers a 4N37 optoisolator connected to the gate on the circuit’s MOSFET. As long as the pin remains high, the circuit won’t cut power to the ESP32. This gives the chip time to take the requested number of pictures and get everything in order before bringing the pin low and allowing the circuit to pull the plug.

If you’re looking to maximize runtime without wrangling any MOSFETs, we’ve seen some excellent examples of how the low power modes on the ESP8266 and ESP32 can be put to impressive use.

[Thanks to Jason for the tip.]

Hackaday Podcast 053: 1-Bit Computer Is A Family Affair, This Displays Is Actually Fabulous, And This Hoverboard Is A Drill Press

Hackaday editors Mike Szczys and Elliot Williams navigate the crowded streets of the hackersphere for the most interesting hardware projects seen in the past week. Forget flip-dot displays, you need to build yourself a sequin display that uses a robot finger and sequin-covered fabric to send a message. You can do a lot (and learn a lot) with a 1-bit computer called the WDR-1. It’s never been easier to turn a USB port into an embedded systems dev kit by using these FTDI and Bluepill tricks. And there’s a Soyuz hardware teardown you don’t want to miss.

Take a look at the links below if you want to follow along, and as always tell us what you think about this episode in the comments!

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (60 MB or so.)

Continue reading “Hackaday Podcast 053: 1-Bit Computer Is A Family Affair, This Displays Is Actually Fabulous, And This Hoverboard Is A Drill Press”

The Cult Of Really Low-Power Circuits: Scrounging, Sipping, And Seeing Power

If you’ve ever tried to make a really low-power circuit — especially one that runs on harvested power — you have probably fallen into at least a few of the many traps that await the unwary in this particular realm of electronic design. Well, Dave Young has been there, seen the traps, and lived to tell about it. In these territories, even “simple” systems can exhibit very complex, and sometimes downright confusing behavior when all possible operating conditions are considered. In his 2019 Hackaday Superconference talk: Scrounging, Sipping, and Seeing Power — Techniques For Planning, Implementing, And Verifying Off-Grid Power Systems, Dave discusses a number of these issues, how they interplay with low-power designs, and tricks he’s collected over the years to design and, more importantly, test these deceptively simple systems.

Dave is an electrical engineer and his company, Young Circuit Designs, has worked in the test and measurement, energy, and low-power consumer industries. We were lucky to have him share some of his 15 years of experience on the Supercon stage this past November, specifically discussing devices powered from harvested energy, be it wave energy (think oceans not RF), thermal energy, or solar. The first lesson is that in these systems, architecture is key. Digging deeper, Dave considers three aspects of the architecture, as mentioned in the talk title: scrounging, sipping, and seeing power.

Continue reading “The Cult Of Really Low-Power Circuits: Scrounging, Sipping, And Seeing Power”

One ESP8266, One Battery, One Year… And Counting.

There are times when a sensor is required that does its job without the need for human attention over a long period, and for those applications a minimal power drain is a must. [Dave Davenport] had an EPS8266-based moisture sensor, and became disappointed in having to replace its AA batteries every few months. With an 18650 Li-ion cell and a bunch of power-saving tricks that time has been extended so far to over a year and still going, so he’s written a blog post detailing how he did it.

Some of his techniques such as turning off the sensor or using a better LDO regulator than the stock Wemos one are straightforward. Others though are unexpected, such as using the memory associated with the on-board RTC to store the WiFi connection info and channel number during sleep. The normal ESP8266 connection sequence involves a network scan, by hanging onto what it found last time the extra time and thus power expended by it can be avoided. Similarly switching from a DHCP lease to a fixed IP address cuts the time the device waits for a lease and thus the time it has to stay awake.

We might not all have ESP8266 moisture sensors to build, but we’re many of us on a quest to sip less power in our projects. Let us help you with a previous sojourn into that arena.

ESP8266 image: connorgoodwolf [CC BY-SA 4.0].