Congrats AK ElectroDIY! I have a very serious question. What for could a RC Car be used other than a hobby car with a camera or a robotic arm? I think this kind of tiny mobile devices could be helpful for other issues. Best wishes!
Hi im making a bot similar like this (its a trash collector bot) but im having trouble on how to lift the shovel (in order to get that trash)... Can you help me out 🙏🙏
@@AKElectroDIYit's actually a school project (a beach cleaning robot),, our teacher suggested that we use fly sky in order to lift the shovel (were gon be using a stepper motor); and control the bot
@@ChesterSaavedra Oh nice. So you use an arduino to get input from the receiver and use it control a stepper motor right? I think it would be much easier if you use a servo motor instead. If it can be used in place of stepper motor. You may use MG90S or MG996R, etc.
@@anshurana260 First of all, you need to choose components that are really light weight. The 9v battery should be a lipo battery and not the ordinary one. Because you need to use a lightweight yet powerful battery. I currently do not have coreless motors. But If I make it, then hopefully there will be a video on that.
It's a great tutorial 👏👏 I wanted to use BLDC or Brushes motors INSTEAD.... Can i simply replace the motors without changing any circuit connection or code?? Will it affect any power issues?? I'm planning to build it please let me know.. Thank you
Yes that's easy to make. But for it, I have made another video. You may see that. Two brushless ESCs will be required for that one. Here is the video th-cam.com/video/FcyyWRq44n4/w-d-xo.html
Actually the point here is, the L298N is made just for brushed motors. For brushless motors, you will just need a brushless ESC. And if an ESC is used, then there will be no need of arduino. Means no programming needed for that.
If you're asking how to setup these functions on ct6b transmitter, then you might know that we need to connect it to a computer and program it from there.
Yes you can. But for muddy tracks, you will have to modify its shape a little bit so that it can easily run on it. I mean the motors should be a bit upwards to increase the ground clearance for easy driving on such tracks.
It's the same for that too. Any receiver can be used with this. Mean they are interchangeable. Just you need to set channels 5 and 6 as aux switches in transmitter. And connect channels 1 and 2 to the arduino similar as shown
Your Arduino is underpowered. You're only putting 1.5 volts per AA, or 4.5 volts total to power all 4 motors and the board. You can get 4x AA holders which will work better. Or grab a 7.2v lipo rc battery and a barrel connector kit.
@@richards.2073 Thanks for letting me know. Actually I am using a 12V li-ion battery. I am giving 12V to both arduino and the L298N in parallel connection. So, the L298N is receiving a 12V supply for the motors, while arduino too is receiving a 12V supply which it then converts to 5V using the on-board regulator. I couldn't understand your point. Can you please clarify?
You can even go for 16 volts. This is because the L298N only gives the voltage required for motors. If motors are 6V, then L298N will only give 6V to the motors.
@@AKElectroDIY If you run the load wired in parallel then your voltage output across all loads will be the same but your current draw will be higher. It'll just shorten the battery life.
@@evo8773 Yes why not. So you just want to use relays instead of L298n, right? And for esp32, I am already planning to make a video on that. To control a car using esp32 and also display camera result on mobilr
The connections are very simple L293D -- ARDUINO:- ENA --- 5 ENB --- 6 IN1 --- 2 IN2 --- 3 IN3 --- 4 IN4 --- 7 RECEIVER --- ARDUINO:- CH1 --- A0 CH2 --- A1 CH3 --- A2 CH4 --- A3 CH5 --- A4 CH6 --- A5 VCC --- VCC GND --- GND For now, you can just do all the wiring as mentioned. I will soon share the circuit diagram too.
Congrats AK ElectroDIY! I have a very serious question. What for could a RC Car be used other than a hobby car with a camera or a robotic arm? I think this kind of tiny mobile devices could be helpful for other issues. Best wishes!
Thanks!
Rc cars can be used in surveillance, delivery of small items, video filming, etc
There are a lot other practical applications too
@@AKElectroDIY, thanks a lot!
Hello sir...im working on a 4x4 robot chassis with 3 finger robotic arm..so can i use FLYSKY 10 channel transmitter and receiver..?
@@welcm_2_devill_world
Oh yes, you can use it. For sure!
I'm not getting the AUX Switches setup in my controller
What can be the alternative
Change the code so that it just works without the aux switches. You need to analyze it. Might take some help using chatgpt
Hi im making a bot similar like this (its a trash collector bot) but im having trouble on how to lift the shovel (in order to get that trash)... Can you help me out 🙏🙏
@@JoevanniSaavedra Can you tell me more about that. I would really like to try helping you out.
@@AKElectroDIYit's actually a school project (a beach cleaning robot),, our teacher suggested that we use fly sky in order to lift the shovel (were gon be using a stepper motor); and control the bot
@@ChesterSaavedra Oh nice. So you use an arduino to get input from the receiver and use it control a stepper motor right?
I think it would be much easier if you use a servo motor instead. If it can be used in place of stepper motor. You may use MG90S or MG996R, etc.
Hey bro I have a flysky i4x so I could only use 4 channels so will it be able to setup with only 4 channels?
Yes, you can use 4 channels. Remove the 5th and 6th channels from the code. And adjust it according to your setup
and from which software you have done the program pls tell me we are run very late for the project
@@MunnaLal-pu6li Arduino IDE
Bro i am making a drone using l298n motor driver,arduino board, micro coreless motor, flysky receiver and 9v battery, can you put a video on this
@@anshurana260 First of all, you need to choose components that are really light weight. The 9v battery should be a lipo battery and not the ordinary one. Because you need to use a lightweight yet powerful battery.
I currently do not have coreless motors. But If I make it, then hopefully there will be a video on that.
but can I use 12v 500 rpm Johnson motors x4 instead of these TT motors pls tell me?
@@MunnaLal-pu6li Yes you can use. The L298N Motor driver can support these.
It's a great tutorial 👏👏
I wanted to use BLDC or Brushes motors INSTEAD....
Can i simply replace the motors without changing any circuit connection or code??
Will it affect any power issues??
I'm planning to build it please let me know..
Thank you
I would also like to know...
It would be great to build it with brushless motors
Yes that's easy to make. But for it, I have made another video. You may see that. Two brushless ESCs will be required for that one.
Here is the video
th-cam.com/video/FcyyWRq44n4/w-d-xo.html
In that video, I used brushed motors with a brushed esc. Just replace the brushed motors with brushless ones and the brushed ESCs with brushless ESCs
@@AKElectroDIY thank you
Actually the point here is, the L298N is made just for brushed motors. For brushless motors, you will just need a brushless ESC. And if an ESC is used, then there will be no need of arduino. Means no programming needed for that.
Love u bro thanks alot
@@RoboRobo-j4s You're Welcome
To set up throttle, steering, and auxiliary functions on your FS-CT6B transmitter,
It seems the question is incomplete
If you're asking how to setup these functions on ct6b transmitter, then you might know that we need to connect it to a computer and program it from there.
Is it also compatible with microzone 6c transmitter and mc7rb v2 reciver?
@@clintonhalunajan467 Yes, it is compatible. Everything will be same.
@AKElectroDIY i download the program but cañnot be opened siir can you help me
@@clintonhalunajan467 You installed the arduino software?
@@AKElectroDIY yes i downloaded it
@@clintonhalunajan467 Then it should open. Its an arduino file and there is nothing changed.
Plsss help mee it says "redefinition of void setup "
The code is error 😭 pls help
Dear, I opened the file and compiled. It showed no error to me. Please download it again Then tell me if it works or not.
hallo guys,.. can you give detail diagram wire, i will try to make this your project TQ
Check description
Thats awsome ,really Nice👍
Thanks ❤
@@AKElectroDIY 👍👍
what is the white board called?
It is a PVC Sheet. I used a PVC pipe and heated it up to give it the form of a sheet.
@ Thank you so much. Love your video ❤️
Its a pleasure for me
Will this car run on muddy tracks
Yes you can. But for muddy tracks, you will have to modify its shape a little bit so that it can easily run on it. I mean the motors should be a bit upwards to increase the ground clearance for easy driving on such tracks.
can i use flysky fs-i6 6channel
@@jasro007 Yes, you can use it.
I have FS-i6, so what changes i have to do in code and transmitter setting
Code will be the same for all transmitters. All it needs to be is a 6 channel transmitter.
@@AKElectroDIY fir transmitter ki setting m kya change krne honge q ki video m AUX wala setting Kiya tha woh usme nhi h
Flysky i6 mein bhi same Aux setting ho jaye gi. Bas apne channel 5 ko sw1 aur channel 6 ko sw2 assign karna hai.
@@AKElectroDIY ohk main try krke dekhta hu....
BTW thnks for the video 🫡
@@ram_gupta5 Welcome
Can you put defferent link to download code because after subscribeing also I can't download
Yes, why not.
drive.google.com/file/d/1_pXMvwVtUgeOv9VHgYj6TTDrA6GJCnsT/view?usp=drivesdk
Bro how do use it using kendin yap 6 channel reciever can you answer
It's the same for that too. Any receiver can be used with this. Mean they are interchangeable. Just you need to set channels 5 and 6 as aux switches in transmitter. And connect channels 1 and 2 to the arduino similar as shown
Your Arduino is underpowered. You're only putting 1.5 volts per AA, or 4.5 volts total to power all 4 motors and the board. You can get 4x AA holders which will work better. Or grab a 7.2v lipo rc battery and a barrel connector kit.
@@richards.2073 Thanks for letting me know.
Actually I am using a 12V li-ion battery. I am giving 12V to both arduino and the L298N in parallel connection. So, the L298N is receiving a 12V supply for the motors, while arduino too is receiving a 12V supply which it then converts to 5V using the on-board regulator.
I couldn't understand your point. Can you please clarify?
@@AKElectroDIY I stand corrected. Nvm. Missed the battery voltage. I'd still go with 4 double A's. 12 volts is a lot for toy motors.
You can even go for 16 volts. This is because the L298N only gives the voltage required for motors. If motors are 6V, then L298N will only give 6V to the motors.
4 double A's might be a bit underpowered. Anyways, you can try it. If voltage is unstable, then you might use 6 or 8 AA
@@AKElectroDIY If you run the load wired in parallel then your voltage output across all loads will be the same but your current draw will be higher. It'll just shorten the battery life.
Can I use an extra servo motor to control it feom the throttle and connect it into the remaining channel of the receiver
Yes, you surely can
Ok thanks
@@1968hayat my moter running automatically without any transmitter movement
Could you help to add relay for putting 220v motor?
4 channel Relay module is available for arduino. You can see it
@@AKElectroDIY Could you help to make that video and add camera esp32 cam?
@@evo8773 Yes why not. So you just want to use relays instead of L298n, right?
And for esp32, I am already planning to make a video on that. To control a car using esp32 and also display camera result on mobilr
Pode ser um controle de carro com 4 canais?
The car is controlled by 2 channels. There are two additional aux channels to control speed mode.
if i use hotrc ct-600 6 channel is it work with the coding
Yes
@@AKElectroDIYif i want to use 2wd how?
@@JUMPAsem Same code, same wiring. As in 4wd, two if the side motors are connected in parallel. So in 2wd, there will be only one side motor.
But i use one hand rc
@@JUMPAsem Can you please clarify? DO you mean you use an RC consisting of a single joystick?
bro its not working, moter running automatically without thortal moving
@@gkw1232 kindly check wiring again
thanks for the feedback
@@wellingtonpereira8171 You're welcome
Where is the link for the circuit diagram ? 👍🏼
Sorry brother, I haven't yet made the circuit diagram. But don't worry, here are all the connections. You can easliy make the connections by yourself.
L293D ---> ARDUINO:-
ENA ---> 5
ENB ---> 6
IN1 ---> 2
IN2 ---> 3
IN3 ---> 4
IN4 ---> 7
RECEIVER ---> ARDUINO:-
CH1 ---> A0
CH2 ---> A1
CH3 ---> A2
CH4 ---> A3
CH5 ---> A4
CH6 ---> A5
VCC ---> VCC
GND ---> GND
@@AKElectroDIY Ok, brother...
Bro itz a great one, but I couldn't find the code of the project evn I have subscribed tour channel
Code link is in description
Copy and paste the link in a browser
@AkElectroDIY ok
it is not working for me
Can you tell me the error? Kindly check the wiring again. Mine worked and yours shall too
@@AKElectroDIY checked wiring times still motor is not working with RC
Is the motor working with a test code for l298n? You shall test it first.
can you do one with Fly Sky Ct6b
That is exactly the same. No difference
'setModeLED' was not declared in the scope
exit status 1
Why?😮
Clear the code and upload.....
You can remove that line from the program. It is useless
Actually, it was a function that was declared earlier, but I removed that because it had no important use.
@@AKElectroDIYLet me check
@@AKElectroDIY let me check
Ok I will upload again. Sorry for the mistake
Hello do u have the light video
Soon. Stay tuned!
My parts have arrived my friend please do it fast or you would loose your biggest fan@@AKElectroDIY
My parts have arrived pls do fast or you will loose a fan
Ok, on this Sunday
@@AKElectroDIY please do brother
can you provide circuit diagram
@supuntharaka2445 yes, I will upload soon. Stay tuned.
Can u provide me circuit diagram ??
The connections are very simple
L293D -- ARDUINO:-
ENA --- 5
ENB --- 6
IN1 --- 2
IN2 --- 3
IN3 --- 4
IN4 --- 7
RECEIVER --- ARDUINO:-
CH1 --- A0
CH2 --- A1
CH3 --- A2
CH4 --- A3
CH5 --- A4
CH6 --- A5
VCC --- VCC
GND --- GND
For now, you can just do all the wiring as mentioned. I will soon share the circuit diagram too.
The code is not opening can you provide the code ..?
Kindly copy the link and paste it in a browser. It should open then
Also, if you're opening on a mobile phone then you will need a text editor application to open the code as its an arduino file
@@AKElectroDIY nothing happens bro same not even working
@@ravinani9198 // Arduino RC Car using Flysky Transmitter and Receiver
// Subscribe the Channel: www.TH-cam.com/@AKElectroDIY
// Video Link: th-cam.com/video/q-Clw0m3E18/w-d-xo.html
int enA = 5;
int in1 = 2;
int in2 = 3;
int enB = 6;
int in3 = 4;
int in4 = 7;
int receiver_pins[] = {A0, A1, A2, A3, A4, A5};
int receiver_values[] = {0, 0, 0, 0, 0, 0};
int res_min = 950;
int res_max = 2020;
int working_range = 255; // motor driver range
boolean prt = true;
int mode = 0;
//-1 = transmitter not connected or out of range
// 0 = transmitter connected and ready
// 1 = slow speed mode
// 2 = high speed mode
void setup() {
pinMode(enA, OUTPUT);
pinMode(enB, OUTPUT);
pinMode(in1, OUTPUT);
pinMode(in2, OUTPUT);
pinMode(in3, OUTPUT);
pinMode(in4, OUTPUT);
Serial.begin(115200);
}
void loop() {
receive();
int m1 = 0;
int m2 = 0;
int rot = receiver_values[0];
if (mode == 1) {
m1 = receiver_values[1] / 2 + (rot)/1.5;
m2 = receiver_values[1] / 2 - (rot)/1.5;
} else if (mode == 2) {
m1 = receiver_values[1] + rot / 1.75;
m2 = receiver_values[1] - rot / 1.75;
}
mpower(1, m1);
mpower(2, m2);
}
int rp = 0;
void receive() {
receiver_values[rp] = map(pulseIn (receiver_pins[rp], HIGH), res_min, res_max, -1 * working_range, working_range);
rp++;
if (rp == 6){
rp = 0;
}
boolean activevalues = true;
for (int i = 0; i < 6; i++) {
if (prt) {
Serial.print("CH");
Serial.print(i);
Serial.print(" : ");
Serial.print(receiver_values[i]);
Serial.print(",\t");
}
if (receiver_values[i] < -500) {
activevalues = false;
}
}
mode = 0;
if (!activevalues) {
mode = -1;
} else if (receiver_values[4] > -100) {
mode = 2;
} else if (receiver_values[5] > -100) {
mode = 1;
}
if (prt) {
Serial.println("");
}
}
void mpower(int motor, int spd) {
int rotation = 0;
if (spd > 0) {
rotation = 1;
} else if (spd < 0) {
rotation = -1;
spd *= -1;
}
if (spd > 255) {
spd = 255;
}
int pwm;
int pA;
int pB;
if (motor == 1) {
pwm = enA;
pA = in1;
pB = in2;
} else if (motor == 2) {
pwm = enB;
pA = in3;
pB = in4;
} else {
return;
}
if (rotation == 0) {
digitalWrite(pA, LOW);
digitalWrite(pB, LOW);
} else if (rotation == 1) {
digitalWrite(pA, HIGH);
digitalWrite(pB, LOW);
} else if (rotation == -1) {
digitalWrite(pA, LOW);
digitalWrite(pB, HIGH);
}
analogWrite(pwm, spd);
}
@@AKElectroDIY tq bruh
Bro please send me code the link is not opening
Now check the link. Its updated.
the code is not opening
Copy the link and paste it in a browser. It will open bit.ly/48TcUr0
bro code is not opening
Copy the link and paste it in a browser. It will open bit.ly/48TcUr0
@@AKElectroDIY bro the link is not working
Just copy it by long pressing the link, and paste it in google, chrome, etc.
@@AKElectroDIY nothing happens bro same not even working
@@Anime_Edtz_
Try this link drive.google.com/file/d/1_pXMvwVtUgeOv9VHgYj6TTDrA6GJCnsT/view?usp=drivesdk
Hii bro i will connect the blutooth with same code
The code will have to be a little changed then. I can also make a complete video on bluetooth car if you want.
@@AKElectroDIY send link bro
Bro mene ek robot banaya he
Arduino Uno
L298n
And Bluetooth
Ke sath lekin bich me chalna band ho jata kya issue ho sakta he
Bluetooth ki connectivity ka issue ho sakta hai. Pehle ap bluetooth ki range test karo ke kitna dur tak sahi kaam karta hai.
Bro how can i contact u ?
You can contact me on messenger or Instagram. Link in bio.