Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with DS1307 on KC868-A6
#11
(08-19-2024, 11:05 PM)admin Wrote: your code already is running correctly. you can also install DS1307 arduino library, then chose a example demo run testing.
I cannot believe you confirm my code is running correctly. A NAK answer after a Write Request to 0x68H is an evidence something is wrong in the hardware. Furthermore, if the scanner only sees both PCF8574 but not the DS1307 is a confirmation that I2C is working but the DS1307 don't.

I replaced the DS1307 chip on the PCB and now it is working as expected.

Thank you.
Reply
#12
ok, the problem is the DS1307 chip bad?
Reply
#13
(08-20-2024, 11:42 PM)admin Wrote: ok, the problem is the DS1307 chip bad?

Yes
Reply
#14
next time , when you have new order with kincony official store, you can tell us give you a gift.
Reply
#15
(08-21-2024, 07:41 AM)admin Wrote: Hello, I have the exact same problem with my board. When I run an I2C scan, it only finds the PCF8574 chips at 0x22 and 0x24.
Just got the board last week (from Aliexpress), and everything else works fine.
Is the conclusion that the DS1307 chip is bad ? I did pit in a fresh new battery in.
What is the resolution ? I am in the US, so sending the original board back to China is not a viable option.
Thanks
   
Reply
#16
Do you have test with DS1307 code?
here is demo code: https://www.kincony.com/forum/showthread.php?tid=1863
Reply
#17
(09-04-2024, 11:03 PM)admin Wrote: Do you have test with DS1307 code?
here is demo code: https://www.kincony.com/forum/showthread.php?tid=1863

Actually, I tried the scan / test without the battery and everything works ! I will pursue the modification that another forum member already discussed, which is to get rid of the diode in series and see how this works.
Thanks !
Reply
#18
yes, you can try, i think will be ok, someone have done successfully.
he said: " After checking the DS1307 datasheet, I found a note mentioning the chip malfunctioning when using a diode in series with the "Vbat" pin. I removed diodes D5 and D7 from the board, and put a Jump in place of D7, and now it's functioning normally. "
Reply
#19
I am trying the example code for the ds1307 rtc and it does not work and I see this solution and it is not viable for me. I am in Mexico and I also do not have the tool to desolder and I have doubts about how to do it
Reply


Forum Jump:


Users browsing this thread: