Hello everyone,
i am working on a project were i be using number of sensors with inbuilt CAN that needs to be interfaced with arduino for giving warning with led and buzzer along with the ECU in vehicle. i have shortlisted few arduinos for this project but i am unable to get the clarity .
one is Arduino due(that needs a transceiver and currently not supported by arduino APIS), then i came across CANBED that have inbuilt CAN controller, transceiver and microcontroller. being completely new to CAN i am finding it difficult to decide which one should i consider as there are very limited resources available for CANBED and will it be be enough for my project?
one more doubt in CANBED specification its J-2234 but currently its j-1939. so will that be an issue?
maybe i need lot more clarity on CAN so if you can suggest some resources and answer my doubt that will be really helpful.
thankyou!
the ESP32 has a onboard Two-Wire Automotive Interface (TWAI) which just requires a High-Speed CAN Transceiver to interface to a Canbus network
the ESP32-TWAI-CAN library is supported by the Arduino IDE
thankyou, this is one of the options i have considered but i want to keep it compact so i was considering CANBED. as i have mentioned the sensor i am using have inbuilt CAN that will transmit the data to arduino. so will CANBED suffix for that? and how can i read that CAN message on Arduino? if you can enlighten a bit on that. that will really be helpful.
Both the Wifi and Minima versions have this feature. I am also just beginning to learn about CAN and I think is a pretty slick addition to the Uno R4, or at least seems to be from my limited understanding. Maybe this is what you're after?
https://docs.arduino.cc/tutorials/uno-r4-minima/can/
similar to the ESP32 the CAN controller is embedded in the UNO R4 Minima's microcontroller - it also requires an external transceiver to interface to the Canbus network
the ESP32 has the advantage of builtin WiFi, Bluetooth Classic and BLE and lower cost