Author Topic: Accelerometer mouse  (Read 2922 times)

0 Members and 1 Guest are viewing this topic.

Offline Razor ConceptsTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
    • RazorConcepts
Accelerometer mouse
« on: June 02, 2009, 09:19:27 PM »
Random project: make an accelerometer based mouse in the form of a gun for FPS gaming.

So far I have wired up the ps/2 connector for the mouse. The ps/2 protocol is a lot simpler than the USB, so I decided to start out with those.



Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Accelerometer mouse
« Reply #1 on: June 03, 2009, 12:38:01 AM »
wow, that looks nice razor!
just out of curiosity, is that the arduino slim? cant remember the real name... the one that was on sale?
Howdy

Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,208
  • Helpful? 15
  • Hardware and Firmware Designer
    • The Hellinic Robots Portal
Re: Accelerometer mouse
« Reply #2 on: June 03, 2009, 03:15:19 AM »
I once work on such a project..... Use gyros....
Or gyros with compensation of accelerometers...
Accelerometers alone WON'T help....
They are good at detecting rapid movement and such.....
And they will help you with reload buttons, secondary attacks like weapon kicks.... or even help you
switch weapons....

Don't use it as a mouse cause you are gonna have limited buttons and such....
Use it as a joystick..... It would be a hell more fun.... But also guess you gonna need a USB host for this
cause gameport quite doesn't even exists.... :P nowadays.....


Anyways.... I know gyros are hell more expensive and such.... But you are only gonna see good things with gyros....
Else you gonna waste time for nothing....

I wanted to make a hand mouse, so I really have looked some possibilities is it... But also may have overlooked others....
It's your choice.....

And hey..... Gyros are HARD to solder........ So either get a breakout board OR use RC gyros.... both are good!!!! :D
For whom the interrupts toll...

Offline Razor ConceptsTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
    • RazorConcepts
Re: Accelerometer mouse
« Reply #3 on: June 03, 2009, 01:30:24 PM »
It was the one that was on sale, a seeeduino.

I will experiment with accelerometers first to see what I can get working. If that fails I'll get two rc gyros from ebay, only 24 shipped.

Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,208
  • Helpful? 15
  • Hardware and Firmware Designer
    • The Hellinic Robots Portal
Re: Accelerometer mouse
« Reply #4 on: June 04, 2009, 11:21:23 AM »
I'm not trying to discourage you.... for god shake....
But I "apply" some thoughts.... really....
For whom the interrupts toll...

Offline Qubix

  • Full Member
  • ***
  • Posts: 55
  • Helpful? 1
Re: Accelerometer mouse
« Reply #5 on: June 19, 2009, 05:12:41 PM »
Tricky is right, you won't get position information from the accelerometers. You'll get roll and pitch if your gun is static at best. Its why the wiimote doesn't give you one to one correspondance  with your movement. And why they are bringing out the wii motion plus with the gyros.

I'd say start with accelerometers, see the limitations and then add gyros to make it more accurate. All the best with the project.


David
http://robots.ie  - Ireland's robot site

 


Get Your Ad Here