DUAL Motor brushed DC PWM Driver Arduino (H bridge 4A/24V) #eduino.io

Every robot project needs at least a motor driver, you want your MCU to make something move right? MP6619 evaluation!
Are you tired of boring MCU projects with nothing but a simple blinky LED? Do you want to actually make something move with your MCU? Then listen up, because every robot project needs a motor driver. But don't waste your time browsing Chinese sites for a solution, because the lack of documentation and schematics will leave you lost in the forest. And even if you do find something, the sizing is often strange and heatsinks are required, making integration into your project a headache.
We know this problem and solved it using the MP6619 from MPS,
That's why this project is also the solution for you.
* Controlling 2 motors in speed with PWM
* brakes
* freewheel
* short circuit protection (SCP)
* Current limiting (OCP)
* Overvoltage protection (OVP)
* suitable for a reasonably large power (around 100 Watt).
* Usable from 6 Volt up to 28 Volt
If you like a little more voltage in your life, goes in over voltage protection (OVP) at 32 Volts.
You can connect your MCU one directly to this, 3.3 Volt or 5 Volt compatible.
What more could you want? Really (let me know)
Often you want to get started quickly and don't have time to make a study of all the options, so you choose this driver.
The driver detects short circuit, overheating and gives a signal back to your MCU, it contains 2 H bridges from efficient N-channel mosfets.
The Rds (on) is 65 mOhm (which is pretty low, so good)
By default, the output current is limited to 4 Ampere.
You can increase this to 5 Ampere by replacing a resistor.
Are you tired of using clunky, outdated drivers that your grandfather would have used?
Say goodbye to the past and welcome the future with our super-compact motor driver! At just 29x49 mm with mounting holes at a normal grid, this driver is modern and sleek.
And the best part?
No heatsinks needed!
But be warned, connecting the logic-pins to a high voltage power supply will result in destruction - as we have proven experimentally by burning one to a crisp.
So why settle for antique technology when you can upgrade to our state-of-the-art motor driver?
-- Nederlandse tekst
Ieder robot project heeft minimaal een motor driver nodig, je wil met je Microcontroller iets laten bewegen toch?
Een knipper-LED wordt gauw erg saai.
Je wilt het wiel niet uitvinden, online zie je door de bomen geen bos meer op de Chinese sites.
Zaken die je ziet in online shops missen documentatie en schema's over hoe het werkt.
De maatvoering is vaak vreemd, koelplaten zijn vaak nodig, integratie in je project is lastig.
We kennen dit probleem en losten het op.
Daarom is dit project ook de oplossing voor jou.
* 2 motoren in snelheid sturen met PWM
* remmen
* vrijloop
* kortsluitveilig (SCP)
* stroombegrensd (OCP)
* overspanningsbeveiliging (OVP)
* geschikt voor een redelijk groot vermogen (rond 100 Watt).
* bruikbaar vanaf 6 Volt tot 28 Volt
Als je graag wat meer spanning in je leven wil, gaat in over voltage bescherming (OVP) bij 32 Volt.
Je kan hier je MCU direct een aan koppelen, 3.3 Volt of 5 Volt compatible.
Wat wil je nog meer? Echt? (laat het me weten)
Vaak wil je snel aan de slag en heb je geen tijd om een studie te maken van alle opties, daarom kies je dus voor deze driver.
De driver detecteert kortsluiting, oververhitting en geeft een signaal terug aan je MCU, het bevat 2 H bruggen uit efficiente N-channel mosfets.
De Rds (on) is 65 mOhm (en dat is behoorlijk laag, dus goed)
Standaard wordt de uitgangsstroom begrensd tot 4 Ampere.
Je kan dit verhogen tot 5 Ampere door vervangen van een weerstandje.
De afmetingen zijn super-compact, namelijk 29x49 mm en de montagegaten zitten op 40x25 mm (gewoon een normaal grid)
Geen koelpaten nodig.
Moderne technologie, geen antieke drivers zoals je opa die al gebruikte.
De logische niveau's op de ingang moet je begrenzen tot 5 Volt, dus 3V3 of 5Volt is prima, maar verbinden met de 12 Volt levert rook/vuur en stank. Dat is nu bewezen in de praktijk ;-)
We know this problem and solved it using the MP6619 from MPS,
That's why this project is also the solution for you.
* Controlling 2 motors in speed with PWM
* brakes
* freewheel
* short circuit protection (SCP)
* Current limiting (OCP)
* Overvoltage protection (OVP)
* suitable for a reasonably large power (around 100 Watt).
* Usable from 6 Volt up to 28 Volt
If you like a little more voltage in your life, goes in over voltage protection (OVP) at 32 Volts.
You can connect your MCU one directly to this, 3.3 Volt or 5 Volt compatible.
What more could you want? Really (let me know)
Often you want to get started quickly and don't have time to make a study of all the options, so you choose this driver.
The driver detects short circuit, overheating and gives a signal back to your MCU, it contains 2 H bridges from efficient N-channel mosfets.
The Rds (on) is 65 mOhm (which is pretty low, so good)
By default, the output current is limited to 4 Ampere.
You can increase this to 5 Ampere by replacing a resistor.
Are you tired of using clunky, outdated drivers that your grandfather would have used?
Say goodbye to the past and welcome the future with our super-compact motor driver! At just 29x49 mm with mounting holes at a normal grid, this driver is modern and sleek.
And the best part?
No heatsinks needed!
But be warned, connecting the logic-pins to a high voltage power supply will result in destruction - as we have proven experimentally by burning one to a crisp.
So why settle for antique technology when you can upgrade to our state-of-the-art motor driver?
-- Nederlandse tekst
Ieder robot project heeft minimaal een motor driver nodig, je wil met je Microcontroller iets laten bewegen toch?
Een knipper-LED wordt gauw erg saai.
Je wilt het wiel niet uitvinden, online zie je door de bomen geen bos meer op de Chinese sites.
Zaken die je ziet in online shops missen documentatie en schema's over hoe het werkt.
De maatvoering is vaak vreemd, koelplaten zijn vaak nodig, integratie in je project is lastig.
We kennen dit probleem en losten het op.
Daarom is dit project ook de oplossing voor jou.
* 2 motoren in snelheid sturen met PWM
* remmen
* vrijloop
* kortsluitveilig (SCP)
* stroombegrensd (OCP)
* overspanningsbeveiliging (OVP)
* geschikt voor een redelijk groot vermogen (rond 100 Watt).
* bruikbaar vanaf 6 Volt tot 28 Volt
Als je graag wat meer spanning in je leven wil, gaat in over voltage bescherming (OVP) bij 32 Volt.
Je kan hier je MCU direct een aan koppelen, 3.3 Volt of 5 Volt compatible.
Wat wil je nog meer? Echt? (laat het me weten)
Vaak wil je snel aan de slag en heb je geen tijd om een studie te maken van alle opties, daarom kies je dus voor deze driver.
De driver detecteert kortsluiting, oververhitting en geeft een signaal terug aan je MCU, het bevat 2 H bruggen uit efficiente N-channel mosfets.
De Rds (on) is 65 mOhm (en dat is behoorlijk laag, dus goed)
Standaard wordt de uitgangsstroom begrensd tot 4 Ampere.
Je kan dit verhogen tot 5 Ampere door vervangen van een weerstandje.
De afmetingen zijn super-compact, namelijk 29x49 mm en de montagegaten zitten op 40x25 mm (gewoon een normaal grid)
Geen koelpaten nodig.
Moderne technologie, geen antieke drivers zoals je opa die al gebruikte.
De logische niveau's op de ingang moet je begrenzen tot 5 Volt, dus 3V3 of 5Volt is prima, maar verbinden met de 12 Volt levert rook/vuur en stank. Dat is nu bewezen in de praktijk ;-)
Mises à jour de l'auteur
eduino.io #oetelx il y a 2 ans
I wanted to share a brief update with you all.
Elektor has approached me to expand and complete my article on the MP6619 chip, so that it can be published in the Circuit Special Edition 2023.
I will be providing more in-depth details about my experiences and the applications of this chip, as well as including example code for Arduino or other MCU. Furthermore, I will be presenting a new 4-layer circuit board design and some notes on adding galvanic isolation between the H-bridge side and the MCU side of the system to mitigate any noise issues that may arise.
To ensure easy accessibility, all KiCad design files and code will be made available on Github or Gitlab.
I would like to express my gratitude for your support of this project.
Best regards,
Edwin
eduino.io #oetelx il y a 2 ans
Wel handig als je odometry inbouwt door encoders op de motoren.
https://en.wikipedia.org/wiki/Differential_wheeled_robot
eduino.io #oetelx il y a 3 ans
eduino.io #oetelx il y a 3 ans
Motor responds as expected.
eduino.io #oetelx il y a 3 ans
Ik zit nog te wachten op de current sense weerstanden, dan kan ik het completeren en testen.
Hierbij het schema van 1 driver.
[https://www.elektormagazine.nl/image/original/190161]
--
After 10 days the circuit boards arrived.
I am still waiting on the current sense resistors before I can complete and test the circuit.
As an attached file : picture of schematic of single driver
eduino.io #oetelx il y a 3 ans
The chip itself is only 3x3 mm in size, a QFN-19 package.
I could not find a supplier for a compact PCB, so I made my own design based on the datasheet.
The PCB is 4 layers, the currents are relatively high and the extra via's allow for better heat dissipation away from the chip.
There has been deliberate consideration of the traces where the high currents will occur, where possible everything has been run wide, on multiple layers and for example the Current Sense resistor (0.050 Ohm) is run as a 4 pin kelvin arrangement.
The circuit boards have been ordered and once I have done the first tests I will do an update here.
If there is enough interest I do want to make a series that you can then buy. We'll see later, that's not important now.
Nederlandse tekst ---
Het project is gebaseerd op de nieuwe H bridge van MPS (Monolithic Power Systems) de "MP6619" die dit jaar beschikbaar kwam.
De chip zelf is slechts 3x3 mm groot, een QFN-19 behuizing.
Ik kon geen leverancier voor een compacte printplaat vinden, dus heb ik zelf een ontwerp gemaakt op basis van de datasheet.
De PCB is 4 lagen, de stromen zijn relatief hoog en de extra via's zorgen voor een beter verspreiding van warmte, weg van de chip.
Er is bewust rekening gehouden met de sporen waar de hoge stromen zullen optreden, waar mogelijk is alles breed uitgevoerd, op meerdere lagen en bijvoorbeeld de Current Sense weerstand (0.050 Ohm) wordt als een 4 pin kelvin opstelling uitgevoerd.
De printplaten zijn besteld en zodra ik de eerste tests heb gedaan doe ik hier een update.
Als er voldoende belangstelling is wil ik wel een serie maken die je dan kan kopen. Dat zien we later, dat is nu niet van belang.
(met dank aan DeepL voor de vertaling)