A New Perspective On The Internet Of Things


How many sensors are required to power the Internet of Things? According to Davor Sutija, chief executive officer at Thinfilm, about a trillion sensors are required to power the billion connected...

SD Card Hack Shows Flash Storage Is Programmable: Unreliable Memory

Ever wonder why SD cards are dirt cheap? At the 2013 Chaos Computer Congress, a hacker going by the moniker Bunnie recently revealed part of the reason: “In reality, all flash memory is riddled with defects — without exception.” But that tidbit is nothing compared to the point of his presentation, in which he and fellow hacker Xobs revealed that SD cards and other flash storage formats contain programmable computers.

sd card hack by bunnie and xobs 620x345magnify

Bunnie also summarized his presentation in a relatively easy to understand post on his blog. The images I’m sharing here are from the slides (pdf) that he and Xobs used in their 30C3 talk. Here’s the full paragraph where Bunnie claims that flash memory is cheap because they’re unreliable: “Flash memory is really cheap. So cheap, in fact, that it’s too good to be true. In reality, all flash memory is riddled with defects — without exception. The illusion of a contiguous, reliable storage media is crafted through sophisticated error correction and bad block management functions…”

sd card hack by bunnie and xobs 2 620x464magnify

“…This is the result of a constant arms race between the engineers and mother nature; with every fabrication process shrink, memory becomes cheaper but more unreliable. Likewise, with every generation, the engineers come up with more sophisticated and complicated algorithms to compensate for mother nature’s propensity for entropy and randomness at the atomic scale.”

sd card hack by bunnie and xobs 3 620x464magnify

Simply put, Bunnie claims that flash storage is cheap (partly) because all chips made are used, regardless of their quality. But how do flash storage makers deal with faulty hardware? With software.

Apparently flash storage manufacturers use firmware to manage how data is stored as well as to obscure the chip’s shortcomings. For instance, Bunnie claims that some 16GB chips are so damaged upon manufacture that only 2GB worth of data can be stored on them. But instead of being thrashed, they’re turned into 2GB cards instead. In order to obscure things like that – as well as to handle the aforementioned increasingly complex data abstraction – SD cards are loaded with firmware.

sd card hack by bunnie and xobs 4 620x464magnify

And where does that firmware reside? In a microcontroller, i.e. a very tiny computer. The microcontroller is packed inside a memory card along with the actual chips that store the data. Bunnie and Xobs then proved that it’s possible to hack the microcontroller and make it run unofficial programs. Depending on how cynical you are, that finding is either good news or bad news.

sd card hack by bunnie and xobs 5 620x464magnify

For their talk, Bunnie and Xobs hacked into two SD card models from a relatively small company called AppoTech. I wish I could say more about their process, but you can read about it on Bunnie’s blog

sd card hack by bunnie and xobs 6 620x464magnify

…or you can watch their entire presentation in the video below:

Long story short, Bunnie and Xobs found out that the microcontrollers in SD cards can be used to deploy a variety of programs – both good and bad – or at least tweak the card’s original firmware. For instance, while researching in China, Bunnie found SD cards in some electronics shops that had their firmware modified. The vendors “load a firmware that reports the capacity of a card is much larger than the actual available storage.” The fact that those cards were modified supports Bunnie and Xobs’ claim: that other people besides manufacturers can manipulate the firmware in SD cards.

sd card hack by bunnie and xobs 7 620x464magnify

The slide above outlines the other ways a memory card’s microcontroller can be abused. Malware can be inserted into memory cards to discreetly open files, make data impossible to erase (short of destroying the card itself) and even discreetly scan and replace data. On the other hand, Bunnie and Xobs note that this revelation opens up a new platform for tinkerers and developers. If a memory card is both a storage device and a computer, then it may be powerful enough to control another device on its own.

It’s worth noting that this particular investigation had an extremely small sample size. That being said, Bunnie believes that this vulnerability exists in “the whole family of “managed flash” devices, including microSD, SD, MMC as well as the eMMC and iNAND devices typically soldered onto the mainboards of smartphones and used to store the OS and other private user data. We also note that similar classes of vulnerabilities exist in related devices, such as USB flash drives and SSDs.”

Turns out the memories of our computers are as unreliable as ours.

[via Bunnie via BGR]

Olympia Circuits’ Arno Shield lets Arduino newcomers bring their own board

Olympia Circuits' Arno Shield lets Arduino newcomers bring their own board

While there have certainly been attempts at easing the Arduino learning curve, many of these still demand a new board or simplify just one aspect of a much larger universe. Olympia Circuits' new Arno Shield could help strike a better balance between starting fresh and diving into the deep end. It includes all the buttons, lights and sensors needed for 40-plus educational projects, but grafts on to existing boards such as the company's LeOlympia or an Arduino Uno. Owners don't have to add parts or wires; they just remove the shield once they've learned enough to create their own masterworks. The shield kit won't be cheap when it arrives on May 2nd for $60, but it may prove the real bargain for tinkerers who want a full-fledged Arduino board as soon as the training wheels come off.

Filed under:

Comments

Source: Olympia Circuits

Olympia Circuits’ Arno Shield lets Arduino newcomers bring their own board

Olympia Circuits' Arno Shield lets Arduino newcomers bring their own board

While there have certainly been attempts at easing the Arduino learning curve, many of these still demand a new board or simplify just one aspect of a much larger universe. Olympia Circuits' new Arno Shield could help strike a better balance between starting fresh and diving into the deep end. It includes all the buttons, lights and sensors needed for 40-plus educational projects, but grafts on to existing boards such as the company's LeOlympia or an Arduino Uno. Owners don't have to add parts or wires; they just remove the shield once they've learned enough to create their own masterworks. The shield kit won't be cheap when it arrives on May 2nd for $60, but it may prove the real bargain for tinkerers who want a full-fledged Arduino board as soon as the training wheels come off.

Filed under:

Comments

Source: Olympia Circuits

Pebble 1.9.1 firmware update arrives to resolve shutdown woes

Pebble update resolves shutdown woes

Some Pebble owners were understandably perturbed when their smartwatches seemingly went dead after a shutdown -- that's not the best first impression of an emerging technology. Some credit is due for a rapid turnaround, however, as the Pebble team just delivered a 1.9.1 firmware upgrade that should tackle the problem. It fixes a bug that occasionally prevented the microcontroller from reconfiguring itself before the watch went dark, leaving the buttons unresponsive on wake and the Pebble more of a paperweight. You'll still have to swap out for a replacement if your watch has already fallen ill and won't recover, but the experience should be more reliable for already functional watches from here on out. Let fellow owners know how well the upgrade worked in the comments.

[Thanks, Daniel]

Filed under: ,

Comments

Source: Pebble

RFduino Coin-Sized Arduino Microcontroller with Bluetooth 4.0: Small Size, Long Reach

Arduino microcontrollers are beloved by students and hobbyists because they’re affordable, small and versatile. Those are the same exact traits that the RFduino microcontroller possesses. In addition, it has one thing that other Arduino boards don’t have: built-in Bluetooth connectivity.

rfduino arduino microcontroller with bluetooth

The RFduino was developed by Open Source RF, an electronics shop that makes Arduino-compatible peripherals and modules. The shop’s tiny invention makes it possible for people to make small gadgets and sensors that can be controlled or monitored wirelessly using a smartphone. You’ll have to buy and then fit a separate wireless shield to an Arduino board to achieve the same functionality.

Speaking of shields, the RFduino also has compatible shields that extend its functionality, including one with a USB-port and another with a coin cell battery slot. It also runs code written in the Arduino programming language, which should really make it an enticing platform for Arduino users. Check out the video below to see how the RFduino can be used:

They should have called it the Fleaduino – a small board with mad reach. Build a Pledge-Bot and pay at least $19 (USD) on the RFduino Kickstarter by April 4, 2013 to reserve your own unit.

Freescale fashions world’s smallest ARM-powered microcontroller

Freescale fashions world's smallest ARM-powered microcontroller

If you're looking for an exceedingly tiny ARM-based microcontroller, Freescale says it's just cooked up the world's smallest. Dubbed the Kinetis KL02, the piece of kit is 25 precent smaller than the previous record-holder and measures up at a 1.9 x 2.00 x 0.56 millimeters. Having trouble visualizing exactly how small that is? Just take a gander at the photo above. A 48 MHz ARM Cortex-M0+ processor has made it onto the wafer-level chip-scale package and it's paired with 32KB of flash memory and 4KB of RAM. The outfit reckons it'll be a good match for 'internet of things' devices that are tight on space, and says it beats its older L Series kin in power efficiency. Manufacturer sampling for the KL02 is slated for March, while wide availability is penciled in for July, and it'll set buyers back 75 cents a piece when purchased in 100,000-unit loads. Hit the jump for more details in the press release.

Filed under:

Comments

Source: Freescale

Insert Coin: Arduino-compatible Pinoccio microcontroller sports battery, WiFi

In Insert Coin, we look at an exciting new tech project that requires funding before it can hit production. If you'd like to pitch a project, please send us a tip with "Insert Coin" as the subject line.

Insert Coin Arduinocompatible Pinoccio microcontroller serves up Internet of Things in bite-size chunk

It's been said that imitation is the sincerest form of flattery. Improving on a good idea, however, is truly the ultimate homage, according to the makers of the new Pinoccio microcontroller. Inspired by the Arduino, the brain trust behind the Pinoccio decided to take the stuff they liked about the popular platform -- ease of programming and low cost -- and add some features to make it even better. These include a rechargeable battery, a temperature sensor and a built-in radio that allows one Pinoccio with a WiFi shield to communicate wirelessly with other Pinoccios. The microcontroller also delivers performance that stacks up well with an Arduino Mega but at a smaller size -- the Pinoccio only measures a couple of inches long and an inch wide. The project is currently trying to raise $60,000 at Indiegogo, with supporters netting the standard Pinoccio by pledging $49 and a microcontroller with a WiFi shield for $99. For more details, feel free to check out the video after the break or peruse the project's Indiegogo page by clicking at the source link.

Previous project update: The Lomography Smartphone Film Scanner was apparently ready for its closeup. The Kickstarter project more than tripled its $50,000 goal with two more weeks to go.

Filed under:

Comments

Source: Indiegogo

Arduino Esplora helps you learn microcontrollers without the pesky breadboard

Arduino Esplora helps you learn microcontrollers without the pesky breadboard

Arduino is the go to board for most folks looking for an introduction to microcontrollers. That's largely thanks to its sizable community, ease of use and surprising versatility. But, there is one small stumbling block for those just looking to dip their toes in the ATmega-powered waters: you'll need to provide your own sensors, components and breadboard. (At least you will unless you're satisfied just making the built-in LED blink.) The Esplora bakes some of those essential bits and pieces right on to the board. It's crafted around the same core as the Leonardo, but adds an accelerometer, microphone, analog joystick, four buttons, a light sensor, temperature sensor, linear potentiometer and a buzzer to the mix. While the gamepad-like layout means you wont be able to connect to any of the dozens of Arduino shields out there, it does have a pair of TinkerKit inputs and outputs for expanding the Esplora's capabilities. There's also a place to connect an upcoming LCD module. The Esplora is available now direct from Arduino for €41.90.

Continue reading Arduino Esplora helps you learn microcontrollers without the pesky breadboard

Filed under:

Comments

Source: Arduino