Это видео недоступно.
Сожалеем об этом.
Smallest ESC with Arduino - Circuit & Code
HTML-код
- Опубликовано: 16 авг 2024
- High quality PCB prototypes: www.pcbway.com
Project and PCB: bit.ly/496j71T
🔥I've made yet another ESC based on Arduino. Works the same but is a lot smaller having a basic circuit. Is just a prototype so I can't promise nothing more...
🔀LINKS
-------------------------------------
Tutorial Page: electronoobs.c...
Thermal camera: s.click.aliexp...
Previous ESC Tutorial: electronoobs.c...
My tools: electronoobs.c...
Mars T-Shirt: electronoobs-m...
🤝SUPPORT
-------------------------------------
Join my Arduino Course (Spanish): bit.ly/2JY8icE
ELECTRONOOBS.io: electronoobs.io
Donate on PayPal: www.paypal.com...
Help my projects on Patreon : / electronoobs
my Q&A page: electronoobs.i...
Facebook page: / electronoobs
Canal en Español: / electronoobs en español
00:00 Intro
08:51 Thank You
Like share and subscribe to motivate me. Thank you
#ESC
#Circuit
#arduino
#pcbway
A few tips, you can always solder one side using a mini hot plate and do the other side with hot air. Makes it alot easier.
Hot air + small component = component lost somewhere in the room
Unfortunately, only soldering iron for the opposite side.
@@dekipetnaah, you just need slow air, soo minimum air speed and big nozzle. i regularly solder 0402 and 0201 with hotair
@@dekipetLearn what flow controls do or stop using blow dryers and heat guns. I haven't bought one from Temu to say All but even the old Weller knock offs have a leak valve on the air nozzle end. If you can do component soldering but can't make your station mind you then it is kinda a you problem really. Not trying to be negative but assure you the solution is within yourself and looking at your tools for blame is a cliche.
@@rallyfeindWho shaked your cage?
@@dekipet Unless you being snippy with me is fixing your airflow issues then you need to focus on that. I can talk differently but I doubt my eloquence alone will magically make you better at soldering or change the setting on your station for you. Hope that was both polite and informative enough that you actually do gain the reliable skill and can benefit. Now handle the problem instead of trying to be cute please.
Thank you for also showing the failures. This shows how complex it can be to develop a proper layout.
You can try putting a diode between VCC and (atmega + capacitor). That way, high motor current spikes won't discharge the capacitor and the atmega will have power so it won't reset.
8:12 The Atmega328P is NOT particularly sensitive to voltage fluctuations - it officially works down to 4.5V up to 20MHz, down to 2.7V at up to 10MHz, and down to 1.8V at up to 4MHz. But that’s just what is guaranteed. In practice, most of them will happily work at 16MHz on just 2.7V. (On Arduino, the bootloader is programmed to enable the brownout reset at 2.7V.)
But what about the rest of your circuit? Does it malfunction below a certain voltage?
You probably just need a) more local smoothing capacitance, both bulk electrolytic as well as ceramic for high frequency, but also thicker supply wires to enable the caps to charge quickly enough.
i have used SIA519EDJ-T1-GE3 this mosfet pair in single package for a similar project. I have rechecked some basic parameters and this will be more than enough for your requirement. gate charge and capacitance is low enough that a MCU will be able to drive it without any problems. although i used gate drivers. package is little bit tricky to solder, but with a hot air and good fixture for pcb, it will be just a walk in the park. This will greatly reduce the space requirements. Also put couple of 10uf/16v caramic caps near the mosfet power rails and atleast one elec cap on the main power pads with short leads. looking forward to your final project. keep us updated.
Having the board house do the assembly is great for stuff like this. It also makes it easier to catch things like the bad mosfet pinouts during BOM and placement specification :)
It's an interesting project to have a minimalistic ESC, but it would be educational to compare it to a similarly sized commercial offerings, like the HAKRC 35A.
I would be curious to learn how the commercial ESC achieves much higher currents, and how the much more complex 32 bit control algorithm behaves under changing load compared to your straightforward loop.
They have a dedicated driver IC, you can look at the AM32 source code to give you an idea as BLHeli_32 is closed source
Keep going man....... You are one of my favourite electronics content creator. Other are great scott, diy perks, electroboom, techiesms.
These videos that are more about the journey are great! The electronics and design files will speak for themselves 😃
0:04
Will Gram (from Hannibal): This is the smallest SSC for triple phase brushless motors..
this is my design
Over current causing repeated resetting of uC was a common hinderance...because this is a random/anytime event...so we got around it with a little additional hardware,so the uC is no longer interrupted randomly.....
The over current comparator output was fed to the D i/p of a D ff and clocked on the FALLING edge of the pwm pulse.....
The "Q" output of D ff now interrupted the uC. during faults.....Worked like a charm..😅😂
Cool stuff. Showing the evolution and various steps is the best for learning
Why not use STM32 which is cheaper and more powerful ? Nice work nonetheless 💯
There are many that makes their own AM32 ESC already based on the standard ESC schematic
to solder a resistor or a cap this small i usually use solder on one side, i apply flux and solder one side of the resistor to the newly applied solder. Apply flux again and solder the second side free handed now. i hope it helps
great video bro, I like that it's kinda beginner friendly and using things that are affordable, but yet they offer a lot in a small package. Great job
It's a pleasure to see a successful project coming to alive.
Thanks for sharing
You know what I miss in the RC hobby?
A GPS with 20x20mm mounting holes. They never come in a easy to mount form factor. I can't really think of a GPS for the hobby that has any mounting holes.
A RP2040 microcontroller with the same dimensions would also be nice.
I have fixed interference with brushed motors with a 100nf cap on the input of the motor. You could solder them between ground and the coil outputs. Solder a 10uf cap directly to the VCC and GND pins of the ATMEGA 328p.
Great work, very well made and explained. Have you considered dual-mosfet packages? E.g. PMCPB5530X - 2x2mm, 4A continuous, typical RDS 26mOhm. A smaller microcontroller will be the easiest way to save space though. ATtiny806 has a comparator and is just 3x3mm.
it seems like a nice thing to know electronics and just make your own stuff
Great video!
If you want to further improve your ESC and perhaps make a version 4, you should take a look at the ATTiny861A microcontroller. It is specially designed for this kind of application. A single 64MHz timer (with the internal 8MHz CPU oscillator) manages 3 PWM signals with complementary output, with deadtime management.
It's almost perfect for an ESC!
Good stuff finding those swapped connections! I'd have been scratching my head for days on that lol.
Looking good. I know there are some components out in the wild that can make an even smaller brushless ESC without sacrificing power. I have 3 such components and the only missing item is the MCU which I thought I had found a solid company, but all they did was waste my time. Edit: Sent you an email with photos of 2 of the items.
Great video. Could you built an esc with DRV8323 IC and IRFS7530 MOSFET?
Amazing work! You inspire me to make some of my own PCBs.
The smallest esc is the uESC it's 6x10mm and with flex pcb it weighs about 0.1 grams. I like indoor rc planes and it's about the best and open source. There is a smaller one from microflierradio that is 7x4mm and 0.08grams but, they're only 1 amp and 50 bucks, that's more than the entire cost of most my planes and I don't build small enough for hundredths of a gram to matter anyway. Also the uESC is only two layer.
When ever I do soldering, my health is getting bad and I get sick, why it's happening to me?
I use all the precautions like wearing gloves, mask, glass, and I will do soldering in a well ventilated place.
Can anyone say me the remedy if it's happened to you?
Wow that is tiny. You probably want to do something to isolate the FET power from the microcontroller rail. That inductive load is probably creating a back EMF that is coupling right into the chip.
Why are you sticking with the 328P and not a smaller atmega or attiny?
I'm used to it and the most important, is the only one that has an internal comparator. Is a key fature for this project..
i was waiting for this project
Hola amigo, gracias por compartir tus avances, eres genial!! Gracias de verdad. Tengo una consulta, es posible hacer un ESC con el micro ESP32???
Hi Sir, I liked your video very much but there is a small problem in it which you told that it is auto resetting itself. Have you found its solution?
sot23 mosfets, uC with qfn package, massive crystal?
Why not get something smaller?
It probably would be better to switch to st and also use the popular firmware called blheli, it's advanced af and open source I believe, there's probably loads of OS simple ESC designs.
Make a beatflight flight controller using stm32f103 ,mpu6050 and bmp280 and as a next part add osd to that fc board so it would be cheap and also usabale ✅.
Hii i want a C- type charging module with 5v usb output to charge 4.2v 4000 mah litium polymer battery i want to make a power bank so please can you suggest me any module for this project
Can you make a video on how to make an esc for brushed motor using Arduino?
look at the MX-3A Micro Brushless ESC to inspire you to make a smaller one next time.
Small parts, great work!
I highly recomend a fume extractor and glove, The fumes and and handling the metals can be toxic to the lungs , brain, and skin.
Is posbile to make esc that doesnt make noise and running smooth like brushles motor driver?
Could u try controlling a HUB motor or ceiling fan motor with the previous esc? How would the code change? I tried to change the manual windup starting code but it cant reach a high speed for some reason and the motor jitters a lot 🥲
❤ wonderful bro. But comercial one has only 14 pin chip and how it drive the MOSFET.
Damn I really appreciate your patience and time , soldering such small components that too keeping it focused on the camera
Programming it
Not an easy task
My 24 year old ass is still try to figure to make a automatic pet feeder using esp and a webpage
Maybe( can you do a tutorial;)?)
Btw for the controller
I remember great scott showed a new micro controller from holtek
The IC is cheap but programmer is expensive
It will be cheaper if you plan to made produce these as programmer is 1 time investment
But anyway awesome video as always
And please probably a pet feeder ? 😁 I am trying i help animals on street during these harsh summer .
I don't know how to code them but BB2 chip is really small and I have an ESC that just as wide as my index finger that uses this chip. And it's "rated" at 30A. I'm still amazed by it. And how about firwmare like blheli etc?
Do you plan to finish your msla printer? Would love to see it working!❤
nice video, do you fly fpv drones by any chance? :D
Would be nice if it was possible to use all n channel mosfets with a 6 channel mosfet driver. Would make it significantly more efficient.
Had a quick view of the schematic aqnd noticed there are no trimming/tuning caps on the external 16MHz clock line. Is there a reason for this? I am not familiar with the ATMega product line. Some MCUs have built-in trimming caps. This would explain why the board works but resets after a while (stray capacitance on the crystal line from the PCB is just enough but not immune to noise in environment??)
Is not a Cristal, is a resonator so it already has the capacitors inside...
Are you aware of a way to share pcbway settings (or any other of those services)?
I want to share a link where to buy my pcbs, but having to tell users how to configure the pcb is quite a hurdle
Can we alter the code to act like a foc controller using same hardware ?
Thanks for the awesome video!
This is really awesome ❤ now use it in a drone
What software do you use for your schematic drawings. Curious. Great video, again!
Those long leads and high ESR on the capacitor were probably reducing its usefulness
Dude! My new hero :)
Excited !!
Clever!
Can you make a tutorial on high power esc for foc control ? 😢 by not using L6234 driver
What about FoC control ?
Show the next video about the soldering iron, please 🥺
now that is a project
i like 🎉
im so confused why the music is so quiet???
You make nice videos but the thing is i dont see any improvment in video production quality. that's why the viewcount constatly drops. i wish you could improve
Thank you! For the algo.
Good project
Why mega328P? So big.
There are some much smaller ESCs attached to computer fans.
Cool. But can it run doom?
THANKS !!!!
Thanks a lot..
Hey guys look at this guys TINY ESC! Mine is WAY bigger!
Где скетч?
Do those bldc motors sent inductive spikes back to the controller?
I think the do... And that are used as feedback for mcu
@@Hypoengg and do you know by any chance if the simplification of the schematic got rid of protection/filtering of excessive (i.e. mcu resetting) spikes?
@@Peter_A1466 adding capacitors would help
Almost only counts in 3 things. Horseshoes, hand grenades, and H-bombs.
Decoupling capacitors are not optional, you just found out why.
I've placed an external ones and it still resets. The new design has more... Let's see if it helps...
@@ELECTRONOOBS An external ones is kind of confusing language, it implies either a singular capacitor or multiple at the same time. You used more than just the electrolytic cap? Because that is not enough or in the right placement. Should be at least 3 ceramic caps, as close to VCC and ground pins as possible.
Good luck with the new design, I hope it works for you.
Try stm32f030
Cool
I know there was a guy also making Small ESC's
Wow
Kraaaaaaaaaaaal . Its means king at my langue
Write on deepL
neni kral
❤
first
interesting.
Cool
❤