S01E04 DC as Servo, PCB Assembly and success first Tests
Frank Herrmann
Quick-turn PCB manufacturer and High-quality PCB supplier: https://www.pcbgogo.com/promo/xpixer
As you may know from my last videos, I am trying to convert a DC gear motor as a ClosedLoop stepper motor. The advantages are obvious, weight and size of the motor are much lower and we have a much higher power due to the gearbox. By reading out the Hall sensors, we are also able to measure the position accurately and, if the axis is adjusted manually, to reset it immediately to the measured position. So a servo stepper motor on smallest space to realize.
I also tried to find a good PID setting that prevents an overshoot. Unfortunately I don't know much about PID and basically just tried my best to get the engine to run reasonably. There is supposed to be an autotune for this, but I didn't try it.
In the end I downloaded a Windows software to control GRBL, I liked LaserGRBL best. A simple Gcode test let the motor turn, because I also connected the smaller prototype, now both turn and could control a laser machine with 2 axes.
So I hope you liked it, I would be very happy if you can give me ideas for the right PID setting. I am with the topic, unfortunately somewhat helpless.
Also I would be happy if you can tell me a motor with or without gearbox, where you absolutely need a XMOTO module and I should develop that next.
Please write me a comment how you like the project and what I could do better.
Here are the links to the parts:
LINKS
Code & Schematics: https://github.com/xpix/XMOTO_TINYAVR 20D Motor: https://www.pololu.com/product/3467 small Motor: https://amzn.to/3S3Sbsy Microscope: https://amzn.to/3cAMX7c
Silicon cables: https://amzn.to/3J1j24l PETG: https://amzn.to/3oqSuQv Anycubic i3 Mega: https://amzn.to/2HCcfjr Monoprice Select Mini II: https://amzn.to/2HjoPF5 Extruder: https://amzn.to/3Bgz6gs Silicon socks: https://amzn.to/3vcOQxa EOS 2000d: https://amzn.to/3J47QDW Videoleuchte: https://amzn.to/2WihDBg
COPYRIGHTS: Music from Uppbeat (free for Creators!): https://uppbeat.io/t/soundroll/tropicana License code: TM3U7XLINDYEAZOB
Music from Uppbeat (free for Creators!): https://uppbeat.io/t/hartzmann/paradise-island License code: QDI9II7GOKPOJJ63
Music from Uppbeat (free for Creators!): https://uppbeat.io/t/hartzmann/sunny License code: F4HL6DXJ7KXF1KZ7 ... https://www.youtube.com/watch?v=oNzCeDY2Xi8
148131593 Bytes