h8ca3

Smart Mini Refrigerator

 
Overview
  Summer is here again, and if you want to enjoy an ice-cold cola anytime while you're out, a portable mini-fridge can make all the difference.
 
System Design

: Main Controller: STM32 Microcontroller. The

         STM32 microcontroller serves as the main controller, responsible for the logic control and data processing of the entire system.
 

IoT Module: Wi-Fi.

         The ESP8266 Wi-Fi module enables remote communication, allowing users to control the mini-fridge remotely via their mobile phones.
 

Temperature Sensor: DS18B20

         . The DS18B20 is a digital temperature sensor that communicates via a dedicated bus and can accurately measure ambient temperature.
 

PWM Control of the Cooler

         : The STM32's PWM output controls the MOSFET, thereby controlling the operating state of the cooler (such as a Peltier chip). By adjusting the PWM duty cycle, the cooling capacity of the cooler can be precisely controlled.
 
Hardware

Power Supply: 18650 Lithium Battery

          . The 18650 lithium battery provides portable power for the mini-fridge control system.
 

The remaining components

          use hot melt adhesive, acrylic sheets, 2.54*2p and 3p terminals, a 1.5cm high 6*6 high button, a
          4*4*10cm heatsink and a 4*4*4 cooling fin for the 5V cooling chip, two 4*4cm 5V small fans for cooling the step-down chip, and a 1.5*2.5*3cm heatsink for cooling the chip.
 
The actual steps are shown in

the internal picture; proper heat dissipation is crucial.

 
      2. This is the power-on screen.
 
      3. When powered on, a Wi-Fi icon appears in the upper right corner, indicating a network connection. The target temperature can be set via buttons or a mobile phone. The phone also displays the current refrigerator temperature. When the refrigerator temperature is higher than the target temperature, the STM32 controls the PWM output to control the PMOS transistor, enabling the cooling chip to work. When the temperature is lower than the target temperature, the cooling chip stops working.
 
     4. When the Wi-Fi icon in the upper right corner shows a "/", it means no device is connected to the Alibaba Cloud platform, and the target temperature cannot be controlled via the mobile app. In this case, the target temperature can only be set via a button. Similarly, the STM32 controls the PMOS transistor to operate the cooling chip by controlling the PWM output.
cool.mp4
code.rar
3DShell_PCB1.zip
PDF_Smart Mini Fridge.zip
Altium Smart Mini Fridge.zip
PADS Smart Mini Refrigerator.zip
BOM_Smart Mini Refrigerator.xlsx
94187
0.8-inch TM3130 Desktop Electronic Clock and Thermometer
0.4-inch desktop electronic clock and thermometer
 
//The source code and PCB layout for the above projects are publicly available. Search "Qiqi Loves Microcontrollers" on the "LCSC Open Source Hardware Platform".// Microcontroller model: STC8G1K08 1. When programming, be sure to select built-in IRC=30MHz. 2. Set the reset pin to the IO port. 3. Uncheck the option to erase the user EEPROM area when downloading the user program.
/*No technical support provided, just sharing for fun. This is an open-source blogger's work; it is for use only 
and not for commercial purposes. Questions can be discussed in the comments section below. Designer of this solution: Qiqi Douyin: The Cutest Qiqi in the Universe Kuaishou ID: Qiqi Loves Microcontrollers Bilibili: Qiqi Loves Microcontrollers QQ: 1715755109 (For custom microcontroller programs and PCB designs, add as a friend and note your purpose; paid design, serious inquiries only). QQ Group: 499067314 (Welcome all microcontroller enthusiasts to join the group; group files are available for free download.)
*/
With clock blinking.zip
1715606982031.jpg
PDF_0.8-inch TM3130 Desktop Electronic Clock and Thermometer.zip
Altium 0.8-inch TM3130 Desktop Electronic Clock and Thermometer.zip
PADS 0.8-inch TM3130 Desktop Electronic Clock and Thermometer.zip
BOM_0.8-inch TM3130 Desktop Electronic Clock and Thermometer.xlsx
94188
Pyroelectric infrared motion sensor lamp (Public)
Infrared human body sensor light

Summary: This project utilizes a D204S infrared sensor head, controlled by a BISS0001 main controller, to turn six 5730 LEDs on and off, achieving a human body detection lighting function.
Reference project: https://oshwhub.com/wzw666/chong-dian-gan-ying-xiao-ye-deng

Project overview
and appearance illustration. A combination of square nuts allows for 90-degree wall mounting. The red light indicates low battery . The square nut usage
illustration shows that a copper pillar can be used to elevate the back when 90-degree wall mounting is not required. Battery Precautions (Important): Use polymer batteries, with dimensions less than 63 * 50 mm. I cannot provide a purchase link; these were found elsewhere. Polymer batteries within this size range can be used. (Important) The power supply uses a SY8088AAC switching power supply chip, which is stacked on this board and cannot be purchased elsewhere!! (You can draw your own or use a voltage regulator chip). Do not directly connect a lithium battery to the main controller or infrared sensor. The unstable voltage of the lithium battery will definitely cause the infrared sensor to falsely trigger . The D204S is extremely easy to damage. Minimize soldering time. During soldering, it should be suspended 4mm away from the PCB; otherwise, it is easy to falsely trigger the low battery warning and the power will not disconnect when the main switch is turned off, causing a short circuit. The cost is around 10 RMB, plus the battery (I considered the battery as a find). The sensor and chip are relatively expensive . The LED color temperature can be adjusted. My mother likes white, but I prefer 4000k warm light. The hole size on the board is 1.5mm, and the radius is M3. Note this when purchasing (not important). The 4054 series can also be used for charging. I used it on a previous board; it charged at 3000mA overnight and the sky was already bright... (Not important) The large switch is the main power switch, and the small switch is for selecting the single-time light-on strategy; the headlight icon will remain constantly lit if triggered within n seconds (15 seconds in this solution); the small light icon will definitely turn off after n seconds, and the infrared probe signal will be read again after 1~2 seconds of signal stop. Materials not mentioned in the guide are available on Taobao and WeChat. Brand new PIR pyroelectric human infrared sensors D203S D203B D204S D204B D205B original ¥1.71; LED driver AP3019AKTR-G1; DIODES (US/Taiwan) SOT-23-6 silkscreen GAS brand new free shipping ¥0.5; Human body sensor BISS0001 UMW (Taiwanese semiconductor) SOP-16 universal infrared pyroelectric ¥0.5; M3M4/5/6/8 aluminum alloy six-sided three-way nut screw hole colored connecting block chassis shock-absorbing feet; DIY salvaged battery (reference link). 6. Strong waterproof bathroom adhesive multi-functional traceless snap-on clip for fixing power strips without drilling ¥4.5 TODO LIST Using nuts and nuts is just to avoid drawing the outer casing; I'll draw it when I have time... placeholder




























VID_20240613_132702.mp4
PDF_Pyroelectric Infrared Human Body Induction Lamp (Public).zip
Altium_Pyroelectric Infrared Human Body Sensor Lamp (Public).zip
PADS_Pyroelectric Infrared Human Body Induction Lamp (Public).zip
BOM_Pyroelectric Infrared Human Body Induction Lamp (Public).xlsx
94189
electronic
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-26 18:26:46

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号