1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Micro controller Programming

Discussion in 'Microcontrollers' started by M. Tamilarasan, Nov 6, 2013.

  1. M. Tamilarasan

    M. Tamilarasan Member

    Joined:
    Nov 6, 2013
    Messages:
    53
    Likes:
    0
    I checked with tat code only....it shows this error...can u send me the link to download tat library fi
     
  2. M. Tamilarasan

    M. Tamilarasan Member

    Joined:
    Nov 6, 2013
    Messages:
    53
    Likes:
    0
    Please anybody help me regarding checking RTC DS1307 with Arduino
     
  3. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,304
    Likes:
    914
    Location:
    Rochdale UK
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. kubeek

    kubeek Well-Known Member

    Joined:
    Mar 11, 2006
    Messages:
    1,510
    Likes:
    189
    Location:
    Prague, Czechia (not Chechnya)

    WHAT is "this" error? We cannot read minds, and even if we could I doubt we would use this skill to explain to people what they actually meant.
     
  6. BioniC187

    BioniC187 Member

    Joined:
    Aug 9, 2011
    Messages:
    281
    Likes:
    10
    He is referring to the previous error posted - I assume
     
  7. M. Tamilarasan

    M. Tamilarasan Member

    Joined:
    Nov 6, 2013
    Messages:
    53
    Likes:
    0
    I brought RTC board(DS1307) ..please help work this kit with Arduino UNO and also to set the current time and date...i'm unable to find correct library
     
  8. BioniC187

    BioniC187 Member

    Joined:
    Aug 9, 2011
    Messages:
    281
    Likes:
    10
    The library is freely available, just type it into google. Check the arduino cc links
     
  9. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,304
    Likes:
    914
    Location:
    Rochdale UK
    Remember to set the seconds to 0.. Or the ds1307 won't start!!

    If you go onto the arduino tutorials here.. http://tronixstuff.com/tutorials/ You will find EVERYTHING you need....
     
  10. M. Tamilarasan

    M. Tamilarasan Member

    Joined:
    Nov 6, 2013
    Messages:
    53
    Likes:
    0
    Thank you for ur valuable info....!!!
     
  11. M. Tamilarasan

    M. Tamilarasan Member

    Joined:
    Nov 6, 2013
    Messages:
    53
    Likes:
    0
    I bought RTC DS1307 with EEPROM module....i connected with arduino and tried but i faced one issue..after the clock sets the time starts to running only when the external power in available...but when we turn off the external power the where the clocks stops tat Time will be stored...the CMOS battery fixed with module unable to run the time continously without external power..please anybody help with coding
     
  12. M. Tamilarasan

    M. Tamilarasan Member

    Joined:
    Nov 6, 2013
    Messages:
    53
    Likes:
    0
    please help me regarding using RTC with EEPROM module
     
  13. tunedwolf

    tunedwolf Well-Known Member

    Joined:
    Aug 9, 2006
    Messages:
    1,080
    Likes:
    62
    Location:
    UK
    I'm not sure it's a coding issue. The DS1307 requires a 3V back up battery/ supply for the clock, it will not run unless this supply is available. Check pin 3 on the DS1307 and make sure it has 3v on it when the main supply has been removed.
     
    • Like Like x 1
  14. M. Tamilarasan

    M. Tamilarasan Member

    Joined:
    Nov 6, 2013
    Messages:
    53
    Likes:
    0
    ya i checked the backup power.....Please post the example coding to test RTC with arduino....i'm unable to find the exact coding..
     
  15. M. Tamilarasan

    M. Tamilarasan Member

    Joined:
    Nov 6, 2013
    Messages:
    53
    Likes:
    0
    what is the name of the connector used to connect the burg strip in controller board to share the same pin.......
     
  16. M. Tamilarasan

    M. Tamilarasan Member

    Joined:
    Nov 6, 2013
    Messages:
    53
    Likes:
    0
    I bought RTC with EEPROM module from NSK electronics...i tried to set time and date...after that the date and time starts to run...but when we turn off the External power the date and time gets reset...it's not continuing with CMOS cell power..please anybody help me to solve this with coding...
    Thanks in advance!!
     
  17. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,304
    Likes:
    914
    Location:
    Rochdale UK
    Which device? Is it a ds1307?
     
  18. M. Tamilarasan

    M. Tamilarasan Member

    Joined:
    Nov 6, 2013
    Messages:
    53
    Likes:
    0
    Yes....RTC DS1307 with EEPROM AT24C52
     
  19. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,304
    Likes:
    914
    Location:
    Rochdale UK
    Is your cell a 3v cell if its a 1.5v it wont work...
     
  20. M. Tamilarasan

    M. Tamilarasan Member

    Joined:
    Nov 6, 2013
    Messages:
    53
    Likes:
    0
    Its a 3v cell.....i tried all the example programs given in hardware libraries, after the execution of program the time and date sets but when the external power is turned off means the date and time gets reset.. this is my exact problem...please help me with solution...
     
  21. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,304
    Likes:
    914
    Location:
    Rochdale UK
    You couldn't show me the exact example you are using... Some examples set the same time each time you power up!!
     

Share This Page