Quote:
Originally Posted by timytamy
Are the unpredictable results consistent with:
Our software team had similar spikes, and think that it is due to noise on the analogue signal.
Could those of you who used the Maxbotics sensors successfully provide some more info on how you did so? Which signal did you use (analogue/PWM/UART)? If you did anything non-trivial in reading the input (such as filtering), could you also provide some sample code?
We are also at a loss on how to read in the PWM signal (to get over the analogue noise above) directly into the cRIO (and probably roboRIO), if anyone has experience with reading in PWM signals it would be great to hear.
|
We used a Maxbotix ultrasonic sensor this year. We wired it directly to our cRIO's analog breakout and it worked well for detecting how far away the goals were. What language are you programming in and how many other devices are plugged into your analog breakout?