ESP32-CAN-X2 Power input and Platformio

General discussion on Autosport Labs, the mission, website, content, etc.

Moderators: JeffC, rdoherty, stieg, brentp

Post Reply
epitrochoid
Posts: 2
Joined: Thu Sep 26, 2024 12:35 pm

ESP32-CAN-X2 Power input and Platformio

Post by epitrochoid »

Hi,
New here, really excited to get started with the new ESP32 CAN X2 board.

Question on power input - I want to sniff a CAN interface from another device and I understand the best / safest way for that to happen is to be on the same power supply (or at least ground reference) as that device, so I am planning to power the ESP32 board with the 12V output from the other logger. But I want to see the early / first configuration message that comes out so I want the ESP32 board to be up and running before the other unit is, so my question is can the power input on the ESP32 board be started up on the USBC input, and when the 12V appears on the AUX-in will that supersede the 5V? (Is there a diode input protection etc to allow for different power sources like this)

And secondly, on setting up the board in platformio for ESP32-arduino framework I can't find a board setup that is right for the full N8R8 flash memory setup, is there a configuration file available for platformio that will allow for the full capability of the module to be used?

Thanks!

Ali

epitrochoid
Posts: 2
Joined: Thu Sep 26, 2024 12:35 pm

Re: ESP32-CAN-X2 Power input and Platformio

Post by epitrochoid »

Scratch the question the platformio config file, I found a link to someone that's pre-built a file for that module with PSRAM enabled etc.

https://github.com/sivar2311/platformio ... ain/boards

Question stands on the power input, but I can just wire them separately off the same power supply. It's a bit janky.

Post Reply