8051 microcontroller 8051 microcontroller
Forums

Rickey's World of Microcontrollers & Microprocessors :: Forums :: Project Development :: Project Addition or Changes
 
<< Previous thread | Next thread >>
Help needed to modify the propeller display project
Page 1 of 5    [1] 2 3 4 5
Moderators: Ajay Bhargav, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph, ExperimenterUK, DavesGarage, majoka
Author Post
Shehwar
Fri Aug 19 2011, 12:21AM
Registered Member #35140
Joined: Tue Aug 09 2011, 11:28PM
Location (Home Town): Mumbai
Posts: 26
hi guys
i already made the propeller display using 89c51.

i must say that this project is really amazing!!!
Now i need to modify the program for 3 different modes.
1. Analog clock display
2. Digital clock display
3. Message mode display.

i want to do it in real time. And i need help with the code.
Please help me with the code and circuit diagram for it. I am currently working on the code and will post it here shortly. But i also need help with modifications in the circuits so as to
1. Change the modes
2. Set the time in both analog and digital
3. To enter a message using an interface.

i really want to make this happen guys so please help me out.

and please please reply with any suggestions , links or codes that may help.
Back to top
majoka
Fri Aug 19 2011, 11:01AM

Registered Member #22104
Joined: Thu Sep 10 2009, 03:04PM
Location (Home Town): Wah Cantt, Pakistan
Posts: 3900
@ Shehwar
make a separate code for each mode and then test it
when test is ok for each mode after that u can make a final code
that will combine the 3 modes in this way coding and debugging will be easy for u
Back to top
Ajay Bhargav
Sun Aug 21 2011, 03:25AM
Rickey's World Admin


Registered Member #1
Joined: Fri Feb 24 2006, 07:56AM
Location (Home Town): Punjab, India
Posts: 12581
trickry part is to make the clock hands on runtime... digital clock however is simpler... you can try making it first
Back to top
ExperimenterUK
Sun Aug 21 2011, 11:44AM

Registered Member #9602
Joined: Tue Aug 05 2008, 07:15PM
Location (Home Town): Manchester
Posts: 2853
Ajay Bhargav wrote ...

trickry part is to make the clock hands on runtime... digital clock however is simpler... you can try making it first

Ajay has a point.
Making a digital clock is relatively easy, making an analogue clock would be a challenge
even for an experienced programmer.


[ Edited Sun Aug 21 2011, 11:46AM ]
Back to top
Shehwar
Sun Aug 21 2011, 12:30PM
Registered Member #35140
Joined: Tue Aug 09 2011, 11:28PM
Location (Home Town): Mumbai
Posts: 26
my problem is not in making but in changing the program as you understand... I have the propeller display project ready with my name displaying on it i just need the editing part in program so as to create a clock.
I will use one of the ports to set the time.
Back to top
ExperimenterUK
Sun Aug 21 2011, 01:33PM

Registered Member #9602
Joined: Tue Aug 05 2008, 07:15PM
Location (Home Town): Manchester
Posts: 2853
Shehwar wrote ...

my problem is not in making but in changing the program as you understand...

By "making" I meant programming.
To get the analogue effect of moving hands you need to light certain LEDs
as the display rotates...sounds complicated.
Back to top
Shehwar
Sun Aug 21 2011, 10:01PM
Registered Member #35140
Joined: Tue Aug 09 2011, 11:28PM
Location (Home Town): Mumbai
Posts: 26
yes hence i am trying for the digital first.
I have a code for it but it is for a pic.
Do you know what modifications must i do in order to make it for 89c51 ?
Back to top
Ajay Bhargav
Mon Aug 22 2011, 11:02AM
Rickey's World Admin


Registered Member #1
Joined: Fri Feb 24 2006, 07:56AM
Location (Home Town): Punjab, India
Posts: 12581
well the only difference here is that you will have display test to be generated on runtime rather than stored on a specific location. so instead of reading from 600H location (current code is written to read string from this location) read from ram where you clock time is present.

i suggest use DS1307 RTC so you can have real time clock whenever you power on your display. read from RTC, store in ram after converting to ascii.... figure out what need to change i gave you lot of hints and ideas hope to see some progress now good luck..
Back to top
Shehwar
Mon Aug 22 2011, 06:28PM
Registered Member #35140
Joined: Tue Aug 09 2011, 11:28PM
Location (Home Town): Mumbai
Posts: 26
ajay bro i have another suggestion
instead of going through the trouble of using 2 pcbs, 3 relimate connectors...
can we use 1 single pcb for the entire circuit ?
If so can we use the dotted pcb to make it happen ?

and as far as the 3mode part is concerned, i have some info on the code for a pic and i have no clue as to what that is.
FYI this was my 1st microcontroller based project .
So can you help me with the changes in code ?
Back to top
Ajay Bhargav
Tue Aug 23 2011, 12:13PM
Rickey's World Admin


Registered Member #1
Joined: Fri Feb 24 2006, 07:56AM
Location (Home Town): Punjab, India
Posts: 12581
Shehwar wrote ...
ajay bro i have another suggestion
instead of going through the trouble of using 2 pcbs, 3 relimate connectors...
can we use 1 single pcb for the entire circuit ?
If so can we use the dotted pcb to make it happen ?

i really have no idea what you're talkin about i mean in what context.. you can build as you want.. just make sure you dont modify the circuit

Shehwar wrote ...
FYI this was my 1st microcontroller based project .
So can you help me with the changes in code ?

First is always important in life... First project means you will learn a lot.. and by the way.. i think i helped a lot with hints in my last post. You better understand the original codes, get comfortable with assembly coding then start with project. here on this website you will always find people ready to help.. but you cant expect anyone to give you ready codes.
Back to top
Page 1 of 5    [1] 2 3 4 5  

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

© 2010 Rickey's World
Render time: 0.0760 sec, 0.0099 of that for queries. DB queries: 68. Memory Usage: 2,903kB