by _izua__ (1 Submission)
Category: Complete Applications
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (3 Votes)
ever wanted to play around with i2c at low level? or just want to see how a pic compiler actually does that uber-cool and uber-quick i2c routines?
this piece of software can help you. you'll need a pic16f628, a serial level converter (max232, you should have one if you call yourself a pic developer).
i used this to toy around with a ds1307 real time clock. the code isn't very commented, but you should see what's going on from the routine name. also included: schematic done in pcb software XD (needs express pcb to open), mplab project (needs mplab).
hope it helps somehow. if you do something interesting with it, let me know. i'm thinking of making a whole suite of emulated i2c devices, that can be accessed from microcontrollers.