Hi my team is currently working on designs for a new driver station. We would like the ability to trigger LEDs (or even update analog gauges using stepper motors) by Controlling an Arduino Or Cypress board attached to the driver station. We will already be using these boards for custom control interfaces, but it would really be next level if we could give our driver instant feedback on the driver station without having to read it off a monitor. So does anyone know if this is possible? If so can anyone point me in the direction any info on how/where to write code to control digital/analog outputs connected to the driver station based on sensors attached to the Rio? Thanks for your time!
Hello,
I have been working on this. I did get it working. Take a look at this thread over here.
I go into a bit of detail in my reply. Good luck.
Another option would be to not use HID, but instead interface to the board with serial-port-over-USB. Then you could write a simple NetworkTables program that you run on the desktop that reads NT values and talks to the board. This would be fairly easy to write in Python (using pynetworktables), and your robot program would just set the appropriate NT values.
That would be easier as the other end of using the cypress board gets quite complicated if you do not want to use one of the standard pin layouts.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.