Тёмный
No video :(

How to Make an Arduino RC Car with Flysky FS-i6X Transmitter | Ultimate Guide for Beginners 

AK ElectroDIY
Подписаться 1,9 тыс.
Просмотров 16 тыс.
50% 1

Опубликовано:

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 135   
@user-tc9ib4pk4s
@user-tc9ib4pk4s День назад
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 🙏🙏
@AKElectroDIY
@AKElectroDIY День назад
@@user-tc9ib4pk4s Can you tell me more about that. I would really like to try helping you out.
@RoboRobo-j4s
@RoboRobo-j4s Месяц назад
Love u bro thanks alot
@AKElectroDIY
@AKElectroDIY Месяц назад
@@RoboRobo-j4s You're Welcome
@anshurana260
@anshurana260 18 дней назад
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
@AKElectroDIY
@AKElectroDIY 18 дней назад
@@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.
@bindur6006
@bindur6006 4 месяца назад
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
@karthikpatel6146
@karthikpatel6146 4 месяца назад
I would also like to know... It would be great to build it with brushless motors
@AKElectroDIY
@AKElectroDIY 4 месяца назад
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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FcyyWRq44n4.html
@AKElectroDIY
@AKElectroDIY 4 месяца назад
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
@bindur6006
@bindur6006 4 месяца назад
@@AKElectroDIY thank you
@AKElectroDIY
@AKElectroDIY 4 месяца назад
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.
@srivanirao118rao8
@srivanirao118rao8 Месяц назад
Can you put defferent link to download code because after subscribeing also I can't download
@AKElectroDIY
@AKElectroDIY Месяц назад
Yes, why not. drive.google.com/file/d/1_pXMvwVtUgeOv9VHgYj6TTDrA6GJCnsT/view?usp=drivesdk
@wellingtonpereira8171
@wellingtonpereira8171 2 месяца назад
Pode ser um controle de carro com 4 canais?
@AKElectroDIY
@AKElectroDIY 2 месяца назад
The car is controlled by 2 channels. There are two additional aux channels to control speed mode.
@ninaarmy79
@ninaarmy79 4 месяца назад
Bro itz a great one, but I couldn't find the code of the project evn I have subscribed tour channel
@AKElectroDIY
@AKElectroDIY 4 месяца назад
Code link is in description
@AKElectroDIY
@AKElectroDIY 4 месяца назад
Copy and paste the link in a browser
@ninaarmy79
@ninaarmy79 4 месяца назад
@AkElectroDIY ok
@sadiqkilledar546
@sadiqkilledar546 5 месяцев назад
Bro how do use it using kendin yap 6 channel reciever can you answer
@AKElectroDIY
@AKElectroDIY 5 месяцев назад
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
@gkw1232
@gkw1232 Месяц назад
bro its not working, moter running automatically without thortal moving
@AKElectroDIY
@AKElectroDIY Месяц назад
@@gkw1232 kindly check wiring again
@wellingtonpereira8171
@wellingtonpereira8171 2 месяца назад
thanks for the feedback
@AKElectroDIY
@AKElectroDIY 2 месяца назад
@@wellingtonpereira8171 You're welcome
@richards.2073
@richards.2073 Месяц назад
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.
@AKElectroDIY
@AKElectroDIY Месяц назад
@@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?
@richards.2073
@richards.2073 Месяц назад
@@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.
@AKElectroDIY
@AKElectroDIY Месяц назад
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
@AKElectroDIY Месяц назад
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
@richards.2073
@richards.2073 Месяц назад
@@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.
@Elisrc.
@Elisrc. 7 месяцев назад
Thats awsome ,really Nice👍
@AKElectroDIY
@AKElectroDIY 7 месяцев назад
Thanks ❤
@Elisrc.
@Elisrc. 7 месяцев назад
@@AKElectroDIY 👍👍
@1968hayat
@1968hayat Месяц назад
Can I use an extra servo motor to control it feom the throttle and connect it into the remaining channel of the receiver
@AKElectroDIY
@AKElectroDIY Месяц назад
Yes, you surely can
@1968hayat
@1968hayat Месяц назад
Ok thanks
@gkw1232
@gkw1232 Месяц назад
@@1968hayat my moter running automatically without any transmitter movement
@ram_gupta5
@ram_gupta5 2 месяца назад
I have FS-i6, so what changes i have to do in code and transmitter setting
@AKElectroDIY
@AKElectroDIY 2 месяца назад
Code will be the same for all transmitters. All it needs to be is a 6 channel transmitter.
@ram_gupta5
@ram_gupta5 2 месяца назад
@@AKElectroDIY fir transmitter ki setting m kya change krne honge q ki video m AUX wala setting Kiya tha woh usme nhi h
@AKElectroDIY
@AKElectroDIY 2 месяца назад
Flysky i6 mein bhi same Aux setting ho jaye gi. Bas apne channel 5 ko sw1 aur channel 6 ko sw2 assign karna hai.
@ram_gupta5
@ram_gupta5 2 месяца назад
@@AKElectroDIY ohk main try krke dekhta hu.... BTW thnks for the video 🫡
@AKElectroDIY
@AKElectroDIY 2 месяца назад
@@ram_gupta5 Welcome
@shajudeen4554
@shajudeen4554 6 месяцев назад
Where is the link for the circuit diagram ? 👍🏼
@AKElectroDIY
@AKElectroDIY 6 месяцев назад
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
@shajudeen4554
@shajudeen4554 6 месяцев назад
​@@AKElectroDIY Ok, brother...
@md.abdullahsaumibinmohdyus4398
@md.abdullahsaumibinmohdyus4398 Месяц назад
if i use hotrc ct-600 6 channel is it work with the coding
@AKElectroDIY
@AKElectroDIY Месяц назад
Yes
@JUMPAsem
@JUMPAsem Месяц назад
​@@AKElectroDIYif i want to use 2wd how?
@AKElectroDIY
@AKElectroDIY Месяц назад
@@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.
@JUMPAsem
@JUMPAsem Месяц назад
But i use one hand rc
@AKElectroDIY
@AKElectroDIY Месяц назад
@@JUMPAsem Can you please clarify? DO you mean you use an RC consisting of a single joystick?
@unknownguyfromu.p2030
@unknownguyfromu.p2030 6 месяцев назад
Will this car run on muddy tracks
@AKElectroDIY
@AKElectroDIY 6 месяцев назад
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.
@evo8773
@evo8773 5 месяцев назад
Could you help to add relay for putting 220v motor?
@AKElectroDIY
@AKElectroDIY 5 месяцев назад
4 channel Relay module is available for arduino. You can see it
@evo8773
@evo8773 5 месяцев назад
@@AKElectroDIY Could you help to make that video and add camera esp32 cam?
@AKElectroDIY
@AKElectroDIY 5 месяцев назад
@@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
@akeditz8945
@akeditz8945 4 месяца назад
can you do one with Fly Sky Ct6b
@AKElectroDIY
@AKElectroDIY 4 месяца назад
That is exactly the same. No difference
@ManthanGandhi-ck8or
@ManthanGandhi-ck8or Месяц назад
it is not working for me
@AKElectroDIY
@AKElectroDIY Месяц назад
Can you tell me the error? Kindly check the wiring again. Mine worked and yours shall too
@ManthanGandhi-ck8or
@ManthanGandhi-ck8or Месяц назад
@@AKElectroDIY checked wiring times still motor is not working with RC
@AKElectroDIY
@AKElectroDIY Месяц назад
Is the motor working with a test code for l298n? You shall test it first.
@sajidakilledar779
@sajidakilledar779 3 месяца назад
Hey bro how did u made your own code
@AKElectroDIY
@AKElectroDIY 3 месяца назад
I found the code from online resources and modified it according to my own needs.
@ivsyeswanth5090
@ivsyeswanth5090 22 дня назад
Bro please send me code the link is not opening
@AKElectroDIY
@AKElectroDIY 22 дня назад
Now check the link. Its updated.
@supuntharaka2445
@supuntharaka2445 Месяц назад
can you provide circuit diagram
@AKElectroDIY
@AKElectroDIY Месяц назад
@supuntharaka2445 yes, I will upload soon. Stay tuned.
@shajudeen4554
@shajudeen4554 5 месяцев назад
'setModeLED' was not declared in the scope exit status 1 Why?😮 Clear the code and upload.....
@AKElectroDIY
@AKElectroDIY 5 месяцев назад
You can remove that line from the program. It is useless
@AKElectroDIY
@AKElectroDIY 5 месяцев назад
Actually, it was a function that was declared earlier, but I removed that because it had no important use.
@shajudeen4554
@shajudeen4554 5 месяцев назад
​@@AKElectroDIYLet me check
@shajudeen4554
@shajudeen4554 5 месяцев назад
@@AKElectroDIY let me check
@AKElectroDIY
@AKElectroDIY 5 месяцев назад
Ok I will upload again. Sorry for the mistake
@Anonymous-by6qo
@Anonymous-by6qo 5 месяцев назад
Can u provide me circuit diagram ??
@AKElectroDIY
@AKElectroDIY 5 месяцев назад
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.
@dronescheck3991
@dronescheck3991 7 месяцев назад
Hello do u have the light video
@AKElectroDIY
@AKElectroDIY 7 месяцев назад
Soon. Stay tuned!
@dronescheck3991
@dronescheck3991 7 месяцев назад
My parts have arrived my friend please do it fast or you would loose your biggest fan​@@AKElectroDIY
@dronescheck3991
@dronescheck3991 7 месяцев назад
My parts have arrived pls do fast or you will loose a fan
@AKElectroDIY
@AKElectroDIY 7 месяцев назад
Ok, on this Sunday
@dronescheck3991
@dronescheck3991 7 месяцев назад
@@AKElectroDIY please do brother
@ravinani9198
@ravinani9198 5 месяцев назад
The code is not opening can you provide the code ..?
@AKElectroDIY
@AKElectroDIY 5 месяцев назад
Kindly copy the link and paste it in a browser. It should open then
@AKElectroDIY
@AKElectroDIY 5 месяцев назад
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
@ravinani9198
@ravinani9198 5 месяцев назад
@@AKElectroDIY nothing happens bro same not even working
@AKElectroDIY
@AKElectroDIY 5 месяцев назад
@@ravinani9198 // Arduino RC Car using Flysky Transmitter and Receiver // Subscribe the Channel: www.RU-vid.com/@AKElectroDIY // Video Link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-q-Clw0m3E18.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); }
@ravinani9198
@ravinani9198 5 месяцев назад
@@AKElectroDIY tq bruh
@pradeepgr1692
@pradeepgr1692 7 месяцев назад
the code is not opening
@AKElectroDIY
@AKElectroDIY 7 месяцев назад
Copy the link and paste it in a browser. It will open bit.ly/48TcUr0
@Anime_Edtz_
@Anime_Edtz_ 7 месяцев назад
bro code is not opening
@AKElectroDIY
@AKElectroDIY 7 месяцев назад
Copy the link and paste it in a browser. It will open bit.ly/48TcUr0
@Anime_Edtz_
@Anime_Edtz_ 7 месяцев назад
@@AKElectroDIY bro the link is not working
@AKElectroDIY
@AKElectroDIY 7 месяцев назад
Just copy it by long pressing the link, and paste it in google, chrome, etc.
@Anime_Edtz_
@Anime_Edtz_ 7 месяцев назад
@@AKElectroDIY nothing happens bro same not even working
@AKElectroDIY
@AKElectroDIY 7 месяцев назад
@@Anime_Edtz_ Try this link drive.google.com/file/d/1_pXMvwVtUgeOv9VHgYj6TTDrA6GJCnsT/view?usp=drivesdk
@DARSHAN_AGRAWAL18
@DARSHAN_AGRAWAL18 6 месяцев назад
Hii bro i will connect the blutooth with same code
@AKElectroDIY
@AKElectroDIY 6 месяцев назад
The code will have to be a little changed then. I can also make a complete video on bluetooth car if you want.
@DARSHAN_AGRAWAL18
@DARSHAN_AGRAWAL18 6 месяцев назад
@@AKElectroDIY send link bro
@DARSHAN_AGRAWAL18
@DARSHAN_AGRAWAL18 6 месяцев назад
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
@AKElectroDIY
@AKElectroDIY 6 месяцев назад
Bluetooth ki connectivity ka issue ho sakta hai. Pehle ap bluetooth ki range test karo ke kitna dur tak sahi kaam karta hai.
@ninaarmy79
@ninaarmy79 4 месяца назад
Bro how can i contact u ?
@AKElectroDIY
@AKElectroDIY 4 месяца назад
You can contact me on messenger or Instagram. Link in bio.
Далее
Friends
00:32
Просмотров 204 тыс.
Cute kitty gadget 💛💕
00:23
Просмотров 5 млн
RC Robot Car - RC Controls and Arduino
47:53
Просмотров 212 тыс.
Friends
00:32
Просмотров 204 тыс.