Sunday, June 19, 2011

Arduino + Stepper + Potentiometer

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: www.linux.com



http://www.youtube.com/watch?v=-VWhPt-ws9g&hl=en

Related : alexander bain fax machine

No comments:

Post a Comment