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

A Simple Trebuchet

Purpose

This is a simple trebuchet and could be triggered by the button.

Bricks Build-up

Components List

A Simple Trebuchet

Assembly Steps:

A Simple Trebuchet

A Simple Trebuchet

A Simple Trebuchet

A Simple Trebuchet

A Simple Trebuchet

A Simple Trebuchet

A Simple Trebuchet

A Simple Trebuchet

A Simple Trebuchet

A Simple Trebuchet

A Simple Trebuchet

Please download the io. file if you have Lego studio: A-Simple-Trebuchet.io

After assembly, connect with Nezha breakout board and motors.

A Simple Trebuchet

Hardware connections

A Simple Trebuchet

Software Programm

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

A Simple Trebuchet

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.

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:

A Simple Trebuchet

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

Result

Press button A to throw out the “stones”, press button B to put the arms down.

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