Is there a Can bus to io board available on the market? Something with GPIO and those kind of outputs and inputs
this sort of thing does exist, for example this item
can be thought of as an Arduino shield with canbus and a few I/O ports. the Arduino code is simple and open source
so you could certainly adapt it to the FRC CAN standard. i think this would be a cool project!
I’ve been working on something for use outside of FRC that does this. Using an ESP32 Devkit C V4, a TJA 1050 transceiver, and a 1/3 voltage divider. I can successfully send messages between two boards:
Wiring:
Code: Github
Real-life photos:
That’s exactly what I’m thinking about. I think we will buy the materials and try doing something like this ourselves, Do you know if this CAN board will work to communicate between the Rio and Arduino?
This is the board that I am searching about
https://a.aliexpress.com/_oCstrXt
If using a board without a can controller built in (like an Arduino), you need a combined controller-tranciever board like an MCP2515 board.
A lot of boards like that have a termination resistor soldered on. You might have to remove it with a soldering iron (once you figure out which one it is by looking at the traces), if you want to integrate it into a regular robot can network.
Also yeah, you’ll need an MCP2515 or similar if you’re using an actual Arduino.