I am not sure this is possible, but perhaps someone has already tried to connect the NRF24 RF chip directly to the VESC?
Would it be possible to have a complete control of the VESC this way? I tried searching for the answer but all i find are Vedders nunchuck variants or arduino based NRF24 remote controllers.
My plan is to make my own slightly modded version of the arduino+NRF24 for the remote and aI have another NRF24 module I want to connect directly to the VESC as a receiver.
Thanks for the help in advance! im a real damn noob in electrical pixies
I believe he means to connect directly with the build in nrf on the vesc 6, seems like @solidgeek did try to find that information for the remote he is doing, even asking in the vedder forum without much success.
The issue in connecting the nRF24 module directly to the VESC is that it communicates over SPI (MOSI, MISO and SCK), and the VESC doesn’t support commands in that manner. You would have to rewrite / add some code to the VESC firmware to get rid of the “SPI to UART” part (Arduino).
You need a specific firmware on the vesc, I guess it should be available somewhere, but I definitely do not have the skills to write one, so I will just go the arduino translator way to get my stuff moving.
For anyone else out there that might still be looking for this.
Check this out:
looks like a simple code change (header define) to have the hardware SPI enabled.
Have not tested it myself but was exploring a bit (a lot) and found that, thought I’d share.
Hello! So did you manage to connect to the built-in nrf on the vesc ?
I want to send data to the vesc but failed to connect over nrf with a arduino+nrf to the vesc.
I plan on modiffing the firmware on the vesc but I wanted to at least receive alive packets on the arduino.
Does anyone know how to configure the arduino to receive alive packet?