Micro Spinner

by Storm_09 in Circuits > Microcontrollers

251 Views, 0 Favorites, 0 Comments

Micro Spinner

Screenshot 2022-08-23 185859.png

I am going to show you how to make a project using a micro bit.

Supplies

All you need is tinkercad

Micro Bit

Screenshot 2022-08-22 214305.png

First all you need to do is just get a micro bit.

First Things First

First thing you need to get is the Micro Servo

Wires

Screenshot 2022-08-23 185102.png

Then connect the wires like in the picture.

Code

Screenshot 2022-08-23 185624.png

Now do the code just as I did in the picture.

Finish

Then click run simulation, click B on the Micro Bit and watch it go to 180 degrees.

Then click the A and watch it go to 0 degrees.

Then click the shake button and watch it go to 90 degrees.

You do not have to do it in this order, you can do what ever order you want.