Techbase Academy
Project 035 of 44 · Stage 2 — Practical Robotics · Chapter 21: MotorAdvanced · Phase 3

Relay & Motor

Switch a DC motor on and off safely using a relay module.

Open Official Freenove Guide Opens the official Freenove FNK0045 documentation with wiring diagrams, block code and Python (MicroPython) code

About This Project

Switch a DC motor on and off safely using a relay module. This project belongs to Chapter 21 (Motor) of the Freenove Ultimate Starter Kit for micro:bit (FNK0045). Open the official guide above for the full wiring diagram, MakeCode blocks and MicroPython code.

🔧 This project is hosted on docs.freenove.com. Click the button above to open the full guide with circuit diagrams, block code and Python code. Everything you need — wiring, code and explanations — is on that page.

What You Will Learn

  • Switch a DC motor on and off safely using a relay module.
  • Wire a real circuit on a breadboard using the motor components.
  • Follow official wiring diagrams and choose between block code or Python (MicroPython).

How to Get Started

1. Click Open Official Freenove Guide above to go to the official documentation page.

2. Check the component list and wire up the circuit exactly as shown in the diagram.

3. Choose MakeCode (block code) or Python with Mu — both are provided on the page.

4. Flash the code to your micro:bit and test the circuit, adjusting wiring if needed.

5. Read the code explanation on the page to understand exactly how it works, then try the extensions.

All 44 projects in Practical Robotics ·Techbase Academy ·© 2025–2026 Techbase Consultant Services, Ibadan
Esc
↑ ↓ to moveEnter to openEsc to close