Тёмный

Build an optic encoded HIGH precision step motor 

Electronoobs
Подписаться 576 тыс.
Просмотров 77 тыс.
50% 1

DIY step motor optic switch encoded. Encode the steps per one rotation and then you could control the angle of rotation, speed, and turns. Very nice project part of a bigger project of a 100 € own design of a CNC optic encoded machine.
Help my projects on Patreon : / electronoobs
my Q&A page: electronoobs.com/eng_preguntas...
Canal en Español: / electronoobs en español
-----------------LINKS-------------------
Tutorial webpage: www.electronoobs.com/eng_ardui...
H-brige tutorial: • H-bridge DC motor spee...
---------------MATERIAL---------------
Optic switch: www.ebay.com/itm/10-Pcs-1-6-Sl...
Gears 1:200 ratio: www.ebay.com/itm/DC-6V-12V-8-1...
3D files of the Step motor: www.electronoobs.com/eng_ardui...
32 steps drelled disc: www.electronoobs.com/eng_ardui...
H--bridge module: www.ebay.com/itm/Stepper-Motor...
---------------SCHEMATICS-----------
Resistance test schematic: www.electronoobs.com/eng_ardui...
Final Schematic: www.electronoobs.com/eng_ardui...
---------------CODE-----------
Arduino steps count: www.electronoobs/eng_arduino_t...
Angle control: www.electronoobs/eng_arduino_t...
my Q&A page: electronoobs.com/eng_preguntas...
Visit my webpage for more tutorials:
www.electronoobs.com
SUBSCRIBE and motivate me!!!

Наука

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

 

8 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 61   
@ELECTRONOOBS
@ELECTRONOOBS 7 лет назад
Sorry, GOOD schematic in here: www.electronoobs.com/eng_arduino_tut9_sch2.php The output is pin 4 at 6:11
@aaronramly1705
@aaronramly1705 5 лет назад
hi electronoob,is the motor have enough torque & speed if i use it for 3d printer ? im trying to make a 3d printed nema motor equivalent that can match the specification.i dont mind it size a little bigger than nema 17 size. this is the motor number (17HS4401) it is widely use in the 3d print community. i can't find any tutorial for it.i would so much excited if you could make one. how do i connect the motor to the ramps 1.4 board ? what driver to use ? thank you Electrnoobs
@aubreydebliquy8051
@aubreydebliquy8051 3 года назад
How do you prevent losing track of position when the motor changes direction? If you have two gap sensors offset by 90 degrees you can have a quadrature output to solve this problem.
@jjbailey01
@jjbailey01 6 лет назад
This is awesome how you build every component yourself. Thanks for sharing the process. This is a tremendous learning tool!
@Seshagopalan967
@Seshagopalan967 7 лет назад
Absolutely Awesome!
@khanqaiserster
@khanqaiserster 6 лет назад
I watched your video on 10/2/2018. I hope you have completed your project successfully. It was an awesome demonstration of the idea.
@naboulsikhalid7763
@naboulsikhalid7763 Год назад
how we can't like your videos, that represents all details and deep understanding og electronics, mechanics and software. thank you for your generosity
@ronalddhs3726
@ronalddhs3726 7 лет назад
Great job... I might just have to build one. Thanks for the videos.
@r.vishal9750
@r.vishal9750 3 года назад
Thank you dude I wanted to make a project which required a lot of stepper which rocketed the price but with the help of this video I reduced the price
@isettech
@isettech 5 лет назад
In industry the encoder as shown in the video at 47 seconds is common. The reason for the two groups of slits is for higher resolution and dust immunity. Instead of a single slot and beam, a series of slots are matched to the encoder wheel so multiple slots are combined at once, so a defect in one slot or bar on the disk does not create a drop out as the one of many is ignored. The reason for two sets of slots is one is shifted by 90 degrees so absolute position can be counted the same way 2 coils of a stepper produce steps. The output of an incremental encoder can be fed to a dual h bridge to drive a stepper directly. With a 500 count encoder, a 200 step stepper will make 2.5 turns per one turn of the encoder. This type of encoder is called an incremental encoder. The middle slot is for the index mark if you require an absolute shaft angle. 500 slots is common for a native resolution of 500 counts. If each transition of both phases are used for counts, this provides a resolution of 2000 counts per revolution. This is common in servo systems. This is why servos generally have higher resolution than a 1.8 or 0.9 degree stepper with only 200 or 400 steps per revolution.
@johnymerida2110
@johnymerida2110 6 лет назад
excelente informacion bro..........!
@tahirkamboh147
@tahirkamboh147 4 года назад
Very good and helpful
@unionse7en
@unionse7en 7 лет назад
you can put a braking resistor (or short) to significantly help the motor braking when power is removed.
@pecilijevelicanstveni4973
@pecilijevelicanstveni4973 7 лет назад
Good job!!!
@learnmore7969
@learnmore7969 3 года назад
this is very good
@Olavotemrazaodenovo
@Olavotemrazaodenovo 4 года назад
Excelente
@sphynxusa
@sphynxusa 7 лет назад
Nice job!! Yesterday, I took apart an Epson Inkjet printer expecting to find a stepper motor. Instead I found a DC motor controlled using an optic switch like yours and an encoder dial with very fine marks. So only 2 wires were required to the motor versus 4 or more. Probably a cost decision or maybe something to do with patents. But your video shows precisely how the Epson printer ink head could be controlled. I'm beginning to think about creating a CNC using this idea. Thank you.
@ELECTRONOOBS
@ELECTRONOOBS 7 лет назад
That's a very nice idea. I'm working on a CNC based on this idea for more than a year!
@douro20
@douro20 7 лет назад
HP and Epson uses servo motors in most of their printers. You're more likely to find steppers in older Canon inkjet printers or laser printers.
@ToonMeynen
@ToonMeynen 6 лет назад
Thats great!, Can you get it to work?
@MrHuno92
@MrHuno92 7 лет назад
I think your intro may contain copyrighted music(guitar solo), I would change it unless you are absolutely sure that you can use it or you recorded it yourself. I love your videos great job!
@alexwang007
@alexwang007 7 лет назад
thought about PRINTING the dials? :) printing it on a transparent sheet with a ink or laser printer would have great resolution, and saves space+cost. AWESOME WORK!
@douro20
@douro20 7 лет назад
It has to be accurately printed. Laser wouldn't be very suitable because it's not as accurate at putting down lines on paper as is inkjet.
@botak333
@botak333 Год назад
Hi sir it posible to use magnetic encorder as5600 with spi comunication?
@SumitKumar-fc4bq
@SumitKumar-fc4bq 7 лет назад
can you make videos on how to set up GPS in arduino quadcopter
@edism
@edism 5 лет назад
You wanna pronounce circuit like it's spelt "Sir Kit" buddy! You are saying sir "quit" in this video. Great upload!
@indiancreators8230
@indiancreators8230 6 лет назад
Can we use it in 3d printer
@caleb-hill
@caleb-hill 7 лет назад
what's the Holding Torque?
@3dkiwi920
@3dkiwi920 6 лет назад
Very informative and well presented. One question though; wouldn't there be a lack of holding torque when the motor stays still, unlike a stepper which can "hold" its position while still under load?
@tenlittleindians
@tenlittleindians 6 лет назад
3D Kiwi. Pid control of this home made servo can control holding torque.
@pepelevamp2752
@pepelevamp2752 6 лет назад
thats impressive. remembering to use grey code? :)
@tobi1234100
@tobi1234100 6 лет назад
I think it is better to use the interruption pins in the arduino to detect the step change in the arduino. It reacts instantly and would never skip a measurment.
@ELECTRONOOBS
@ELECTRONOOBS 6 лет назад
True!
@pantoffelheld14
@pantoffelheld14 7 лет назад
Can u make a video about fingerprint scanner door lock with arduino
@dannyk5084
@dannyk5084 4 года назад
Do you have a sample sketch for this?
@peppem94marsala
@peppem94marsala 6 лет назад
"bigger project of a 100 € own design of a CNC optic encoded machine" have you finished the aforementioned project? are there any videos? I'm also building a cnc with DC motors and encoders
@viswanath7168
@viswanath7168 4 года назад
This project code link is not opening
@antonioranaldi3455
@antonioranaldi3455 6 лет назад
clear and clean explanation, can you tell me how to activate or insert this function in marlin in order to avoid the loss of steps in 3D printing?
@ToonMeynen
@ToonMeynen 6 лет назад
Good question! Is it possible with current Marlin to use this kind of motor?
@tenlittleindians
@tenlittleindians 6 лет назад
Toon Meynen Not currently supported in. Marlin. I'd suggest you ckeck out Maslow cnc as it's open source and they use servos rather than steppers in their cnc design!
@cemmotivos3331
@cemmotivos3331 4 года назад
2019 and didn't the final diy servo cnc, what happened bro?
@swarajbiswas3056
@swarajbiswas3056 4 года назад
Hello bro. Can you please give the test code. The description link is not working.
@simonmerrett
@simonmerrett 7 лет назад
Isn't the backlash/play in the gear system at the output shaft, after the encoder has been measured, so you can never achieve the required ~18 encoder steps per degree accuracy? Still useful but how about encoding the output shaft? Hall effect or capacitive sensor and good ADC could be a good way.
@ELECTRONOOBS
@ELECTRONOOBS 7 лет назад
The precision is higher with the encoder inside on the motor shaft than with it outside on the output shaft. Keep up!
@simonmerrett
@simonmerrett 7 лет назад
Electronoobs, precision != accuracy. You want many measurable increments for a small rotation of the shaft but this precise measurement may have little relation to the position of the output shaft, after the mechanical "play/slack/slop/hysteresis/backlash" of the gearbox comes into consideration. This is why I suggested a continuous/non-incremental sensing phenomenon, such as capacitance or magnetic field; then you can invest in a sensor with the precision you require (e.g. ADC resolution for a ratiometric Hall effect sensor). Keep up!
@simonmerrett
@simonmerrett 7 лет назад
Diamond Eyes sorry, I don't understand what you mean.
@tenlittleindians
@tenlittleindians 6 лет назад
Simon Merrett I think he"s suggesting to use resolvers instead of encoders.
@mustafizsiam1506
@mustafizsiam1506 Год назад
Is your cnc machine ready?
@yongxiangu6969
@yongxiangu6969 7 лет назад
How does the motor stop in a certain position with a torque?
@ELECTRONOOBS
@ELECTRONOOBS 7 лет назад
The code has to slow down the spin just before the stop
@MrLimetto
@MrLimetto 7 лет назад
6:11 Why have you used a 2 Megaohm Resistor? In my understanding when the Transistor will be conductive, there will still be 4.99 Volts left on the output. Am I right with that?
@ELECTRONOOBS
@ELECTRONOOBS 7 лет назад
Hi, you are right but is not the 2M ohm resistor problem. I've miss placed the output in the schematic. I've changed the schematic. here it is: www.electronoobs.com/eng_arduino_tut9_sch2.php Now you have a voltage divider. When the transistor is conductive you will have 5V at the output and 0 when not. Thanks for your observation!
@MrLimetto
@MrLimetto 7 лет назад
Alright ^^
@TinkeringNerd
@TinkeringNerd 3 года назад
How do you detect rotation direction with your encoder?
@lifeai1889
@lifeai1889 Год назад
U can't but it's not needed anyways cuz DC motor go the same way with same polarity
@deepeshkushwah607
@deepeshkushwah607 3 года назад
Can you please help me to make a code for DMX stapper motor with optical encoder
@MARS-GREENH0USE
@MARS-GREENH0USE 4 года назад
"I like you"
@AnwarAlfaqeehAlhusseini
@AnwarAlfaqeehAlhusseini 6 лет назад
hi we can do that for dc motor 2kw
@thereynolds2725
@thereynolds2725 5 лет назад
The exact same way. The motor size changes nothing except how much current needs to be controlled.
@cicciofranco405
@cicciofranco405 6 лет назад
Compliment from Palermo Francewsco
@hagenschroder123
@hagenschroder123 3 года назад
Cool stuff, but this isn't a stepper motor. This would be defined as a Servo motor. You have your "normal" e-motor and an envoder. Thats a servo.
Далее
HACKED!: Using an HDD Motor as a Rotary Encoder?!
8:21
3D Printed Tools #4 - Do They Work?
8:33
Просмотров 148 тыс.
Վարդավառը Գյումրիում
00:15
Просмотров 158 тыс.
Menu with voice & rotary encoder - Arduino
15:01
Просмотров 100 тыс.
DIY Stepper Motor Driver From Scratch
9:56
Просмотров 18 тыс.
Microstepping a PCB Motor?
9:41
Просмотров 148 тыс.
Closed Loop Stepper Motors for CNC machines
17:00
Просмотров 178 тыс.
What Makes TMC2208 Stepper Motor Drivers Silent?
9:07
Просмотров 295 тыс.
Сравнили apple и xiaomi!
0:21
Просмотров 37 тыс.