Make A Remote-Control Car with Claws

Introduction

Build a remote controller with Nezha breakout board and the sensors. Control the movement of the car via the gyroscope on the micro:bit board. And send commands to the claws via thw modules(here we program to control the directions of the claws via the rotation module and the up/down via the dule-buttons modules and the catching via the crash sensor.

Materials required:

Make A Remote-Control Car with Claws
Nezha breakout board x 2

Nezha is a versatile expansion board for micro:bit. It is loaded with 4 servo drives, 4 motor drives, and 7 sensor expansion interfaces that are in RJ11 connectors with foolproof and anti-reversal plugging design. It is convenient for students to connect quickly and accurately in classes; the shell is also designed with and Fischertechnik compatible interfaces, which has combined electronic modules with mainstream structural parts, and students can build personalized micro:bit creative programming projects themselves.

Make A Remote-Control Car with Claws
The crash sensor x 1

The crash sensor converts the crash action into an electrical signal.

Make A Remote-Control Car with Claws
The trimpot x 1

The rotation angle is 0°-300°.

Make A Remote-Control Car with Claws
The button module x 1

The two buttons, one red and one blue, are very flexible when pressed and can be pressed multiple times.

The remote end:

Connect the trimpot to number 1, the button to number 2 and the crash sensor to number 3.

Program:

https://makecode.microbit.org/_9Ae6tzbKsYLH

Make A Remote-Control Car with Claws

The car:

Program:

https://makecode.microbit.org/_0tDLcU9vHRCF

Make A Remote-Control Car with Claws