🎃Happy Halloween Sale🎃Get 12% Off For All Order

The Carrier Trolly

Purpose

To make a trolly that is able to carry the goods, we can program in the MakeCode editor to give commands such as lifting/putting down the arms, moving forward and stopping driving.

In next course we will make some improvements for an easier operation.

Blocks Build-up

Steps

The-Carrier-Trolly.pdf

Please download the io. file if you have Lego studio: The-Carrier-Trolly.io

After assembly, connect with Nezha breakout board.

The Carrier Trolly

Hardware connections

The Carrier Trolly

Software Programm

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

The Carrier Trolly

For programming, we need to add a package: click “Extensions” at the bottom of the MakeCode drawer and search with “nezha” in the dialogue box to download it.

The Carrier Trolly

Notice: If you met a tip indicating that some codebases would be deleted due to incompatibility, you may continue as the tips say or create a new project in the menu.

Code:

The Carrier Trolly

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

Result

Press button A to lift the arms.

Press button B to put the arms down.

Press button A+B to drive forward.

If taking up the trolly, the micro:bit’s front side would face downward, then the trolly stops driving.

Leave a Reply

Your email address will not be published. Required fields are marked *

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