彩客网

通过近场通信解决智能传感器与蓝牙连接问题
来源: 电子发烧友    发布时间: 2019-03-25 10:16   203 次浏览   大小:  16px  14px  12px
通过近场通信解决智能传感器与蓝牙连接问题

  ZHICHIDINENGHAO(LE)SHUJUJIAOHUANBAOHANZAI4.0BANDELANYAGUIFANZHONG。LANYADIGONGHAO(BLE)SHEJIYONGYUZHICHISHUJUSULVGAODA1 Mbit/sDETONGXIN,JULIZUIYUANYUE50MI,BIDIANXINGDELANYAFANWEIDAYUE10 - 30MI,LANYADIGONGHAO(BLE)JUYOUQIANGDADELIANJIESHEBEIDEPINGJUWULIANWANG(IoT)。

  SHEBEIKENENGZHISHIXIANLANYAGUIFANDEBLEBUFEN,YINCIBEICHENGWEILANYAZHINENG。DUIYUWULIANWANGDUANDIANDENGZHINENGDUIXIANG,ZHEISHIYIZHONGLIXIANGDEJINGJIQIEJIENENGDESHIXIANFANGSHI。LINGYIFANGMIAN,ZHICHIWANZHENGLANYAGUIGEDEZHINENGSHOUJIHEPINGBANDIANNAODENGSHEBEI - BUJINSHILE,ERQIEJIBENSULVHEZENGQIANGSHUJUSULV(BR/EDR)GAODA3 Mbit/s(XIANZAICHENGWEILANYAJINGDIAN) - KEYIHUDONGSHIYONGLANYAZHINENGSHEBEI,CHENGWEILANYAZHINENGSHEBEI。

  ZI2011NIANDITUICHUDESUOYOUZHINENGSHOUJIDOUSHIZHINENGXING。ZHEISHIKAIFARENYUANNENGGOUYILAIDALIANGQIANZAIYONGHUYIYONGYOUYUQICHANPINJIAOHUDESHEBEIZHEIYISHISHI。ZHEIXIEKEYISHIXIAOFEICHANPIN,LIRUJIAZHONGDEZHINENGZHAOMINGHUOHUANJINGCHUANGANQI,HUOZHEZHURUZHINENGCHUANGANQIHUOGONGYEHUANJINGZHONGDEJIQIZHILEIDESHEBEI。GONGYEYONGHUKEYISHIYONGTAMENZIJIDESHEBEIJINXINGJIAOHU,ZHEIXIESHEBEIYOUGONGSIBYOD(ZIDAISHEBEI)ZHENGCESHOUQUAN,HUOSHIYONGZHIDINGDESHOUJIHUOPINGBANDIANNAO。

  智能对象的理想连接?

彩客网  CHULEYIYUHUCAOZUOXINGZHIWAI,BLEHAIJUYOUQITAJIGEZHONGYAOYOUSHI,ZUOWEIZHINENGDUIXIANGDELIANJIEJISHU。DIANLUHEXIEYIKEYIDICHENGBENSHIXIAN,SHIHEDERUANJIANAPIKEYONGYUWindows,AppleHEAndroidSHEBEI。XIAOSHUJUBAO,DUANJIESHOUHEFASONGCHUANGKOUYIJIZHIZAIZUIDAHUAWUXIANDIANZAIKONGXIANMOSHIXIAHUAFEIDESHIJIANDEDIANYUANFANGANDOUYOUZHUYUJIDIDENENGLIANGXUQIUBINGYUNXUBLESHEBEICONGXIAOYINGBIYUNXINGJIGEYUEHUOGENGZHANGSHIJIANLINGYIFANGMIAN,PEIDUILANYASHEBEIBEIXIAOFEIZHEGUANGFANRENWEISHIYIGEKUNNANDEGUOCHENG,KENENGJIHAOSHIYOUYOUDIAN“MINGZHONGHUOCUOGUO”。CHANGSHIJIANGFUJIANLIANJIEDAOSHOUJIDEYONGHUTONGCHANGXUYAOCANKAOSHOUCEYILEJIERUHESHIXINSHEBEIKEBEIFAXIAN。PEIDUITONGCHANGXUYAODUOCICHANGSHI,ANQUANXINGKENENGHUISHOUDAOYINGXIANG,YINWEIHENSHAOYOUYONGHUJIANGCHUCHANGMORENMIYAOGENGGAIWEIQIANZAIHEIKEWUFAQINGYICAIDAODESHUZI。

  DANGSHEBEIYOUZIJIDEYONGHUSHURUSHI,ZHEIGEGUOCHENGHENNANXIANGANNIUHUOKAIGUANZHEIYANGDESHEBEI,WULUNZHEIXIEDOUSHIJIBENDE。ZAIXIANGWULIANWANGZHINENGCHUANGANQIZHEIYANGKENENGWANQUANWUTOUDESHEBEIZHONG,TAKENENGGENGJIAKUNNAN。

  与无头物体配对

彩客网  WEILEBANGZHUKEFUPEIDUIKUNNAN,Bluetooth SIGTUICHUCONGLANYA2.0KAISHIANQUANJIANDANPEIDUI(SSP)。 SSPZHIDINGLESIZHONGGUANLIANMOXING,BAOKUOGONGZUO,SHUZIBIJIAO,MIYAOSHURUHEDAIWAI(OOB)。MIYAOSHURUHESHUZIBIJIAOYAOQIUYONGHUSHURUDAIMAHUOQUERENLIANGGEDAIMASHIXIANGTONGDE。 OOBSHIZUISHIHELIANJIEMEIYOUYONGHUJIEMIANDEWUTOUSHEBEIDEMOXING。 Just WorksPEIDUISHIYONGYUSHUZIBIJIAOXIANGTONGDEXIEYI,DANBUXUYAOYONGHUQUEREN。SUIRANZHEIKEYIYONGYUPEIDUIMEIYOUYONGHUJIEMIANMIYAOHUOXIANSHIQIDESHEBEI,DANTAZAIZHONGJIANANQUANGONGJIZHONGBUTIGONGDUIRENDEBAOHU。 OOBPEIDUISHIYONGXIANQIANYIANQUANGONGXIANGDEXINXIDAITIMIYAOSHURUMIYAO。

彩客网  JINCHANGTONGXIN(NFC)KEYONGYUGONGXIANGOOBPEIDUISUOXUDESHUJU,YINCITIGONGLEJIANLILANYALIANJIEDEFANGBIANQIEANQUANDEFANGFA。 NFCPEIDUIYIJINGZAILIUXINGDEYIDONGCAOZUOXITONGZHONGDEDAOZHICHI,BINGQIETONGGUOZAIXIANGZHINENGSHOUJIYINRUERJIHUOYANGSHENGQIDENGXINPEIJIANSHIYUNXU“QINGQIAOPEIDUI”DEBIANLIXINGDADAJIANHUALEXIAOFEIZHEDESHIYONG。

彩客网  LIYONGNEIZHIANQUANSHEBEI,NFCKEYONGYUFUZHUZHINENGCHUANGANQIDELANYAPEIDUI,ERBUHUIXIAOCHUZHINENGSHOUJIHEPINGBANDIANNAOSHANGGUANGFANDEYUANSHENGBLEZHICHIDAILAIDEPUBIANCUNZAIDERENHEYOUSHI。

  CHULEBANGZHUANQUANDIJIANGXINSHEBEIYINRUWANGLUO,NFCKEYIBANGZHUCUJINYUWUTOUWULIANWANGSHEBEIDEQITAJIAOHU。YIXIESHILIBAOKUOCONGWANGLUOZHONGYICHUSHEBEI,YONGXINSHEBEITIHUANJIUSHEBEI,YIJIZAILANYALIANJIEWEIJIHUOSHIFASONGPEIZHISHUJUHUOJIANSUOXINXI。 NFCHAITIGONGHUANXINGYIWANQUANDUANDIANDESHEBEIYIZUIDAHUADIANCHISHOUMINGBINGBANGZHUQILIANJIEDAOLANYAWANGLUODEFANGFA。

  用NFC启动配对过程

  YINWEIDANGZHUJIXITONGDUANDIANSHI,WUYUANNFCBIAOQIANKEYIYUDUQUQITONGXIN,ANQUANLIANJIESHEBEISUOXUDEWANGLUOCANSHUHEMIYAODENGSHUJUKEYIZAIDIYICISHANGDIANZHIQIANCHUANSHUDAOSHEBEI。ZHEIKEYITONGGUOZAIZHICHINFCDEZHINENGSHOUJIHUOWANGGUANSHEBEI(RUJIATINGZIDONGHUAZHONGXIN)SHANGDIANJIXINSHEBEILAIWANCHENG。DANGDUIXIANGSUIHOUTONGDIANSHI,TAKEYISHIYONGMIYAOYUWANGLUOLIANJIEBINGJIANLIANQUANTONGXIN。RANHOU,CHUYUANQUANMUDE,JIANGMIYAOCONGBIAOQIANZHONGSHANCHU,YIFANGZHIDISANFANGLANJIE。TONGYANG,ZAISHEBEISHANGZHUCEDEZHICHINFCDEZHINENGSHOUJIKEYONGYUTONGGUODIANJIJIANGWUTOUSHEBEILIANJIEDAOWANGLUO。QITAMINGLING(LIRUCONGWANGLUOZHONGZHIHUOTINGYONGSHEBEI)KEYITONGGUOXIANGTONGDEFANGSHIWANCHENG,YEKEYITONGGUODIANJI,BANGZHUGENGHUANHUOGENGXINJIUSHEBEIJIANGPEIZHISHEZHICONGYIGESHEBEIFUZHIDAOLINGYIGESHEBEI。

彩客网  NFCDEDUANTONGXINFANWEIYOUZHUYUTIGAOANQUANXINGHEXUANZEXING。DANGWEISHOUQUANFANGXUYAOSHIJICUNZAIYUSHEBEIDEJILIMINEISHI,QIETINGFEICHANGKUNNAN,BINGQIEQIETINGYUNXUYONGHUQUEXINZHIYOUYAOLIANJIEDESHEBEIYIJINGJIESHOUDAOWANGLUOMIYAO。

  LANYAJISHULIANMENGHENFCLIANMENGYIJINGWEILIANGZHONGJISHUTIGONGLEHUCAOZUOXING,LIRUPEIDUISHEBEIHEQIDONGTONGXINYIJIANLILANYALIANJIE。DANGQIANDELANYABIAOZHUNBUJINZHICHIOOBPEIDUIYILIYONGNFCDENGBIAOZHUNDEYOUSHI,ERQIENFCGUIFANHAIBAOKUOJIANGSHEBEILIANJIEDAOWANGLUO(RULANYAHUOWi-Fi)DEGONGNENG。HAIYOUYIGEYONGYULIANJIEQIEHUANDEXIEYI,YUNXUZAIPEIDUIHOULIJIZHENGCHANGCHUANSHUDAOLANYA。

彩客网  ZHEILIANGGEGUIFANZHONGBAOHANDEZHEIXIEGONGNENGYUNXUNFCYONGYUDUOZHONGYONGTU,BAOKUOXUANZELANYASHEBEI,QIDONGYULANYASHEBEIDEANQUANLIANJIE,HUOZAILANYASHEBEISHANGQIDONGYINGYONGCHENGXU。

  NFCTONGGUOXIAOCHULANYAFAXIANCHENGXUJIANHUALESHEBEIXUANZE,ZHEIKENENGYAOQIUYONGHUCONGBAOHANFANWEINEIRENHEQITASHEBEIDELIEBIAOZHONGSHOUDONGXUANZESUOXUSHEBEI。ZAIZHEIZHONGQINGKUANGXIA,NFCYUNXUZHIJIECONGFENJIESHEBEIBUHUOLANYADIZHI。

  DANGSHIYONGSSP OOBPEIDUILIANJIELANYASHEBEISHI,NFCKEYONGYUCHUANSONGBLESHEBEISUOXUDELINSHIMIYAO。ZHEIGEGUOCHENG。MIYAOBAOHANZAIBIAOZHUNNDEF(NFCSHUJUJIAOHUANGESHI)XIAOXIDEYOUXIAOZAIHEZHONG。ZAIJIAOHUANOOBSHUJUZHIHOU,KAIFARENYUANKEYILIYONGLANYAGUIFANZHONGBAOHANDEQITAGONGNENGLAIZUIXIAOHUAWANCHENGLIANJIESHEZHIDESHIJIAN。YIGESHILISHIDUIKUAISULIANJIEJIANLIDEZHICHI,QIBAOKUOZAITONGYONGFANGWENPEIZHIWENJIAN(GAP)ZHONG。 GAPDINGYILELANYASHEBEITONGGAO,FAXIANBICI,LIANJIEHECHULIANQUANXINGDECHENGXU。

彩客网  NFCLUNTANHELANYASIGLIANHEFABUDEYINGYONGWENDANGBluetooth?ANQUANJIANDANPEIDUISHIYONGNFCGUANYUSHEBEIZHIJIANDEJIAOHUYIJINFCHELANYAZHIJIANDEQIEHUANJIZHIDESHENRUXINXI。

  一体化模块简化了设计

  SHIXIANNFCPEIDUIHENFCCHUFAZHUJIHUANXINGGAISHEBEIBIXUJUYOUNFCBIAOQIANHEBLEGONGNENG。SUIRANZHEIXIEKEYIZUOWEIDANDUDEICSHIXIAN,DANSHIJIEHELESHIYONGYUWULIANWANGSHEBEIDEBLEHENFCDEJICHENGJIEJUEFANGANTIGONGLEGENGXIAOQIEKENENGGENGJUNENGHAOYISHIDEJIEJUEFANGAN。SONGXIAPAN1761 BLE/NFCZUHEMOKUAIJIUSHIYIGELIZI,TAJIANGDANMOBLEXINPIANHENFC Forum 3XINGJIANRONGBIAOQIANJIEHEZAIYIGEXIAOXINGDEBIAOMIANTIEZHUANGFENGZHUANGZHONG。GAIMOKUAIJUYOUBANZAIDEARM?Cortex?-M3WEIKONGZHIQIHE512 KBit EEPROM,KEYIZHIXINGZHINENGCHUANGANQIYINGYONGDENGDAIMA,YIJIZHIXINGLANYAHENFCGONGNENG。GAIQIJIANJUYOULINGGONGHAODAIJIMOSHI,SHIYINGYONGCHENGXUKEYICONGZHANGDIANCHISHOUMINGZHONGSHOUYI。BIYAOSHIKEYISHIYONGNFCSAOMIAOYIZHONGXINJIHUOTA,BINGZIDONGQIDONGLANYALIANJIE。

彩客网  GAIMOKUAISHIYONGDONGZHIDEZUHEBLE/NFC ICGOUJIAN,BINGBAOHANZHICHIGAPHEDEGASHDEToshibaLANYADUIZHAN。XINPIANSHANGDEBLETONGYONGSHUXING(GATT)PEIZHIWENJIAN。 GAPZHICHIZHONGYANGHEWAIWEIJIAOSE,YUNXUPAN1761ZAIWANGGUANSHEBEIHUOZHINENGDUIXIANGZHONGSHIYONGYILIANJIEDAOWANGGUAN。BIAOZHUNBLEPEIZHIWENJIANKEYONGYUJICHENGDAOYINGYONGCHENGXUDAIMAZHONG。

彩客网  ZHUCEToshiba BluetoothKAIFARENYUANZHUANQUKEFANGWENZHICHIRUANJIANKAIFAGONGJUBAO(SDK),QIZHONGBAOKUOToshibaPEIDUINFCFENGZHUANG。ZHEITONGGUOWEIBANZAICortex-M3CHULIQITIGONGYINGYONGCHENGXUYUANDAIMAHE“TONGGUONFCPEIDUI”KULAIJIANHUASHIYONGNFCDEOOBPEIDUI。HAIYOUYIGEDAIYOUYUANDAIMADEAndroidYANSHIYINGYONGCHENGXU,YIJIGUANYUDAIWAIPEIDUIGAINIANDEYINGYONGCHENGXUSHUOMING。TIGONGSUOYOUMOKUAIGONGNENGQUDONGCHENGXUDEGAOJIBLE API(TU1)YOUZHUYUSHIXIANSHEZHI,LIANJIEHESHUJUCHUANSHU。

  图1:高级API可帮助开发人员使用PAN1761。

  PAN1761MOKUAIJIANGBLE/NFC ICHEEEPROMYU26 MHzJINGZHENHELANYATIANXIANHELVBOQIXIANGJIEHE,RUTUSUOSHITU2.XUYAOWAIBUNFCTIANXIAN。ZAIXIANSHEJIGONGJU“Panasonic NFCSHEJIDAOHANGQI”KEYONGYUBANGZHUGONGCHENGSHIKAIFATIANXIANSHEJIBINGQUEBAOZHENGQUEDELUJINGHEPCBBUJU。

  图2:PAN1761简化了电路设计,节省了电路板空间和BOM成本。提供布局和天线设计指南。

  结论

  NFCKEYIBANGZHUJIEJUEJIANGWEIXING,DIGONGHAOGONGYEZHINENGCHUANGANQILIANJIEDAOLANYADEJIHUMEIYOUHUOMEIYOUYONGHUJIEMIANDETIAOZHANWANGLUO。LANYASIGHENFCLUNTANYIJINGHEZUOTIGONGNFCFUZHUPEIDUI,BAOKUOZHICHINFCGUIFANZHONGDELIANJIEQIEHUANHEBLEGUIFANZHONGDEOOBPEIDUI。ZUHEDEBLE/NFCBIAOQIANMOKUAITONGGUOZAIYIGESHEBEIZHONGZUHEZHEILIANGZHONGJISHULAIJIANHUAGAIJIEJUEFANGAN。ZHICHISDKWEIRUANJIANKAIFARENYUANTIGONGLEKAISHIKUAISUPEIDUIWUTOUSHEBEISUOXUDEGONGNENG。

百度地图 google地图 360网站安全检测平台