Thanks for sharing, I made a variant that fits a 4 Pin PH2.0 connector. This way it can be powered with 5V over the can connector.
Only connect power either over usb or from VESC, not from both sides at the same time!
If you need both connections, cut the 5V from VESC.
If you order the esp32, be aware that there are some faulty boards sold, I just got a bunch and wondered why my second adapter did not work correctly (lost connection all the time).
The left one is a working one, the one on the right has the oscillator too close to the antenna.
For more information see here: Some stores are selling broken ESP32-C3 Super Mini's - RoryHay.es
I had to bend the pins of the 90degrees ph2.0 so the connector can be moved to be in front of the PCB. The GND and 5V (pin 1 and 4) go through the fixing holes of the serial to can board. Hot glue also helps to keep things in place…
Got some new ones, these do work: US $1.68 | 1/5PCS ESP32-C3 Super Mini Development Board ESP32-C3 Module Mini Wifi BT Bluetooth Module RISC-V 32-Bit Single-Core Processor https://a.aliexpress.com/_ExaypJW
I wish I saw this earlier. The ones I just got in the mail have the oscillator/antenna issue. Soldered one up anyway and yeah, the connectivity is ass.
Hello,
I am quite surprised.
You are using a 5V CAN transceiver (TJA1050) in direct connection with an ESP32C3.
However, according to the datasheet, the ESP32C3 inputs are not 5V tolerant (at all). As stated in the TJA1050 AN00020 document chapter 3.4, the RXD output pin is push pull based (to 5V) and there is even a pull up resistor to 5V on the TXD input.
For a reliable system, you are better of using a 3.3V transceiver (from TI) or one with a VIO pin (mcp2562).
Thanks for the heads up…! I picked the TJA1050 board because it was small, cheap and had a good form to fit on the back. Totally oversaw, that it has a 5V logic level. It’s strange that it worked like this until now and nobody noticed… However, I also had certain issues, which might be related to this.
I’ll change the design from the typical TJA1050 (1122mm) this SN65HVD230 (1416mm).