I have downloaded the MN1307 program from the MeLabs website.
I have breadboarded the hardware and wired it per instructions with the exception that I've wired the LCD using DB4 thru 7 rather than DB0 thru 3.
I have run the program.
I have verified that it works as advertised.
I have posted proof here that it works. I have an MPEG video of it ticking away... you want me to email that you?
I don't post programs that don't work.
Now your problem...
It doesn't tick, then the software is just a simple loop that reads the RTC and displays the results on the LCD... this means your RTC isn't working. Also, if on initial first-time power-up it doesn't immediately jump into set-up, then that tells me the RTC isn't communicating with the PIC.
so...
1. Verify that SCL and SDA are wired correctly and you haven't swapped them over and you've not got any shorts.
2. Make sure you have pull-up Resistors on those pins. 10K will work, 4K7 with hindsight is probably better.
3. Make sure you have a Battery Connected.
4. If you haven't got a Battery, then connect the Battery pin to Vss.
5. Make sure your 32kHz Crystal is connected - and it's a good one. Steal one from your average genuine 99-cent Rolex wristwatch if you have any problems.
6. Ensure you have a good RTC chip.
If it still doesn't work, go back to step 1 and start over.
Hurry back, because we're all going to miss you when you're gone......i'll pass a whooooooole month in the Carribean!
Bookmarks