I would like to get advice about CAN bus communication with an Android tablet.
I am working into an electrical vehicle project with a colleague. We have CAN bus communication between BMS, inverter, and control logics. And I need to get data, like the speed to the cluster. The cluster will be an Android tablet. I have an Arduino shield for CAN and Bluetooth adapter to send data to the tablet. I am fairly new to Android.
- What should I start looking for?
- Would these OBD-II codes work, because I need to send data too.
- In your opinion, should I decode on the Arduino or pass CAN data to Android and deal with it there? The data is COB ID/No. of bytes/ DATA. (601/ 8/ 22 98 60 00 22 00 00 00) And I am wondering were to deal with it. If for example the first two bytes are lights, the second are speed and so on. Or should I just split them by delimiter ' ' and the byte to int?
- I am able to send data to the CAN bus from Android. I have CAN analyzer, and the controller accepts it.