Hi!
I'm trying to interface with my Vesc 4.12 using the NRF app. It's awesome that benjamin implemented the communication protocol for the NRF chip as well as UART and USB.
I have connected a nRF24l01 to my Arduino pro mini and are now trying to receive the keep alive packets from the VESC - however i'm not receiving anything. I tested the Arduino up against another Arduino with nRF chip, so I have confirmed that wireless com is working. I have checked the connection between VESC and nRF chip with a scope and it "seams" like the VECS is pounding the Nrf chip with data. So I'm assuming that the keep alive packets are sent.
I'm guessing that my problem is the pipe addresses as the VESC uses only 3 bytes for addressing, however it's very difficult for me to debug as the nRF chip does not have a sniffing mode where it lets all packets in regardless of adresses.
So my question... Does someone here have working Arduino code that used the NRF implementation of the command protocol? Not Arduino -> NRF -> NRF -> Arduino -> UART or the Nunchuck emulation...
Thank you in advance!
/Jan Thogersen
Arduino nRF24 example
-
- Posts: 2
- Joined: 02 Sep 2017, 21:34 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
-
- Posts: 2
- Joined: 02 Sep 2017, 21:34 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
Re: Arduino nRF24 example
Sorry! I'm an idiot!
Apparently it makes a huge difference wether or not there is a typo in the channel. 76 != 79.
I now get keep alive packets.
/Jan
Apparently it makes a huge difference wether or not there is a typo in the channel. 76 != 79.
I now get keep alive packets.
/Jan
-
- Posts: 2
- Joined: 02 Jul 2018, 14:42 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
Re: Arduino nRF24 example
Hi!
I am trying to do the same thing : connect the vesc to an arduino with the built-in nrf.
But I can't even receive the keep alive message.
Do you mind sharing your arduino code or the configuration for the arduino nrf and vesc ?
Thanks!!
M
I am trying to do the same thing : connect the vesc to an arduino with the built-in nrf.
But I can't even receive the keep alive message.
Do you mind sharing your arduino code or the configuration for the arduino nrf and vesc ?
Thanks!!
M
Who is online
Users browsing this forum: No registered users and 2 guests