Electronic – arduino – How to reduce noise from an analog signal from an Arduino

analogarduino

I am trying to read an analog signal from an Arduino board through LabVIEW.

The sensor is an infrared phototransistor, which I have connected in reverse bias (20k resistor) to an Arduino pro mini analog input. The power and ground for the sensor are taken from the Arduino. The Arduino is then connected through an FTDI breakout board to a COM port, which I am reading through LabVIEW. I am able to view the signal on a waveform chart, but it is incredibly noisy. Instead of a single line of data proportional to the light received by the sensor, it looks like the chart is "colored in" completely underneath the signal.

Previously, I read the sensor data directly from a DAQ card without any additional circuitry and got a great signal. Do I need to add something, like a capacitor, externally to remove this noise? I am a mechanical engineering student, so I'm learning as I go with the electrical side.

Best Answer

Does your arduino use the +5V provided by the USB as power and as reference for the A/D? IME it is very unstable, varying for instance between 4.5V and 5.5V. You could try to use a wall-wart + 7805 instead.