Hi everyone. I am trying to build a RC rover (tank chassis) with LoRa transmission.
The remote consist of two PS3 joysticks, where the left stick is going to control the LH track FWD/backwards and the right stick controls the right tracks FWD/backward motion.
I recently have built a rover with NRF24s , and to split the channels for the control i created a map for the sticks
a = map(a, 0, 1023, 0, 999) ; //CHANNEL 1 - LH STICK MOVEMENT UP/DOWN
b = map(b, 0, 1023, 1000, 1999) ; //CHANNEL 2 - RH STICK MOVEMENT UP/DOWN
i would then map 0-999/ 1000-1999 on the receiver side to match output.
However, i have NO idea how i can get this done using LoRa.
I am able to do this with one stick and dim a led diode, but that is it.
Could anyone help me with info on how to deal with this issue? I am not a pro in any way on these things.
is there a more simple and easier way to send LH/RH data and dealing with it on the receiver side?
I guess that something similar to this project could work, however it needs to be adapted in some sort of way for joysticks and variable speed, and not just on/off as it is in the code. https://maker.pro/arduino/projects/how-to-make-a-lorawan-arduino-robot
Any help would be much appreciated!