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

The AI Lens Burglar-proof Device

Purpose

This project is based on the AI Lens, which is aimed to protect our personal belongings from missing.

Bricks Assembly

Components list:

The AI Lens Burglar-proof Device

The AI Lens Burglar-proof Device

The AI Lens Burglar-proof Device

The AI Lens Burglar-proof Device

The AI Lens Burglar-proof Device

The AI Lens Burglar-proof Device

The AI Lens Burglar-proof Device

The AI Lens Burglar-proof Device

The AI Lens Burglar-proof Device

The AI Lens Burglar-proof Device

The AI Lens Burglar-proof Device

Please download the io. file if you have Lego studio: The-AI-Lens-Burglar-proof-Device.io

After assembly, connect with Nezha breakout board, the Rainbow LED and the AI lens kit.

The AI Lens Burglar-proof Device

Hardware connections

The AI Lens Burglar-proof Device

Software Programm

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

The AI Lens Burglar-proof Device

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 AI Lens Burglar-proof Device

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

The AI Lens Burglar-proof Device

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 AI Lens Burglar-proof Device

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

Result

Press button A on the micro:bit to start the AI lens by learning the object, the Rainbow LED would light up if the object is taken away.

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