How to make a Brushed Motor ESC with Arduino|| 180 motor || Unique Projects Tutorials. Episode-1
HTML-код
- Опубликовано: 11 сен 2024
- PCB layout,circuit diagram,parts list are below:
abidcg.wordpre...
Contact me : abid.business01@gmail.com
FT232RL USB to TTL : US : amzn.to/2lPCYgO
Mini USB Nano V3.0: US : amzn.to/2II9fnE UK : amzn.to/2IS7lgb
Nano I / O Expansion Sensor Shield: US : amzn.to/2NglTJf UK : amzn.to/2tLRieD
5V 1 Channel Relay Module: US : amzn.to/2MIzyYD UK : amzn.to/2tNJ3yq
HC-SR04 Sensor Module: US : amzn.to/2lMRhCA UK : amzn.to/2MI8Tv4
PRO Mini Development Board: US : amzn.to/2Iow1B0 UK : amzn.to/2k2Bui5
DHT22 Digital Sensor Module: US : amzn.to/2KGVYJf UK : amzn.to/2IIZpgD
UNO R3 Development Board: US : amzn.to/2IlKPPQ UK : amzn.to/2LjdDGH
PWM Dimming Controller: US : amzn.to/2svqPRM
USA Amazon Store: amzn.to/2Kkpfsg
Europe Amazon Store: amzn.to/2L5ink2
Man
Thank you very much
I'm setting up a drone with syma x8 DC engines, with APM 2.5, but I have no DC esc´s, only direct drive with mosfet.
The APM does not accept direct drive.
The engine automatic start.
I used your code and replicated it for more 4 ports, so the APM outputs enter the 2,3,4,5 channels of the Arduino and exit through ports 6,7,8 and 9 to the direct drive.
It worked perfectly, and better, without having to spend with 4 esc's.
I do not understand much of arduino programming, so I just replicated the code, in a very amateurish way ....
If anyone needs it, the code is this:
//Conversor de PWM para direct drive
// Canais:
// IN - OUT
// 2 = 6
// 3 = 7
// 4 = 8
// 5 = 9
//Define os pinos de entrada
const int IN1=2;
const int IN2=3;
const int IN3=4;
const int IN4=5;
//Define os pinos de saída para o direct drive
int mosfet=6;
int mosfet1=7;
int mosfet2=8;
int mosfet3=9;
void setup(){
Serial.begin(9600);
//Define os pinos como saída
pinMode(mosfet,OUTPUT);
pinMode(mosfet1,OUTPUT);
pinMode(mosfet2,OUTPUT);
pinMode(mosfet3,OUTPUT);
//Inicializa as saídas
analogWrite(mosfet,15);
analogWrite(mosfet1,15);
analogWrite(mosfet2,15);
analogWrite(mosfet3,15);
delay(5);
analogWrite(mosfet,5);
analogWrite(mosfet1,5);
analogWrite(mosfet2,5);
analogWrite(mosfet3,5);
delay(5);
}
void loop(){
//Lê os canais
int val=pulseIn(IN1,HIGH,25000);
int val1=pulseIn(IN2,HIGH,25000);
int val2=pulseIn(IN3,HIGH,25000);
int val3=pulseIn(IN4,HIGH,25000);
//Mapeia os valores recebidos e define seu alcance
int pwm=map(val,1105,1770,-5,256);
int pwm1=map(val1,1105,1770,-5,256);
int pwm2=map(val2,1105,1770,-5,256);
int pwm3=map(val3,1105,1770,-5,256);
//restringe o valor da saida 1 entre 0 e 255
int out = constrain(pwm,0,255);
int out1 = constrain(pwm1,0,255);
int out2 = constrain(pwm2,0,255);
int out3 = constrain(pwm3,0,255);
//Grava cada saída
analogWrite(mosfet,out);
analogWrite(mosfet1,out1);
analogWrite(mosfet2,out2);
analogWrite(mosfet3,out3);
delay(1);
}
Wow Great work! Nice to hear it helped you.
Thanks a lot for sharing
i will also play around with the code to make tricopter
Your soldering can get better you just need a new soldering iron and to clean the iron before you solder and after also dont let it get too oxidized. Good luck I know you will get better. 👍
Great Tips
This ESC can even work with coreless motors
yess for sure
1. Is it possible to control 4x esc in 1x Arduino?
2. Is it possible to use MOSFET IRLZ34N 55v..30A instead of MOSFET 70N03?
yes.possible.
I'm your 5.000th sub and i feel extremely proud
What you want me to make?
Pls make a 180 motor drone
@@unknownff15690
someday I'll try to make one .
GRACIAS !! Adaptado a un Digispark (Attiny85)
Anda espectacular y usando el mismo 7805 que trae el módulo para alimentar el receptor y dos servos.
great to hear that you modified it for attiny85 and it works.
good mr, i want a question, for programming to pro mini, , please tutor
ruclips.net/video/ewEne937YyQ/видео.html
@@ABID5 but ia don't see your program for esc, please shere for program esc in this video,,
the program, diagram,pcb layout parts list everything is in description Link.
Lmfao Got me with that magic soldering hood
Good Job.....
Go ahade.....
Does 7n60 and 45n03 will work
Are the pwm signals from servo tester and the signals which the Arduino generates are different?
yes.Different in duty cycle,peak voltage,time frame.
We had made a 1s esc with nano and a very big thank to you but the problem was that the motor turns on even if the throttle is at low position. what may be the problem? Can you help me?
you need to trim the transmitter or change the minimum throttle value ( in here it is 1100 something) make it less that 1100
Thanks
great work..
Sir this esc is work for flight controller for drones
No, it's just for single channel
do you just use e brushless esc with ur arduino made one to make it wotk for brushed
that will be complicated
can I use any N channel mosfet?? plc help..
My 7.4v battery burnt down. I am left with only 3.7v battery. Can I use it in this esc without having to remove the 5v regulator.
just omit the regulator and direct connect 3.7v
Thanks for not adding some stupid BGM ...👍
Hey...! I have 1 problem with My fs r6 reciver can u just help me out.
What is the problem
I'm anable to find 70n03, does 70n10 will work?
Works.
But to get more current it is required to use a driving transistor for gate to operate 9-12v range
@@ABID5 any other replacement for 70n03 mosfet which can easily available in local markets
but in motors with brushed brushes brushed brushes do brushes wear out? That is, if the charcoal is consumed the engine is to be thrown away? 🙄
50% is gone after 1 year use, but it's enough use for us
Which diod did you use
1N4007
Make a video dc180 can you open it and describe how it is made which copper is used and magnet
Hello sir....
I am planning to make a RC car with a 3ch transmitter and receiver....so I want to use A dc Motor with it of 12v so how can I use and do I need to program the Arduino....PLZ reply fast....I also have a brushless motor but I want to use dc motor as I know how to use the transmitter and receiver with brushless motor....**PLZ REPLY FAST AND HELP ME "*
which transmitter?
@@ABID5 3 ch RC transmitter and receiver
@@ABID5 the transmitter which have a wheel to control the direction that one
you need to spcify the model. So that we can understand the way to use it.
Awesome stuff man! Now try to make a 2 way esc, with brake if possible! Keep it up!
yes brother
Will A 38N30 MOSFET work. I am unable to find 70N30 one
Yes
@@ABID5 thank you
1-) How do you turn it to reverse?
2-) Does it have to be 70N03 or any type of N-channel MOSFET with the same pinout (like IRFZ44N) can work too?
3-) Is the LiPo 7.4V battery is mandatory? Because we are making a rover and will use a 24V dry cell battery as the power source.
Similar mosfet Works also
@@ABID5 Sorry, I wasn't expect you to answer this fast so I edited with more questions 😅 Can you check them too?
1) Sadly it is one way only.
2) Any N channel mosfet with low gate source voltage.
3)Not Mandatory, if buck regulator is used (which has 36v input).
Good luck for your project.
@@ABID5 thank you very much
sir, what is the max output current and voltage of this esc? and does it allow to use the full power of the motor, coz i will be making a drone based on ur esc...so i need to know. and can u pllzzz measure the output voltage of the esc.
yes full power and full speed.
@@ABID5 ok thank you sir. 😄
welcome
How can I use this Motor + Arduino to build a drone ..... Is there an article explaining the project ?
See all comments, somebody already tried it in a drone.
Can I use 15N30 mosfet
yes probably
Can mosfet replacement 70N30 pieces work the same function?
yes...
Do you give me buy link cmu70N03 and motor 180 from aliexpress Or ebay?
motor 180. How many volts?
3.7v -12v or 6v ??
can handle maximum 8volts
Why is there a diode and a capacitor between positive and negative of the motor ?
Diode to save the mosfet from reverse current by induced voltage on motor and capacitor to absorb the voltage spikes.
@@ABID5 Thanks man .. Planning to build a mini quad with this. Your video is the only help to interface motors with arduino. Love it bro! Thanks a ton 😁
welcome!!
Is it Flysky transmitter
CT-6B
Can u use same connection and same code on arduino nano....? And mention the components size please
same code works on uno,nano also.visit linked website for details.
How to rotate dc motor in forward and backward direction with aeroplane transmitter & receiver which you use in your video...??
Please reply.
If possible make a video on it.. please.
I mean an ESC which work similar as like an rc car ESC...but in simple way..
1/There is no simple way simpler than using Arduino.
2/Two direction means H-Bridge. Then the esc needs 4 mosfets (2N channel,2P channel)Which is complicated.
3/Boats,Planes don't need motor to spin both direction So I used just one-direction (not One Direction band)
:D Like the video please.
Ok, for option 1 & 2.
For option 3, i'm not talking about any boat and plane. I'm talking about brushless rc car ESC..and for option 2 their is any schematic please..give me the link..
H bridge for arduino
forum.arduino.cc/index.php?topic=16654.0
Simple H bridge
amrizalfile.blogspot.com/2013/04/prinsip-kerja-driver-motor-dc.html?m=1
how much thrust can be aprox. (gram)
plz help me
I haven't measured, depends on prop size.
@@ABID5 plz help me!
according to you how much it generate thrust !
Can we make a differential esc using the same method and code
yes.then you need to use two mosfets and two input channels
Thanks. But then how the code will change?
Are you electronics engineer?
Your work is awesome bro. Can I use this on my rc cars?
yes
ABID Inc. Fantastic bro, thank you!
Hey bro where do we get that 70N30 MOSFET...?.. please help
Order on ebay.Or any kind of n channel power mosfet will work.
@@ABID5 I tried 45N60...and capacitor burnt and mosfets terminal looks melted
@@ABID5 ..and my diode...IN4007 got burnt..
That can happen only if you reverse connect something. Next time make sure right connection.
@@ABID5 I connected 9v (7809) and it's not burning...but not working .. .. Arduino is lighting up...
Can I put 2 engines in parallel?
yes you can
@@ABID5 thanks
can i use this esc for 12v dc motor
Yes you can.
Can we keep two motors
yes
Waoo😄😄
Is it possible to convert esc to 3.7V?
yes.No need to use a voltage regulator than directly input 3.7v
Lm317t??
No regulator needed.
What kind of regulator(number)?
Sory 🤦♂️🤦♂️
does it have reverse ?
No It doesn't
@@ABID5 is there any way to make brushed esc with reverse...please help me
using h-bridge circuit will do.
@@ABID5 i used L298N Motor driver...but motor is too slow...any substitute?
L298,L293 are worst of kind, anything DIY build with mosfet is better. Follow a simple H-Bridge circuit with mosfet, that's better.
That's not be able to reach the max throttle. Trust me
I want to purchase it can you send this to me
I have made and tried many, I can sell them to you
plz ardino code plz
Please open the motor
it's like a normal motor