Accerometer Problems

we’re having problems hooking up the accelorometer and getting it to return an actual value. We only have the y axis row hooked up to the analog module through a PWM cable, so we’re thinking that the fact that we don’t the x and z axis hooked up maybe hindering us. In summation: how, specifically, should the accelorometer be wired to the Crio?

the x, y, and z axes should be independent so this is likely not your problem. but, it is possible that maybe you did a bad soldering job or something. If you hook all three up and two work and one does not then you know where to look for the problem. If you hook all three up and none works then you are probably wiring it up backwards or not using the correct code to read it.

(from the same team)

That was our main worry. We’ll try hooking up the other 2 axes and see if we have any more success. They aren’t backwards, and they are being read (we’re just getting impossible numbers, constant scrolling between -2.6 and -2.7 if I remember correctly).

Thanks.

We had a similar problem with ours. I believe it was a software issue. Unfortunitly I cant remember what I had to do to fix it.

You can verify the accelerometer is working by using a voltmeter. With the accelerometer hooked up, measure the voltage between the signal pin and ground. Be careful not to short anything out. If you measure something around 1.5V (+/-0.3V) then it is working.

Hope that helps.
Jeff

When you opened the accelorometer, did you add scaling? The lack of scaling, or scaling thats off may throw your readings.