6 Threads found on edaboard.com: 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;
const gas_max = 642;
ADRESH =0; (...)
Microcontrollers :: 01-10-2015 00:35 :: Gopi Vh :: Replies: 5 :: Views: 594
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 (...)
Microcontrollers :: 09-20-2014 13:16 :: swapan :: Replies: 14 :: Views: 726
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
#FUSES NOWDT //No Watch Dog Timer
#FUSES INTRC_IO //Internal RC Osc, n
Microcontrollers :: 12-03-2012 15:33 :: MODCHIP :: Replies: 3 :: Views: 790
Hi all I'm a complete noob at writing code for micro-controllers basically want i want to do is...
I'm upgrading my previous Lead-acid battery desulfator from a 555timer based osc with LVD to a pic12f675 (or 629) running a 3mhz osc (555 was a nosiey bugger lots of harmonics audible).
So I've got super simple code set to pulse Mosfet at around
Microcontrollers :: 03-09-2012 22:38 :: ghead :: Replies: 1 :: Views: 766
how I can use the CIC 12f675 as adc in SERIAL TEMPRATUER LOGGER?
Microcontrollers :: 02-08-2010 13:41 :: SANSANKETJOSHI :: Replies: 1 :: Views: 1087
#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
OSCCAL = 0x80; // set internal oscillator to mid frequen
Microcontrollers :: 02-27-2005 15:51 :: ahmet2004 :: Replies: 1 :: Views: 1233