本設計介紹了一種基于STM32單片機控制的智能水杯,可利用插口式電源或無線充電底座為加熱器提供能量,并在達到某種飲品所需溫度時進行保溫。水杯內置充電電池,可選用USB接口或無線充電。在水杯內部設置無線模塊,用戶利用手機App與水杯進行匹配進行加熱操作,加熱完后水杯會通過手機App和液晶顯示屏實時反饋液體溫度,通過指示燈顯示電量情況等,給用戶進行提醒。該智能水杯設計創新,實用價值較高。This paper introduces an intelligent water cup based by STM32 microcontroller,it can provide energy for the heater by socket type power supply or wireless charging base,and hold temperature needed for some kind of drink.Builtedin rechargeable battery,water cup can use USB or wireless charging.The wireless module is set up inside it,and customers can use mobile App to match and heat.After heating,water cup feeds back liquid temperature through the mobile App,and then displays on LCD,reminds users through the indicator light.The intelligent water cup is designed innovatively and has high practical value.
在傳統智能小車驅動電路設計中,較多考慮使用直流電機還是步進電機,電機功率、能耗等性能參數。使用具有armCortexM4內核的STM32嵌入式平臺控制四輪的4個直流電機。文章基于PWM技術及PID算法,對四輪進行精準地速度、轉向及啟停控制,實驗表明此小車具有優越各種地形適應能力。In the traditional intelligent car drive circuit design,DC motor or stepping motor,motor power,energy consumption and other performance parameters are considered.The four DC motors with four wheels are controlled by STM32 embedded platform with arm Cortex M4 kernel.Based on the PWM technology and PID algorithm,the accurate ground speed,steering,and start-stop control of the four wheels are carried out.The experiment shows that the vehicle has the superior adaptability to all kinds of terrains.
說明: 51單片機控制智能溫控風扇,多檔調節,pwd調速。包含源碼和電路圖(51 single chip computer control intelligent temperature control fan, multi-stage adjustment, PWD speed regulation. Contains source code and circuit diagrams)