Hello friends. I need to perform a CANH and CANL port reading through my vehicle's OBDII connector. I found several materials with various types of projects, however, none of them used the ESP 32 and the tests were made between other boards. Can someone help me?
I'm using a:
ESP-WROOM 32 : https://produto.mercadolivre.com.br/MLB ... trnica-_JM
MCP2515_CAN: https://produto.mercadolivre.com.br/MLB ... quantity=4
CAN-BUS port reading with ESP32 and MCP2515_CAN module
-
- Posts: 1
- Joined: Mon Nov 01, 2021 6:59 pm
Re: CAN-BUS port reading with ESP32 and MCP2515_CAN module
Hello
You can use Sn65hvd230 chip to reading can buz data.
https://a.aliexpress.com/_va5ga2
I bought this İrem last year and it worked.
You can use Sn65hvd230 chip to reading can buz data.
https://a.aliexpress.com/_va5ga2
I bought this İrem last year and it worked.
Re: CAN-BUS port reading with ESP32 and MCP2515_CAN module
You dont need to use an MCP2515. Just use the ESP32's internal native SJA1000 CAN controller. Much easier to use the ESP32's internal CAN peripheral, unless you need to connect to multiple CAN busses at once (in that case you'll need to use the MCP2515).
Search "TWAI" (two-wire-automotive-interface).
Remember you'll still need a CAN transceiver chip though regardless. Be sure to use a transceiver that is compatible with 3v3 logic level, otherwise you'll burn up the ESP32's GPIO's...
Search "TWAI" (two-wire-automotive-interface).
Remember you'll still need a CAN transceiver chip though regardless. Be sure to use a transceiver that is compatible with 3v3 logic level, otherwise you'll burn up the ESP32's GPIO's...
Who is online
Users browsing this forum: No registered users and 228 guests