Sensors are used in a variety of applications within FTC. Sensors can give external feedback regarding the position of the robot (for example, relative to the field wall or to a vision target) or internal feedback (velocity, distance traveled, voltage, etc.). Sensors can also be used to determine the rotation of a mechanism and detect color.
- Computer Vision
Logic Level Converter¶
The old Modern Robotics system run on 5v sensor logic. The new REV Robotics system uses 3.3v. For most off the shelf sensors, this doesn’t cause any problems, but for some existing FTC sensors it does. To solve this REV sells boards, called logic level converters, that convert the sensor data to be readable by the REV hubs. The REV Expansion Hub guide has a chart detailing what adapters are needed for what sensors.
According to REV testing, goBILDA, REV and TorqueNado motors don’t need logic level converters, but only some NeveRest motors worked with no discernable reason why.
It is ideal to not use logic level converters to simplify your wiring. If you need to, there is a best practice. Electrical tape the connectors on either end, this helps with static, and it keeps it from being physically disconnected. This does produce a very noticeable effect with encoders on fields with lots of static.
The second tip is to never tape over the middle or LED. The board generates a very small amount of heat, and it’s very easy to overheat if it can’t ventilate, also don’t fully enclose it in any cases without holes.