Search Engine

Adc Led

Add Question

Are you looking for?:
led sensor led , led example , across led , across led
86 Threads found on Adc Led
When i tried to use 2 output pins in pic12f675, output voltage on second pin was found less (Voltage divided to half). Can anyone tel me how to fix this. I want to use adc in this micro controller and want to display the change in input voltage on led display. Input voltage to adc is from 2V to 5V and want to display output in 3 digits.
If you can still find them, the LM3914 IC would be ideal for this. It is an led bar graph driver, you supply it a voltage from the potentiometer and it lights the appropriate number of leds in sequence. Alternatively and maybe cheaper, you can use a small microcontroller with an adc input to emulate the LM3914 but it would require some (...)
What is GODONE used for? GODONE is actually a predefined macro provided in some device specific header files of various compilers and refers to the GO/DONE' bit of the adcON0 register of the adc module. BigDog
1. If your PIC is not going to do anything else besides beeing this PID... I suggest you to use a Timer flag to synchronize the adc readings... for that, you need some idea of how much time it takes to process all this program... (for example, add a togglin led, and check with a oscilloscope the minimum and maximum time it takes to perform the proc
there many ways to check the adc is working proper or not but the steps you follow in above blog will give you surety that you configured the adc well correct and its is working fine.
uC is not necessary.. After a proper adc ( Parallel Output ) you may use a Programmable Decoder ( or simply Gates Decoder) to obtain "Flags" for your circuit. Flags means that when digital words ( bytes ) have wanted value a flag is move up and excite the other circuit.
Hi,, i am new to tis adc Module.. i m using PIC16F887+MPLAB IDE-Hi-Tech C..... I ve some doubts,, i ve to give 5v to RA0 pin and 0v to RA1 pin of microcontroller..I just connected 2 led's as output in any other port,,say PORTD. Wen i m giving 5v,,one led will blink and if 0v another led will Blink.. In my program,, i (...)
Hi ahsan, can you provide a system level schematic of IR proximity sensor, which indicates how does the op amp, adc, led, photodiodes and microcontroller connect to each other?
guys i need your help... im using a TEMP sensor and an led. i need to turn ON the led what a certain temp. is this code correct. #include #include #define _XTAL_FREQ 20000000 void Initadc(void) { adcON1 = 0x80; // Make PORTA and PORTE analog pins // Also, Vref+ = 5v and Vref- = GND TRISA = 0x2f; (...)
adc is working output is shown in bar led . and the data is given to the Port - P1. And again the Port 1 vaule is given to the Port 3 ( just for testing ) nothing showing .. please help me ? #include #include "lcd.h" #include "adc.h" void main(){ unsigned char a = 0; P2 =0x00; P0 =0x00; P1 = 0xff; P3 = 0x00; lcd_init(); lcd
I have taken a project to transfer the human voice via optical communication (led or laser) using PCM. But i have faced problem that i could not transfer the signal over 1kHz using PIC16F887, it gets distorted but i need range up-to 20kHz for voice communication. If i use external adc then could i get any benefit? now i am converting the analog si
Hi there, is there any other way of blinking the led depending on the adc value besides this rtos? using interrupt routine..
Hi all I want to test the adc of dsPIC30f4013, what i really want to see at the output is to control an led brightness by just using a variable resistor. I connected an led to pin 3 of PORTD and my analog input is all PORTB pins. for analog input I'm supplying a 47K potentiometer with 2 volts(DC). the problem i'm having is i run the code (...)
Hello!! i am using LPC2138 to do some experiment with ARM. Started with LPC2138 Because it is available in Proteus. Had write the codes for LCD, UART and led Blinking but the problem i am facing with adc is that, it working well in Keil Simulator. But when simulating it in Proteus, is creating a problem. Like when i connect POT-HG with P0.2
Hi friends, I am trying to implement adc module of 16F676 in MikroC. Please see the code below. A led, connected to RA5 of MCU is made ON/OFF depending on the value of analogue input to AN4 of MCU. I have tested the hardware developing the code in assembly. But when I try to develop the code in MikroC, it does not work. No effect is seen in outp
I need to detect room luminosity. I was thinking to use normal led and op amp to bring the signal to PIC adc. Will the selected op amp in the below circuit be OK?
Hi friends, I am using 1k pot and led with lpc2129.if pot will varry led will be on and off.but output was not came.anybody can help i atached my code .i am using p0.27 as pot (i.e internal adc) #include unsigned val = 0; int main(void) { PINSEL1=0X004000000; VPBDIV = 0x02; //Set the Pclk to (...)
i have problem regrading adc in spartan 3e digilent board. i have made all fsm ,the simulation works well but when i board it didnt work. i have shown the MISO on led 7 and 7 msb adc values in other leds. initiall all leds blinks later all go high irrespective of the input. (...)
Hello I want programs to interface any sensors with 8086 microprocessor using 8255. Programs other than for sensors are also okay (but would be good if i got for sensors) except for adc, dac, keyboard, stepper motor and led. I need the program urgent. I searched as much as i could but did not find any programs for interfacing. Thanks in a
adcON0 and adcON1 need to be within while(1) loop. And i hadn't considered the possibility from 58% to 61% or so which i corrected. And hardware implementation i had some problem as its not indicating. Proteus simulation is perfect for the new code. I will still test and see if i have missed other possibilities