Saturday, 24 June 2017

Crumble Junkbot at Code Club

Tried out the Junkbot controlled by a Crumble Controller (See here for plans for it) at the Code Club I help with at Roade Primary School, Northamptonshire.

The first two images show the junkbot drawing the lines and dots on the paper just be using a spinning unbalanced motor.




In the figure below (though you can't see it) the connection between the motor and the power goes through the Crumble to allow the motor to change direction. Some the 'code-clubbers' have played with lowering the power via the Crumble and found below certain values (percentage of the maximum power available through the Crumble) the motor stalls.





The simple code used to control it shown below.




Links












All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with. Twitter @scottturneruon