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 May 28 2016, 04:34 PM
kibrom berhe
c code for locker security system based on rfid and gsm
ExperimenterUK
Wed May 25 2016, 05:05 AM
@ Ramanjaneyulu, post in forum,explain your problem
Mon May 23 2016, 11:34 PM
Ramanjaneyulu
Hi, I Am using at89c4051 for my application, I want 5u sec dely.. Up to 1milli sec iam able to producing delay. Beyond the 1milli second, I am unable to produce the acceurate dely. Plz any one help me
Sat May 21 2016, 09:51 PM
A K
i want to mak an auto dialer using gsm and atmega 16. please helpe me how to write a code to auto dial a number saved in sim
Sat May 21 2016, 10:42 AM
Alec
Hi im trying to program my 89s51 with a usbasp so any ideas on the circuit?
Wed May 18 2016, 10:08 AM
Tashu joshi
anyone know how to develop
Wed May 18 2016, 10:07 AM
Tashu joshi
i'm working for resporatry system using 8051,
Wed May 18 2016, 10:06 AM
Tashu joshi
i'm developing a respiratory system using Arduino
Fri May 13 2016, 11:03 AM
MEGHANA
i need c code for counting frequency of two sensors and compare these frequencies and it has to give high/ low signal after comparision
ExperimenterUK
Tue May 10 2016, 05:02 PM
@Suren ..create a thread in the 8051 Discussion Forum to discuss your problem

Downloads

Comments

zaft93
Sun May 15 2016, 01:52 AM
CELEBI
Thu May 12 2016, 08:28 AM
Suro1996
Wed May 11 2016, 06:07 PM
yigithan
Sat May 07 2016, 09:09 PM
jaque
Fri May 06 2016, 07:51 PM
afzal42
Wed May 04 2016, 11:16 AM
pd
Sun May 01 2016, 01:35 AM
uk2308
Fri Apr 29 2016, 12:27 PM

Online

Guests: 41, Members: 0 ...

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

Members: 37765
Newest member: zaft93
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun May 15 2016, 10:58 PM
zaft93 Avatar
Posted By zaft93
Sun May 15 2016, 01:55 AM
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri May 13 2016, 07:59 PM
If you want only one relay to be on at a time the ...
CELEBI Avatar
Posted By CELEBI
Fri May 13 2016, 06:16 AM
Yes. It must be as you said. It must be 1.5 second...
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu May 12 2016, 08:35 PM
Here is one way.If you have the Keil compiler you ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu May 12 2016, 05:20 PM
Sorry I don't understand what you want.Is that 1.5...
CELEBI Avatar
Posted By CELEBI
Thu May 12 2016, 08:53 AM
Hello Guys, I want to make a Project with 89s51 bu...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed May 11 2016, 09:28 PM
No this is all I've got, the algorithm I think is ...
Suro1996 Avatar
Posted By Suro1996
Wed May 11 2016, 09:27 PM
Is this all the code you have ?As it is, it will n...
Suro1996 Avatar
Posted By Suro1996
Wed May 11 2016, 07:31 PM
Hello, I am new to assembly programming and I am h...