亚博网页登陆

亞博網頁登陸

亞博網頁登陸閥門

亞博網頁登陸

zhaiyao:zhenduiwuxiantongxinjishuzaifamendiandongzhuangzhizhongdeyingyong,fenxigezhongchangjiandewuxiantongxinjishudeyingyongtedian,tichujiyulanyajishudejiejuefangan。lingwai,jiandanfenxilelanyaxieyizhande 3 zhongshixianxingshi,xuanzeqianrushimoxingzuoweilanyawuxiantongxindeshixianxingshi。zhuzhongjieshaolelanyashouchicaozuoqideyingjianxitongjiegouheruanjianliucheng,shixianleduidailanyatongxinmokuaidefamendiandongzhuangzhidewuxianyaokongcaozuo。

關鍵詞:閥門電動裝置;藍牙;KC02

1 藍牙協議棧實現形式

lanyaxieyiguifanzunxunkaifangxitonghulian osi(open system interconnection)moxing。

lanyaxieyizhananzhaofengzhuangfangshiyou 3 zhongbutongdeshixianmoxing——jijushi、qianrushihewanquanqianrushi,fenbiezhenduijuyoubutonggongnengheziyuandechanpin。

duiyuqianrushimoxing,lanyaxieyizhanweiyulanyamokuaizhong,yingyongchengxudanduyunxingzaizhujishang,tongguoshipeixieyiyulanyamokuaitongxin。qianrushimoxingwuxuzhujichulilanyashangcengxieyi,jianshaolezhujideruanjianfuhehedaimachangdu,jiangdilekaifanandu,duiyuneicunyouxiandeshebeishibucuodexuanze。benshejizailanyaxieyizhanshixianxingshishangxuanyongleqianrushimoxing,tongguoshiyongnanjingguochundianzijishuyouxiangongside kc02 lanyamokuai,baozhengtongxinkekaoxingbingjianshaole cpu dedaimaliang。

2 藍牙應用系統設計

在工業現場使用藍牙無線通信,其系統的硬件設計分為閥門電動裝置和手持操作器兩部分。

2.1 閥門電動裝置

famendiandongzhuangzhishixianfamenbentidekongzhigongneng。yi lpc2292 weihexingoujianzhenggeqianrushixitong,lanyamokuaicaiyonggongyeji kc02 mokuai。

lpc2292 shi nxp gongsijiyu arm7tdmi-s deyikuangaoxingnenggongyejiweichuliqi。qichuliqineihewei 32 wei risc tixijiegou,juyougaomidude 16 weizhilingjijijididegonghao。

kc02 lanyamokuaishikejinxingshujujiaohuanheyuyintongxindelanyatongxinmokuai。qitijixiao,waixingchicunchangwei 17.8mm,kuanwei 15.2mm;gongzuodianyawei 3.3v,yongyou uart、spi he usb chuanxingjiekou,zaibenshejizhongshiyongchuliqide uart yulanyamokuaixianglian。

2.2 手持操作器

shouchicaozuoqidegongnengweisousuoconglanya,bingzaizhuconglanyajianlilianjiezhihou,caozuofamendiandongzhuangzhi,bingtongbuxianshifamendiandongzhuangzhipingmuneirong。qixitongjiegouyi 8 wei avr danpianji atmega128l weihexin,baokuoanjian、yejingxianshiping、zhulanyamokuaihedianyuanchuli 4 gebufen。kc02 zhulanyamokuaitongguochuankouyudanpianjixianglian。shouchicaozuoqishiyongdianchi,tongguodianyuanzhuanhuanxinpian amsi1117 wenyahougeizhenggeqianrushixitonggongdian。

2.3 手持操作器軟件流程

shouchicaozuoqifuweihoushouxianjinxinggedicengyingjiandechushihuacaozuo,ranhougenjujieshoudaodeanjianminglingjinxingxiangyingdecaozuo。

zaiyingjianshejizhong,jiangdanpianjide pd4 yulanyamokuaidelianjiezhuangtaiduankouxianglian,pd7 kouyulanyamokuaide reset yinjiaoxianglian 。

3 藍牙節點鏈接過程

chuyugongyexianchangdefamendiandongzhuangzhitongchangweiyigezhenlie,cishizhengquewanchenglanyajiediandechaxunyijilianjieshijianlishouchicaozuoqiyufamendiandongzhuangzhitongxindeguanjian。gaiguochengyoushouchicaozuoqi mcu tongguoshipeixieyicaozuozhulanyamokuaiwancheng。

youyuzaigongyexianchangkenengyouduotaifamentongshijuyoulanyawuxiantongxingongneng,shouchicaozuoqiyufamendiandongzhuangzhidelianjiefenweiwulilianjieheluojilianjie。qizhongluojilianjieweiwulilianjiedeyigeziji,zhiyouzaishouchicaozuoqiyufamendiandongzhuangzhizhijianjianlilewulilianjie,bingqieshouchicaozuoqijieshoudaolequerenlianjiedezhilinghouluojilianjiecaijianli。cishishouchicaozuoqijinrucaozuofamendiandongzhuangzhibingtongbuxianshidezhuangtai。famendiandongzhuangzhizhinengbeidongdijieshoushouchicaozuoqidesousuohelianjie,qishangcengchengxuzaichulilianjiezhuangtaishigeichutishiyongyucaozuozhepanduanlanyawangluodelianjiezhuangtai。

4 系統功能

shujujiaohuangongneng:shouchicaozuoqicaiyongchaxunyingdadefangshicaijifamendiandongzhuangzhideshishizhuangtai。meige 100ms,shouchicaozuoqijiuhuifachu 1 cichaxunzhiling,famendiandongzhuangzhijiangdangqianzhuangtaidabaowei 1 zhen 6 zifudeshujushangchuangeishouchicaozuoqi。youyusuochuanshudeshujubuhuibaohan 0xff he 0xfe,keyijiangqizuowei 1 zhenshujudeqishihejieshubiaozhi。

shouchicaozuoqitongguotongyangdeshujugeshiquchudiaoqishibiaozhihejieshubiaozhijiexichuyizhenshuju,bingtongbuxianshifamendiandongzhuangzhizhuangtai。zaishouchicaozuoqihefamendiandongzhuangzhijinrufamencanshudetongbushezhizhuangtaishi,shujuzhenchangdubuguding,anzhaoshuqianxianshiyemiansuoxudexinxijinxingshujujiaohuan。lianjieduankaitishi:dangyouyuwaijieyuraohuojulizengjiadaozhishouchicaozuoqihefamendiandongzhuangzhizhijianlianjieduankaishi,shouchicaozuoqigeichulianjieduankaitishi,famendiandongzhuangzhizetiaochulanyawuxiancaozuozhuangtai,huifudaobendicaozuomoshi。

結語

zhenduijianglanyawuxianjishuyinrufamendiandongzhuangzhizhongdeshijigongchengxuqiu,benwenfenxileqikexingxing,bingqieshixianleshijiruanyingjianxitong,duigongyexianchangdewuxianjishuyingyongyouyidingcankaojiazhi。


本文地址:http://zapped-it.net/tech/chuandong/798.html


下一篇:沒有了
上一篇:如何正確選擇閥門電動裝置


免責聲明
  • 本網站致力于提供正確、完整的技術資料,但不保證信息的正確性和完整性,且不對因信息的不正確或遺漏導致的任何損失或損害承擔責任。
  • 本站所提供的技術文章,僅供參考,如自行使用本站資料發生偏差,本站概不負責,亦不負任何法律責任。
  • 本站所提供的技術文章,部分內容來源為網絡,作者不知,如有侵權請聯系刪除。
  • 如需技術支持,請致電我公司技術與銷售咨詢熱線:021-66059666。

火狐体育 环球体育 英亚体育 亚博网站登陆 立博app