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
Tue Jul 19 2016, 05:59 PM
@mhammad 64 bits is 8 bytes.
Tue Jul 19 2016, 07:56 AM
mhammad kassem
hello! i want to know how to use UART in mikroc , I want to receive 64 bits from another microcontroller and i dont know how to start my code to receive the 64 bits...any help?
ExperimenterUK
Mon Jul 18 2016, 08:32 PM
@meena.. are you still having trouble ?
Sat Jul 16 2016, 10:19 AM
Meena
problem in loading email address while registering.Please help
Sun Jul 10 2016, 02:50 PM
shockwave
could you please provide a sample code that controling LED using bluetooth HC-05 interfacing pic16f877a thank you!
Sun Jul 10 2016, 02:49 PM
shockwave
Help!
ExperimenterUK
Sat Jul 09 2016, 05:25 PM
@Santhana krishnan post in forum to discuss your problem
Thu Jul 07 2016, 09:26 AM
Santhana krishnan
Hi i program atmega 32 it was functiining corectly but now aref pins voltage 2.56 is droped to .85 volts also a ports input viltage also dropped so anologe inpit not funcitonig please help me to find out the problem
Thu Jul 07 2016, 09:24 AM
Santhana krishnan
Hi i program the atmega 32
Thu Jul 07 2016, 09:24 AM
Santhana krishnan
Hi

Downloads

Comments

dann11
Thu Jul 28 2016, 09:43 PM
adithyapaip
Thu Jul 21 2016, 05:45 PM
celu
Thu Jul 21 2016, 05:27 PM
Aiko
Wed Jul 20 2016, 01:51 PM
JorgeG
Sat Jul 16 2016, 07:19 PM
Piotrekk
Wed Jul 06 2016, 09:35 AM
dyoussef
Wed Jun 29 2016, 07:29 PM
sung7333
Tue Jun 28 2016, 06:23 AM

Online

Guests: 48, Members: 0 ...

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

Members: 37776
Newest member: dann11
Forum Activity
ugoo5000 Avatar
Posted By ugoo5000
Sat Jul 30 2016, 07:31 AM
is working noworg 00hmov p1,#11111111bmov p3,#1111...
ugoo5000 Avatar
Posted By ugoo5000
Sat Jul 30 2016, 06:40 AM
when i press a button in p3.0,the counter will st...
ugoo5000 Avatar
Posted By ugoo5000
Sat Jul 30 2016, 06:30 AM
proteus file Attachment ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Jul 29 2016, 11:34 PM
Your code does not count at all, it produces a one...
ugoo5000 Avatar
Posted By ugoo5000
Fri Jul 29 2016, 07:49 PM
i want the the counter to be counting in secs with...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Jul 29 2016, 07:31 PM
HiYour Proteus file did not upload, be sure to zip...
ugoo5000 Avatar
Posted By ugoo5000
Fri Jul 29 2016, 11:50 AM
below is the proteus file
ugoo5000 Avatar
Posted By ugoo5000
Fri Jul 29 2016, 11:48 AM
i am working on a project to generate a continuous...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Jul 23 2016, 07:14 PM
I found this datasheet, it is a type of driver.It ...
Piotrekk Avatar
Posted By Piotrekk
Fri Jul 22 2016, 10:12 AM
I found an old box of electronic components in the...