@Nordle Yes you can use the trigger as reverse mode, however you would have to make a few software changes. There are two ways I can see this implemented, both require the UART connection.
The Nunchuck mod from Vedder, used the top button to switch direction and the lower to cruise. I use this to enable cruise control with the remote, however I never implemented reverse. This could be done by setting the valLowerButton to true I think. This method uses UART only.
Change the settings over UART. The VESC got a configuration called āInvert motor directionā if this could be changed by a UART package the motor direction could be changed on the fly. However has to be tested.
I am planning to add this in the future, however I am currently spending my time on a related project
I donāt have the code in front of me now, but I recall that in the transmitter.ino thereās a section which takes the hall reading and converts them to a 1-100 scale, or something along those lines (since the hall sensor returns values roughly in the range of 200-1100). It is in this section that you could adjust the math to suit your needs, i.e. to cap how high the number can go. But maybe that would just be easier to do in the VESC Tool when you configure the remote?
I donāt need to limit its range, just the speed that it can increase by. So if I hold the thumb wheel down full throttle, the board will gradually accelerate.
I would agree with you. Having played with mine a bit I can tell you with an aggressive throttle curve you can really make the acceleration gradual. Top end still gets pretty crazy thoā¦
I got it working by adjusting the math slightly in the code (see post #1399), then of course changing the āKMā text to āMPHā in the code wherever it was referenced. I think itās accurate:
Anyone in the states have an extra nano v3 they wouldnāt mind parting with? Iām pretty sure Iāve botched the receiver nano - Iāve gone through about every troubleshooting exercise I could find, it errors out in spite of my efforts. Ordered a few on aliexpress, but I could be dead by the time those arrive #dramatic
Iād also be happy to trade one back once the shipment comes in. Eh? Eh?
Hi Guys! I build my first remote an I am happy so farā¦ made some modifications to it like a bigger screen, ball bearings instead of the plastic glides, extra button and a little vibration motorā¦ At the moment I use just the basic code from the development branch, and PPM works great, BUT I cannot get any data from the VESC. Every value shows just 0.
I just wired up to RX/TX to vesc. UART worked before, because there was an HM10 connected. Baudrate is set to 115200. Do I have to do something else??
yes I didnāt. I used an HM10 before on the same cablesā¦ worked without any issues.
Do I have to use the ground or +5V from the UART Port from the VESC? One Ground from my Ardunio is connected to - of the VESC (where normally the recover is powered) and the other ground goes to the NRF42.
Is there any chance to debug the connection? I really donāt know how to solve this issue. I just get no data from the VESC.