Sep 08

It’s time to start the music, it’s time to light the lights….  Dedicated to Animal.

A while ago I responded to a call on the ‘b3ta’ mailing list which asked to able to play the air drums.  So, I created a Flash application that does movement detection using a webcam and plays drum kit sounds when certain parts of the screen/camera detect movement. You have in your kit: a snare, bass, kick,  symbols and a hi-hat.

I originally envisaged people just using their hands to tap a rhythm, but I discovered some people posted about using their tongues! Which is up close and personal!

You could also stand at a distance and dance to the beat of your own drum.

[flash /projects/DrumAnimal/swf/DrumAnimal.swf mode=1]

Note:

On Mac OS X the default webcam selected by Flash may not be appropriate, so you may have to open the Flash settings to change it to the built-in iSight.  For example:

Right Click on the Flash App:  Settings->[WebCam Icon]->[Camera DropDown]-> [ Select: USB Video Class Video]

Sep 06

Back in June I obtained a USB 3G Dongle and thought it would be great if the device could be shared by more than 1 PC/Mac device. I dubbed it ‘CloudSpot’

This sort of devices allows a number of benefits & usage scenarios:

  1. Macs/PCs not requiring drivers (as I have since found out the 3 ZTE dongle drivers do not work with Snow Leopard)
  2. Project teams onsite at customer locations have a private WiFi, thus avoiding restrictive customer site firewalls
  3. Games consoles such as PSP and Nintedo DS could use it (e.g. multiplayer action/web browsing on camping trips)
  4. The dataplan tarrif for the dongle might be better than the dataplan tarrif for a WiFi enabled Mobile Phone

Todo this I thought that it should be possible to present a software WiFi Access point by an embeded system and bridge the WLAN to the 3G dongle.

Initial investigation showed that this has been done before on embedded 486 and PCMCIA, called Stompbox.  But I thought what the hell…

I have experience of embedded systems, more recently the Calao USB9263, so I created a emebeded dev env in a Debian 5.0 VM and made progress into getting the software installed on the device.

The hardware setup looks as follows:

HardwareLayout

Components are:

ARM System on a Chip – A Calao USB9263 device (ARM9, 256Mb flash, 64Mb RAM)

USB Battery Pack – A rechargable module used to suply power to the device

BlueTooth Dongle – A DLink BT device

3G Dongle – THe Hutchinson 3G ZTE USB Dongle.

WiFi Dongle – An Edimax WiFi Dongle

BAterry Powered USB Hub – Gives more ampage to the wireless devices and saves on main device USB batter pack power.

The software development environemnt was based on Debian Lenny (5.0) -avoiding Ubuntu issues

I setup the project structure based on the book Building Embedded Systems

I used crosstools to create the Cross Compiler – avoiding BuildRoot issues

I used Linux kernel 2.6.30 – which contain Calao Device support as part of the mainline

I used emdebian to create the Root filesystem – avoiding Buildroot issues

The drivers for the Dongle’s are either part of the kernel tree or can be downloaded – there are numerous places that document how to get them to work with a Linux system.

I got to the point of having an (em)Debian Lenny with Java (JamVM) running on the device and part way device driver config.

Things left remaining:

  1. Configure 3g Dongle
  2. Configure WiFI dongle
  3. Configure bridging
  4. Support scripts
  5. Optionally addition of secondary services, e.g. support of local rsych backups for laptops via additional USB memory key.

Previous projects

During initial development I came across an old, and somewhat physically larger, project called Stompbox

Since I mothballed this projected a couple of decent looking commercial products have been release:

  1. Thje Hutchinson 3 MiFi
  2. An credit card sized (can’t remember the maker)

There are also a number of software solutions for a few (smart) phones that turn the phone into an AP.

Perhaps the fact that my CloudSpot could, in theory, support any manufacturers 3G dongle and also provide secondary services: small intranet for local workgroups,  backup and could be wired into a LAN; might make it worth continuing.  But one things for sure, it needs a decent box so it doesn’t look like a blaster from Starwars.

Tagged with: