Mattzobricks / MattzoControllers

MattzoController firmware
19 stars 8 forks source link

Bascule bridge motors do not work correctly #43

Closed Mattzobricks closed 1 year ago

Mattzobricks commented 1 year ago

Bascule bridge motors do not work correctly. When trying to open the bridge, the motors try to close the bridge.

Mattzobricks commented 1 year ago

Hardware works, tested both motors with a simple Arduino sketch.

Mattzobricks commented 1 year ago

The problem was that the motor did not interpret "200" as "full forward". Instead, in interpreted it as "full backward". Limited value range to 199, now it works again.

Also reversed the power values for closing the bridge, so the configuration gets a bit clearer. Example file updated.