Pages: 1 [2]   Go Down
Author Topic: [SOLVED]: Analog values through multiplexer are very inconsistent!  (Read 1547 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What value of capacitor? Make it smaller.

I did but the readings became less consistent.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
hmm according to the tutorial in bildr its not neccessary,
No you misread that.

hmmm i did indeed, will throw myself from the balcony later cos this was indeed the problem (3 days i was banging my head over this grrr).

Guess the output pins always give something so there random channels on the mux where selected?
Logged

Brunsbüttel, SH, F.Rep.GERM
Offline Offline
God Member
*****
Karma: 4
Posts: 596
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
this was indeed the problem
good to read that...

Quote
Guess the output pins always give something so there random channels on the mux where selected?
the wires between the arduino and the MUX pick up some voltage, so that they swing between 0 and 1...

i wouldnt use a cap on the MUX output... together with the resistance of the MUX path... it works like a low pass... do u need to suppress any noise on the output of ur sensor?

btw: it is normal to miss a little detail sometimes...  smiley-wink
« Last Edit: June 18, 2012, 03:59:03 am by RIDDICK » Logged

-Arne

Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
nut i'll give it try!
yup - give it a try...  *wag tail* smiley-wink

shame on me, shame on me.......

thanks for all the efforts!
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 514
Posts: 31536
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Guess the output pins always give something so there random channels on the mux where selected?

No what it was that those pins were defined as inputs. Then your attempts to drive them high and low simply had the effect of switching on and off the weak 30K pull up resistor on and off. So the pins went between just a logic one and floating. This is enough of an effect to see something happening but just not the right thing.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i wouldnt use a cap on the MUX output... together with the resistance of the MUX path... it works like a low pass... do u need to suppress any noise on the output of ur sensor?

removed the cap indeed, i thought there was a lot of noise but there wasnt actually.
Logged

Pages: 1 [2]   Go Up
Jump to: