Careful! That Gas Pedal Is A Nexus One

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.

[vimeo=http://vimeo.com/12574396]

[Thanks Mike]

13 thoughts on “Careful! That Gas Pedal Is A Nexus One

  1. 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…

  2. 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….

  3. @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.

  4. 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.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.