Search Engine

12f675 Adc

Add Question

Are you looking for?:
12f675 , pic 12f675 , 12f675 led , 12f675 compiler
6 Threads found on 12f675 Adc
help me out i am not able to read the adc value . i am reading adc value from analog channel 2 here my code is there /* adc conversion*/ unsigned char adc_value; unsigned char sensor; char *text="00000"; const gas_max = 642; void main() { adcON0 =0x08; ANSEL =0b00000110; ADRESH =0; (...)
Hi, I am presently doing some practical test of peripheral of PIC 12f675. While trying to use analogue comparator, a weird result is noticed. I have made a circuit with 12f675 connected as follows. GP 0 used as adc as well as CIN- for comparator. GP 1 used as output for LED_1 GP 2 used as output for LED_2 GP 3 not used. GP 4 not (...)
hello evrybody i m trying to drive a 4 wire hdd motor with pic 16f675 so i try this schematic with the commun pin of the motor connected to 12v i m asking if it will be working with this code #include <12f675.h> #device adc=8 #FUSES NOWDT //No Watch Dog Timer #FUSES INTRC_IO //Internal RC Osc, n
For this, you have to use 12f675, not 12F629. The 12F629 does not have an adc. For battery sensing, you use the adc. First, you need to step down the battery voltage to a level that the PIC can read. So, you can use a voltage divider to step down, so that 12V corresponds to 3V. So, 11V corresponds to (11/4)=2.75V. Use the (...)
how I can use the CIC 12f675 as adc in SERIAL TEMPRATUER LOGGER?
#include <12f675.h> #device adc=10 #fuses INTRC_IO,NOWDT,NOPUT,NOPROTECT,NOCPD,NOMCLR #use delay(clock=4000000) #define GP0 PIN_A0 #define GP1 PIN_A1 #define GP2 PIN_A2 #define GP3 PIN_A3 #define GP4 PIN_A4 #define GP5 PIN_A5 #byte OSCCAL = 0x90 void init() { OSCCAL = 0x80; // set internal oscillator to mid frequen

Last searching phrases:

vih voh | led big | sdf max | pll cdr | and s2p | avr adc | pad net | 433 pic | throughout | pwm and adc