Less Is More When It Comes To Sensor Power

It used to be the cost of a microcontroller was a big inhibitor to putting brains in everything, but those days are long gone. Even 32-bit CPUs are now cheap enough that you can throw them into anything. The biggest factor now is probably power. Do you really want to charge your electric toilet seat or change batteries every few weeks? A company called Everactive wants you to ditch your battery using their sensor platform they claim harvests energy from a variety of sources and they are about to deliver their first developer’s kit.

The sensor can measure temperature, humidity, pressure, magnetic field, and acceleration on three axes. The device claims to harvest energy from radio frequencies, vibrations, small temperature differentials or light, even indoors. Our guess is that the sensor package runs on very little and when you poll the device wirelessly, the incoming radio signal supplies power for communication. The company claims its device uses 1000 times less power than competing solutions.

Continue reading “Less Is More When It Comes To Sensor Power”

A Deep Dive Into E-Ink Tag Hacking

Over the last decade or so, e-ink price tags have become more and more ubiquitous, and they’ve now reached the point where surplus devices can be found inexpensively on various websites. [Dmitry Grinberg] found a few of these at bargain-basement prices and decided to reverse engineer and hack them into monochrome digital picture frames.

Often, the most difficult thing about repurposing surplus hardware is the potential lack of documentation. In the two tags [Dmitry] hacked, not only are the labels not documented at all, one even has an almost-undocumented SoC controlling it. After some poking around and some guesswork, he was able to find connections for both a UART and an SWD debugging interface. Fortunately, the manufacturers left the firmware unprotected, so dumping it was trivial.

Even with the firmware dumped, code for controlling peripherals (especially wireless devices) is often inscrutable. [Dmitry] overcomes this with a technique he calls “Librarification” in which he turns the manufacturer’s firmware into libraries for his custom code. Once he was able to implement his custom firmware, [Dmitry] developed his own code to wirelessly download and display both gray-scale and two-color images.

Even if you’re not interested in hacking e-ink tags, this is an incredible walk-through of how to approach reverse-engineering an embedded or IoT device. By hacking two different tags with completely different designs, [Dmitry] shows how to get into these systems with intuition, guesswork, and some sheer persistence.

If you’d like to see some more of [Dmitry]’s excellent reverse-engineering work, take a look at his reverse-engineering and ROM dump of the PokeWalker. If you’re interested in seeing what else e-ink tags can be made to do, take a look at this weather station made from the same 7.4″ e-ink tag.

Hackaday Podcast 031: Holonomic Drives, Badges Of DEF CON, We Don’t Do On-Chip Debugging, And Small Run Manufacturing Snafus

Mike Szczys and Kerry Scharfglass recorded this week’s podcast live from DEF CON. Among the many topics of discussion, we explore some of the more interesting ways to move a robot. From BB-8 to Holonomic Drives, Kerry’s hoping to have a proof of concept in time for Supercon. Are you using On-Chip Debugging with your projects? Neither are we, but maybe we should. The same goes for dynamic memory allocation; but when you have overpowered micros such as the chip on the Teensy 4.0, why do you need to? We close this week’s show with a few interviews with badge makers who rolled out a few hundred of their design and encountered manufacturing problems along the way. It wouldn’t be engineering without problems to solve.

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 031: Holonomic Drives, Badges Of DEF CON, We Don’t Do On-Chip Debugging, And Small Run Manufacturing Snafus”

Friday Hack Chat: Elecia White Talks Embedded Systems

The Arduino ecosystem, despite the comments it receives from Real Engineers™, is actually pretty great. There’s no other tool that works with as many varieties of microcontrollers, has as many libraries, and is as easy to use as the Arduino. It’s perfect for getting a project up and running quickly, but when it comes down to getting the last cycles or kilobits out of an embedded system you’ll quickly find the little blue infinity icon just won’t cut it.

Embedded system design goes far beyond the Arduino ecosystem, and for this week’s Hack Chat, we’ll be talking about squeezing the last drops out of tiny pieces of silicon.

Our guest for this week’s Hack Chat will be [Elecia White], embedded software engineer at Logical Elegance, author of O’Reilly’s Making Embedded Systems, and host of the Embedded.fm podcast.  In this chat, we’re going to be talking about moving beyond the Arduino ecosystem.

Topics for this week’s Hack Chat will include embedded systems ecosystems, how to match processors to projects, choosing IDEs, programmers, and other tools, and actually shipping all those whizz-bang microcontroller projects out to eager buyers. We’re opening up the floor to all questions, so if you have something to add, here’s a spreadsheet to guide the discussion.

Here’s How To Take Part:

join-hack-chatOur Hack Chats are live community events on the Hackaday.io Hack Chat group messaging. Hack Chats are mostly, usually at noon, Pacific time on Friday. This week is no exception and everything is going down noon, PDT, Friday, September 8th. Are time zones confusing? Not a problem; here’s a handy countdown timer!

Click that speech bubble to the right, and you’ll be taken directly to the Hack Chat group on Hackaday.io.

You don’t have to wait until Friday; join whenever you want and you can see what the community is talking about.

Hackaday’s Most Excellent Munich Adventure

Bags are packed… it’s insane the amount of random electronics I carry with me on a trip. But who doesn’t want to do some prototyping on the plane?

In case you haven’t heard, the Hackaday Crew is headed to Munich. The coming week is Electronica. We’ll be prowling “the world’s leading trade show for electronic components” looking for the jewels of interest to the hacking community. Watch our Twitter feed for updates on those adventures.

But of course, Thursday the 13th is all about Hackaday Munich. The place will be packed! During the afternoon we feature hands-on hacking of embedded systems. The hardware we’re supplying is already spoken for. But you should bring along your own dev boards to hack on, or just come to watch the fun.

Get a ticket to The Hackaday Prize party. This includes a talk by [Sprite_TM], the announcement of the Grand Prize winner for the 2014 Hackaday Prize, followed by a party with music by [DJ Muallen]. Nobody should miss this event so please help get the word out. See you there!

Judge Spotlight: Jack Ganssle

judge-spotlight-ganssle

This week we’re getting to know The Hackaday Prize Judge [Jack Ganssle] a little better. His depth of experience with embedded systems is formidable, and recently I was very interested to learn about his mission to improve the quality of the product in the embedded code universe. We’ll get to that in a little bit, but I wanted to start off with [Jack’s] answer to my final question.


judge-spotlight-q5Is there anything else you’d like our audience to know about you?

judge-spotlight-a5Intel 8008 Chip on white backgroundMy entry into this field was when the first 8 bit processor (the 8008) came out, and still find it endlessly fascinating. I write a lot about embedded topics, and give talks and seminars, on all of the continents except Antarctica (so far!). We live in heavily-wooded Finksburg, MD, which is just stunning this time of year, and, since my office is in the house, the commute is pretty tolerable. Other passions include sailing; I wrote an on-line book (www.ganssle.com/jack) about racing alone across the Atlantic. Great trip, other than losing the boat.

Continue reading “Judge Spotlight: Jack Ganssle”

reverse_engineering_firmware

Reverse Engineering Embedded Device Firmware

While not necessarily an easy thing to learn, the ability to reverse engineer embedded device firmware is an incredibly useful skill. Reverse engineering firmware allows you to analyze a device for bugs and vulnerabilities, as well as gives you the opportunity to add features if you happen to be so inclined. When it comes to things such as jailbroken iPhones, Android phones, and Nooks, you can guarantee that a close look at the firmware helped to move the process along.

[Craig] works with embedded systems quite frequently and put together a detailed walkthrough demonstrating how he reverse engineers device firmware. The subject of his hacking was a new firmware package he obtained for a Linksys WWAG120 Wireless-N router.

His tutorial walks through some of the most common reverse engineering methods and tools, which allow him to slowly unravel the firmware’s secrets. When finished, he had a working copy of the router’s boot loader, kernel, and file system – all ready to be further analyzed. His writeup includes tons of additional details, so be sure to swing by his site if reverse engineering is something you are interested in.