999精品在线视频,手机成人午夜在线视频,久久不卡国产精品无码,中日无码在线观看,成人av手机在线观看,日韩精品亚洲一区中文字幕,亚洲av无码人妻,四虎国产在线观看 ?

Motor Control, Sensing Distance and Sensing Specific Spot in Arduino Application

2017-06-30 13:06:01LingChen
中國科技縱橫 2017年10期

Ling+Chen

Abstract:According to the study of Arduino platform so far, the several numbers of units related to Arduino platform within its SCM (single chip microcomputer) are assumed to be employed.to some context, some units are already known both to be used and further investigated in industrial areas.

Key words:Arduino;code;sensor

CLC number:TP368 Document identification code:A Article number:1671-2064(2017)09-0048-02

1 Motor Control

The most basic part is to control the direction of robots. A single motor is enabled for using to make robot stop and forward easily .However, in some situation, turning is required once meeting obstacle or needing other non-linear directions. In order to complete more differing motions, H-bridge is utilised as a central structure of connecting command of two motors together. Moreover,as shown in Figure 1,revering engine is a vital task for H-bridge.

The graph above shows three motion,off,forwardreversefor an engine.as all switch off, power outage.With no current through the motor, the motion would be off. In this case, all switch is off.However, the more advantageous way is to set the engine power zero, like the codes in the lab:

digitalWrite(ENA_PIN, LOW);

digitalWrite(ENB_PIN, LOW);

As illustrated in the middle, the graph with H-bridge turning off left switch and on the right one.Which represent 0and1 in digital logic language respectively .as coding:

The motor is then simulated to executed in a clockwise direction by the current.

To the contrary, for achieving backwards,10is applied inversely.

Generally,in the wake of basis functions,turing leftand ‘rightare secondarily considered in robots application.while a moter rotate clockwise, and another run anti-clockwise,the whole structure of robot will turning with right or left depend on the position of the motors.a similar codes lists:

In this case,there are two other methods to keep the robot left.one is to keep running moter B but turn off moter A is.an other one is to keep moter A anti-clockwise and turn off moter B. these method provide spinning motions.

When the function come into being, motions loop created:

According to the limited, narrow space of arena in the final challenge, the robot sometimes gets stuck in sizes or corners.To solve this problem, the code was developed as ‘stopbackwardsleft, which lead to more conveniently escape the obstacles and tracking the right route.

Sensing Distance

In order to avoid striking into the wall, the distance between obstacle and cars body should be known.So the sensor is placed in front of the robot car opposite to the forwards direction.

In practice employment, when ‘distancereach or below 10, it can conduct pre-set function with delays happen due to the pulse back time. However, some errors are unavoidable.calculating the distance of front obstacles sometimes would be bigger or smaller, which is caused because of motions being conducted during the pulse-echo time.It leads to a fine distinction between practical and theoretical robot reaction and routeing paths.

2 Conclusion

According to the study of Arduino platform so far, the several numbers of units related to Arduino platform within its SCM (single chip microcomputer) are assumed to be employed.to some context, some units are already known both to be used and further investigated in industrial areas.

Author:A engineering student studying in Department of engineering of UoL, have experience in mechanics,materials analysis and product design for 5 years.

主站蜘蛛池模板: 免费国产不卡午夜福在线观看| 国产SUV精品一区二区6| 精品久久蜜桃| 国产91小视频在线观看| 幺女国产一级毛片| 亚洲色精品国产一区二区三区| 九九九精品视频| 99免费视频观看| 日韩第九页| 国产哺乳奶水91在线播放| a级高清毛片| 久久久久国色AV免费观看性色| 欧美啪啪一区| 精品国产福利在线| 久久亚洲高清国产| 精品人妻AV区| 精品一区二区无码av| 日本爱爱精品一区二区| 国产精品女同一区三区五区| 亚洲全网成人资源在线观看| 91欧美在线| 亚洲男人天堂久久| 欧美成人国产| 九九九九热精品视频| 99视频在线观看免费| 国产又大又粗又猛又爽的视频| 国产成人三级| 18禁黄无遮挡免费动漫网站| 婷婷综合缴情亚洲五月伊| 亚洲AV无码精品无码久久蜜桃| 2021国产精品自拍| 欧美国产在线一区| 欧美亚洲日韩中文| 国产精品色婷婷在线观看| 伊人久热这里只有精品视频99| 亚洲人妖在线| 亚欧美国产综合| 国产精品v欧美| 国产97公开成人免费视频| 四虎成人在线视频| 国产精品白浆在线播放| 成人噜噜噜视频在线观看| 99re经典视频在线| 欧美在线观看不卡| 国产极品美女在线观看| 午夜免费小视频| 全裸无码专区| 在线观看亚洲天堂| 国产最新无码专区在线| 国产一在线| 国语少妇高潮| 午夜色综合| 国产无吗一区二区三区在线欢| 久久99国产综合精品女同| 欧洲欧美人成免费全部视频| 国产爽爽视频| 久久五月天国产自| 成年A级毛片| 伊人色综合久久天天| 欧美性色综合网| 亚洲国语自产一区第二页| 久久婷婷五月综合97色| 国产呦精品一区二区三区下载| 国产午夜无码专区喷水| 欧美日韩国产在线观看一区二区三区 | 26uuu国产精品视频| 美女无遮挡被啪啪到高潮免费| 亚洲国产精品成人久久综合影院| 国产91色在线| 精品亚洲国产成人AV| 99草精品视频| 国产91色在线| 一区二区在线视频免费观看| 欧美色视频日本| 欧美a√在线| 2021亚洲精品不卡a| 亚洲香蕉在线| 久久久久国产精品免费免费不卡| 天天综合网色| 国产乱肥老妇精品视频| 国产精品福利尤物youwu| 国产精品一区在线麻豆|