Hello all,

I have got wireless telemetry working with the board but now I can't determine if I sensors are gathering data on the board. I have loaded the code that lets you view your x and y readings from my fma xy sensor but I am not getting any favorable results.

Currently when I look at the serial output running the program I get "1022 1023" on every line (I dropped the z read from the test code). It doesn't vary no matter how much I change the orientation of the sensor.

Readings are suppose to be from 300 to 700 so obviously this isn't correct. Is there any other simple test code I can use to see if the data is being collected from the board correctly for another sensor? Thanks in advance.

Views: 7

Reply to This

Replies to This Discussion

Just modify that code to read whatever pin you've got the sensor on.

How are you attaching the XY sensor? Using our shield and cable?
I am using your cable and shield.

I have been looking through the code and I am working on modifying some parts to fit what I need. Great work programing it by the way.

I don't think anything I do in the code is going to modify the data i'm getting from the FMA xy sensor which will mean that the sensor may be busted. Unless you know of any other reasons the sensor would constantly output this value.
Did you take the film covers off the lenses?
Is the covering pink and is there a safe way to peel them off without damaging the sensor?
Yes, it's pink. Just peel them off with your fingernail.
Even after removing the film I am still seeing the same numbers. I am testing in the lab so I'm not outdoors with my UAV. I noticed there is a calibration function in the code provided. Could this be useful for determining the problem? Thanks in advance.
I purchased the newer xy&z sensors from the store recently and I am still getting the same behaivor. There is no pink film on the lens this time and I don't see how the new ones could have been damaged as well.

Everything else I have purchased from the store has been great so I'm kinda perplexed as to why these are not working correctly. Any ideas? Thanks.
Run this code to be sure it's not something else causing it.
Such high numbers means you've got a something connected wrong. If everything were disconnected you should see about 511.
Jason
Attachments:
You've definitely got something connected wrong. Check the shield soldering?
Good news. I double checked on the continuity of all the lines and noticed it was breaking on the power line. The Power pin on the shield was not completely soldered. I redid it and it is outputting the expected values.

Thanks for all the help!!

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service