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

Sat Apr 25 2015, 06:16 AM
rohan_verma
sir this circuit is tested?can i use it directly on developing PCB
Sat Apr 25 2015, 06:13 AM
rohan_verma
MSCOMM32.ocx cannot be copied in the systems folder even with administration rights.
Fri Apr 24 2015, 01:58 AM
mostfa
please fix the LCD Interfacing Tutorial as all pictures is gone
Fri Apr 24 2015, 01:57 AM
mostfa
LCD Interfacing Tutorial
Qasim359
Tue Apr 21 2015, 07:31 AM
hello every one i have made pic industrial and domestic timer and i can,t understand c code written in Hi-Tech please send me Mikroc code for this project anyone...................
ExperimenterUK
Wed Apr 15 2015, 05:07 PM
@Bibek.. and everyone. Create threads if you need help. The chat box is just for chat
ExperimenterUK
Wed Apr 15 2015, 05:06 PM
@mohd atif ..login..create a post/thread,then I can post a copy of the missing file
Mon Apr 13 2015, 07:03 PM
mohd atif
@experimenteruk I didn't get you
Sun Apr 12 2015, 04:18 AM
Bibek
hello, i have made a digital clock using rtc DS12887 and AT89S52 with date n callender. Now i want to add alarm features to it.....can any body help me with the code in assembly language
Sun Apr 12 2015, 03:22 AM
SANJU123
Hello, I am planning to do simulaton of the ' 4-way traffic controller'. As a first stage of the project, I tried to compile the code given in this website in keil microvision which controls 4-way traffic . I am using AT89C51. But when I am trying to compile the code it shows an error " Device is not supported by Toolchain". Can u please help me...

Downloads

Comments

Seven
Thu Apr 23 2015, 12:02 AM
killbillpandey
Wed Apr 22 2015, 09:07 PM
Qasim359
Tue Apr 21 2015, 07:06 AM
lumines
Sat Apr 18 2015, 11:30 PM
[email protected]
Sat Apr 18 2015, 05:02 PM
arvindarunoday
Sat Apr 18 2015, 04:26 PM
samarhbk
Sat Apr 18 2015, 12:57 PM
chitty789
Tue Apr 14 2015, 06:14 PM

Online

Guests: 54, Members: 0 ...

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

Members: 37629
Newest member: Seven
Forum Activity
Qasim359 Avatar
Posted By Qasim359
Sat Apr 25 2015, 07:17 AM
plz tell me how i edit this code file in MPLAB if ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Apr 23 2015, 08:00 PM
gsdvprasad Avatar
Posted By gsdvprasad
Thu Apr 23 2015, 12:49 PM
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Apr 21 2015, 04:37 PM
I doubt anyone has Mikroc code.It is probably more...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Apr 21 2015, 04:24 PM
A multimeter won't help :(The most practical way i...
ankitbajaj01 Avatar
Posted By ankitbajaj01
Tue Apr 21 2015, 03:21 PM
As I don't have CRO, Can we test the crystal with ...
Qasim359 Avatar
Posted By Qasim359
Tue Apr 21 2015, 07:26 AM
i can,t understand C Code written in Hi-Tech pleas...
gaurav7577 Avatar
Posted By gaurav7577
Mon Apr 20 2015, 07:04 AM
k..let me make all this simple for u so u can add...
ajay_bhargav Avatar
Posted By ajay_bhargav
Sun Apr 19 2015, 06:50 PM
Please zip and attach the code in future. You forg...
ajay_bhargav Avatar
Posted By ajay_bhargav
Sun Apr 19 2015, 06:48 PM
It is really hard to say which course and/or insti...