實現智能(neng)水(shui)控 | 基(ji)于ACM32 MCU的分體(ti)式水(shui)控方案(an)
分體式水(shui)(shui)(shui)控(kong)(kong)是一種常見(jian)的(de)(de)水(shui)(shui)(shui)控(kong)(kong)系統(tong),它的(de)(de)工(gong)作原理是通(tong)過水(shui)(shui)(shui)的(de)(de)流(liu)動來(lai)控(kong)(kong)制(zhi)水(shui)(shui)(shui)的(de)(de)供應和(he)排(pai)放,該系統(tong)一般由兩(liang)部分組(zu)成:控(kong)(kong)制(zhi)器和(he)水(shui)(shui)(shui)閥(fa)。控(kong)(kong)制(zhi)器負責監(jian)測水(shui)(shui)(shui)的(de)(de)流(liu)量和(he)壓力,根據設(she)定的(de)(de)參數來(lai)控(kong)(kong)制(zhi)水(shui)(shui)(shui)閥(fa)的(de)(de)開和(he)關,從而實(shi)現水(shui)(shui)(shui)流(liu)的(de)(de)控(kong)(kong)制(zhi)。
基于上海航芯(xin)ACM32F403的物(wu)聯網分體水(shui)(shui)(shui)控是(shi)一款以M1卡(ka)(ka)或CPU卡(ka)(ka)作(zuo)為電子(zi)錢包,以實(shi)時(shi)扣費(fei)(fei)的方(fang)式(shi)實(shi)時(shi)扣取卡(ka)(ka)中金(jin)額,通過對出水(shui)(shui)(shui)管道(dao)電磁(ci)閥(fa)(或電動閥(fa))的開關控制,實(shi)現插(cha)卡(ka)(ka)出水(shui)(shui)(shui)、拔卡(ka)(ka)斷水(shui)(shui)(shui)、精確計(ji)費(fei)(fei)。
分體式水控(kong)功(gong)能特點
? 支持各種類型的非接觸式射(she)頻(pin)卡M1、CPU卡
? 無(wu)需通信布線,全網通方式(shi)與(yu)運營商基站通信
? 支(zhi)持在線自動升級終端程序(xu)
? 支持脫機(ji)工作(zuo)和聯機(ji)工作(zuo),脫機(ji)自動變聯機(ji),下載參數和上傳記錄
? 防水等級(ji)IPx6
分(fen)體(ti)式水控方(fang)案(an)介紹
分體(ti)式水(shui)控(kong)方案采用(yong)(yong)上海航芯(xin)ACM32F403作為主(zhu)控(kong)芯(xin)片(pian),支(zhi)持(chi)(chi)Cortex-M33和(he)Cortex-M4F指令(ling)集(ji)。芯(xin)片(pian)內(nei)核支(zhi)持(chi)(chi)一整套DSP指令(ling)用(yong)(yong)于(yu)數(shu)字信(xin)號處理,支(zhi)持(chi)(chi)單精度(du)FPU處理浮(fu)點數(shu)據,同(tong)時還支(zhi)持(chi)(chi)MPU用(yong)(yong)于(yu)提升應用(yong)(yong)的(de)安全性。主(zhu)頻高達(da)180MHz,內(nei)置最大512K eFlash和(he)192K SRAM,同(tong)時具有多(duo)路UART/IIC/SPI等豐(feng)富(fu)的(de)通(tong)訊外設,能夠滿(man)足系統在(zai)多(duo)場合下(xia)的(de)應用(yong)(yong)要求(qiu),分體(ti)式水(shui)控(kong)方案框(kuang)圖如下(xia)所示:
ACM32F403主控芯片(pian)帶有(you)速(su)率高達(da)50Mbps的(de)(de)QSPI接口,能(neng)快速(su)與NFC芯片(pian)通(tong)(tong)訊,獲(huo)取卡(ka)片(pian)信(xin)息,讀卡(ka)時(shi)間小于0.3秒,并(bing)通(tong)(tong)過ESAM模(mo)(mo)塊(kuai)完成與卡(ka)片(pian)的(de)(de)雙向認證,實(shi)現充(chong)值,扣費(fei)、記錄、數據加密等功(gong)能(neng)。如外(wai)接的(de)(de)CAT1模(mo)(mo)塊(kuai)與云端保持在線狀態(tai),則將(jiang)系統的(de)(de)刷(shua)卡(ka)信(xin)息實(shi)時(shi)的(de)(de)同(tong)步到(dao)云端,也(ye)可通(tong)(tong)過UART和(he)(he)藍牙模(mo)(mo)組和(he)(he)手機APP通(tong)(tong)訊,進行固件升級(ji)、參數下(xia)載、記錄上傳等功(gong)能(neng)。外(wai)接1.3寸OLED 128*64點陣屏,支持中文顯(xian)示,主控芯片(pian)通(tong)(tong)過IIC接口與屏驅IC通(tong)(tong)訊,實(shi)時(shi)顯(xian)示刷(shua)卡(ka)信(xin)息、卡(ka)片(pian)余額、閥門狀態(tai)、在線狀態(tai)等信(xin)息。