Back to album

Diff 13

During testing I discovered that there was a problem with using the relevant code to control motor speed when using motors with in-built rotation sensors. This feature would have been very useful to ensure the correct speed of each motor relative to each other as well as helping to overcome friction, but it could not be made to work. It seems that there is an issue with the firmware on the 2 I/O City Hub (PN:88009) which prevents this from working as it should.

 

To get around this, I came up with this solution which is in the form of a feedback loop to adjust the motor power based on it's speed. It's not a perfect solution, but it seems to work well enough.

1,218 views
1 fave
0 comments
Uploaded on June 3, 2021