Hey guys,
im kind of new to the ESP32 topic. Right now I'm trying to get my ESP32 connected to the CAN BUS SHIELD i both bought a few days ago but it's not working out.
This is the ESP32 I'm using: https://www.reichelt.de/entwicklungsboa ... oup%20%231
This is the CAN BUS SHIELD I'm using: https://wiki.seeedstudio.com/CAN-BUS_Shield_V2.0/
Can anybody here help me with the correct PIN connection and the right libary and code to use to find out if the connection is working? Since the SHIELD is originally designed for an Arduino, I am kind of feeling lost on how to connect it properly. Also I couldnt really find a proper definition of the pins of the ESP32.
If anybody here could help me a bit with it I would be really happy.
Best regards
connect ESP32 to CAN BUS SHIELD
-
- Posts: 1724
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: connect ESP32 to CAN BUS SHIELD
That shield uses the MCP2515, which is a CAN controller. It may be easier to use the CAN ("TWAI") controller inside the ESP32 with only an external CAN transceiver like the TJA1051.
Unlike Atmel's AVRs, most of the functions of the ESP32 aren't hard-wired to specific pins but can be configured at runtime to use any (/most) pins you want.
Who is online
Users browsing this forum: Bing [Bot], nullbert and 93 guests