Page 95 - Ai Robogenius
P. 95
Skills Practiced
n Dragging and dropping Codeblocks to control the circuit.
n Using repeat blocks to control the motor’s rotation.
n Programming the Windmill’s Movement
2. Programming the Windmill Blade Rotation
Task: Create a program to control the DC motor's rotation. Program the windmill blades to
rotate for a set period when the button is pressed.
Steps:
1 Use a Repeat block to control how long the motor runs.
2 Set up the program so that pressing the button starts the windmill blades rotating.
Skills Practiced: Using logic blocks and repeat blocks in Tinkercad Codeblocks to control the
motor's movement.
3. Final Testing and Integration
Task: Test the full system to ensure that the windmill blades rotate when the button is
pressed. Verify that the program correctly controls the motor.
Skills Practiced
n Debugging the code and ensuring everything works together (motor + program).
n Finalising the design and programming.
Outcome for Session 2
A fully functioning windmill powered by a motor, with programming that controls the blade
rotation through a button.
Session 3: Creating the Motor Circuit to Power the Windmill
Activities
1. Introduction to Basic Circuits and Motors
Task: Learn how circuits and motors work to power devices like a windmill.
Skills Practiced
n Understanding how a DC motor powers the windmill blades.
n Learning about circuits, battery and pushbutton.
2. Building the Motor Circuit
Task: Create a circuit in Tinkercad Circuits to power the windmill's motor.
Capstone Project
93

