Trasmiter went fine. With the receiver I get this error message:
I know that it’s not your software but since you worked on it maybe you know it. Thanks a lot.
C:\Users\Administrator\Downloads\nRF24-Esk8-Remote-development\receiver\receiver.ino: In function ‘void setup()’:
receiver:144: error: ‘SetSerialPort’ was not declared in this scope
SetSerialPort(&Serial);
^
Multiple libraries were found for “buffer.h”
Used: C:\Users\Administrator\Documents\Arduino\libraries\VescUartControl-master
Not used: C:\Users\Administrator\Documents\Arduino\libraries\VescUartControl-VESC6
Not used: C:\Users\Administrator\Documents\Arduino\libraries\VescUartControl-VESC6
Not used: C:\Users\Administrator\Documents\Arduino\libraries\VescUartControl-VESC6
Not used: C:\Users\Administrator\Documents\Arduino\libraries\VescUartControl-VESC6
exit status 1
‘SetSerialPort’ was not declared in this scope
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.
Oh this problem… I managed to resolve it by adjusting some of the code, you can see the way I declare the serial port in my code is different from solid geeks if I am not mistaken.
I got the tip from someone within solidgeeks remote thread.
I just want to report it back since I do not know if someone tried before but I used this antenna (https://www.aliexpress.com/item/CDEBYTE-2PCS-Lot-SPI-SMD-Module-E01-ML01S-2-4GHz-0dBm-110m-nRF24L01-Wireless-RF-transceiver/32803028476.html?spm=a2g0s.9042311.0.0.731b4c4dT34h7Y) on both receiver and transmitter. I can share that I rode for the past 2 days without any signal drop. I get a stable connection within 5 meters with obstacle and walls, probably outside is more but didn’t try it the max range. More than 5m it starts to becoming unstable. Not to bad for esK8. I am just wondering what for instance a nano-X is using since I can go in other rooms on the other side of the apartment and still have signal. Hope it helps!
@Zyb I finally got your PCB’s in the mail from JLC (I chose the cheap shipping…big mistake) and I’m looking at your ‘FinalSMD’ pcb and making sense of all the ins and outs before I begin soldering. I think I have everything identified except the ‘I/O’ ports in the corner. It’s been so long that I can’t recall where/what these connect to. Can you remind me what the I/O pads connect to?
@clistpdx its ok ask anything which is not clear because i kinda made it without making the circuit first i/o is simply where you connect your on/off switch. it is the universal on off sign you may see it around on some electrical devices. USB is for charging usb port mind the polarity. also be careful when soldering the battery cable because i shorted it for a second and board got ruined somehow. i should have made bat holes abit far away from each other just to be safe.
I didn’t have time to read the rest of this form from where I left off the other day but does anyone here want to make a little extra cash by making me one of these remotes…? Happy to compensate what your time and skills are worth. I am just not super handy with this stuff and am really buys with work so don’t have enough free time to try and learn. Would really appreciate more than you know. PM me or hit me back here.
Thanks so much in advance, really do appreciate anyone who can help me out! Ready with paypal payment ASAP! I live in SoCal if that makes any difference at all.
I currently use this, or the version which requires an external antenna. So far this has proven to be effective without having to resort to the weird copper tape shielding of the other modules.
One point to note about the chip with the external antenna… MAKE SURE THE ANTENNA DOESN’T FALL OFF! Also make sure you get the right kind of antenna (2.4GHz), there are other frequencies that might fit but will be the wrong antenna.
Doing so might fry the chip.
I would recommend sticking to the inbuilt antenna version for better piece of mind.
I am also using this VESC. Have you been able to get telemetry working? You are probably connecting to the correct pins. I used oscilloscope to read the same Tx and Rx pins while the receiver is connected, and was able to see the uart packets. However the receiver is probably not sending them out back to the remote. It seems that telemetry only work on VESC6, not 4.12
same here. going to build a new one with better nRF module and get a FOCBOX. Have you got your FOCBOX from enertion too?? I ordered mine in August and was told it will be shipped in November…
Oh I just realized, you probably mean the single FOCBOX… Mine was FOCBOX unity… It is still in production