Hi.
I have DS1307 RTC connected with PIC16F777 through bit banging I2C.
Don't ask why I'm not using the usual pins!
I have the program working, but not good, the numbers running very fast like a stopwatch.
No matter which register i will send to the LCD it will act the same.
The circuit attached to this post, and my code will be sent through the notes.
I don't want a new written code, just fixing, so be reasonable!
Hi smoovo,
I have more than 5 yrs of experience in designing Hardware and firmware for Embedded systems and have done many projects using maxims' DS1307 RTC. In many of my project, i have used PIC16 series in which hardware I2C slave module is present but not the Master mode so for Master mode one has to use bit bang technique.
I can help you fix the error in least possible time as all 3 projects i am working on, (on freelancer) are ready to be delivered once the owners pays so i am free for the time being.
Please let me know if you have any question.
Looking forward to work with you on this project.
Thank you.
Hi. Your circuit schematic is OK. I have mostly used DS1307 with the SQW/OUT pin connected to an Interrupt pin on the uC and configured for 1Hz, so i read data at 1Hz intervals. However, in your case it should work fine. Please see PMB for details.