Gifsockets: WebSockets Using Animated GIF Files

gifsockets

Using animated GIF images as a crude WebSocket is an idea we’ve never come across before, but it actually makes a lot of sense. Not in terms of it’s overall usefulness, but just for the fact that the animated files work in a similar way. The nature of these animated containers is what makes it work. A GIF doesn’t tell the browser how many frames to expect, so the connection is kept open until the “hey this is the last frame” command is received. This can be used to stream data to anything that can play the animations.

The demonstration after the break shows this in action. Hello World and a couple of other test messages are pushed to the browser without refreshing the page. In our mind that’s what’s useful — real time updates without a refresh or any underlying client-side code structure. But we haven’t looked into the particulars like does this eat bandwidth even when nothing new is being sent?

When [Hans] wrote into us about this gif hack he referenced this discussion panel on WebSockets. We didn’t watch the whole thing yet, but apparently someone calls the gif trick the WebSocket of the ’90s.

Continue reading “Gifsockets: WebSockets Using Animated GIF Files”

Quick Fixes For SMD Population Problems

Here’s a collection of tricks to get over some surface mount prototyping issues the next time you find yourself in a bind. But first we have to address the soldering atrocity seen on most of the components above. [Rxdtxd] admits he’s using a firestick for soldering his SMD parts. The non-brand 40W iron is just about the worst thing he could be using (well, we guess a candle would be worse). Try to overlook those joints and enjoy his solutions to a couple of other problems.

First up is what to do when you lift a fine-pitch trace like would be found on a TQFP footprint. The fix for this is to grab a junked transformer and use a bit of the enameled wire from the wrappings as a jumper. The wire is quite fine, and the insulation will burn off when soldered which means you don’t need to strip it first.

The second and third tricks both deal with resistors. As you can see above he placed two 1K resistors on a single resistor footprint to make his 2k resistor. The 0603 packages were both soldered standing on end, then connected with a lead from a through-hole component. The other resistor hack piles five components on top of each other to build resistance in parallel. This is not a great idea as it will fail over the long-term, but it will get you though the prototyping stage as long it doesn’t require precise tolerance.

Adaptive Technology Used To Fly An IR Helicopter

adaptive-tech-controlled-helicopter

This gentleman is using electrical impulses from his neck muscles to fly a toy helicopter around the room. The project is a demonstration of the AsTeRICS project which seeks to reduce the complexity of adapting the set of skills a disabled person can use to do a wide range of functions. In this case, controlling the helicopter could easily be switched to other tasks without changing the user interface hardware.

One of the plugins for the AsTeRICS project uses the OpenEEG library. This reads the signals coming from a pair of electrodes on top of each shoulder. In the video after the break you can see that as he flexes these muscles the changes in signal are mapped to the altitude of the helicopter. This is just one example of a wide range of inputs that include things like building a webcam-based mouse or using  facial recognition.

The toy itself is being driven by an Arduino sending IR commands. We’ve seen quite a few project where the helicopter communications protocols are laid bare.

Continue reading “Adaptive Technology Used To Fly An IR Helicopter”

Glowing Super Bowl Helmets

glowing-football-helmets-adafruit

These geeky Superbowl decorations glow thanks to the EL panel hack which [Becky Stern] created. It’s almost impossible to make out in this image, but the EL panels have been applied to the surface of the helmet. On the San Francisco helmet you can just make out the black connector and cord at the bottom of the F.

El panels are a lot like EL wire (but they’re flat) in that the phosphors are excited when connected to a high voltage AC supply. You can cut the panels into shapes without a problem. The technique used here is to create a black vinyl mask to go over the top of the panel. This makes cutting the panel a lot easier.

The mask sticker is made on a vinyl cutter. [Becky] is a master at using the vector tool as you can see in the video after the break. She outlined each team logo with paths to create a file which the cutter can use. From there it took several tries to get the sticker just right as the curve of the helmet distorts the logos just a bit. Once it was dialed in she stuck the vinyl on the El panel and cut around the perimeter.

The Adafruit team sure loves to use electroluminescent accents.

Continue reading “Glowing Super Bowl Helmets”

Populate SMD Boads Using A Toothpick And Tweezers

Here’s a demonstration which proves you don’t really need special tools to populate a surface mount PCB. We’ve seen this board before, it’s the glass PCB server which [Cnlohr] developed and demonstrated by connecting the real world to Minecraft. It’s a tiny board and we were happy to have the chance to see his method for populating the parts before reflow soldering.

In the video after the break [Cnlohr] starts by dispensing a glob of solder pasted from its storage container. He mentions that as long as you store the stuff in the refrigerator it’s rather easy to work with. Because most of his projects are single boards it’s not worth it to have a solder stencil produced. Instead he picks up a bit of the solder glob on the end of a toothpick and applies it to each pad.

This isn’t really as bad as it sounds. The fine pitch TQFP footprints can just be dragged with a bit of the paste. After this application — which took around seven minutes — he grabs some tweezers (not the vacuum type) and begins placing each component. If he missed some paste he’ll discover it in this step and add where necessary. The last step is a trip through his toaster oven.

Continue reading “Populate SMD Boads Using A Toothpick And Tweezers”

Modulator Box Connects IPod To Tesla Coil

tesla-coil-modulator

This pass through audio modulator lets you playback stereo audio on two Tesla coils. But don’t fret, you can just use mono files if you only have one coil on hand. On one side there are inputs that connect to the audio source. The other side drives the Tesla coil, switching it on and off based on the relationship between a reference voltage and the audio signal. As you can hear in the video after the break this sounds great as long as you have the right kind of source audio.

The song played in that clip is the Duke Nukem 3D theme. [Daniel] started with a MIDI file and removed the chimes and drums to make the playback a little cleaner. The demo uses just one coil because the other was destroyed during testing when feedback between the two became a problem.

For some reason this reminds us of that singing Tesla coil hat. If you’re already on our mailing list (sign up in the sidebar) you know we’re getting pretty close to unveiling our own awesome Tesla coil project. It doesn’t sing… yet.

Continue reading “Modulator Box Connects IPod To Tesla Coil”

MIT Media Lab’s Month In Shenzhen

When you’ve got a month worth of blog postings it’s pretty difficult to choose one photograph that sums it all up. This one shows the tour group from MIT Media Lab in ESD garb ready for their tour of Okano SMT and Speaker Factory. It was part of a tour of Shenzhen aimed at bringing graduate students up to speed on what it means to manufacture products in the city. Luckily, Freaklabs member [Akiba] was one of the staff members of the program and blogged extensively about the experience. At first glance his page full of post abstracts looks really boring, but click through because both his recount and the commented images associated with each day are fun and fascinating ways to tag along with the group.

If you’re really good with faces you can pick [Bunnie Huang] out of the lineup above (he’s the third from the right). He had the original idea for the program and brought aboard a few others to help make the thing a success. The group toured a wide range of factories and parts markets in the city. This included your traditional electronics manufacturing venues but there was even a side trip to a diaper and feminine napkin plant to see the non-electronic factories in operation. In addition to tours there were lectures by industry members like HAXLR8R, a group that specializes in helping start-ups navigate the manufacturing jungle.