Views: 17,999

3D Vector objects on PIC micro controller rotating via 3 axis accelerometer

All > Tech > Hacks/Mods > Gadgets > 3D Vector objects on PIC micro controller rotating via 3 axis accelerometer by pyrofer
I wanted to do something interesting with the many electronic parts ive collected. So I hooked up a nokia phone LCD to a PIC2520 uP for output and a 3axis accelerometer for input.
What better demonstration than the old vector cube!
Rotating the accelerometer gives varying analogue inputs to the pic allowing it to rotate the cube to match.
Full details at www.pyrofersprojects.com


Whole project has been moved to a new proto board running on 3.3v not 5v.
A new LCD (A nokia 6100 screen) is connected via SPI to the PIC.
An analogue joystick is also connected to allow movement as well as the accelerometer (not connected in this photo). A video of the screen working is on my website.
I finished the 3D for the main object allowing solid 3D with backface culling and Z-sorting.
Now ive moved onto a 3D landscape. If you remember "Virus" youll see where im going with this.
I may still end up adding stars instead for a space game.

More creations by pyrofer

More creations in Gadgets

Comments:

Posted by matholio 1 year ago ( 17-Nov-2006 03:00:09 )


Virus was a great game.

Posted by bslade 52 weeks ago ( 07-Jul-2007 16:31:02 )

Haha, awesome, I'm sure Braben would be proud :-)

Posted by leetheagent 51 weeks ago ( 09-Jul-2007 00:12:22 )

Love it! Could turn out to be a great abstract game! Never played virus, but I'm a big fan of David Braben... I can't wait till he finishes another Elite game... First Encounters is still one of my favorite games!

Log in or register to post comments.
You are not logged in.
Log inRegister now!