当前位置:网站首页>Measure the height of the building

Measure the height of the building

2022-07-07 20:23:00 CSDN

Measure the height of the building

Look at the original
 Insert picture description here

Have you ever thought about the height of your teaching building ? Do you think you need very precise measuring instruments ? Through this IUnstructable, You will learn how to build a simple micro:bit instrument , Help you calculate the height of the school building .

The tools needed

 Insert picture description here

All you need is :

  • A calculator
  • With battery holder BBC micro:bit
  • 3D Printer making box
  • Tape measure
  • Write down the calculations with pencil and paper

The first 1 Step : Get ready Micro:bit

 Insert picture description here
 Insert picture description here

The first step is to micro:bit Encoding , To measure the angle of the top of the building you are looking at to measure the height .

Know this angle , Use trigonometric ratio , You can calculate the height of the building .

micro:bit The accelerometer can measure the inclination angle in two directions : Up and down ( pitch ) And left and right ( rolling ).

For this work , You will code the scroll axis to make it more comfortable to use .

You can view the code in the picture , Use This link Or download hex file .

The attachment

  • [ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-cGmeLhAk-1657186171022)(https://content.instructables.com/static/image/file.default.gif)]microbit-roll-axis.hex

    download

The first 2 Step :Micro:bit How it works ?

 Insert picture description here
 Insert picture description here

You've got to micro:bit Coded , To measure the inclination angle on the rolling axis .

Measure the angle correctly , First find zero , And then move micro:bit, Until the desired angle is obtained .

To display the angle value on the screen , Just click A Button . Besides , This value will be saved until you press again A Button , So if you need to check again , You can press B Button .

The first 3 Step : by Micro:bit Print a box

 Insert picture description here
 Insert picture description here
 Insert picture description here

In order to measure and observe the angle of the top of the building , You need to use objects with observation tubes . Because you will use micro:bit Measure the angle , So the best way is to use small tubes . therefore , The best choice is to print a with a tube 3D The box .

You can link here Revision in China 3D Model .

The attachment

The first 4 Step : Write down the measured value

 Insert picture description here

Now it is time to take the necessary measurements to calculate the height of the building . Stand at a proper distance from the building , In order to measure the angle at which the highest point can be seen . It is not recommended to get too close .

You will need three measurements :

  • Distance to the building X. From the top of the building ( use micro:bit get ).
  • Eye to ground height Y.

Use the data , You can calculate h1. The total height of the building can be calculated as

H= h1 + Y

The first 5 Step : Do math

 Do math

Now it's time to do the math needed to calculate the height of the school building .

Use pass micro:bit Tangent of angle obtained , You can calculate the height displayed in the pictures included in this section h1.

The total height of the building can be achieved by adding h1 + Y = H To calculate .

-O-

In the example executed when taking the pictures shown in this tutorial , The following measurements were used :

X = 17.7 rice

Y = 1.62 rice

alpha = 25 degree .

Use the data ,h1 = 8.25 rice , The total height of the school building is :

H = h1 + Y = 8.25 + 1.62 = 9.87 m.

原网站

版权声明
本文为[CSDN]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207071815236105.html