Previous in Forum: Sound Generator Software   Next in Forum: XP End of Security Support
Close
Close
Close
8 comments
Rate Comments: Nested
Participant

Join Date: Feb 2014
Posts: 4

DS1307 with AT89c52 and 74LS595 7 Segment Clock

02/20/2014 12:51 PM

I purchased assembled 7segment clock pcb with DS1307 and AT89c52 , 74LS595, ULN2003, it was work good, after I assembled Led display, some my soldering mistake it is not work, I re soldered now my display working correct, the DS1307 is showing time from 0:00 to 9:59 (I mean it is not going to 10:00) and again start from 0:00 to 9:59 then start again 0:00 to 3:59 it mean two times 10 hrs and one 4 hrs total 24 hrs (10 + 10 + 4 = 24) instead 12 + 12 hrs, it was in 12hrs format, and it is not working 10s hrs in 4th digit, I re placed two,three new DS1307 but not working same above, please may any one help me.

Register to Reply
Pathfinder Tags: DS1307
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru

Join Date: Sep 2012
Location: Iowa, USA
Posts: 577
Good Answers: 50
#1

Re: DS1307 with AT89c52 and 74LS595 7 Segment Clock

02/20/2014 1:58 PM

The DS1307 is a real time clock chip with I2C bus.

The AT89C52, is an ATMEG 8051 micro controller. The 74LS595 is a 8bit shift register.

I'm guessing the processor multiplex drives the displays (each of the separate digits in the LED 7 segment part), using the ULN2003 current driver.

So are you just loading code into the processor, or is this preloaded in the kit?

I see there should be another digit you don't show 00:00, that's not being driven. Is the shift register used in the circuit to select the LED segment to drive?

You need to post a link to the schematic for this.

__________________
ignator -
Register to Reply Score 1 for Good Answer
Participant

Join Date: Feb 2014
Posts: 4
#6
In reply to #1

Re: DS1307 with AT89c52 and 74LS595 7 Segment Clock

02/28/2014 4:13 AM
Re: DS1307 with AT89c52 and 74LS595 7 Segment Clock02/28/2014 2:41 PM
To:

ignator

Re: DS1307 with AT89c52 and 74LS595 7 Segment Clock
Dear Ignator,

Thanks for your attention, sorry for delay I was out of station sorry again,

1. It is preloaded kit, earlier it was work,

2. yes I didn't showed that digit, because it is not work,

3.

4. I checked display of 10s hrs of 4th digit is working, I connected ser data in to 2nd shift register pin 14, from controller (1st shift register is removed) now worked as before that is 4th, 3rd, and 2nd displays are working. mean the 4th 74LS595 and 4th ULN2003 are working.

please give your mail ID

thanks again.

K.R.gopal

abiamara@yahoo.com

Register to Reply
Participant

Join Date: Feb 2014
Posts: 4
#7
In reply to #6

Re: DS1307 with AT89c52 and 74LS595 7 Segment Clock

02/28/2014 6:05 AM

(4. I checked display of 10s hrs of 4th digit is working, I connected ser data in to 2nd shift register pin 14, from controller (1st shift register is removed) now worked as before that is 4th, 3rd, and 2nd displays are working. mean the 4th 74LS595 and 4th ULN2003 are working.).... it mean 4th, 3rd, and 2nd are working as 3rd, 2nd, and 1st digits that 4th digit of 10s hrs not working.

Thanks,

K.R.Gopal.

Register to Reply
Participant

Join Date: Feb 2014
Posts: 4
#8
In reply to #7

Re: DS1307 with AT89c52 and 74LS595 7 Segment Clock

03/19/2014 1:04 PM

Dear all,
Now I found the problem, now it is working as usual, I did in reset pin number 9 of AT89C52 just touch a wire with 5 volt positive 3 - 4 times now it is work as 12hrs format, after (0) 9 : 5 9 it is going to 1 0 : 0 0 and as usual, I mean that 4th digit of 10hrs digit is working, I think this happen is reset problem (why, I don't know), This circuit is already having reset circuit that is one 10mfd capacitor connected with 5 volt positive and one 10 k resistance is connected with ground.
And I am having another one problem in it, that, when touch with a metal piece (forceps or naked screwdriver) in any (positive or negative) pins of any ICs in this circuit, suddenly changes going in the display digits I mean, some segments are, on or / and off (Random) its self, after fraction of seconds it is back to normal, working OK, why this happen, this circuit have connected a 100 N disc capacitor in each 74LS595 ICs vcc to with ground.
Thanks.

Register to Reply
Power-User

Join Date: Sep 2011
Posts: 267
Good Answers: 7
#2

Re: DS1307 with AT89c52 and 74LS595 7 Segment Clock

02/21/2014 12:35 AM

Having a part number for the display would help.

The ULN chip is probably doing what the trasistors are doing here http://www.gooligum.com.au/tutorials/baseline/PIC_Base_C_5.pdf on PDF page 8.

I would suspect that the displays are common Cathode. If someone put a common anode display by mistake, that would be an issue.

A little reverse engineering and a scope would help a lot.

Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#3

Re: DS1307 with AT89c52 and 74LS595 7 Segment Clock

02/21/2014 12:50 PM

My guess would be a short that is causing a "carry" to "carry" too soon.

It could even be a failure in the programming of the micro controller, who did the programming?

Can you send us a link(s) for the circuit diagram and the program? Someone here will know the programming for the MP.....

Have you tried re-programming the chip after checking of the Program, line by line?

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Participant

Join Date: Feb 2014
Posts: 2
#4
In reply to #3

Re: DS1307 with AT89c52 and 74LS595 7 Segment Clock

02/21/2014 4:21 PM

Hello,

at first to check belongs in what way transmission is proceeding on I2C, and then conversions to values shown on the alphanumeric display, whole he is regarding at first providing software, only then it is possible to search the electronic circuit for the defect.

Register to Reply Off Topic (Score 5)
Participant

Join Date: Feb 2014
Posts: 2
#5

Re: DS1307 with AT89c52 and 74LS595 7 Segment Clock

02/21/2014 4:31 PM

Hello,

at first to check belongs in what way transmission is proceeding on I2C, and then conversions to values shown on the alphanumeric display, whole he is regarding at first providing software, only then it is possible to search the electronic circuit for the defect.

Best regards

Register to Reply
Register to Reply 8 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

Andy Germany (1); ignator (1); KeepItSimpleStupid (1); KRgopal (3); tomal (2)

Previous in Forum: Sound Generator Software   Next in Forum: XP End of Security Support

Advertisement