Help needed created code for RC Arduino Car!

Hi! I recently had made an rc car with 3 lego nxt motors running on 2 l298n’s, an arduino uno, and ir controller/receiver. For context,there is one motor up front spining a rack and pinion that steers the car and 2 motors in back to power the rear wheels. I recently bought a 6 channel rc controller set and wanted to control this rc car with the actual rc controller set. My remote is a dx6i which uses 2 joysticks (The left y axis is not sprung meaning that it doesnt return to the zero which is the center). When I tried to make code like I were using regular potentiometer based joysticks, the car would not function, the motors would just turn on, no control at all. I wanted the right x axis to control steering and the y axis to control direction/ speed… all I know is that the joy stick values go from -80 to 80 on all axis, but thats about it. Is there anyone out there that can help me? I used this video for reference, but to be honest I was quite confused…

Any help really appreciated! Thanks!!

Here is a picture of my Rc Controller / reciever:


image

Find the minimum setup you need to control a device. Repeat with remaining parts. Combine when all are tested.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.