当前位置:网站首页>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.
边栏推荐
- 一键部署Redis任意版本
- 【奖励公示】第22期 2022年6月奖励名单公示:社区明星评选 | 新人奖 | 博客同步 | 推荐奖
- Force buckle 989 Integer addition in array form
- POJ 1742 Coins ( 单调队列解法 )「建议收藏」
- CIS芯片测试到底怎么测?
- Chapter 9 Yunji datacanvas company won the highest honor of the "fifth digital finance innovation competition"!
- c语言如何判定是32位系统还是64位系统
- JVM class loading mechanism
- 大厂经典指针笔试题
- Implement secondary index with Gaussian redis
猜你喜欢
Vulnhub's funfox2
H3C S7000/S7500E/10500系列堆叠后BFD检测配置方法
Chapter 9 Yunji datacanvas company won the highest honor of the "fifth digital finance innovation competition"!
I wrote a markdown command line gadget, hoping to improve the efficiency of sending documents by garden friends!
BI的边界:BI不适合做什么?主数据、MarTech?该如何扩展?
上海交大最新《标签高效深度分割》研究进展综述,全面阐述无监督、粗监督、不完全监督和噪声监督的深度分割方法
一键部署Redis任意版本
Helix QAC 2020.2新版静态测试工具,最大限度扩展了标准合规性的覆盖范围
机械臂速成小指南(十二):逆运动学分析
【哲思与实战】程序设计之道
随机推荐
想杀死某个端口进程,但在服务列表中却找不到,可以之间通过命令行找到这个进程并杀死该进程,减少重启电脑和找到问题根源。
Traversal of Oracle stored procedures
How C language determines whether it is a 32-bit system or a 64 bit system
Force buckle 674 Longest continuous increasing sequence
不落人后!简单好用的低代码开发,快速搭建智慧管理信息系统
Oracle 存储过程之遍历
I Basic concepts
CJSON内存泄漏的注意事项
H3C S7000/S7500E/10500系列堆叠后BFD检测配置方法
最新版本的CodeSonar改进了功能安全性,支持MISRA,C ++解析和可视化
写了个 Markdown 命令行小工具,希望能提高园友们发文的效率!
Machine learning notes - explore object detection datasets using streamlit
力扣 599. 两个列表的最小索引总和
Is it safe to open a stock account at present? Can I open an account online directly.
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
凌云出海记 | 赛盒&华为云:共助跨境电商行业可持续发展
目前股票开户安全吗?可以直接网上开户吗。
How to test CIS chip?
Chapter 20 using work queue manager (3)
第二十章 使用工作队列管理器(三)