# data[].attributes.attachment_link.description
37. case 35 build your own microbit security Door

# data[].attributes.attachment_link.title
4. Case 01: Traffic Lights — ELECFREAKS WIKI

# data[].attributes.attachment_link.readable_text
5.1. Purpose

To build a car with the bricks in the kit.

5.2. Products Link
ELECFREAKS micro:bit 6 IN 1 Ring:bit Kit

5.3. Materials

5.4. Background Knowledge

5.5. Bricks build-up

A detailed assembly instruction can be downloaded via the below links: Githubdownload

5.6. Software
MicroSoft makecode

5.7. Programming

Step 1

Click "Advanced" in the MakeCode drawer to see more choices.

In order to programme for the Ring:bit Bricks Pack, we need to add an extension. Click "Extensions" at the bottom of the drawer. Search "Ringbit" in the dialogue box to download it.

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

Step 2

Drag "Set left wheel connects to P1 and right wheel connects to P2" brick in "on start", set the left wheel in connection with P1 and the right in connection with P2.

Step 3

Programme as the picture shows: while pressing button A+B, the car moves at the full speed; button A for turning to the right side at the full speed; button B for turning to the left side at its full speed; the screen faces downside for moving back at the full speed; and shake the car for stopping.

Code

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

You can also download it directly below:

Result

While pressing button A+B, the car moves at the full speed; button A for turning to the right side at the full speed; button B for turning to the left side at its full speed; the screen faces downside for moving back at the full speed; and shake the car for stopping.

5.8. Exploration

5.9. FAQ

5.10. Relevant File

In 1769, the Frenchman N.J. Guinou built the world's first steam-powered three-wheeler, which was named "Capo Oré".The world's first car was successfully developed by the German Carl Benz in October 1885. It gives a basic structure for the cars, and even the present cars can't jump out of this box. He applied to the German Patent Office for a patent for an automobile invention on January 29th, 1886, and was officially approved for publication on November 2rd of the same year. Therefore, January 29th, 1886 is recognized as the world's auto birthday, that patent certificate also becomes the world's first automobile patent.

In 1885, the German Gottlieb Daimler invented the first four-wheeler. Benz and Daimler are people recognized as the inventor of an internal combustion engine-powered car, their inventions were the most important milestone in the history of the car, both of them are therefore world known as the "father of the automobile."

# data[].attributes.attachment_link.title
5. Case 02: Bricks Car — ELECFREAKS WIKI

# data[].attributes.attachment_link.description
To build a car with the bricks in the kit.

# data[].attributes.attachment_link.title
6. Case 03：Temperature-controlled Fans — ELECFREAKS WIKI

# data[].attributes.attachment_link.description
To build a fan that is controlled by the temperature.

# data[].attributes.attachment_link.readable_text
7.1. Purpose

To build a desk lamp.

7.2. Products Link
ELECFREAKS micro:bit 6 IN 1 Ring:bit Kit

7.3. Materials

7.4. Background Knowledge

7.5. Bricks build-up

A detailed assembly instruction can be downloaded via the below links: Githubdownload

7.6. Software
MicroSoftmakecode

7.7. Code

Step 1

Click "Advanced" in the MakeCode drawer to see more choices.

In order to programme for the Ring:bit Bricks Pack, we need to add an extension. Click "Extensions" at the bottom of the drawer. Search "Ringbit" in the dialogue box to download it.

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

Step 2

Drag the set strip to NeoPixel at pin with led as to on start , set the pin at P0 port. Initialize the strip in 10 LEDs and in RGB(GRB format).

Step 3

Judge the returned value from "light level" in "forever" block, if the value is less than 10, set the strip color in white; if the value is over 15, set the strip color in black.

Code

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

You can also download it directly below:

Result

It lights on automatically while the surrounding light is low and lights off when the returned value is higher than your set point.

7.8. Exploration

7.9. FAQ

7.10. Relevant File

In 1854, the German watchmaker Henry Gobert immigrated to the United States made the first practical electric lamp with a carbonized bamboo wire placed in a vacuum glass bottle, which lasted for 400 hours. But he didn't apply for a patent in time.

In 1860, the Englishman Joseph Swan also made a carbon wire electric lamp, but he failed to obtain a good vacuum environment to keep the carbon wire working for a long time. It was not until 1878 that vacuum technology in the United Kingdom developed to a desirable level, and he invented a light bulb powered by carbon wire under vacuum, and obtained a British patent. Swan's own house was Britain's first private house with electric lighting.

In 1874, two Canadian electrical technicians applied for a patent for an electric lamp: nitrogen was filled under a glass bulb to emit light with a powered carbon rod, but they did not have enough financial resources to continue to perfect the invention. After they sold the patent to Edison, he tried to improve the filament, in 1880, a carbonized bamboo filament lamp that could last for 1,200 hours was finally manufactured.

However, the US Patent Office ruled that Edison's carbon filament incandescent invention fell behind, and the patent was invalid. After years of litigation, Henry Goebbels won the patent, and Edison finally bought the patent from Goebbels' widow. In the United Kingdom, Swan sued Edison for patent infringement, and later settled out of court, setting up a joint company in the United Kingdom in 1883.

Swan later sold his equity and patents to Edison.In the early 20th century, carbonized filaments were replaced by tungsten filaments, and tungsten filament incandescent lamps are still in use at present. In 1938, fluorescent lights were born. In 1998, white LED lights came out.

# data[].attributes.attachment_link.description
To build a desk lamp. ELECFREAKS micro:bit 6 IN 1 Ring:bit Kit 7.4. Background Knowledge A detailed assembly instruction can be downloaded via the below links: Githubdownload MicroSoftmakecode Click "Advanced" in the MakeCode drawer to see more choices. In order to programme for the Ring:bit Bricks Pack, we need to add an extension.

# data[].attributes.attachment_link.title
Wonder Rugged Car kit(EF08211/EF08212) — ELECFREAKS WIKI

# data[].attributes.attachment_link.title
3. Wonder Rugged Kit Assembly Steps — ELECFREAKS WIKI

# data[].attributes.headline
1:  Move Forward at Full Speed and Lateral Driving

# data[].attributes.subject
1:  Move Forward at Full Speed and Lateral Driving

# data[].attributes.attachment_link.readable_text
4.1. Purpose

4.2. Products Link
Wonder Rugged Car Kit

4.3. Background Knowledge

4.4. Software
MicroSoft makecode

4.5. Program

Step 1

Click "Advanced" in the drawer of MakeCode to see more choices.

For programming, we need to add a package. Click "Extensions" at the bottom of the drawer and then search "Wukong" in the dialogue box to download it.

Note: If you get a warning indicating some packages will be removed because of incompatibility issues, you can follow the prompts or create a new project in the menu.

Step 2

Click Wukong to choose mecanum block.

Step 3

Drag mecanum into on start block and set the connection for servos accordingly.

Step 4

Set the car moving left while pressing button A , right while pressing button B , forward while pressing A+B and stopping while on logo down .

Program

Links: https://makecode.microbit.org/_hmd77raCzXTd

You can also download it directly:

Result

The car moves left while pressing button A , right while pressing button B , forward while pressing A+B and stops while on logo down .

4.6. Exploration

4.7. FAQ

4.8. Relevant Files

# data[].attributes.attachment_link.title
Case 01: Move Forward at Full Speed and Lateral Driving

# data[].attributes.attachment_link.description
4.1. Purpose Wonder Rugged Car Kit 4.3. Background Knowledge MicroSoft makecode Click "Advanced" in the drawer of MakeCode to see more choices. For programming, we need to add a package. Click "Extensions" at the bottom of the drawer and then search "Wukong" in the dialogue box to download it.

# data[].attributes.attachment_link.readable_text
5.1. Purpose

5.2. Products Link
Wonder Rugged Car Kit

5.3. Background Knowledge

5.4. Software
MicroSoft makecode

5.5. Program

Step 1

Click "Advanced" in the drawer of MakeCode to see more choices.

For programming, we need to add a package. Click "Extensions" at the bottom of the drawer and then search "Wukong" in the dialogue box to download it.

Note: If you get a warning indicating some packages will be removed because of incompatibility issues, you can follow the prompts or create a new project in the menu.

Step 2

Click Wukong to choose mecanum block.

Step 3

Drag mecanum into on start block and set the connection for servos accordingly.

Step 4

Set the car moving forward while pressing A+B , drifting to left while on tilt right , to right while on tilt left and stopping while on logo down .

Program

Links: https://makecode.microbit.org/_394b7kL88FuA

You can also download it directly:

Result

Set the car moving forward while pressing A+B , drifting to left while pressing button A , to right while pressing button B and stopping while on logo down .

5.6. Exploration

5.7. FAQ

5.8. Relevant Files

# data[].attributes.attachment_link.description
5.1. Purpose Wonder Rugged Car Kit 5.3. Background Knowledge MicroSoft makecode Click "Advanced" in the drawer of MakeCode to see more choices. For programming, we need to add a package. Click "Extensions" at the bottom of the drawer and then search "Wukong" in the dialogue box to download it.

# data[].attributes.attachment_link.title
6. Case 03: Turn A Circle — ELECFREAKS WIKI

# data[].attributes.attachment_link.description
Programme to make Wonder Rugged Kit turn a circle.

# data[].attributes.attachment_link.title
7. Case 04: Turn Signals — ELECFREAKS WIKI

# data[].attributes.attachment_link.description
Programme to make Wonder Rugged Kit indicate the turning direction through turn signals.

# data[].attributes.attachment_link.title
8. Case 05: Colorful Car — ELECFREAKS WIKI

# data[].attributes.attachment_link.description
Build a colorful Wonder Rugged Kit with the rainbow LEDs.

# data[].attributes.attachment_link.title
11. Case 08: Search for Light — ELECFREAKS WIKI

# data[].attributes.attachment_link.description
Build a Wonder Rugged Kit that can search for light.

# data[].attributes.attachment_link.readable_text
Previous Next

© Copyright 2022, ELECFREAKS Team.
Built with Sphinx using a theme provided by Read the Docs.

# data[].attributes.attachment_link.title
36 IN 1 Nezha Inventor’s kit(EF08232) — micro bit tutorial

# data[].attributes.attachment_link.title
5. Case 01：The Mechanical Shrimp — ELECFREAKS WIKI

# data[].attributes.attachment_link.description
Build a mechanical shrimp with the Nezha Inventor’s Kit.

# data[].attributes.attachment_link.title
7. Case 03: Automatic Gate — ELECFREAKS WIKI

# data[].attributes.attachment_link.description
A simple automatic sensor door. When the ultrasonic sensor detects that a person is approaching, the micro:bit controls the servo to automatically open the door. When no person is approaching, the micro:bit controls the servo to automatically close the door.

# data[].attributes.attachment_link.readable_text
8.1. Introduction

Use micro:bit to make a mini desk lamp, and control the LED light to turn on or off through a crash sensor.

8.2. Quick Start

Materials Reuqired

Nezha expansion board × 1

micro:bit × 1

LED-yellow × 1

Crash sensor × 1

RJ11 wires × 2
Tips: You may need to purchase Nezha Inventor's Kit if you want all the above compoents.

Connection Diagram

Connect the crash sensor to J1 and the yellow LED to J2 on the Nezha expansion board as the picture shows.

Assembly Video

Video reference: https://youtu.be/BBP1Nx6t090

Assembly Steps

8.3. MakeCode Programming

Step 1

Click "Advanced" in the MakeCode to see more choices.

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.

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.

Step 2

Code as below:

Reference

Link： https://makecode.microbit.org/_J9Lc271kpHiD

You may also download it directly below:

Result

The crash sensor controlls the on/off of the LED.

# data[].attributes.attachment_link.description
Use micro:bit to make a mini desk lamp, and control the LED light to turn on or off through a crash sensor. Nezha expansion board × 1 micro:bit × 1 LED-yellow × 1 Crash sensor × 1 RJ11 wires × 2 Tips: You may need to purchase Nezha Inventor's Kit if you want all the above compoents.

# data[].attributes.attachment_link.readable_text
9.1. Introduction

Put your hands under the air outlet of the automatic hand dryer, it will automatically send out the wind to dehumidify and dry your hands, and then automatically stop the wind and shut down. It can meet the requirements of not using towels to dry hands and preventing cross-infection of diseases. Thus, we can use micro:bit to make an automatic dryer.

9.2. Quick Start

Materials Required

Nezha expansion board × 1

micro:bit × 1

Sonar:bit × 1

Motor × 1

RJ11 wires × 1 Tips: You may need to purchase Nezha Inventor's Kit if you want all the above compoents.

Connection Diagram

Connect the sonar:bit to J1 and the motor to M1 on the Nezha expansion board as the picture shows.

Assembly Video

Video reference: https://youtu.be/5kB0bYEsJ1c

Assembly Steps

9.3. MakeCode Programming

Step 1

Click "Advanced" in the MakeCode to see more choices.

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.

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.

Step 2

Code as below:

Reference

Link： https://makecode.microbit.org/_LTA1RLL1ddfM

You may also download it directly below:

Result

While there is any object detected by the Sonar:bit, the fan moves automatically.

# data[].attributes.attachment_link.description
Put your hands under the air outlet of the automatic hand dryer, it will automatically send out the wind to dehumidify and dry your hands, and then automatically stop the wind and shut down. It can meet the requirements of not using towels to dry hands and preventing cross-infection of diseases.

# data[].attributes.attachment_link.title
13. Case 09: Invading Detection Device — ELECFREAKS WIKI

# data[].attributes.attachment_link.description
This is an intrusion detection device. When the ultrasonic sensor detects that someone is approaching, it will automatically turn on a red light and alarm through the buzzer on the micro:bit. If the ultrasonic sensor does not detect anyone, it will automatically turn on green light.

# data[].attributes.attachment_link.title
15. Case 11: Line-tracking Car — ELECFREAKS WIKI

# data[].attributes.attachment_link.description
This is a line tracking car, we can use black electrical tape to paste a track on the white plane, and then make the car drive according to the preset trajectory.

# data[].attributes.attachment_link.title
20. Case 16: Memory Test — ELECFREAKS WIKI

# data[].attributes.attachment_link.description
This is a memory testing device. The red and green lights on the device will light up randomly. After all the light instructions are displayed, you need to press the corresponding buttons according to the order of the lights, (A stands for red, B stands for green) , If in the correct order, the micro:bit displays “√”, otherwise the micro:bit displays a sad face.