Continue to Site

Welcome to EDAboard.com

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.

Recent content by mcs51mc

  1. M

    RTC DS1307 Interfacing with MCU 89S52

    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...
  2. M

    Looking for code to interface RS232 with PIC16F84A

    Re: Rs232 Beginner + PIC = http://www.winpicprog.co.uk/pic_tutorial.htm 14 tutorials dedicated to PIC's Good luck
  3. M

    RTC DS1307 Interfacing with MCU 89S52

    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...
  4. M

    RTC DS1307 Interfacing with MCU 89S52

    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...
  5. M

    RTC DS1307 Interfacing with MCU 89S52

    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...
  6. M

    RTC DS1307 Interfacing with MCU 89S52

    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)...
  7. M

    RTC DS1307 Interfacing with MCU 89S52

    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...
  8. M

    RTC DS1307 Interfacing with MCU 89S52

    watchdog timer overflow time for 89s52 I know it's C but with the free Keil C compiler you can compile it and get the ASM code from it :):):)
  9. M

    Interfacing more than one DS1307 with 89c51

    ds1307 +mcs51 Check this one: http://www.sixca.com/micro/mcs51/rtc_51/ Hope it helped :)
  10. M

    RTC DS1307 Interfacing with MCU 89S52

    rtc interfacing with 89c52 Check this one: http://www.sixca.com/micro/mcs51/rtc_51/ Hope it helped :)
  11. M

    How to measure milli ohm resistance?

    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.
  12. M

    State machine problem

    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...
  13. M

    RTC DS1307 Interfacing with MCU 89S52

    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...
  14. M

    State machine problem

    I think you lack just one thing: All states S6 to S10 go back to S0 when calculation done
  15. M

    RTC DS1307 Interfacing with MCU 89S52

    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...

Part and Inventory Search

Back
Top