All the household switch parts cost about $4. The servo was just one I had lying around. I'm sure a $12 servo would do the trick.
Next, I did a little research on G-Code, knowing the commands were already standardized. It turns out M03 is the standard command for "Turn Clockwise" and M05 is the standard for "Stop Turning". I updated my firmware and added a servo library. Here it is installed:
I am happy with the result. I did a quick search on thingiverse to see if others have done this and found a much more elegant solution: Servo Controlled Switch by oomlout
Why not just use a relay or an SSR? You're a lot more electronics savvy than I am so I'm surprised you chose this method. Relay would be a cheaper and better solution.ReplyDelete
I noticed you use arduino UNO. I thought reprap firmware only runs in bigger arduinos (like mega). What are you running in this UNO?ReplyDelete
Can you publish the pinout used from the UNO to the many parts (motors, endstops, drill)?