Forums > Gear

maxuino – problem with bouncing analog input

March 28, 2012 | 9:57 pm

hi! i have a problem with simple patch, with even more simple schematics. it is voltage divider, and i cant get rid of bouncing values from analog input. i don't want to smooth it by software, because of my need to get data with good accuracy.

anyway, finally i want to make something like galvanic skin response reader, but for a group of people connected in series, to sense number of them. do you know any better way, to do this other than using voltage divider?

[attachment=189690,3607] [attachment=189690,3608]

Attachments:
  1. shit.jpg


dtr
March 29, 2012 | 7:42 am

what kind of power supply are you using with the arduino? i had noise trouble because of a switching power supply. it’s better to get a regular one.

you’re problem might be something else though. the regularity in the oscillation is odd.


March 29, 2012 | 9:10 am

There are debouncing chips like this:

http://uk.farnell.com/on-semiconductor/mc14490pg/ic-4000-cmos-4490-dip16-15v/dp/9664947?whydiditmatch=rel_3&matchedProduct=386595

But I’m not sure that is going to help you here.


March 29, 2012 | 1:03 pm

thanks for answers.
dtr:
I have just tried with external power source – 9v batery, but nothing has changed. maybe the problem is in shared ground with usb interface?
Luke Woodbury:
good idea to use external ic, but unfortunately this chip is for hex operations, so it works only with binary numbers..


March 29, 2012 | 10:22 pm

How about using a capacitor ?

Check this article : http://www.thebox.myzen.co.uk/Tutorial/De-coupling.html


March 31, 2012 | 3:47 pm

i found that capasitor, works like slide object, and it doesnt works for my situation. i need accurate readings…


July 23, 2012 | 10:26 pm

Cwiek:
"but unfortunately this chip is for hex operations, so it works only with binary numbers.. "

A hex contact debouncer means there a 6 contact debouncers in 1 IC package.
It has nothing to do with binary numbers.
In other words, you could use it to debounce the contacts of 6 switches or 6 relays.

Your issue has nothing to do with debouncing. I haven’t seen you mention any switches or contacts opening/closing.

Where is the signal coming from that you are looking at with an analog input?

I would try isolating that using an optoisolator..

You have power supply noise (aka ripple) or some kind of ground loop.

If you can avoid using the USB connection, try doing that.
Many PCs (even big name brands) use the cheapest, crappiest power supplies on the planet.

I recently measured 150mv p-p of noise coming from a brand new Acer computer.

A small capacitor between power & ground may help.


July 24, 2012 | 12:50 am

finally i have used ADuM4160 + external 9v bat, and it works super great! thanks for help :)
adam


Viewing 8 posts - 1 through 8 (of 8 total)