I just learned to draw a board not long ago, and I had other things in the middle, which delayed me a little bit. I may not be able to finish it on time, but I will not put this project down and will continue.
2020-2-12~2020-2-25 : During this period, I mainly designed a power board to facilitate use in future competitions.
2020-2-27 : During the welding process, it was discovered that the original temperature and humidity sensor module SHT30 was in a DFN-8 package. I only had a soldering iron with a blade tip on hand, and my craftsmanship was not very good, which caused the welding to fail. Therefore, I decided to modify the temperature and humidity sensor and change it to DHT11. Temperature and humidity sensor.
2020-3-8 : After the welding is completed, it can be powered on normally, but the program cannot be burned after connecting to the computer. After checking the circuit, it was found that the two signal lines of the Micro USB and the serial port circuit are reversed.
Updated to produce V2.2 version:
The expected function is to detect the temperature and humidity in the surrounding environment, upload it through the WIFI module, and view it through the mobile phone...
To be shown...
For good electronic products, the first thing is to have a stable power supply. Considering that this thermometer and humidity meter does not require large current to drive its work, I just started doing PCB design. For the sake of simplicity, I did not pursue low power consumption, but in order to make the system obtain Stable power supply, so the LDO linear voltage stabilization scheme is adopted, and the most commonly used AMS1117-3.3 is selected to stabilize the power supply and supply the entire circuit to work.
The power interface uses the most commonly used Micro-USB. AMS1117-3.3 uses capacitors for filtering through input and output. The capacitance values adopt the recommended values in the manual.
The indication circuit is mainly used to know the operating status of the circuit. LED3 is used to indicate the power-on status. LED1 and LED2 are connected to PB14 and PB15 of STM32F103C8T6 respectively.
The key circuit is not prepared for simple human-computer interaction and is reserved for backup.
The STM32F103C8T6 low-level reset is pulled up to the 3.3V voltage of the voltage stabilizing circuit through a 10K resistor. The 0.1uF capacitor is used for filtering to prevent the chip from being reset due to interference.
BOOT determines the startup location of the chip program
BOOT0 | BOOT1 | MODE |
---|---|---|
0 | 1/0 | FLASH |
1 | 1 | SRAM |
1 | 0 | ISP |
In order to simplify the circuit and save costs, the debugging interface is abandoned and the serial port is used to download the program to the chip. Therefore, a USB to serial port circuit is needed.
Use an external passive crystal oscillator to provide clock signals to the chip
The main control uses STM32F103C8T6. There are four distributed power supplies on the chip, so four filter capacitors are used.
The Tuya module here is only for communication, so after powering the module, only one of the serial ports is led out to the microcontroller.
The temperature and humidity sensor uses DHT11.
A lower-cost OLED screen is used to display temperature and humidity information.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet