Arduino LoRa RC Controller for RC Planes, RC Cars, RC Trucks, RC boat, RC Helicopter

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
this video is brought to you by ultim designer if you want to make a long range RC controller ranging from one kilometer to five kilometers using Laura and Arduino then this video is for you because after watching this video you will be able to make your own RC controllers for planes RC cars RC trucks RC boats RC helicopters RC robots and more basically anything you wish to wirelessly control over a long distance for the past three months I have been using the AI thinkers 433 megahertz r8-02 Laura sx1278 transceiver modules and I'm completely Amazed by their performance I use the same Lora transceiver modules to make a long range water level indicator system and besides that I also build a Lora based home energy monitoring system I'm very satisfied with the performance and range of these Lora modules by the way I have already made a video on Lora range test in which I use three different types of antennas to determine the maximum wireless communication distance if you need a distance of up to one kilometer you can use loreau web antennas for distances between two to three kilometers you should use flexible PCB antennas and if you require a range of 5 kilometers or even more I suggest using a combination of suction cup antenna and flexible PCB antenna I highly recommend that you watch my video on Laura range list I have added a link in the description but just long distance is not enough because rylr896 Laura modules by Rex technology can send and receive data over a long distance of 15 kilometers but they are quite slow and can't be used for making RC planes RC cars Etc so today we are going to test if the AI thinkers are at a zero to lower transceiver modules are fast enough to build an RC controller for controlling planes cars trucks boats Etc we need to see if along with a long distance capability its communication speed is also fast this is crucial because data communication speed matters the most in radio controllers RC planes RC cars and RC boats require control sticks to be highly responsive if there is any delay or lag in communication then you won't be able to fly an RC plane or drive an RC car or a boat effectively for the demonstration purposes I have built this fully functional prototype model it's a two channel RC controller but you can increase the number of channels as per your needs I will explain this in the programming anyways I'm using one channel for controlling the speed of double seven five DC motor and the other channel for controlling the server motor instead of using the double seven five DC motor you can also use a brushless DC motor on the transmitter side a joystick and Laura model are connected to the Arduino for now forget about these relays and buzzer on the receivers side along with the Laura module I have also connected a 10 kg high torque Servo motor and a 12 volt double seven five motor through this 320 amps brushed DC motor controller I'm going to use my created for its lithium ion battery to power up the receiver side even this setup is more than enough for building an RC board or an RC car because you can use this Servo motor for the steering and this double seven five motor is the engine on this development board I have added this 5-fold and 3 amps power supply which can power up the Arduino and multiple servers if you remove these relays terminal blocks transistors resistors female headers and the buzzer you can reduce the circuit size you can watch my video on the Arduino and Laura paste development board and if you want to use this setup for controlling a brushless DC motor then you will have to replace this controller with this ESC I'm already planning on building an RC plane so consider subscribing if you don't want to miss my video on Lora based long range RC controller anyway let's start the Practical demonstration and afterwards I will explain the circuit diagrams and programming I have powered up the transmitter and receiver side when the joystick is in the middle position the servo motor stays at 90 degrees and the DC motor is completely stopped this is insanely responsive I have been flying RC planes and drones and right now it reminds me of the throttle and jaw stick I can't control the motor speed and Servo position both at the same time and I don't see any delay or lagging issues you might be thinking the server is slow or lagging but it's not like that it's just because of its size it's bigger and they expire to you it might appear a little bit slow but in reality it's quite responsive normally we use micro server Motors on RC planes the reason I'm using this large Servo motor is to let you know that my RC controller is powerful enough to be used in RC cars RC boats RC trucks and RC planes Etc in fact I have also tested it with a 25 kg torque motor with such high doc servers you can control almost any RC machine so I'm pretty satisfied with this first test list and now I can design my own flight controller for an RC plane and a radio control system for cars and ports Etc now let's go ahead and take a look at the transmitter and receiver side wiring all team designer is the world's most trusted PCB design system ultim designer enables Engineers to effortlessly connect with every facet of the electronics design process over 35 years of innovation and development focused on a truly unified design environment makes it the most widely used PCB design solution with ultium designer you can create PCB designs with an intuitive and Powerful interface that connects you to every aspect of the electronics design process routed your way through any angle tuned for the delay push slide and walk around faster than ever easily work together with your mechanical team and forget about the days of swapping design files every design change stays in sync between ultim designer and SolidWorks BTC crew Autodesk Inventor Autodesk Fusion 360 or Siemens NX indirect and collaborate with mechanical designers like never before and a photorealistic 3D design environment one of the best things about ultimate design is that you can share your designs with your team members using ultim365. they can check your design leave comments and if there are any issues they can fix them from anywhere in the world ultimizana also uses the world's fastest component search engine octopart so you won't have any difficulty in searching for components links to the ultim designer Altium 365 and octopod are given in the description the plus Firefall and ground pins of the analog joystick are connected to the Arduino 5 volt and ground pins the vrx and vry pins are connected to the Arduino analog pins is 0 and A1 this is the Lora R8 0 to 433 megahertz transceiver module and its NSS sck MOSI and miso pins or can connected to the Arduino pins 10 13 11 and 12. the reset pen of the Lora module is connected to the Arduino pin 9 and its 3.3 volt and ground pins are connected to the Arduino 3.3 volt and ground pins and don't forget to add these 22 micro farad and 0.1 micro farad decoupling capacitors you can follow this circuit diagram the vnn ground wires can be connected to an external regulator Firefall power supply on my board I have this 5 volt and 3 amps power supply and if you do want to make this power supply then you can follow this circuit diagram the servo Moto VCC and ground wires are connected to the Arduino VN and ground pins which are connected to the 5-fold and 3 amps power supply the server motor signal wire is connected to the Arduino pwm pen9 the VCC and ground wires of the brushed motor controller are connected to the same VN and ground pins the signal wire is connected to the Arduino pwm pen 3. these red and black requires with the xt60 connector are used to connect a 3s 4sr5 is lipo or lithium-ion battery to power up the DC motor in my case I have connected this double seven five brush DC motor with a controller output fires the Lora module and 5 volt power supply wiring remain exactly the same you can follow the circuit diagram now let's go ahead and take a look at the programming this is the transmitter and this is the receiver site programming and as usual before you start the programming first of all make sure you Aid all the necessary libraries you can download the Lora library from the article available on electronicclinic.com anyway first let's take a look at the transmitter site programming the joystick 2 pins vrx and vry are connected to the Arduino pins a0 and A1 I have defined two variables for storing the values of vrx and vry and I'm using the same local address and destination address these are the same addresses I have been using in majority of my lower based projects by using addresses you get a full control over which Laura model you want to send data you can Define multiple Laura nodes if in case you want to send control signals to multiple receivers anyway you can watch my video on how to use single transmitter with multiple receivers code inside the setup function is exactly the same inside the loop function we simply read the joystick x-axis and y-axis values and store them in these variables then we create a message and use comma to separate these values on the receiver side I am going to use comma is the delimiter to split and retrieve these values so right now it's a two channel RC controller you can add another joystick some potential meters and buttons read values from the desired components store them in variables and then add those variables in this message and don't forget to add commas so this is how you can add more channels anyway once the message is ready then we simply send it to the receiver side Laura now let's go ahead and take a look at the receiver site programming on the receiver side things are pretty straightforward and easy and I'm sure you already know about how to use servos if not then you can watch my videos on Servo Motors anyways you can see I have defined some variables and I'm using the same addresses but this time the local address is 0 x double F and the destination address is your X Double B inside the setup function we activated the ESC and Servo which are connected to pins 3 and 9 these are pwm pins now let's go to the loop function inside the loop function we simply read the entire message and then using the git value function we split the entire message using comma as the delimiter and store the corresponding values and variables to control the motor speed and Servo angle and then there are if conditions to control the speed of DC motor and angle of the server is for the joystick movement so that's all for now support me on patreon for more videos I hope you liked today's episode like and share this video with your friends see you in next episode and thanks for watching [Music] I don't know [Music] thank you
Info
Channel: Electronic Clinic
Views: 8,652
Rating: undefined out of 5
Keywords: LoRa rc controller, Lora, rc, rc controller, long range lora, long range rc controller, rc controller for planes, rc controller for trucks, rc controller for boats, rc controller for cars, arduino lora rc controller, Arduino Lora, Lora sx1278, 5km long range rc controller, 5km rc controller, electronic clinic, how to make long range rc controller at home, arduino rc plane, rc plane transmitter, rc plane, rc truck, rc car, rc transmitter, long range rc, rc servo, rc motor
Id: Vvp7tryLSgw
Channel Id: undefined
Length: 12min 44sec (764 seconds)
Published: Mon Aug 14 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.