Noisy sensor on a prototyping board

accelerometermicrocontrollernoise

I made a small prototyping board where accelerometer data is read into a microprocessor, showing the data from the accelerometer after it is sampled, gives a very noisy signal. (50 mv peaks)

I had a similar problem before on a breadboard and switched to another breadboard/layout to resolve this but sadly didn't think any more of it. I think the problem is do to interference from the 5v power regulator or bluetooth module, however when using a oscilloscope I can't find the noisy signal anywhere on the board!

I would be greatly interested in any information which could lead me to find to source of the noise or solve it.

Edit1: The noise increases when the bluetooth module is sending data. So its almost certainly crosstalk or interference through gnd/vcc, any way to resolve this without resoldering?

Edit2: board layout http://imgur.com/bNLDdlz

Best Answer

The problem was a combination of an almost empty battery and a bad board layout. The ground of the Bluetooth module went to the the battery via the microprocessor which uses 20 times the current. Rerouting this line (and vcc) away from the microprocessor straight to the power regulator removed a lot of noise, further replacing the battery made it work great wireless.

However when using the 5V USB as source (connected to the microprocessor) there was still a lot of noise, this was solved by temporarily attaching a capacitor (~1000 uF) over the Bluetooth's vcc and gnd.