Getting 5V for MCP2515
Posted: Fri Nov 03, 2023 10:02 pm
When I'm using an ESP32 devkit plugged into USB, I get 5V to power an MCP2515 SPI CAN bus shield.
However, in "production" I will be using an ESP32 board running from a 12V CAN bus, so I only have 12V and 3.3V. What's the simplest way to get the 5V necessary for the MCP2515 (which will not work at 3.3V)? There are power pads on the board for 12V.
Something like this or are there more efficient options?
https://www.amazon.com/12v-5v-Converter ... B08PP6LMM1
Or is this sufficient since the module draws 5mA?
https://www.amazon.com/Todiys-Three-Ter ... B08B5T438M
However, in "production" I will be using an ESP32 board running from a 12V CAN bus, so I only have 12V and 3.3V. What's the simplest way to get the 5V necessary for the MCP2515 (which will not work at 3.3V)? There are power pads on the board for 12V.
Something like this or are there more efficient options?
https://www.amazon.com/12v-5v-Converter ... B08PP6LMM1
Or is this sufficient since the module draws 5mA?
https://www.amazon.com/Todiys-Three-Ter ... B08B5T438M