FAQFAQ   GalleryGallery   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   Forum RSS Feed   Hacked Gadgets Main Site 

Coding Microcontroller Program for Spinning LED Display

 
Post new topic   Reply to topic    Hacked Gadgets Forum Index -> LED Projects
View previous topic :: View next topic  
Author Message
dannybeckett
Newbie


Joined: 21 Feb 2011
Posts: 2

PostPosted: Mon Feb 21, 2011 9:41 pm    Post subject: Coding Microcontroller Program for Spinning LED Display Reply with quote

Hi guys,

Im in the middle of making a spinning LED display using a PIC16F88. Save a long winded explanation of the device the following is a video of something very simalar to mine:

http://www.youtube.com/watch?v=fUrwy3l0XfA

And pictures:

http://hackedgadgets.com/2008/12/12/...led-display-2/

Our setup is basically the same as that, but I am not an experienced PIC programmer. Would anyone be able to throw me in the right direction with regards to programming the microcontroller in a simalar project? I will have an optical sensor triggering every revolution, going into the uC, the spinning portion of the project has been created, the next step is basically programming the chip.

My thoughts -

The program has a constant within it which specifies the number of horizontal 'pixels' that occupy the circumference of the spinning arm. The program measures the time it takes for 1 revolution of the arm and divides that time by the pixel number. This provides the time it takes the arm to rotate from one specific pixel to the one neighbouring it. Using this time you can flash the LEDs on and off accordingly, to create an image.

Does this sound reasonable to anyone? Maybe there is another way I have not thought of that this can be done? Any help at all is massively appreciated.
Back to top
View user's profile Send private message

Display posts from previous:   
Post new topic   Reply to topic    Hacked Gadgets Forum Index -> LED Projects All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group