But the code I had originally used was correct - could there be something else I am missing?Originally Posted by badcock
Rod
But the code I had originally used was correct - could there be something else I am missing?Originally Posted by badcock
Rod
Rod,
Your comments show that the LED's are on PORTA.0 and PORTA.1
But, PORTA.1 and PORTA.2 are being toggled after reading the ADC<br><br>
DT
Not a problem - 16F630 is in the PicKit1 board - there are LEDS on RA1, RA2, RA4 and RA5. My comments are incorrect!Originally Posted by Darrel Taylor
Rod
Is there a jumper installed in JP1 on the PICtail board?
It connects the pot to the ADC.<br><br>
DT
Yep - and confirmed through DataViewOriginally Posted by Darrel Taylor
Thanks,
Rod
Well that's good news. If you can get dataview to work with it, at least we know the Pictail is working.
So here's another question that you've probably already checked.
When programming the F630 on the Pickit, did you check the "Device Power" checkbox?
Without it, the PIC in the "Evaluation Socket", and the MCP3221 won't get power.
Other than that, I think it's down to checking all the basic troubleshooting items, such as.
Check continuity, from F630 pins 9 and 10 to the MCP3221 pins 4 and 5.
Is there power getting to all the chips involved.
Does Pin1 match up on the connectors between the 2 boards
As you can tell, I'm focusing on the hardware, because the program looks fine.<br><br>
Last edited by Darrel Taylor; - 19th August 2005 at 06:38.
DT
Yep, the reason I know the reading is not being made is because the LED's are not changing (toggling)Originally Posted by Darrel Taylor
OK ... I'll do a hardware check on the i2c lines + the power lines from the PicKit - from what you are saying it does not look like software!Originally Posted by Darrel Taylor
Thanks,
Rod
Bookmarks