Log in

View Full Version : All FRC sensors


Morenoh149
12-05-2005, 20:28
Sorry if a similar thread has been posted before but I need to find out what to do this summer.

I was wondering What were ALL the sensors allowed in this 2005 FRC game?

And any whitepapers on using them or websites with example code.

How compatable are they with the EDU RC?

Thanks =)

Goldeye
12-05-2005, 22:04
The robot rules allow you to use any electronics component that costs less than $200 off the shelf. Therefore, I'm sure you can find all kinds of sensors that can legally be used. The common ones used include: The camera (:O), potentiometers, accelerometers, gyros, wheel encoders (optical and magnetic/gear tooth counters.) I've also heard of magnetic proximity sensors.

Almost all sensors (excluding the camera and any other TTL/Serial port device) are compatible with the EDU-RC. In general, if it runs on PWM, it'll work on either.
Both the FRC and EDU-RC use the same processor, and very similar code. With some minor adjustments for how you refer to the pins you're using, code for sensors can easily be transitioned between the two.

When you have a specific type of sensor in mind, you should search the white papers and forums, and ask any questions you have here. There is a lot of code for accelerometers, gyros, and encoders, as well as tutorial code for using interrupts, and for using the serial port to communicate, at Kevin Watson's site, http://kevin.org/frc.