DIY Stepper Motor Driver From Scratch
Вставка
- Опубліковано 5 лют 2025
- If you are using a stepper motor for your project, then you will most likely need to use a driver. But what goes into making one of those drivers work?
-- Links --
My Website: sinelab.net
Schematic: sinelab.net/pd...
Code: sinelab.net/co...
Buy me a coffee: www.buymeacoff...
Bitcoin Address: bc1qwlfr2ml9km4r5vhpfh7f3m60k80whhcq3ysths
Ethereum Address: 0x7e8B8Ff8D6bD8DfB48b4A139694BB343f040Bb3f
--
This is what I call a true electronics engineer. Everyone nowadays in this field is using modules, simple Arduino code and call it a project. Digging in details and asking "why, this was done and how" is the definition of engineering. Anyways thanks for the informative and unique videos, keep up the good work ❤❤❤❤
yeah fuck people that craft funny projects for fun. Only hard work counts
Couldn't have said it better myself
Ok boomer 🤣
Build from scratch is true learning, it doesn’t mean we would automate some process using a microchip later. Learn to use a microchip is not learning electronics.
Thanks for watching! I agree, there's only so much you can learn from using those pre-made modules. That's why I make these videos :)
Why is the UA-cam algorithm showing me this video after a long time, it should've shown me when I needed it !!
Intuitive and Infotainment. Thanks a lot, bruv!
I told you so! Look at the statistics of this video! We love true DIY!!!! Congrats
Yes thank you! You were right about these DIY videos :)
Amazing job! I'm planning to build my own step motor driver soon for my Electric Motor Drivers class, so I'm definitely going to come back to this video. Thanks for sharing!
Good luck with your project!
Got a 1.7 (german score)doing a project using your video,but i used a esp32 for signal and build my own 220v-24v 1n5004 diode with linear dc regulator,and external IR for position
Thanks for the vid
can u sshow mw schmeatics?
Great stuff mate, very informative and interesting to watch 👍
Hi @SineLab, your tutorials are always great, and I always learn something new from them! I have a question: for adaptive current control based on torque (low torque = low current, high torque = high current) using MOSFETs, should we implement it using feedback from the shunt resistors or the back-EMF of the coils? Can you answer in one or two lines?
Fantastic video explained perfectly thank you will be trying this out in near future
For the full wave driving a cool way you could've drived it would've been a simple binary counter:
oil 1 - C1
coil 2 - C2
c1 +-
c2 +-
c1 -+
c2 -+
So with a 2 bit binary counter:
XY
00
01
10
11
We can use the X bit to toggle between driving the coil in the +- and -+ direction.
Then we can use the Y bit to toggle between working on c1 and c2
Great suggestion
This channel has a five-season story arc. We're just introducing the characters now. I can't wait for the first twist.
I wonder what happens next...? :)
Now to have made the transistors, resistors, capacitors, diodes, all components out of metals you forged that you mined.. to have created the mountain for the metal to reside in, and the very laws of nature for these materials to be stable. To have created the sciences to lead innovations to this point. Lest we forget we forget, the entire universe itself, and the NspaceNtime which it resides in. Truly an inspiration..
But DIY yourself into the algorithm.. just add that to the start of the vid, all your vids with it have more views but your content is essentially all DIY so just sell that.. and look even someone suggested this already
Yes thank you. You're right DIY is definitely the way to go from here.
I am wondering if 555 timer plus nand gates mixed in with a binary counter could work
Really nice Video and good explanations! Really like it, because I just discovered my passion to stepper motors. 🤗
Enjoy tinkering with your stepper motors! :)
I am trying to replicate what you have done. In the video you talk about using potientometer, however I dont recognize those on your schematic? Is R17 and R25 ptientometers? Thanks for this great video, this is by far the best reference I have!
It's been a while, but I don't think that the potentiometer is used in the final schematic. It was simply an intermediate step to test a variable voltage.
It was replaced by the DAC so that the microcontroller could change the voltage.
I hope that this helps!
Subed fo this video , continue making more descret component circuits ,i really want to learn the very basics of modern electronics
More discrete electronics videos to come :)
Creative idea and informative video, thank you for sharing!
Thank you for watching!
If for used micro controller abilitytaz transistors and MOSFETs or IC ? Thank you
Keep going this is very good^^❤❤
I don't plan on stopping :)
Good job here
Thank you!
I have a question, are the opamps connected to a 5v source and gnd?
Yes
I have a question: do we need to use MOSFET drivers to control the MOSFETs here?
If you were using high-side N-Channel mosfets, then yes. You would need to bootstrap them.
But in the video I used P-Channel mosfets, so only an NPN was needed to invert the signal and drive them.
please provide detailed circuit and code ❤
sine lab I have trying and fail do have pcb in pdf
Stepper acceleration next time..?
Cool !
Hey bro. Im trying to build a tattoo machine and want to use a step driver. Is there a way i could hire you to help me
Very cool
Thanks!
try this same engineering exercises with Vacuum tubes ;-)
That would be a good challenge
Nah, if i use something i just need to know what happen. So before just using stepper driver ic i just want to try manual mode. But, i am too lazy to make my own h-bridge so i use ir2110, then i was too lazy to calculate deadtime so it was ir2153😆
A fellow crypto lover also