Do you really want to go through the trouble of trying to make something work 
over rs232 just for a brushed DC motor? KB drives have been around for a long 
time and are probably the best thing to use for small brushes FC motors. This 
is a pretty good price for a new regen reversing drive, used ones can be had 
cheaper:

https://www.ebay.com/itm/KB-Electronics-KBMG-212D-DC-motor-control-8831-upc-024822088312/221581346770?epid=1628350059&hash=item33974707d2:g:XUIAAOSwE2lThe8P:sc:USPSPriority!20902!US!-1

You can control it with 0-10v, not sure what kind of hardware you’re running MK 
with but if you don’t have an analog out you can get pwm-analog boards cheap.

For threading (on a mill) you need a spindle encoder and and an index. I forget 
what the minimum is, think it’s 400 counts in quadrature. Spindle encoders can 
be a pain to get mounted, but you can use a proximity switch that counts gear 
teeth as well.

You get encoder feedback and analog control over the motor you can setup a PID 
for closed loop spindle control. Rs232 is too iffy for closed loop unless the 
drive and the component are well sorted.

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/e63561a3-5dfb-4117-8c83-985f845bdc43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to