為實現對于未知數量紙張的計數,使用FDC2214電容檢測傳感器通過I2C方式來采集兩極板的電容值,以STM32 F103單片機作為主控板進行數據處理。通過采集多組不同紙張所對應的電容值,并將多組數據進行數據擬合,找到最合適的擬合函數作為標準數據函數,在測量時只需將所采數據與標準數據函數逐一對比,便可找到此時所對應的紙張數,達到紙張計數的目的。在正式開始測量前,可進入自校準模式,通過按鍵修改擬合函數的常量,以便獲得較為精準的標準數據函數。
標簽:
紙張計數
上傳時間:
2022-03-26
上傳用戶:
基于藥物治療在臨床治療中的重要性,分析目前服藥提醒裝置存在的不足,以STM32F103VET6單片機為控制核心,設計了一種多功能電子藥箱。該系統包括顯示模塊、語音模塊和數據存儲模塊。顯示模塊通過觸摸屏電路和LED指示燈電路,與語音模塊相配合,實現了服藥提醒及指導的功能;數據存儲模塊通過EEPROM存儲電路,能夠實現掉電時服藥信息不丟失的功能。并且為了實現電子藥箱的智能化控制,開發了手機APP,兩者之間可通過WIFI進行數據通信。經測試,該藥箱能夠有效地幫助慢性病患者按時、定量、正確服用藥物,適合在家庭中推廣使用,具有較高的應用價值和實踐意義。Based on the importance of drug therapy in clinical treatment, this paper analyzes the shortcomings of current drug reminder devices, and designs a multi-function electronic medicine box with STM32 F103 VET6 microcontroller as the control core. The system includes a display module, a voice module, and a data storage module. The display module cooperates with the voice module through the touch screen circuit and the LED indicator circuit to realize the function of reminding and guiding the medicine;the data storage module can realize the function of not losing the medication information when the power is off through the EEPROM storage circuit.After testing, the medicine box can effectively help chronic diseases patients to take drugs on time, in a quantitative and correct manner,and is suitable for popularization in the family, and has high application value and practical significance.
標簽:
電子藥箱
上傳時間:
2022-03-27
上傳用戶:
配電網中,各種配電終端的電流、電壓、有功功率及無功功率等模擬量的采集是配電網自動化的重要環節。這些模擬量的采集也是各種儀器和家用電器的必要功能。因此,設計了基于嵌入式STM32F103單片機的交流電壓、交流電流及有功功率的采集系統,通過電壓互感器TV1005M和電流互感器TA1005M分別檢測交流電壓和交流電流值;屏幕或者手機APP和WiFi模塊互聯后,可以實時顯示交流電壓、交流電流、功率及電量值;通過設定閾值功率,可以實現對電流的監控和對電路的保護。In the distribution network,the collection of analog,such as current,voltage,active power,and reactive power at various distribution terminals is a very important part of distribution network automation. These analog acquisitions are also for various instruments and household appliances. Very important technology. Therefore,an AC voltage,AC current and active power acquisition system based on embedded STM32 F103 machine is designed,and AC voltage and AC current values are detected by voltage transformer TV1005 M and current Transformer TA1005 M respectively;After the screen or mobile phone APP and WiFi modules are interconnected,AC voltage,AC current,power,and power values can be displayed in real time;By setting the threshold power,the current can be monitored and the circuit can be protected.
標簽:
stm32F103
單片機
電流電壓采集
上傳時間:
2022-03-27
上傳用戶:shjgzh