Run micro stepper motor without driver | Arduino code

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ย. 2024

ความคิดเห็น • 43

  • @genkidama7385
    @genkidama7385 2 ปีที่แล้ว +2

    Hi thanks a lot. i purchased some extremely tiny stepper on ebay, they are so tiny that they are sold 10 by 10, when looking closely their encloure seems to be made of thin sheet metal, and welded by pulse laser or very low voltage spot welding. im so impressed by these tiny devices. lool. your code works perfectly. thanks a lot. people always so lazy and use somebody else's code and libraries, and additional module boards to make stepper motors work. i can apreciate the simplicity and making use of things as they are. This way we directly see how the inner coils of the motor are enegized one after the other to produce the steps. the tiny stepper motor spins, it is so funny, i have great project ideas for these.

  • @first-persondiy6909
    @first-persondiy6909 5 ปีที่แล้ว +11

    Each pin can only supply 40mA max but 20mA is recommended. Driving a stepper in this way, though a neat hack, will likely damage your chip. Especially if you run it for extended periods of time.

    • @Aufek
      @Aufek 4 ปีที่แล้ว +2

      Do you have a recommendation for a driver? Most inexpensive ones seem to be designed for higher voltage steppers.

    • @Excomunicater
      @Excomunicater 4 ปีที่แล้ว +1

      And voltage isn’t as big of an issue as current is. You can run it a higher voltage than what the motor says, but you shouldn’t exceed the current rating.

    • @lispnagya2993
      @lispnagya2993 4 ปีที่แล้ว +1

      Well, looking at inductors, they will most likely damage the chip anyways, even after small periods of time.
      Id recommend using diodes to let the motor take its own induced current spike to save the chip.

    • @asmotaku
      @asmotaku 3 ปีที่แล้ว +2

      @@lispnagya2993 You can't use freewheeling external diodes thought, as those steppers are bipolar.
      Those diodes have to be paralleled to the transistors, not the load. And the push-pull transistors are tied in series INSIDE the MCU... Soooo....

    • @nraynaud
      @nraynaud 2 ปีที่แล้ว

      @@lispnagya2993 there are diodes on the IO pin. They might be a bit small, tho.

  • @reconnaissance7372
    @reconnaissance7372 ปีที่แล้ว

    Great video. I wanted to get some basic understanding of a micro stepper motor, and this absolutely delivered. Thank you.

  • @svsv9
    @svsv9 3 หลายเดือนก่อน

    I need to build a micro Pan tilt Camera. Can a code similar be programmed to make smooth and slow movement with this? I just need to motor 2 axes movement 90 degree limit 45 in direccion(half left, half right, half up and half down). I saw a micro motor with a tiny gear reducer but this approximation you have done here I think can work better. Thank you for sharing. Maybe you may share some info.

  • @SalihArtAndTech
    @SalihArtAndTech 2 ปีที่แล้ว

    Very Nice explanation. Thanks for this video 👍🏻👍🏻👍🏻

  • @Darfail
    @Darfail 4 ปีที่แล้ว

    ah yes, ASMR and knowledge at the same time.

  • @miked4122
    @miked4122 ปีที่แล้ว +1

    I don't know about the steppers being used here but my micro stepper motors have a coil resistance of 20 ohms. In this application that would mean a current draw though each pin of 250mA. That's way more than what the Arduino could supply or sink.

  • @mohammadmahiristehad9196
    @mohammadmahiristehad9196 4 ปีที่แล้ว +3

    If anyones wondering if this will work for bigger motors. Yes it will. I was driving a NEMA 17 stepper motor off of my laptop with my nano. though you dont want to try higher speed as it will necessarily draw more power. i though risked it and the motor just stopped. dont know why....maybe a current limit feature on nano board. but nothing got damaged as reducing the speed motor started working again. Thanks for the video.

    • @helmut666kohl
      @helmut666kohl 3 ปีที่แล้ว

      Yes. But DON'T! Without any load a NEMA 17 will already exceed any pin specs on an arduino. if you stall/load it it will first trigger the internal safety-diodes or just burn your port to a crisp. Never drive inductive loads from your pins!

  • @Merlin5150III
    @Merlin5150III ปีที่แล้ว

    Hi, like the video, Ive been working on a stepper project and wanted to save on space, so this is perfect how ever is there a way to control the steps? like 20 steps forward/20 steps back-ward

  • @alixberthelot5190
    @alixberthelot5190 2 ปีที่แล้ว +1

    Hi there, thanks a lot for your video.
    Do you think is it possible to run this program over an Attiny85 ?

  • @lucianolizana446
    @lucianolizana446 3 ปีที่แล้ว

    This is so cool! would it work if i use only the Attiny and not the whole Arduino?

  • @qinghe2965
    @qinghe2965 3 ปีที่แล้ว +1

    is it possible to micro-stepping with tiny motor? such as 0.1 deg per step?

  • @MrNonozor
    @MrNonozor 4 ปีที่แล้ว

    Great video thanks, but I don’t undersand how it can works without ground wiring ?
    Impressive speed anyway !

    • @RiddimDubstep
      @RiddimDubstep 3 ปีที่แล้ว +2

      You don't need ground wiring. When one of the pins is set as High, the other one on the coil is set as Low therefore the Low acts as ground.

  • @reyariass
    @reyariass ปีที่แล้ว +1

    Even through the video the soldering smoke goes towards me

  • @mohamed_abdelkhalek
    @mohamed_abdelkhalek หลายเดือนก่อน

    Name of driver of Micro Stepper Motor ?

  • @oussamasmaini7297
    @oussamasmaini7297 3 ปีที่แล้ว +1

    Hello. Please i want to run 32 steper motor of those kind. On a small project. Do i need to use for each it's own steper motor driver or i can just contrôle them with arduino if yes please tell me what i need to make them work.
    Thanks in advance.

    • @anivaryapawar9871
      @anivaryapawar9871 3 ปีที่แล้ว

      Did you make your project? Did it work?

    • @oussamasmaini7297
      @oussamasmaini7297 3 ปีที่แล้ว

      @@anivaryapawar9871 unfortunately do to corona i still didn't get the steper motor's yet. But I'll share when i make some progress

    • @alexandre74134
      @alexandre74134 3 ปีที่แล้ว

      @@oussamasmaini7297 Have you tried please ? i want to run 12 of those motors with an esp32

    • @oussamasmaini7297
      @oussamasmaini7297 3 ปีที่แล้ว

      @@alexandre74134 not yet. I still couldn't put my hands on the motor's yet

    • @muntus
      @muntus ปีที่แล้ว

      @@oussamasmaini7297 any progress update?:)

  • @placebo_yue
    @placebo_yue 2 ปีที่แล้ว

    its not working for me brother. Any clue what could be happening? i tried every possible combination with the wiring, and i used your code. I'm freaking out over this shit

  • @sarahd216
    @sarahd216 3 ปีที่แล้ว

    How’s the torque for this motor? Will it rotate if there’s any resistance?

    • @spermwater
      @spermwater 3 ปีที่แล้ว

      If you pinched the shaft you could stop the mini stepper motor with your hands easily.

    • @helmut666kohl
      @helmut666kohl 3 ปีที่แล้ว

      Looking for some data too. A simple torque-measurement for all those tiny motors avail would be nice.

  • @Eliasdbr
    @Eliasdbr 4 ปีที่แล้ว +1

    Hmmm sweet, sweet fumes

  • @KhianVictoryDCalderon
    @KhianVictoryDCalderon 4 ปีที่แล้ว

    can i use the code to run on arduino uno?

  • @RetroRepair
    @RetroRepair 4 ปีที่แล้ว +1

    You should at minimum put a protection diode across the coil

    • @Darfail
      @Darfail 3 ปีที่แล้ว

      Hi could you please explain what you mean by this? What if we want to use it in both directions?

  • @ShahyanBharucha30
    @ShahyanBharucha30 5 ปีที่แล้ว

    can we do this with arduino mini 3.3v board using micro stepper motor? and will it not hurt the board in any way? thanks

    • @asmotaku
      @asmotaku 3 ปีที่แล้ว +2

      Do the math : these small stepper motors are usually 14.4 ohms per winding. I=u/r means @ 3.3V, you'll draw more than 200mA of steady current, on a MCU pin that can't hardly handle 20mA without taking damage.
      Moreover, the total current capacity of any MCU is always an order of magnitude less than the sum of each pin max allowed current.

    • @ShahyanBharucha30
      @ShahyanBharucha30 3 ปีที่แล้ว +1

      @@asmotaku thanks Jean.

  • @avanifilms4317
    @avanifilms4317 4 ปีที่แล้ว

    nice

  • @tusharpawar1
    @tusharpawar1 5 ปีที่แล้ว

    what is the stepping angle of this motor?

    • @HuyNguyenStart
      @HuyNguyenStart  5 ปีที่แล้ว

      Step angle is 18°. Thank for watching.