Discussion in "Project Addition or Changes" started by    Shehwar    Aug 19, 2011.
Fri Aug 19 2011, 04:21 AM
#1
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.
Fri Aug 19 2011, 03:01 PM
#2
@ 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
Sun Aug 21 2011, 07:25 AM
#3
trickry part is to make the clock hands on runtime... digital clock however is simpler... you can try making it first
Sun Aug 21 2011, 03:44 PM
#4


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

Ajay Bhargav


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, 03:46 PM ]
Sun Aug 21 2011, 04:30 PM
#5
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.
Sun Aug 21 2011, 05:33 PM
#6


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

Shehwar


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.
Mon Aug 22 2011, 02:01 AM
#7
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 ?
Mon Aug 22 2011, 03:02 PM
#8
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..
Mon Aug 22 2011, 10:28 PM
#9
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 ?
Tue Aug 23 2011, 04:13 PM
#10

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 ?

Shehwar


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

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

Shehwar


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.

Get Social

Information

Powered by e107 Forum System

Conversation

ExperimenterUK
Mon May 25 2015, 06:21 PM
@Subrat Sahu not a simple answer.Create a thread in "General help Guidance and Discussion" forum
Sun May 24 2015, 06:51 AM
Subrat Sahu
I have a confusion about 10 bit adc formula as describe bellow that resolution = Vref/1023 or Vref / 1024
ExperimenterUK
Sat May 23 2015, 08:54 PM
@utpal.. Create a thread in the Pic forum
Thu May 21 2015, 01:04 AM
utpal
i am a hobbist. i work on 8051. just i have started with pic 16f877. but a bitter experiance is going on. as i am programming any code to my pic877 and putting it in my board and it is working, but the 2nd time it is not taking any program,I have experimented just 7 new one pic mcus. result is the same. please tell me the reason. my programmer is TOP3000(universal programmer).
ajay_bhargav
Wed May 20 2015, 04:48 AM
@lak you can use the same code provided you are not using any s52 specific ports and registers.
Mon May 18 2015, 05:58 AM
lak
i used to develop a code for at89s52 shall i use the same code for at89c4051
Sun May 17 2015, 07:57 AM
Ayoosh
what if i have to rotate motor continuously at a step angle of 1.8 degree
ExperimenterUK
Fri May 15 2015, 06:02 PM
@oracle1946.. Post your question in the PIC forum
Fri May 15 2015, 03:48 AM
nadeem232
if some has solution kindly share solution Principles of Electric Circuits,by Thomas L. Floyd
oracle1946
Thu May 14 2015, 03:39 PM
I want to build a PIC16F684 sun logger using either a solar cell (0.5v solar cell or photoresistor). Any help out there?

Downloads

Comments

vipinpathakg
Wed May 27 2015, 05:57 AM
MuhammadTanvir
Sun May 24 2015, 11:02 AM
as_rog
Sun May 17 2015, 08:00 AM
oracle1946
Thu May 14 2015, 03:34 PM
kakaru32
Tue May 12 2015, 04:29 PM
Yateesh
Sat May 09 2015, 02:46 AM
scmg
Fri May 08 2015, 06:40 PM
OMERO
Fri May 08 2015, 11:53 AM

Online

Guests: 43, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 37662
Newest member: vipinpathakg
Forum Activity
diana1234 Avatar
Posted By diana1234
Thu May 28 2015, 11:15 AM
Hello there,I am using a MCU LPC2468/78 and in its...
ajay_bhargav Avatar
Posted By ajay_bhargav
Thu May 28 2015, 05:06 AM
UDN2981 is an 8-channel driver which can source cu...
ajay_bhargav Avatar
Posted By ajay_bhargav
Thu May 28 2015, 04:53 AM
[Topic moved to Electronics forum]
vipinpathakg Avatar
Posted By vipinpathakg
Wed May 27 2015, 04:25 PM
UDN2981 IC is not available in local market. pleas...
ajay_bhargav Avatar
Posted By ajay_bhargav
Wed May 27 2015, 02:17 PM
UDN2981 is required to drive the LED matrix, are y...
vipinpathakg Avatar
Posted By vipinpathakg
Wed May 27 2015, 06:28 AM
I have created all the hardware of 5x7 LED Dotmatr...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon May 25 2015, 06:16 PM
We need to do some simple tests.Get the speaker to...
mayank058 Avatar
Posted By mayank058
Mon May 25 2015, 04:57 AM
Dear sir, I am taking output from PI...
MuhammadTanvir Avatar
Posted By MuhammadTanvir
Sun May 24 2015, 11:11 AM
Hey guys !! Can somebody please share the proteus ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat May 23 2015, 09:52 PM
Does the speaker work?.'Exactly' where on the boa...