Generating 3D Graphics on an LCD screen and a PIC micro|
Posted on Friday, February 22 @ 17:42:52 EST
3D graphics had been always of a great interest to me.|
Within this system, a 3D cube is drawn on a 128x64 graphics LCD and rotated around three axises either by pressing buttons or automaticaly by switching a demo button on.
The demo switch can be seen above the screen.
There are plenty of free source code for rotating a 3D code around its axises. I also searched the net for such a code and adapted to my circuit. The original code i've found is also downloadable at the end of the article. Credits of the code can be found on the file itself.
The circuit based on a PIC 18F458 microcontroller can be seen above.
At the end of the article, the proteus schematic file for the circuit can be found, the circuit can be simulated on proteus. The hex file for programming a micro and source code is also included.
C SOURCE CODE
COF FILE (proteus)
PROTEUS SIMULATION FILE
|Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.|
|Average Score: 5|