Using micro:bits to control Lego
These resources show you how to control the Lego that you may have tucked away in a toy box in your house using the micro:bit.
These resources will have you controlling your Lego Train set by push button and remotely and much more! comeback for updated tasks over the coming days and weeks...
Project 1: Lights on!
What will you need:
- A Micro:bit
- USB power cable for Micro:bit
- 3 x crocodile clips
- 1 neo-pixel
- A Lego building of your choice(I borrowed my sons Police building)
- https://microbit.edublocks.org to create the code
- Tape
- Scissors
What will you learn:
- How to attach the crocodile cables to the neo pixel and then attach them to the micro:bit
- How to create the code to turn the neo-pixel on and set the colour
- How to download and put the code onto the micro:bit
Lets get started:
Project 2: Controlling a Lego train motor with a micro:bit
What you will need:
- One micro:bit, USB cable to load the program onto the micro:bit
- A Lego train motor
- A motor controller this is the best one I have found link
- A battery box that holds 4 x AA batteries
- 4 x AA batteries
- A small phillips head screw driver
What you will learn:
- How to assemble the micro:bit to the motor controller and put cables in the correct way using a screw driver
- How to create the code to get your train motor moving at the push of a button
- How to operate your code controlled train
- How to assemble the micro:bit to the motor controller and put cables in the correct way using a screw driver
- How to create the code to get your train motor moving at the push of a button
- How to operate your code controlled train
Lets get started:
Project 3 REMOTE Controlling a Lego train motor with a micro:bit
What you will need:
- TWO micro:bit's, TWO USB cable's to load the program onto the micro:bit
- A Lego train motor
- A motor controller this is the best one I have found link
- A battery box that holds 4 x AA batteries
- 4 x AA batteries
- A small phillips head screw driver
- TWO micro:bit's, TWO USB cable's to load the program onto the micro:bit
- A Lego train motor
- A motor controller this is the best one I have found link
- A battery box that holds 4 x AA batteries
- 4 x AA batteries
- A small phillips head screw driver
What you will learn:
- How to create the code to get your train motor moving at the push of a button on a remote controller micro:bit
- How to to operate your remote controlled Lego Train
- How to create the code to get your train motor moving at the push of a button on a remote controller micro:bit
- How to to operate your remote controlled Lego Train
No comments:
Post a Comment