Hi guys,
I am completely new to esp32 and wants to make an esp32 device that transmits a single can message every 200ms.
I have found thomas barth's thread about the can driver and most information but i am not sure how to actually write the code and load the driver etc. is anyone able to help me get this project to life?
http://www.barth-dev.de/can-driver-esp32/
Can you guys explain if i can write this code in Arduino IDE and load it to the esp32 from there?
In that case. Where should i write the driver and load the code?
Hope someone is able to help a newbee..
esp32 canbus transmitter
Re: esp32 canbus transmitter
Here's a third party CAN driver for the ESP32 in Arudino. However, the driver only supports basic features (e.g. sending, receiving , filtering) and won't support features such as bus-off recovery and error detection/handling.
If you're looking for something with more features, you can take a look at the ESP-IDF CAN Driver or Thomas Barth's Driver. But bear in mind that both these drivers were written for ESP-IDF and will therefore require a bit of work to port them over to Arduino.
If you're looking for something with more features, you can take a look at the ESP-IDF CAN Driver or Thomas Barth's Driver. But bear in mind that both these drivers were written for ESP-IDF and will therefore require a bit of work to port them over to Arduino.
Who is online
Users browsing this forum: No registered users and 66 guests