How To Make Arduino Mecanum RC Car using a drone Transmitter (Tutorial)
I hope you are having a great day. Well, I dont know how to say it but Im: sorry guys for not uploading any video in the past six months, yeah sure I took a lot of time to upload this video and or site. I do have my reasons and excuses ready, but I guess theres. No need for it so lets just move forward with project. Well, this is my two days project, a very weird looking radio controlled car, but, unlike my previous RC Car Projects, while I used a smartphone or DIY remote to control the car, this time Im using an actual transmitter to control the car, this gives us two key Advantages first, we are getting very long range transmission and second, there are plenty of programmable control options available on the transmitter which you can customize. According to your needs, foreign lets just dive into the making process. So the first thing we need for this project is the Bo motor. Of course. Okay now lets quickly sort our wires to each motor connectors. Next, we need a chassis, and for that you can use this type of ready, made chassis which can be found on the online store, but I am not using it for this video instead Im using this metal motor holders, which I got from my old robot card. Okay now lets secure the motors in their places using some M3 screws foreign ERS, and it turned out pretty well.
Okay, now lets attach both motor holders to the 3D printed base. Besides, Im also attaching the small bottom support to make the chassis more rigid. These are the nylon standups, and here I am using this to mount the Arduino Uno before attaching the wheels were gon na need this motor shaft couplings okay, now lets Mount them on the motor shots Im using the make animals for todays project, and this will set Great for omnidirectional movement. Well, of course, this is the Arduino Uno. The brain of this project lets quickly mount it on the standards and fasten this course. Next, we need a motor driver and for that Im using here, the l293d motor driver Shield simply Mount the motor driver on top of the Arduino Uno, then insert the Moto wires into the scooter, minerals and tighten the screws for reference. You can follow the circuit diagram here again Im using the nylon standups to make enough cleanse between the electronics and the top lid, which I will attach later all right now we need this three pin female to female jumper wire to connect the receiver to the motor Driver okay, first cut the plastic head of the orange wire, then saute it to the d0 pin of Arduino Uno after that connect the red and brown wire to the 5 volt and gnd output of the motor driver. This is the Fly Sky. Fs is 6B receiver, but before connecting it to Arduino first, we have to bind the receiver to the transmitter and, of course, were gon na need your transmitter for The Binding process other than the transmitter.
We also need the ESC and a brushless motor to test the receiver. Also, this LiPo battery to power the whole circuit. Okay, now lets start The Binding process. First, grab the binding, cable and connect it to the BCC Channel, which is The Binding Channel Next plug your ESC into Channel 3.. Now we can connect the battery to the ESC, which will power the receiver. Now, with our receiver powered on, we can set up the transmitter paste and hold the bind switch down. While turning on the transmitter, you can see, the RX is binding now and its done. Okay, next open the menu and select the system setup then go down to the output mode and make sure your output mode is set like this after completing the setup. We start your transmitter, then unplug the binding, cable and restart the receiver. All right now we can test Our receiver. As you can see, the motor is spinning, which means the receiver is working. Fine. Okay, then lets connect the receiver to the motor driver plug the other end of the jumper wire into receivers. Ibus interface, all right. This is the battery holder for the 18650 batteries and, with the help of some double sided tape, I attach the holder to the chassis, then connected its positive and negative wires to the motor drivers. Power input. Foreign part first connect the card to your computer. Using the data cable then remove the signal wire from the receiver.
Okay, now lets open this sketch all right guys. This is the complete sketch, but if you try to compile it this a chance, you will get this error because of the absence of these two libraries. So we need to install the screw libraries to fix this error. First, go to the library tab, then search ibus VM in the search bar and install this one. Similarly install the AF module Library, okay, our library installation is done now lets verify this sketch once again. Well this time its successfully compiled all right then lets quickly upload. This sketch, okay guys the code uploading, is done now. Unplug. The VSP cable then connect the signal bar back to the receiver. All right this is the metal plate. I was talking about earlier and Im gon na use this as a roof for this car. Foreign double sided tape. I attached the receiver under the top plate to prevent this entrance from getting damaged. I have 3D printed. These two antenna holders lets Mount them using some M3 screws. Then snap the antennas in their places. We need to 18650 lithium and batteries to power up the car, which I wrapped with binal paper to match the color thin. Okay, now lets install the batteries foreign well. Finally, this project is completed now, its time to see how all the control works, while the right joystick controls the forward backward left and right directions. The left joystick controls the rotation, but it can also be used to drive the car in corner directions.
You can switch between these two modes by using the second total switch. The speed of this car can be adjusted through this VRA knob and thats pretty much how all the control works – foreign guys, thats, pretty much it for today. I hope you found this video helpful and do let me know if you have any questions in the comments section. I will try to answer all of them.