The last essential piece of the #CrankyContraption band involved some #ComputationalTinkering. I don’t have enough hands to crank and spin all of the pieces. So I connected them to motors & used #microbit to code the motors to spin at different speeds.
I took advantage of the radio capabilities of the #microbit and programmed one micro:bit to be my remote control and the other to be the receiver that talks to the motors. Here’s what the receiver code looks like:
Each time I press the A button on the micro:bit it sends a message to the receiver and the receiver will either make the motors spin fast, slow, or at random speeds. The B button turns the motors off.