Search found 5 matches

by crazy88
Tue Mar 04, 2008 12:52 pm
Forum: C and ASM Programming
Topic: pic16f8761 adc
Replies: 9
Views: 8248

Re: pic16f8761 adc

Am I right in thinking that the J14 jumper is only there to swap the analogue/digital inputs of RA0-3? And therefore if I use RA4 i do not need to alter any jumpers, just ensure that RA4 is set as an analogue input in the registers of my pic?

Thanks again for the help!!
by crazy88
Tue Mar 04, 2008 12:16 pm
Forum: C and ASM Programming
Topic: pic16f8761 adc
Replies: 9
Views: 8248

Re: pic16f8761 adc

I have just been trying another method: I am using the VREF+/- from the ZigBee IC. Basically, I am using the ZigBee Vcc as VREF+ and its GND as VREF- ...is this correct? To do this i have my ADCON1 register set to 0x08; and ADCON0 to 0x89; ZigBee Vcc is connected to RA3 (VREF+) ZigBee GND is connect...
by crazy88
Tue Mar 04, 2008 11:02 am
Forum: C and ASM Programming
Topic: pic16f8761 adc
Replies: 9
Views: 8248

Re: pic16f8761 adc

Hi, im wondering if you can help me again please. I'm now trying to further the design here in this thread. I wish to implement an external analogue input (the RSSI pin of a ZigBee module), rather than the onboard potentiometer. I'm struggling to get all the inputs, outputs and registers set up corr...
by crazy88
Fri Feb 22, 2008 2:46 pm
Forum: C and ASM Programming
Topic: pic16f8761 adc
Replies: 9
Views: 8248

Re: pic16f8761 adc

Thanks so much for the reply Benj, exactly what i was after! :) I now have RV3 turning the leds on gradually as i alter it.

THANKS :lol: :lol:
by crazy88
Fri Feb 22, 2008 12:27 pm
Forum: C and ASM Programming
Topic: pic16f8761 adc
Replies: 9
Views: 8248

pic16f8761 adc

Hello I'm trying to use the ADC of a pic16f876A. What I would ideally want is the ability to alter the potentiometer onboard the v3 matrix dev board, and have this light led's accordingly. Is it possible to use the potentiometer as an input on the v3 board? Is there any advice, or example code which...