Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

[SOLVED] propeller clock code is not working

Status
Not open for further replies.

jaksongats

Member level 2
Joined
Sep 7, 2010
Messages
44
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,526
hi friends, this the code for propeller clock using at89s52 but this code is not working plz help me ....i really need this
 

Attachments


assasinsareus

Junior Member level 3
Joined
Jul 21, 2010
Messages
25
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,283
Activity points
1,428
Hello,

I am working on a propellor clock on my website 001TECH.co.uk. The code is working great I am just finalising the hardware. Maybe my hardware could be an option for you. Otherwise I am willing to share the code for a small fee.

---------- Post added at 11:37 ---------- Previous post was at 11:35 ----------

Just had a look at the code and my display basically beats the pants off what your code was doing. My code can draw text to any location, use sperical or cartesian coordinates systems and uses Flowcode as a high level language to write the overlying functionality.

001TECH.co.uk • View topic - RGB Propeller Display - In Development
 

assasinsareus

Junior Member level 3
Joined
Jul 21, 2010
Messages
25
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,283
Activity points
1,428
Hello, Sorry re-reading my messages I think I got a bit over excited, anything specifically you need help with?

Here is a basic principal of the system I used to drive my clock.

1 timer interrupt to control the output of the data to the leds this interrupt should run say 30 - 360 times per rev depending on the required resolution.

1 edge triggered interrupt to detect a reference point say a hall effect and a magnet. This looks at the number of times the timer interrupted in a rev and changed the timer refresh variable accordingly to allow for the desired resolution.

I then used a large array to hold my data and the display takes care of itself. You can then print data to the array and the display will automatically update with the array.

Using arrays to hold ascii characters helps if you need to display numbers or text.

Apologies again for my reply earlier I in no way meant to brag.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top