Pages: [1]   Go Down
Author Topic: Corruption when resistor connected to inputs  (Read 389 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I seem to get corruption on my display soon as i connect resistor to inputs A1-A5.  im using 10k resistor planning on float switches to them but i cant even put a resistor in the input other end in the air with out display showing random numbers.
My setup is i2c LCD, I2c RTC, temp probe 1 wire dallas. i2c expansion module pcf8574. also Atlas PH stamp .  they all seems to work fine no conflicts. just cant use my inputs. is it possible my inputs are bad on the board? this is 1st thing ive had hooked up to them so shouldnt be damaged by me.

Logged

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 146
Posts: 5510
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I seem to get corruption on my display soon as i connect resistor to inputs A1-A5.  im using 10k resistor planning on float switches to them but i cant even put a resistor in the input other end in the air with out display showing random numbers.
My setup is i2c LCD, I2c RTC, temp probe 1 wire dallas. i2c expansion module pcf8574. also Atlas PH stamp .  they all seems to work fine no conflicts. just cant use my inputs. is it possible my inputs are bad on the board? this is 1st thing ive had hooked up to them so shouldnt be damaged by me.

Aren't A4 and A5 used for the i2c bus?
Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i didnt specify but im using a2 and a3 only. i may switch it over to digital side see if it works over there.

Also i have rev 3 of Arduino uno. if that info helps any.

« Last Edit: November 19, 2012, 10:05:31 am by dp28688 » Logged

0
Online Online
Shannon Member
****
Karma: 206
Posts: 12186
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
i cant even put a resistor in the input other end in the air with out display showing random numbers.

Indeed - that is what one should expect of a floating input, it will pick up the nearby signals because its extremely high impedance
(in fact approximately infinite impedance at lower frequencies).  Your resistor is acting as a capacitive probe to nearby wiring.

Connect the other end of the resistors to something sensible and the inputs will no longer float.
Logged

[ I won't respond to messages, use the forum please ]

Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
i cant even put a resistor in the input other end in the air with out display showing random numbers.

Indeed - that is what one should expect of a floating input, it will pick up the nearby signals because its extremely high impedance
(in fact approximately infinite impedance at lower frequencies).  Your resistor is acting as a capacitive probe to nearby wiring.

Connect the other end of the resistors to something sensible and the inputs will no longer float.

Ok i will try to connect the switch circuit.
I had it  Arduino A2->resistor->breadboard attached when i noticed issue then tried just resistor in air. i shoudl probably go ahead put resistor on breadboard then keep it away from arduino then.



Logged

0
Online Online
Shannon Member
****
Karma: 206
Posts: 12186
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you're not using an input, no need to look at it!
Logged

[ I won't respond to messages, use the forum please ]

Pages: [1]   Go Up
Jump to: