Was wondering if anyone knew the dimensions/size of this item? And how easy it was to programme?
MCP7940M-I/PMCP7940M-I/P
RTC IC, Date Time Format (Date/Month/Year hh:mm:ss), I2C, 1.8 V to 5.5 V, DIP-8
Thanks!
Be sure to click 'more' and select 'suggest as answer'!
If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!
Was wondering if anyone knew the dimensions/size of this item? And how easy it was to programme?
Thanks!
Hi Diane,
The dimensions and all the package/PCB footprint info is in the datasheet which is linked on that page. Specifically the dimensions for the PDIP package you are referring to are on pages 41 and 42.
In terms of how easy it is to program, its interface is I2C. I've not personally used this device but if you are able to write code which communicates over an I2C bus then controlling this RTC device shouldn't be too difficult. The addresses and definitions of all the registers within the device are described in detail in the datasheet, it'll take some reading to understand what they do and what you'll need to write to set it up though.
Best Regards,
Rachael
Hi Diane,
A quick search of the web shows examples and libraries for communicating with this device. Google is you friend, you can find almost anything if you try. I used 'mcp7940n sample code' and found many 'on topic' links.
Good luck!
Gene