Тёмный
No video :(

Run micro stepper motor without driver | Arduino code 

Huy Nguyen
Подписаться 627
Просмотров 37 тыс.
50% 1

Run a micro stepper motor without driver.
In previous video, I showed you where to get a micro stepper motor but didn't show how to run it. Today, I'll show you how to run a micro stepper motor without driver, using Arduino board only.
Code: github.com/huy...

Опубликовано:

 

20 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 43   
@genkidama7385
@genkidama7385 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 лет назад
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 года назад
Do you have a recommendation for a driver? Most inexpensive ones seem to be designed for higher voltage steppers.
@Excomunicater
@Excomunicater 4 года назад
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 года назад
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 года назад
@@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.
@mohammadmahiristehad9196
@mohammadmahiristehad9196 4 года назад
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!
@miked4122
@miked4122 Год назад
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.
@Darfail
@Darfail 4 года назад
ah yes, ASMR and knowledge at the same time.
@SalihArtAndTech
@SalihArtAndTech 2 года назад
Very Nice explanation. Thanks for this video 👍🏻👍🏻👍🏻
@svsv9
@svsv9 2 месяца назад
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.
@reyariass
@reyariass Год назад
Even through the video the soldering smoke goes towards me
@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 года назад
Hi there, thanks a lot for your video. Do you think is it possible to run this program over an Attiny85 ?
@qinghe2965
@qinghe2965 3 года назад
is it possible to micro-stepping with tiny motor? such as 0.1 deg per step?
@lucianolizana446
@lucianolizana446 3 года назад
This is so cool! would it work if i use only the Attiny and not the whole Arduino?
@MrNonozor
@MrNonozor 4 года назад
Great video thanks, but I don’t undersand how it can works without ground wiring ? Impressive speed anyway !
@RiddimDubstep
@RiddimDubstep 3 года назад
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.
@mohamed_abdelkhalek
@mohamed_abdelkhalek 26 дней назад
Name of driver of Micro Stepper Motor ?
@oussamasmaini7297
@oussamasmaini7297 3 года назад
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?:)
@RetroRepair
@RetroRepair 4 года назад
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?
@KhianVictoryDCalderon
@KhianVictoryDCalderon 4 года назад
can i use the code to run on arduino uno?
@Eliasdbr
@Eliasdbr 4 года назад
Hmmm sweet, sweet fumes
@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.
@tusharpawar1
@tusharpawar1 5 лет назад
what is the stepping angle of this motor?
@HuyNguyenStart
@HuyNguyenStart 5 лет назад
Step angle is 18°. Thank for watching.
@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 года назад
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 года назад
@@asmotaku thanks Jean.
@avanifilms4317
@avanifilms4317 4 года назад
nice
Далее
Exploring a Micro stepper motor
8:12
Просмотров 77 тыс.
How to Run a Stepper Motor Without a Driver
4:31
Просмотров 633 тыс.
Новый фонарик в iPhone с iOS 18
00:49
Просмотров 181 тыс.
Stepper Motors and Arduino - The Ultimate Guide
29:57
playing with stepper motors
23:45
Просмотров 48 тыс.
How does a Stepper Motor work?
5:53
Просмотров 4,8 млн
Mini bearings - Small bearings - Where to get it?
3:08
Raspberry Pi Stepper Motor Tutorial
27:32
Просмотров 489 тыс.