当前位置:网站首页>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.
边栏推荐
猜你喜欢
Data island is the first danger encountered by enterprises in their digital transformation
Implement secondary index with Gaussian redis
Splicing and splitting of integer ints
AIRIOT助力城市管廊工程,智慧物联守护城市生命线
一. 基础概念
大厂经典指针笔试题
上海交大最新《标签高效深度分割》研究进展综述,全面阐述无监督、粗监督、不完全监督和噪声监督的深度分割方法
最新版本的CodeSonar改进了功能安全性,支持MISRA,C ++解析和可视化
【mysql篇-基础篇】事务
Network principle (1) - overview of basic principles
随机推荐
Yolov6:yolov6+win10--- train your own dataset
How to implement safety practice in software development stage
使用camunda做工作流设计,驳回操作
TS快速入门-泛型
力扣674. 最长连续递增序列
Machine learning notes - explore object detection datasets using streamlit
Micro service remote debug, nocalhost + rainbow micro service development second bullet
机器学习笔记 - 使用Streamlit探索对象检测数据集
凌云出海记 | 赛盒&华为云:共助跨境电商行业可持续发展
AIRIOT助力城市管廊工程,智慧物联守护城市生命线
Force buckle 674 Longest continuous increasing sequence
Kubernetes -- detailed usage of kubectl command line tool
You want to kill a port process, but you can't find it in the service list. You can find this process and kill it through the command line to reduce restarting the computer and find the root cause of
[auto.js] automatic script
Meta Force原力元宇宙系统开发佛萨奇模式
Lingyun going to sea | yidiantianxia & Huawei cloud: promoting the globalization of Chinese e-commerce enterprise brands
With st7008, the Bluetooth test is completely grasped
【mysql篇-基础篇】事务
微服务远程Debug,Nocalhost + Rainbond微服务开发第二弹
Force buckle 2319 Judge whether the matrix is an X matrix