brianinnes / vPiP

A python library with accompanying Arduino code to drive a vertical plotter from a Raspberry Pi. This project is targeted to drive the driver board created by makeBournemouth, but will work with any system capable of running Python and connecting to an Arduino/Genuino to drive the stepper motors
https://github.com/brianinnes/vPiP/wiki
Apache License 2.0
16 stars 11 forks source link

Default servo settings nearly cooked a servo #11

Closed MarkJB closed 7 years ago

MarkJB commented 8 years ago

I uploaded the vPiP arduino/stepper firmware to a pro mini and the servo did the usual up-down-up move. After a few minutes the servo was too hot to touch. I think the default values had this servo straining against its mechanical limits.

I'm wondering if this was what cooked the servo and arduino on the middle machine in the library.

Need to have default servo values that are nearer the middle of the range and with less travel between them to avoid risking damage.

brianinnes commented 7 years ago

Fixed in v2 : The servo limits are no longer hard coded in the Arduino firmware. Values can be set on the Pi and are sent to the Arduino at startup. 37af6e78de0516c9e5431b9141468f667e025eab