Hackaday Links: September 22, 2013

hackaday-links-chain

First we start with some protection… for your USB charged devices. Here’s a USB Condom which acts as a pass-through for the power rails but not the data lines. This prevents untrusted charger security exploits. [Thanks Markus]

[OutKastz] seems to think he’s uncovered a price matching conspiracy at Best Buy. His post references an HDTV video wall he has built. But he also discovered that there are two different version of the same television sold as the same SKU. His theory is that this prevents the big box from matching prices on half of their inventory.

When you’re in need of some breadboarding action with your Raspberry Pi and want to make it as painless as possible you need to build your own Pi Cobbler. This is the diy version of an Adafruit product, built using a couple of pin headers, stripboard, and an IDE cable.

Speaking of Adafruit, did you see Ladyada’s teardown of an ICEdot crash sensor?

[Phineas] is showing off a really really small hexacopter. Check out the maiden flight, as well as first indoor and first outdoor tests.

Perhaps this coded entry system will inspire a future project for you. It uses piezo elements to enter a code which unlocks the back door to the company. The glass door already had a series of large dots painted on it. This turns out to be a nice interface for a four button code system.

Many projects use a Raspberry Pi as a web server. But there is more than just one flavor available. [Jeremy Morgan] performed a variety of Pi server benchmarks using Nginx, Monkey, Lighttpd, and Apache. [Thanks Walter]

Can an old TV antenna reflector be used to boost the range of a WiFi dongle? We’re a bit skeptical. Let us know what you think in the comments.

And finally, we do wish there was more information on this upright piano used to play Doom [Thanks Itay].

 

The Arduino YUN. YUN Means Cloud.

For the longest time, the creators of the Arduino have been looking at how to bring the Arduino platform into the cloud. Ethernet and WiFi shields technically work, but if you’re processing data scraped from a web page, a lowly microcontroller really isn’t the best option. Enter the Arduino YUN. At its core, it’s a regular old Arduino Leonardo. Underneath that metal plate on the board? That’s an SoC running Linux.

Basically, the Linux side of the Yun is pretty similar to a WiFi router running OpenWRT. There’s a USB port for plugging in peripherals, native WiFi support (802.11n, even!), an Ethernet connector, and enough RAM to do all the interesting stuff a small computer connected to the Internet can do.

To make all this web programming easier for Arduino neophytes, the YUN also includes a ‘bridge’ library that automates HTTP transactions between the Linux and microcontroller sides of the YUN. There’s also support for Temboo, an SDK for dozens of APIs that interact with Facebook, Dropbox, FedEx, and hundreds of other web services.

Below you can check out [Massimo] and [David] showing off their wares and going over how the YUN connects to the Internet and interacts with the microcontroller over the ‘bridge’. It’s an interesting device, and something we’ll surely check out at the World Maker Faire.

Continue reading “The Arduino YUN. YUN Means Cloud.”

DIY Electricity And Internet For Burning Man

bmPowerInet

Despite this being [Kenneth Finnegan’s] first Burning Man, the guy came prepared and stayed connected by setting up a beefy electricity supply and a faint yet functional internet connection. If you saw [Kenneth’s] Burning Man slideshow, you know that the desert is but a mild deterrent against power, water, and even temporary runways.

He borrowed a 20V 100W solar panel from Cal Poly and picked up a bargain-price TSMT-20A solar charge controller off eBay. The controller babysits the batteries by preventing both overcharging and over-discharging. The batteries—two Trojan-105 220Ah 6V behemoths—came limping out of a scissor lift on their last legs of life: a high internal resistance ruled out large current draws. Fortunately, the power demands were low, as the majority of devices were 12VDC or USB. [Kenneth] also had conveniently built this USB power strip earlier in the year, which he brought along to step down to 5VDC for USB charging.

Internet in the desert, however, was less reliable. A small team provides a microwave link from civilization every summer, which is shared via open access points in 3 different camps. [Kenneth] pointed his Ubiquiti NanoStation at the nearest one, which provided a host of inconvenient quirks and top speeds of 2-20kBps: enough, at least, to check emails.

Spoofing WiFi AP Based Geolocation

[Pierre Dandumont] just finished up a little project that will give Google Maps’ location feature a run for its money. It’s a technique that spoofs WiFi networks in order to relocate the positional data reported via WiFi networks.

He starts with an explanation of the different ways modern devices acquire location data. GPS is the obvious, and mobile network triangulation is pretty well know. But using WiFi networks may be a new trick for you. We’re not 100% certain but we think Google is able to look up location data based on known IP addresses for WiFi access points (this would be a good comments discussion). To trick the system all you have to do is feed some captured AP data into the computer before Google Maps tried to lock onto a location. The video after the break shows Maps with the legit location displayed. After running a quick script whose output is shown above the map position is changed to the spoofed location.

Continue reading “Spoofing WiFi AP Based Geolocation”

Tiny WiFi Modules, Again

The CC3000 is a tiny, single-chip component that adds all the necessary hardware (save for a chip antenna) and software to get even the most minimal microcontrollers onto a WiFi network. It was announced early this year but making proper breakout boards takes time, you know? This time has finally arrived with CC3000 modules from Adafruit, and evaluation modules and booster packs from TI themselves.

Unlike other microcontroller-compatible WiFi modules out there, the CC3000 takes care of just about everything – the TCP/IP stack, security stuff, and even the configuration with TI’s SmartConfig app for desktop, laptop, or mobile devices. Realistically, you can get an ATtiny, an exceedingly sparse microcontroller, or even a Commodore 64 or Apple II on the Internet with this. It’s very, very cool.

While these breakout boards and modules are priced very well for what they do, they’re still fairly expensive to stick in a project permanently. Where the CC3000 really shines is including it in your next fabbed board. There are already Altium parts and an Eagle library that includes this part should you need help with that, and blatant advertising for our overlords at SupplyFrame if you’re looking for a source.

Hack It: In-refrigerator Egg Monitoring

Here’s a concept piece that monitors the eggs in your refrigerator. It’s still in development and we don’t think the general public is ready for digital egg monitoring quite yet. But we love the concept and want to hear from you to see if you could develop your own version.

What we know about the device is that — despite the image which makes smart phone proximity seem important — it connects to the Internet from inside your fridge. It will tell you how many eggs you have left, and even tracks the date at which each entered your refrigerator.

So, what’s inside this thing and who can build their own the fastest? We’ll cover some specs and speculate a bit to get you started: There’s a light sensor to detect when the door opens and an LED below each egg to illuminate the oldest. We think the light sensor triggers a microcontroller that uses each of the egg LEDs as a light sensor as well. If the threshold is too low then there is indeed an egg in that cup. We also like the fact that the tray has fourteen slots; as long as you don’t buy eggs until you have just two left you’ll always have room.

If you build one we want to know. We’re thinking 3D printed cups, low-power microcontroller, but we’re kind of stumped on the cheapest WiFi solution. Leave your thoughts in the comments.

[via Reddit via NY Daily News via Mind of Geek]

Turning A Router Into An Arduino Shield

[Dirk] had a problem: while he already had an Arduino with an Ethernet shield, he needed WiFi for an upcoming project. Running a Cat5 cable was out of the question, and a true Arduino WiFi shield is outrageously expensive. He did, however, have a WiFi router lying around, and decided it would make a perfect WiFi shield with just a little bit of cutting.

The router [Dirk] used was a TL-WR702N, a common router found in the parts bins of makers the world over. Inspiringly, the size of the router’s PCB was just larger than the space between the Arduino’s pin headers. Turning the router into a shield is simply a matter of scoring the edge of the board and gluing on a few pins for mechanical strength.

Power and ground lines were soldered between the pin headers and the router, while data is passed to the Arduino and Ethernet shield through a short cable. It may not look pretty, but if it works in a pinch we can’t complain.