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>
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
OK
I've done the idiot checks on the hardware:
1. +5 from PicKit is going through to the VDD on the PicTail
2. SDA and SCL are connected to pins 5 and 4 of the MCP3221 and have continuity through to pin 10 and pin 9 of the 16F630.
Looks like hardware connections are fine!
Rod
P.S. there isn't any chance of the on-board (PicTail) 16c745 keeping the SCL and SDA lines low or otherwise interfering is there?
Last edited by badcock; - 19th August 2005 at 07:31. Reason: final thought!
Bookmarks