Please move to station B:
https://www.bilibili.com/video/BV1Aq4y1h7gw#reply100466243184
This project only describes and explains the hardware (circuit) part. For other aspects (such as shell modeling, programs, etc.), please see part 4, shell, programs and other other information .
The currently implemented functions are as follows:
Hardware: Ring reminder, water pump spraying water, display graphical interface, button menu control, rechargeable (personal test lasts for more than 24 hours, but it is still recommended to plug it in)
software:
Microcontroller:
The main interface (dial and digital styles) displays time, three sets of independent alarm clock settings, independent switch of water pump and ringtone, time setting, date setting, automatic time calibration, test mode (testing water pump ringtone by pressing buttons), etc.
Host computer (written in C#):
Real-time display of alarm clock information, reading of alarm clock memory, setting of all functions, and one-click synchronization of computer time and date to the alarm clock
It is recommended to purchase materials from TB (to save money): (Please pay the advertising fee for the following stores [dog head])
Main control GD32f103CB
OLED screen: Choose the one without pin headers at the Zhongjingyuan Enterprise Store, and fly the cables yourself when you come back. It’s up to you to choose the color, blue and white both look great!
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.55382e8dTXuKaL&id=565003400812&_u=u207m1b75ofa54
IP5306: power management chip
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.55382e8d2qedD6&id=634648459248&_u=u207m1b75ofb43
CH340C: Serial to TTL chip (same store as IP5306 above)
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.55382e8d2qedD6&id=594547173212&_u=u207m1b75oad0e
KMA1117: It is used to output 3.3V voltage to power the microcontroller. The package size is smaller than the commonly used AMS1117. When designing, the volume should be reduced as much as possible, so KMA1117 was chosen.
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.55382e8d2qedD6&id=615520203630&_u=u207m1b75o8804
Lithium battery: choose ginger [103565] (who knows how it got such a name)
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.55382e8d2qedD6&id=645464275057&_u=u207m1b75od209
MLT8530: Passive patch buzzer
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.55382e8d2qedD6&id=657567459905&_u=u207m1b75of132
310 Micro DC Water Pump: Lihua Electronics, visit us often! !
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.55382e8d2qedD6&id=654985648441&_u=u207m1b75o91f1
Silicone hose: Same as above, used with water pump, also made by Lihua Electronics
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.55382e8d2qedD6&id=40963815638&_u=u207m1b75o4b5f
Other capacitors and resistors can be purchased from Lichuang Mall [Manual Dog Head]
Please proof the V2.0 version PCB for proofing . V1.0 is only used for solution verification and has been abandoned.
The main control can use stm32f103CB or GD32f103CB. The left half of the circuit diagram is the stm32 minimum system, and the lower right half is the mounted peripherals. The PCB can be directly prototyped and soldered, and the solution has been verified. ISP download is not available, please use the SWD interface (it is recommended to use it with the burning probe clip, and the SWD pin header does not need to be soldered)
When DIY, please solder two PCBs, one of which (as the base plate) only solders type-c, two 5.1k identification resistors and RAW-C. The other piece (as the upper plate) is all welded. During assembly, the two boards are connected through the RAW-C interface, which allows the connection to the host computer through the base plate. As shown in the picture:
When welding other parts, please refer to the red letters in the schematic diagram . The places that are not to be welded are marked.
Shell model, microcontroller program, host computer software: https://gitee.com/pingyun001/spary-clock-v2.0
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