Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
led interfacing with 89s52
Why do you need "alarm_off_min" & "alarm_off_hour"?
I thought the user is supposed to turn the alarm off :)
Nice to hear that it's working perfectly.
But what's working perfectly? Storing in the DS?
How do you know it's working perfectly? By recalling it from the DS...
89s52 ds1307 i2c
The problem with a number from 1 to 7 for a day of week is that you need a lot of bytes.
Let say you want alarm 1 to be active on Tuesday, Thursday and Sunday. In this case you will need three bytes to tell the µC the active days. Each byte contains the number of the active...
ds1307 block
I'm sorry but I have no link to my brain :):):(
Each alarm is defined as follow:
a) days of week it should be active
b) hour : can be defined as 0 to 12h and AM/PM bit or 0 to 24h
c) minute : any number between 0 and 59
So you have to store this data in RAM for every single...
isd2560
Since you enter real time through keypad, you can also enter alarm times through keypad :)
Do you want accuracy of alarmtime on second or minute level?
I mean is alarmtime 07:25 ok or do you need 07:25:35?
Do you need alarmtime based on day of week or not?
Same time for all days of...
how to use the address for isd2560
One problem down... ... n to go :):)
Correct me if I'm wrong but the DS doesn't have any alarm time registers so where do you think to store the alarm time?
What was your idea about storing time and compare actual time & alarm time?
My basic idea is:
1)...
89s52 +reset +prevent
I never used the DS1307 RTC so I'ts just a guess after reading pages 11 to 13 of datasheet.
As I understood the text you need to send this data to write to the RTC:
1) generate a start condition
2) send the address of the DS1307 and the R/W bit : 11010000
3) generate an...
measure milliohms
So you want to determine the skin effect of your "components"?
Please specify what you understand by "components"!
What frequency range do you intend to use?
I gues good old HP 4285A LCR meter could do the job.
If your friend ment that a state machine isn't needed for such application I agree with him.
Just put a counter on the "Menu" key.
Pay attention to maximum value of the counter. What if counter equals 5 and "Menu" key is pressed again?
That possibilty isn't included in your state machine also...
89c52 + watchdog
Looking at figure 1 the block diagram on page 4 you can see three blocks on the right side
upper block: 56 bytes of internal RAM address 08h to 3Fh
middle block: 8 control registers used by the DS address 00h to 07h
lower block: 7 so called "user buffer"
When you read...
ds1307 mcu
Hi H_D_R
I don't think you need a watchdog to get the DS1307 working.
Check fig 4 & fig 5 on the bottom of page 12 of the DS1307 datasheet.
The first byte is the address of the DS1307 on the I²C bus.
When you want to read/write from/to the DS1307 you always need to send that byte...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.