Made this very cheap and easy DIY adapter to connect to the VESC via CAN and USB-C. It features a ESP32-C3 (supermini) with TJA1050 and runs VESC-Express firmware. Its basically the VESC-Express, but without the GPS-module, populated header pins and micro-SD.
In some cases CAN is easier/faster than the common methods for programming VESCs. And yes it adds Bluetooth and WiFi. With VESC-Express from Trampa you can even add GPS and Datalogging.
What are the uses for the WiFi connection with your device?
Actually maybe it would be helpful to folks if you could describe the features/uses of this device in general? I feel like an idiot but I dont really understand.
Sure I’ll elaborate a little bit. Wirelessly tuning your VESC via VESC Tool App. Changing parameters and verifying these changes or troubleshooting issues, by tracking data. For more info please read the description of the VESC Express: VESC EXPRESS It’s designed for this purpose…
However, my approach is for builders that want to get started with hardware, that’s available online for cheap. For example if you want to build a custom display, remote or any VESC-accessory, this is the development platform to get started. Instead of the supermini, you can also use the ESP32-C3-DevKitM-1, whose pins are better accessable of you want to connect stuff to it. The advantage of the supermini, I use in this build, is it’s small formfactor. Easier for integration in projects, but a little bit more tricky to solder
Nah ESPs don’t speak CAN. It’s a 5V differential signal that needs to output mirrored signals around a 2.5V neutral point. Even if you had a 5V supply on the micro you’d need something approaching a DAC to output intermediate values like 2.5, so the extra board is a CAN transceiver that can generate the voltages and do the conversion in hardware
The VESC Express supports all sorts of OLED displays, see: https://github.com/vedderb/vesc_express/tree/main/main/display Just pick a supported one and start coding in Lisp The GPS module is a Beitian BN-280, which is connected over UART.
To connect a SD-Card simply buy one like this Waveshare 3947:
Via USB-C? Alternatively from the VESC, like the VESC-Express does, but you’d need to cut the powerline coming from USB-port to avoid ground loops, if you gonna want to use it simultaneously.