...
首页> 外文期刊>Elektor electronics worldwide >Ultrasonic Reverse Parking Aid with Arduino Uno
【24h】

Ultrasonic Reverse Parking Aid with Arduino Uno

机译:超声波逆向停车辅助Arduino Uno

获取原文
获取原文并翻译 | 示例
           

摘要

In this project, the ultrasonic sensor module type KY-050 is used together with an Arduino and a type KY-012 active buzzer to help while reverse parking our vehicle. As the distance to the objects gets smaller, the buzzer sounds faster to warn the driver that the objects at the rear of the vehicle are nearer. The aim of this little project is to show how the ultrasonic sensor module can be used in a project to measure distance. The KY-050 is a 4-pin module shown in Figure 1. This module uses the HC-SR04 type ultrasonic transmitter/receiver hardware, and it has the following features: 1. Operating voltage: 5 Ⅴ 2. Operating current: 2 mA 3. Detection distance: 2-450 cm 4. Input trigger signal: 10 μs TTL 5. Sensor angle: <15 degrees The KY-050 has the following pin names and descriptions: Vcc: Power input; Trig: Trigger input; Echo: Echo output; Gnd: Power ground. The sequential operation of the KY-050 ultrasonic sensor module is as follows (refer to Figure 2): 1. a 10-μs trigger pulse is sent to the module; 2. the module then sends eight 40-kHz square wave signals to the target and sets the Echo pin High; 3. the program starts a timer; 4. the signal hits the target and echoes back to the module; 5. when the signal is returned to the module the echo pin goes Low; 6. the timer is stopped; 7. the duration of the echo signal is calculated and the result s proportional to the distance to the target.
机译:在该项目中,超声波传感器模块类型KY-050与Arduino和Ky-012型主动蜂鸣器一起使用,以帮助您的车辆的倒车。随着到物体的距离变小,蜂鸣器听起来更快地警告驾驶员,即车辆后部的物体更接近。这个小项目的目的是展示超声波传感器模块如何在项目中使用以测量距离。 KY-050是一个4针模块,如图1所示。该模块使用HC-SR04型超声波发射器/接收器硬件,具有以下特点:1。工作电压:5°2.工作电流:2 mA 3.检测距离:2-450 cm 4.输入触发信号:10μsttl 5.传感器角度:<15度KY-050具有以下引脚名称和说明:VCC:电源输入; Trig:触发输入;回声:回声输出; GND:电力地面。 KY-050超声波传感器模块的顺序操作如下(参见图2):1。将10μs触发脉冲发送到模块; 2.该模块然后向目标发送八个40-kHz方波信号,并将回声引脚设置为高; 3.程序开始计时器; 4.信号命中目标并回到模块; 5.当信号返回到模块时,回声引脚变低; 6.计时器停止; 7.计算回波信号的持续时间,结果是与目标的距离成比例。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号