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 (...)
Hello guys! I started to learn programming PICs a couple of days ago using Myke Predko's "123 Microcontroller Experiments for the Evil Genius" and Proteus 8. I reached an experiment where the author shows how to program a 2 digit 7 segment led, so I decided to do something more challenging for me: to read the value of ADRESH and display it on the
Hello folks ...i am trying to implement PI controller using PIC16F876A...Following is the code,i am using..I am applying approx 4.55V to VDD...Applying 4v to channel 1 of adc as a reference int err_val=0,I_err=0; int current_duty_2=10; int Kp=1,Ki=1; int P_term=0,I_term=0; int Sum_err=0; unsigned int adcRead(unsigned int channel)
hii folks...i am using a PIC16F876A doesnt have ne inbuilt DAC...How to check its adc is properly working or not...I followed the approach below i gave a reference of 2V inside the code...varied the input to the the code i gave a condition that if the input voltage was more than 2 then it would generate pulses of certain fixe
Hello, I am looking for circuit which is able to detect voltage changes without help from chips. Let's say I want to turn on diodes accordingly to voltage magnitude, voltage is low - one of four diodes is on . With help of microcontroller and adc it is simple, can be done without micro... ? Thanks.
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