Wednesday, May 4, 2011

Chumby (infocast) adapted

A quick note on the ATtiny85 - it doesn't work well for J1850, at least not at 8Mhz. It only has an 8 bit timer and pin change interrupt so I can pull the time of the edge when it is serviced, but with the USI constantly going, it will jitter enough to scramble a few messages.

The 4313 (and the 84) have 16 bit timers with input capture so I don't have to service the interrupt immediately.

Here is a 4313 in a 20 pin socket from radio shack folded into the infocast. I added a USB connector in the power line and brought out the j1850 line (the grounds will be common, or I could use the common from the audio out if I'm using an isolating power supply).


0 comments:

Post a Comment

Blog Archive