evildmp / BrachioGraph

BrachioGraph is an ultra-cheap (total cost of materials: €14) plotter that can be built with minimal skills.
https://www.brachiograph.art
MIT License
680 stars 114 forks source link

No drive to shoulder motor #81

Open oakey1979 opened 4 years ago

oakey1979 commented 4 years ago

When I initialise the motors or I set the angles for inner_arm and outer_arm only the elbow motor and pen lifting motors move. If I use bg.drive_xy() both A,S and K,L move the elbow motor. The shoulder motor does not move. I've double checked the wiring on the breadboard I'm using and have replaced the wires and motor to the shoulder, which has not solved the issue..

kczulko commented 1 year ago

@oakey1979 I am playing with brachiograph right now and it happened to me ~3 days ago. I came to conclusion that I'll change the GPIO14 to GPIO23 to get rid of uart garbage during pi booting process which is causing unpredictable inner shoulder moves. I think it somehow helped - at least I haven't observed such behavior since that change.

You can change the pinout under plotter.py. I am going to create a PR here that extracts pin numbers ('magic numbers') to variables.

[edit] Oh.. I see it's already here: https://github.com/evildmp/BrachioGraph/pull/72