You are here

VESC6 / NRF Nunchuk

8 posts / 0 new
Last post
okp
okp's picture
Offline
Last seen: 4 months 6 days ago
VESC Original
Joined: 2017-05-24 12:17
Posts: 22
VESC6 / NRF Nunchuk

Hey Ben,

You remember the good old days ? 

https://www.youtube.com/watch?v=CoG-N0z3H5w&t=41s

I'm wondering if I can get this up and running with the latest NRF PCB I found on oshpark and VESC6. Is this working well / safe?

https://oshpark.com/shared_projects/GKeNqY7y

Thanks!

boards
Offline
Last seen: 3 months 2 weeks ago
VESC FreeVESC Original
Joined: 2017-05-24 12:13
Posts: 5

It works great, even with external nrf chip. Though there's a bug where you have to write app config every boot up in order for the external nrf to init. 

 

I have never had a cut out even with shitty clone nrf chips. 

okp
okp's picture
Offline
Last seen: 4 months 6 days ago
VESC Original
Joined: 2017-05-24 12:17
Posts: 22

dope ! this you use this version? can you share the build / connection with photos?

okp
okp's picture
Offline
Last seen: 4 months 6 days ago
VESC Original
Joined: 2017-05-24 12:17
Posts: 22

OK, I'm gonna build one !

Oyta
Offline
Last seen: 4 years 8 months ago
VESC Original
Joined: 2017-05-24 12:30
Posts: 19

So how to build an NRF remote? If the VESC 6 was labelled "with NRF" I guess it is ready on the board side. On the remote side however I am not sure. Will it work with the Nunchuck FW? https://github.com/vedderb/nunchuk_mod

benjamin
Offline
Last seen: 1 week 2 days ago
VESC FreeVESC OriginalVESC Platinum
Joined: 2016-12-26 15:20
Posts: 490
The nunchuk firmware on github should work, it is what I have been using.
Oyta
Offline
Last seen: 4 years 8 months ago
VESC Original
Joined: 2017-05-24 12:30
Posts: 19

Thanks Benjamin. Are there any documentation of the communication protocol used? It is a bit hard to interpret the Nunchuk software for me.

Boesila
Offline
Last seen: 3 years 7 hours ago
VESC Original
Joined: 2017-05-24 12:24
Posts: 18

Hey guys, maybe someone could help me with my NRF build. 

I soldered everything like it is described here: https://github.com/vedderb/nunchuk_rf_hw

Than I uploaded the firmware which I got from this German ek8-forum, THX to Barney: http://www.elektro-skateboard.de/forum/eigenbauten-95/nunchuk-rf-5092-33...

It is a .hex file which could be uploaded in windows (I don't have Linux) via cmd: stm32flash.exe -w nunchuck_rf.hex -v -g 0x0 COM3 

Auto pairing with my VESC6 works instantly  :-)  But when I push the joystick forwards or backwards nothing happens. If I push it to the right the motors accelerating and left is the break.... wired behavior, or? It's like the y and x axis are transposed. 

Barney gave me another .hex file where he tried to modified the code (change X and Y axis), but this wasn't successful... nothing changed. You can find the .hex file here: http://www.elektro-skateboard.de/forum/eigenbauten-95/nunchuk-rf-5092-34...

 

What else can I do? Does someone also has such an .hex file which works with the VESC6 ?

 

THX for any advice :-)