I am coaching our Robotics team, and we are participating in the VEX SpinUp competition:
https://content.vexrobotics.com/docs/2022-2023/vrc-spin-up/VRC-SpinUp-GameManual2.3.pdf
In order for the robot to be able to identify red or blue color on a specific area of the "roller," we hope to use the Color Sensor TCS230 TCS3200. The robot's motors will be controlled through the VEX Hub: we do NOT plan to control the motors with a program from an Arduino.
We need to solve this one of two ways:
a) Program the main Hub to take information from the Color Sensor directly, if that is possible;
b) Program an Arduino using code such as what is given here:
And then, interface the Arduino to the VEX Hub with a signal that indicates whether the color is red or blue, so that the main program will have the robot rotate the wheel accordingly. This process would need to continue until the desired color is obtained in the required area.
So my question is, has anyone had an Arduino output to a VEX Hub? Is there some sort of interface or simplified solution available for this? I'm still pretty brand new to the VEX ecosystem.
Thanks!