4. Case 02: Bricks Car

4.1. Purpose


  • To build a car with the bricks in the kit.

../../_images/Ringbit_Bricks_Pack_case_en_02_01.png

4.2. Materials


../../_images/Ringbit_Bricks_Pack_case_en_02_02.png

4.3. Background Knowledge


4.4. Bricks build-up


../../_images/Ringbit_Bricks_Pack_step_02_01.png

../../_images/Ringbit_Bricks_Pack_step_02_02.png

../../_images/Ringbit_Bricks_Pack_step_02_03.png

../../_images/Ringbit_Bricks_Pack_step_02_04.png

../../_images/Ringbit_Bricks_Pack_step_02_05.png

../../_images/Ringbit_Bricks_Pack_step_02_06.png

../../_images/Ringbit_Bricks_Pack_step_02_07.png

../../_images/Ringbit_Bricks_Pack_step_02_08.png

../../_images/Ringbit_Bricks_Pack_step_02_09.png

../../_images/Ringbit_Bricks_Pack_step_02_10.png

../../_images/Ringbit_Bricks_Pack_step_02_11.png

../../_images/Ringbit_Bricks_Pack_step_02_12.png

../../_images/Ringbit_Bricks_Pack_step_02_13.png

../../_images/Ringbit_Bricks_Pack_step_02_14.png

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

4.5. Software


MicroSoft makecode

4.6. Programming


Step 1

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

../../_images/Ringbit_Bricks_Pack_case_en_02_03.png

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.

../../_images/Ringbit_Bricks_Pack_case_en_02_04.png

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.

../../_images/Ringbit_Bricks_Pack_case_en_02_05.png

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.

../../_images/Ringbit_Bricks_Pack_case_en_02_06.png

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.

4.7. Exploration


4.8. FAQ


4.9. 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.”