Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

ac decoupling from pic 18f ADC

Status
Not open for further replies.

ahmed osama

Full Member level 6
Joined
Jul 18, 2004
Messages
352
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,296
Location
Cairo, Egypt, Egypt
Activity points
2,655
dear all
i have a pic 18f4550 , i am using its ADC + max232 and reading the data using rs232 in my pc
i am using 9volt battery then 7805 Reg as Vdd supply

my problem when the adc i/p is floating , i get an AC signal 50Hz about 2.5 Vp and when i touch the input i got a complete square signal 5Vp with 50Hz

i was going to use such system as a part of EGC project , when i touch the gnd by left hand and ADC i/p by my right hand i also got a complete square signal 5Vp with 50Hz ( i know egc needs extra circuits for filtering & amp.)

from where such AC signal came , is it AC signal coupled from my pc through Rs232 !!!

how could i solve that

thanks all

bye
 

Tahmid

Advanced Member level 5
Joined
Jun 17, 2008
Messages
4,758
Helped
1,791
Reputation
3,574
Reaction score
1,650
Trophy points
1,393
Location
Silicon Valley, California, USA (from Dhaka, Bangl
Activity points
30,545
A floating input pin can pick up stray noise from "anywhere". That's why you are always advised never to leave a pin "floating". If that pin won't be used for anything, make it an output pin. If it's going to be an input pin, make sure it's never floating. Maybe if the rest of the circuit allows, you can use a pull-down resistor to ensure that the input is "low" and not "floating".

Hope this helps.
Tahmid.
 

ahmed osama

Full Member level 6
Joined
Jul 18, 2004
Messages
352
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,296
Location
Cairo, Egypt, Egypt
Activity points
2,655
A floating input pin can pick up stray noise from "anywhere". That's why you are always advised never to leave a pin "floating". If that pin won't be used for anything, make it an output pin. If it's going to be an input pin, make sure it's never floating. Maybe if the rest of the circuit allows, you can use a pull-down resistor to ensure that the input is "low" and not "floating".

Hope this helps.
Tahmid.
when i touch the gnd by left hand and ADC i/p by my right hand i also got a complete square signal 5Vp with 50Hz
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top