Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] Pic multiple analog input error

Status
Not open for further replies.

sangeo

Member level 2
Member level 2
Joined
Jun 2, 2013
Messages
44
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,647
Haii all ..
I have a problem with multiple analog input in pic16f877a....The problem is,when i connect second channel ,First channel shows some error
ie,My first channel is lm35 input, and second channel have an input range of 0-5v,when i connect second input Lm 35 output on lcd increased by 15/16 degree C
(around 150mv).This error not showing in proteus simulation and also i measured voltage at lm35 input pin and shows it correct value
thanks in advance
 

You might need to increase the delay between the conversion of the two channels. It would be helpful if you can show the code snippet of the ADC part.
 
  • Like
Reactions: sangeo

    sangeo

    Points: 2
    Helpful Answer Positive Rating
Zip and post Circuit and also complete project files.
 

I've encountered the exact same problem.
this is due to voltage residue between the two channels.
theoratically, you should increase the delay, before and after the ADC process, also to increase the data acquisition time, and incread your TAD.

I still have this error, after modifiying the above all variables. perhaps they might work on your circuit, mine has four sensors...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top