I took apart my old Brothers MFC 420CN Print / Scan / Fax machine. Found a PM35s048 stepper motor. The data sheet shows it as having 48 steps (7.5 degree).
I just hooked it up with the following:
Yellow = Digital 4
Orange = Digital 5
Red = Digital 6
Black = Digital 7
I modified the example code for a stepper motor (MotorKnob) to have the required 48 steps and increased the speed a bit. As well I mapped the potentiometer values to 0-48 instead of using the default 0-1023. Makes for a single rotation and a lot less noise.
Source Code:
https://www.linux.com/community/blogs/133-general-linux/395716
@srmack68 This is an example project.
gadgetmanubuntu 7 months ago
Can you share the code please? I have a similar project i want to play with. Thanks.
srmack68 1 year ago
hey friend, I wonder what you used to accomplish this task, a bridge h? and which program? I'm in desperate need to control two motors and do like what you did in the video, so I have the engine need wiring diagram. Thanks buddy
viniciusguedes03 1 year ago
I'm a newbie, could you pls show out the entire code list? many thanks.
Lacrimosa1231 1 year ago
pretty awesome
kahvaltimasasi 1 year ago