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
    --

КОМЕНТАРІ • 53

  • @ibrahim.t3530
    @ibrahim.t3530 Рік тому +47

    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 ❤❤❤❤

    • @psyk0l0ge
      @psyk0l0ge Рік тому

      yeah fuck people that craft funny projects for fun. Only hard work counts

    • @Scyth3934
      @Scyth3934 Рік тому +3

      Couldn't have said it better myself

    • @spoonlesscorey1628
      @spoonlesscorey1628 Рік тому +3

      Ok boomer 🤣

    • @KelvneMachado
      @KelvneMachado Рік тому +2

      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.

    • @SineLab
      @SineLab  Рік тому +4

      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 :)

  • @SaiSudhirSurampudi
    @SaiSudhirSurampudi 8 місяців тому +2

    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!

  • @KelvneMachado
    @KelvneMachado Рік тому +4

    I told you so! Look at the statistics of this video! We love true DIY!!!! Congrats

    • @SineLab
      @SineLab  Рік тому +1

      Yes thank you! You were right about these DIY videos :)

  • @redgestabmark
    @redgestabmark Рік тому

    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!

    • @SineLab
      @SineLab  Рік тому

      Good luck with your project!

  • @pham3383
    @pham3383 7 місяців тому

    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

  • @TheMadMagician87
    @TheMadMagician87 10 місяців тому +1

    Great stuff mate, very informative and interesting to watch 👍

  • @yasirshahzad3732
    @yasirshahzad3732 Місяць тому

    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?

  • @alanturner1184
    @alanturner1184 3 місяці тому

    Fantastic video explained perfectly thank you will be trying this out in near future

  • @tips1483
    @tips1483 5 місяців тому +1

    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

  • @cognisent_
    @cognisent_ Рік тому +1

    This channel has a five-season story arc. We're just introducing the characters now. I can't wait for the first twist.

    • @SineLab
      @SineLab  Рік тому +1

      I wonder what happens next...? :)

  • @leperzemog1153
    @leperzemog1153 Рік тому

    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

    • @SineLab
      @SineLab  Рік тому

      Yes thank you. You're right DIY is definitely the way to go from here.

  • @keithcitizen4855
    @keithcitizen4855 10 місяців тому

    I am wondering if 555 timer plus nand gates mixed in with a binary counter could work

  • @electronics.unmessed
    @electronics.unmessed Рік тому

    Really nice Video and good explanations! Really like it, because I just discovered my passion to stepper motors. 🤗

    • @SineLab
      @SineLab  Рік тому

      Enjoy tinkering with your stepper motors! :)

  • @eddiechristian4984
    @eddiechristian4984 Рік тому

    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!

    • @SineLab
      @SineLab  Рік тому +1

      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!

  • @stephenkioko4205
    @stephenkioko4205 Рік тому

    Subed fo this video , continue making more descret component circuits ,i really want to learn the very basics of modern electronics

    • @SineLab
      @SineLab  Рік тому

      More discrete electronics videos to come :)

  • @zoeyzhang9866
    @zoeyzhang9866 Рік тому

    Creative idea and informative video, thank you for sharing!

    • @SineLab
      @SineLab  Рік тому +1

      Thank you for watching!

  • @amirhoseinirandoost
    @amirhoseinirandoost Рік тому

    If for used micro controller abilitytaz transistors and MOSFETs or IC ? Thank you

  • @noobieza0077
    @noobieza0077 Рік тому +1

    Keep going this is very good^^❤❤

    • @SineLab
      @SineLab  Рік тому

      I don't plan on stopping :)

  • @das250250
    @das250250 Рік тому +1

    Good job here

  • @STEALTHIO911
    @STEALTHIO911 8 місяців тому

    I have a question, are the opamps connected to a 5v source and gnd?

  • @quanganh4739
    @quanganh4739 Рік тому

    I have a question: do we need to use MOSFET drivers to control the MOSFETs here?

    • @SineLab
      @SineLab  Рік тому

      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.

  • @shrill_kill9929
    @shrill_kill9929 Рік тому

    please provide detailed circuit and code ❤

  • @ernestwamugo7457
    @ernestwamugo7457 11 місяців тому

    sine lab I have trying and fail do have pcb in pdf

  • @kadalkadalan3618
    @kadalkadalan3618 9 місяців тому

    Stepper acceleration next time..?

  • @THodularSYNTH
    @THodularSYNTH Рік тому +1

    Cool !

  • @ProjectDefi
    @ProjectDefi 4 місяці тому

    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

  • @wherami
    @wherami Рік тому +1

    Very cool

  • @daomingjin
    @daomingjin 11 місяців тому

    try this same engineering exercises with Vacuum tubes ;-)

    • @SineLab
      @SineLab  10 місяців тому

      That would be a good challenge

  • @wiradharma7030
    @wiradharma7030 8 місяців тому

    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😆

  • @ProjectDefi
    @ProjectDefi 4 місяці тому

    A fellow crypto lover also