Careful! That gas pedal is a Nexus One

posted Jun 16th 2010 9:00am by
filed under: android hacks, cellphones hacks

Indeed, the gizmo above is meant to be used as a gas pedal. [Grant Skinner] came up with the idea to control slot cars using an Android phone as a gas pedal. He coded the software for the handset and a computer using Adobe AIR. Once connected, the computer is sent the accelerometer data from the phone, relaying the speed control to the slot car track with the aid of a Phidgets motor controller. See it ‘go’ after the break.

We’ve seen the Phidgets board used in several projects like the augmented vending machine and the plotter white board. What we haven’t seen is hacks that make use of AIR, a framework we looked at two years ago. If you’ve got hacks that make use of AIR we want to hear about them.

[Thanks Mike]



12 Responses to Careful! That gas pedal is a Nexus One

  • alex says:

    I don’t see the video :(

  • Mike Szczys says:

    @alex: There was a problem with my link. Thanks for pointing it out, it is fixed now.

  • monkeyslayer56 says:

    really like the idea but phidgets? really? on the phidgets site their the cheapest controller is 50$ i mean seriously? just use serial and a ATmega 328(ya overkill) and a cheap H bridge give about the same performance as the 50$ controler i would think probably would have been cheaper…

  • therian says:

    one more example of software hacker trying to do hardware- results are mega overkill :(

  • Eric says:

    a bit overkill, but its a nice bit of coding work. I would have just used a hall effect sensor. I build electric scooters with them all the time, they work really well.

  • T says:

    aehm… without reading throw all the infos,

    but is it not more likely to use the hall sensors in the device for such a application, to get the tilt information of the phone as an absolute data?

    Maybe I’m completely wrong but the acceleration data as some kind of relative data would only tell me whether the phone is just moving or not. If I carefully release the phone (with very little acceleration), I could go back to the initial state without change anything….

  • Nooblet says:

    yep, you’re wrong!

  • ch4rly says:

    @T:
    You forgot the gravity.
    With the acceleration sensor you get a vector facing down, so if the phone is not in motion, you know the attitude of the phone.
    But moving the phone upside down downwards with 2g would produce the same sensor output as lying it on an even ground -> 1g.

  • Potato says:

    tony stark could do it in a cave with cardboard and aluminium foil

  • r says:

    the accelerometer measures strain (deflection) of a very small cantilever that is affected by gravity. The sensor reports X,Y or X,Y,Z orientation by using gravity, so it isn’t the same as the ones we made in physics class with a rubber band to ride on the roller coaster.

  • eraledit says:

    I don’t see the video········

  • Leave a Reply

    XHTML: You can use these tags: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

    Send us your hacks










         




    Hacks

    Resources