Sunday, February 1, 2009

PIC Programming

I just ordered a PICkit2 which will help me test out my plan for the PIC12f683 that will count wheelsensor pulses. Because of the how the DLP-TEMP is setup with the 3 inputs, only one signal can be setup as an interrupt. I'm planning on hooking up the wheelsensor pulse to this interrupt channel so that I can be sure to never lose a pulse(which would cause error in the distance measurement). That leaves the issue of how to interface the DS32kHz chip to the 12f683. My current plan is to use the DS32kHz to drive a Dallas Semiconductors real time clock, and then the be able to pull the current time when polled using I2C. I have found some general forum posts that seem to indicate this is possible but I will have to test it out.

No comments:

Post a Comment