containsmachine

BiliBili open source water spray alarm clock based on GD32

 
Overview

Water spray alarm clock based on GD32f103

 

Zero and finished product introduction video:

   Please move to station B:

          https://www.bilibili.com/video/BV1Aq4y1h7gw#reply100466243184

 

1. Project Overview:

  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

 

2. Instructions for purchasing original parts:

   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]

 

 

3. Circuit welding instructions:

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:

qn0ejVIYSG23t2BNtUGDVTiLuEELpeZ6VgFkEDLZ.png

            When welding other parts, please refer to the red letters in the schematic diagram . The places that are not to be welded are marked.

 

Fourth, shell, program and other information:

       Shell model, microcontroller program, host computer software: https://gitee.com/pingyun001/spary-clock-v2.0

 

5. Results display:

  yuBjsPCUIMXEq4jd6ilSUUmNGUiYXFsOxz6gpTzF.png

aM2r8H5fxmPnDMWmERIZWff1Umylk5utkts3oalX.png

 

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-14 23:48:17
  • A small question about CMD files
  • TI 6000 Series DSP Optimization Experience
  • TSP-Link - Advanced Methodology (Parallel Testing)
  • IoT Development Kits
  • C language problem
  • I need help getting started with AVR. I hope seniors can give me some advice.

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号