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