"It’s Here! The BFCM Sale of the Year – Grab Your Favorites!"

Volume Reminder

Introduction

Make a volume reminder with micro:bit.

Quick to Start

Materails

micro:bit V2 x 1

Nezha expansion board x 1

360°servo x 1

Bricks x n

RJ11 wires x 1

Volume Reminder

Bricks details

Volume Reminder

Connections Diagram

Connect the 360 degrees servo to S1 port on the Nezha expansion board.

Volume Reminder

Bricks Build-up

Build a device as the pictures indicate:

Volume Reminder

Volume Reminder

Volume Reminder

Video reference:

MakeCode Programming

Step 1

Click “Advanced” in the MakeCode drawer to see more choices

Volume Reminder

We need to add a package for programming. Click “Extensions” in the bottom of the drawer and search with “PlanetX” in the dialogue box to download it.

Volume Reminder

We need to add a package for programming. Click “Extensions” in the bottom of the drawer and search with “Nezha” in the dialogue box to download it.

Volume Reminder

Note: If you met a tip indicating that the codebase will be deleted due to incompatibility, you may continue as the tips say or build a new project in the menu.

Step 2

Programme as the pictures indicate

Volume Reminder

Link:https://makecode.microbit.org/_JfDgxzJkc72X

Result

The servos drive in accordance with the change of the volume.

Leave a Reply

images
In March, ELECFREAKS supported 5 schools to carry out school science and technology festival activities
images
Children’s Programming Education is the Future Trend
images
Technical verification! Nezha series products can complete WRO competition tasks
images
Let's take part in the Ceremony of the New Factory of ELECFREAKS together!
images
Bluetooth Bee(HC-05 and HC-06) User Guide
images
In March, ELECFREAKS supported 5 schools to carry out school science and technology festival activities
Monthly Archive