I need to access a CAN Bus from my processing sketch. I have not found any processing library that can do it. I have tried it with java and I have not found anything either.
I have a star topology with different arduinos and a CAN hub. I connect a raspberry to the CAN hub and run my processing sketch on the Raspberry Pi.
To the CAN network I connect 2 raspberry Pi with screens and 3 Arduinos, although it would be possible to increase it to 4 or 5 Arduinos.
This would be my main idea, with the CAN proposition.
It would be open to other formulas, with certain restrictions:
- It has to be wired.
-I may need a long cable, about 4 or 5 meters. (Think in a car).
I thought of simply using usb connected to usb hub and this hub connected to a Raspberry pi, but it limits the access of a second or third Raspberry Pi to the data that arduinos offer.
Thank you for your answers!