Hi,
I am trying get raw output from a CAN type sensor (MR72 CAN radar). I tried USBCAN converter given by the company but it is showing the data in their software tool in a visual format only. I tried some CAN test tools but had no luck with them and couldn't even figure out some tools. I was suggested to use the ESP32 CAN bus as a receiver to get the raw output. I have a ESP32-WROVER-IE module from my other project, I tried connecting the CAN-H and L pins to GPIO4 and GPIO5 and provided the 12v stable power supply required by the sensor. I used the example for CAN receiver available in Arduino IDE but didn't get any response.
Can anyone help me to figure this out either by suggesting some CAN test tool with how to get this data or by helping to get the output through ESP32
The Sensor has only 4 wires, Vcc, GND, CAN-H, CAN-L. here's a reference link: http://en.nanoradar.cn/Article/detail/id/488.html
ESP32-WROVER-IE CAN sensor usage
-
- Posts: 1725
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: ESP32-WROVER-IE CAN sensor usage
That's not how it works. You need an external CAN transceiver chip to which you connect CAN-L and CAN-H, then you connect the transceiver's CAN-RX and CAN-TX to the ESP.Rusty_technician wrote: ↑Fri Sep 06, 2024 1:12 pmI tried connecting the CAN-H and L pins to GPIO4 and GPIO5
See e.g. https://www.iotsharing.com/2017/09/how- ... e.html?m=1
Who is online
Users browsing this forum: pmi2410 and 174 guests