WiFi Experiments With ATtiny Microcontrollers

[Quinn Dunki] got some free stuff from Element14 to evaluate, including this Mircrochip WiFi module. It’s been used as the centerpiece of an Arduino shield in the past, and she grabbed a copy of that library to see if it would play nicely with an ATtiny chip. What follows is a struggle to de-Arduino the code so that it’s portable for all AVR controllers.

This module is one of the least expensive ways to add WiFi to a project, coming in at around $23. But it’s not really an all-in-one solution as there’s still a huge software hurdle to cross. The hardware provides access to to radio functions needed to communicate with the network, but you need to supply the TCP/IP stack and everything that supports it. Hence the re-use of the Arduino library.

Battling adversity [Quinn] fought the good fight with this one. Switching from an ATtiny to the ATmega168, compiling more code, and troubleshooting the process. She used a single LED as feedback, and can get some connectivity with her hotspot. But to this point she hasn’t gotten everything up and running.

We’re hot for an AVR WiFi solution that is cheap and easy to use. But as we see here, the software is complex and perhaps best left up to beefier hardware like the ARM controllers. What do you think?

A Chink In The Armor Of WPA/WPA2 WiFi Security

Looks like your WiFi might not be quite as secure as you thought it was. A paper recently published by [Stefan Viehböck] details a security flaw in the supposedly robust WPA/WPA2 WiFi security protocol. It’s not actually that protocol which is the culprit, but an in-built feature called Wi-Fi Protected Setup. This is an additional security protocol that allows you to easily setup network devices like printers without the need to give them the WPA passphrase. [Stephan’s] proof-of-concept allows him to get the WPS pin in 4-10 hours using brute force. Once an attacker has that pin, they can immediately get the WPA passphrase with it. This works even if the passphrase is frequently changed.

Apparently, most WiFi access points not only offer WPS, but have it enabled by default. To further muck up the situation, some hardware settings dashboards offer a disable switch that doesn’t actually do anything!

It looks like [Stephan] wasn’t the only one working on this exploit. [Craig] wrote in to let us know he’s already released software to exploit the hole.

This Dongle Makes Any Screen An Android Device

Want that 70″ LCD television in your living room to be an Android device? This little guy can make it happen. With an HDMI port on one end, and a USB plug on the other for power, just plug in FXI Technologies’ Cotton Candy dongle to create a 1080p Android television.

The price isn’t set for the device, but it’s expected to be available at less than $200. Considering what’s inside that’s pretty reasonable. There’s a dual-core 1.2 GHz ARM processor, 1 gig of RAM, 64 gigs of storage, Bluetooth, WiFi, and a microSD card slot. Wow!

So is it hackable? Absolutely. Well, kind of? The company doesn’t intend to bring Cotton Candy to the retail market. Instead, they will sell the device to developers who may do what they wish. From there, said developers have the option to license the technology for their own products. This begs the question, will the development kit come in under $200? Hard to say.

Check out the video after the break to hear an interview with the company’s CEO. It certainly sounds fascinating, and like the Chumby NeTV, we can’t wait to see what comes of this. Continue reading “This Dongle Makes Any Screen An Android Device”

Using WebSocket With PIC Microcontrollers

[Blaise Jarrett] has been grinding away to get the WebSocket protocol to play nicely with PIC microcontrollers. Here he’s using the PIC 18F4620 along with a Roving Networks RN-XV WiFi module to get the device on the network. He had started with a smaller processor but ran into some RAM restrictions so keep that in mind when choosing your hardware.

This project was spawned after seeing the mBed feature a few days back which combined that board along with a WebSocket library and HTML5 to pull off some pretty amazing stuff. [Blaise] doesn’t have quite as much polish on the web client yet, but he has recreated the data transfer method and improved on that project by moving to the newer version 13 of WebSockets. The protocol is kind of a moving target as it is still in the process of standardization.

The backend is a server called AutoBahn which is written in python. It comes along with client-side web server examples which gave him a chance to get up and running quickly. From there he got down to work with the WebSocket communications. They’re a set of strings that look very much like HTML headers. He outlines each command and some of the hangups one might run into with implementation. After reading what it takes to get this going it seems less complicated than we thought, but it’s obvious why you’ll need a healthy chunk of RAM to pull it off.

Halloween Hacks: A Radioactive Display With More Trick Than Treat

Halloween Hacks Banner

radioactive_barrel_display

[Shawn] was looking for a way to shake up his decorations this Halloween and decided to build a new prop for his front yard. He had a pair of old oil barrels in his garage and thought they would look great with a little bit of work.

He bolted the pair of barrels together, then slapped a fresh coat of black paint on them before adding a bright yellow radiation trefoil to each one. One barrel contains a pneumatic piston that opens the lid, revealing a light up pumpkin, a fog machine, and a set of water nozzles that spray the area. The second drum houses an air compressor, a wireless router, and an IP camera for recording the action. A web-enabled Arduino triggers the lid and sprayer, both of which can be controlled from the comfort of his house.

We think it’s a creative use of some old scrap barrels, but we’re hoping he doesn’t plan on wetting trick-or-treaters that pass through, as it seems  like a good way to get your house egged or otherwise vandalized on Halloween. If the water sprayer were perhaps swapped out with some other cool effects, [Shawn] is far less likely to be the target of some angry, wet teenagers.

Be sure to check out the video below to see the display in action.

Continue reading “Halloween Hacks: A Radioactive Display With More Trick Than Treat”

3G Connected Hotspot Hangs Out At Your House

[Drug123] made the most out of this inconspicuous gray box on the gable end of his father’s home. It serves up a 3G Internet connection that was otherwise unavailable..

The project idea was sparked by the absence of wired or fiber optic broadband in the community where his dad lives. He knew some neighbors were using 3G connections, but he couldn’t get it to work inside the house. So he set about developing an external installation that would both communicate with the cellular network, and provide a WiFi connect to it. Hardware for that is relatively expensive; a USB 3G modem and a WiFi router with a USB port.

The box itself is made of plastic, but even without the Faraday cage effect that would have been formed by using a metal housing, the 3G modem’s internal antenna just doesn’t do the job. You can see that [Drug123’s] solution was an external antenna which is mounted at the peak of the roofline. Inside the box there’s an exhaust fan to cool things off when they get too hot, as well as some power resistors which provide a heat source on the coldest nights. The low-cost build certainly fits the bill, and it’s not too hard on the eyes either.

IPhone Controlled Daft Punk Helmet Replica A Dazzling Build

This Daft Punk helmet replica is beautiful to look at, but the deeper we delve into the build process, the more we begin to think that the entire project is a piece of artwork. [Harrison Krix] has been working on it for months, and just posted his three-part build log in September. Check out the video and the links to all three parts after the break.

Now [Harrison] isn’t new to prop replica scene. He’s the guy responsible for the other fantastic Daft Punk helmet we saw last year. He’s tapped the same fabrication skills to churn out an equally impressive chromed helmet, complete with addressable flashing LEDs. He built his own mold to create the body of the helmet, reminding us of the Storm Trooper helmet replicas we saw in July. While this was off being coated in chrome, he got down to business with the electronics.

The visor of the helmet has a red LED marquee. This, along with the multicolored visor sides and ear pucks, is controlled by an Arduino yellow jacket. The lights can be controlled by an iPhone app that connects to the helmet via WiFi, letting a user push custom messages to the display, and alter the light patterns. The build shines on the inside as well as the outside with an incredibly clean LED matrix build, and clever control placement for switching each part on or off.

Continue reading “IPhone Controlled Daft Punk Helmet Replica A Dazzling Build”