SparkFun Forums 

Where electronics enthusiasts find answers.

Have a good idea for a new product for SFE or Olimex? Let us know!
By daubin327
#2648
Hi,

I have a very simple working design for a 3d mouse. Does
anyone want it?
User avatar
By sparky
#2756
Of course! Please post a link to your project!

-Nathan
By pittuck
#2778
Hehe - 3D mouse, i am hopefully going to Reading Uni next september and they have this 3D cave where u use a 3d mouse to move and adjust images and objects being represented in the room. For instance a brain scan was used to created a 3d representation of the brain, it would allow doctors to explore a 'real' object rather than just studying a load of images....

I did not use the 3d mouse, but it looked to be very difficult to do, even with someone who was used to using it!
By daubin327
#3205
Hi,

Sorry to be dragging my feet on this. I plan on posting all the code and
hw prototype design soon. I haven't made it pretty yet.

I currently have the 3d mouse controlling a lara croft image in 3d.
It makes her move up and down, left right, back and forth. I didn't add buttons to the mouse yet to make her shoot,
but that is easy to do. I've tried it on a Perspecta 3d Volumetric display
by Actuality-Systems. Cool stuff. There is a need for 3d. Anyway, it is
coming:) Working prototype is done. It is just a matter of me posting it!

Thanks,
Dave
By daubin327
#4302
Hi,

I've been draggin my feet getting this to the public, so here goes the basics

What hardware you will need:
1. PG4D with PIC16F88
2. Power supply
3. 2 ADXL Breakout Boards My model used the old 203, but any chip will
suffice
4. Wires
5. Soldering iron

Pictures are here:
http://dave-aubin.freeservers.com/3dmou ... mouse.html

Hardware setup:
1. Mount the ADXL boards to the PG4D perpendicular to each other
A. Be sure not to mix up the ADXL pad labels!
2. Connect pin 5 (Vss or - or ground) to ground pads of the accelerometers
3. Connect pin 14 (Vdd or +) to Vdd pads of the acceleromters
4. Connect the X and Y pins of the two acceleromters to the
RA0-1 and RB6-7

Software setup for hardware:
I used CC5X. Here is the code that samples the accelerometers and then
sends the value back via serial. Here's the code:
http://dave-aubin.freeservers.com/3dmouse/software.zip

Demo:
I have a working perl to socket to opengl test. I will post this as
well if anyone is interested. Thank you for looking.

Questions are welcome:)
By Norman
#4311
The download link is not yet working...
By daubin327
#4322
Sorry I fixed it. I called it 3dmouse.zip and not software when I
uploaded it. I haven't touched in months so I'm not sure of the condition
it is in. But I put it up for others to see. Please give me credit if you
use it:)