当前位置:网站首页>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
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
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
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
The first 2 Step :Micro:bit How it works ?
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
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
Micro bit box .stl
download 3D View
The first 4 Step : Write down the measured value
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
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.
边栏推荐
- 最新版本的CodeSonar改进了功能安全性,支持MISRA,C ++解析和可视化
- Solve the problem that the executable file of /bin/sh container is not found
- Creation of kubernetes mysql8
- Phoenix JDBC
- Machine learning notes - explore object detection datasets using streamlit
- Prometheus remote_write InfluxDB,unable to parse authentication credentials,authorization failed
- Oracle 存储过程之遍历
- 力扣 88.合并两个有序数组
- 使用camunda做工作流设计,驳回操作
- 恢复持久卷上的备份数据
猜你喜欢
Mongodb由浅入深学习
Apifox 接口一体化管理新神器
ISO 26262 - 基于需求测试以外的考虑因素
Data island is the first danger encountered by enterprises in their digital transformation
大厂经典指针笔试题
有了ST7008, 蓝牙测试完全拿捏住了
OneSpin | 解决IC设计中的硬件木马和安全信任问题
ERROR: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
机械臂速成小指南(十二):逆运动学分析
机械臂速成小指南(十一):坐标系的标准命名
随机推荐
《数字图像处理原理与实践(MATLAB版)》一书之代码Part2[通俗易懂]
Force buckle 1232 Dotted line
Optimization cases of complex factor calculation: deep imbalance, buying and selling pressure index, volatility calculation
Opencv learning notes high dynamic range (HDR) imaging
搞定带WebKitFormBoundary post登录
JVM class loading mechanism
如何满足医疗设备对安全性和保密性的双重需求?
Deep learning model compression and acceleration technology (VII): mixed mode
One click deployment of any version of redis
[solution] package 'XXXX' is not in goroot
Solve the problem of incomplete display around LCD display of rk3128 projector
大厂经典指针笔试题
Force buckle 1961 Check whether the string is an array prefix
Force buckle 88 Merge two ordered arrays
CIS芯片测试到底怎么测?
机械臂速成小指南(十一):坐标系的标准命名
Force buckle 989 Integer addition in array form
MRS离线数据分析:通过Flink作业处理OBS数据
Mongodb由浅入深学习
字符串中数据排序