蓝猫淘气

Meteor Shower Light Bar-TM1827 Open Source Sharing

 
Overview
LED Meteor Shower Light Bar - TM1827
1- Introduction to the main control chip
TM1827 is a fixed pattern 12-channel LED constant current driver IC. The chip has its own oscillator, and the PWM output performs brightness gradient. The chip has synchronous input and synchronous output terminals, which can be connected to AC synchronization or multiple chips for self-synchronization. After power-on reset, it outputs a PWM waveform to control the 12-channel LEDs in turn in a cycle to achieve meteor and water drop effects. The chip has its own 5V voltage regulator, and the OUT port uses a constant current 16mA drive. The peripheral devices are simple and the design is simple, which is suitable for decorative lights.
Chip pin diagram
2- Schematic diagram of the meteor shower light bar
The schematic diagram is centered on TM1827. First is the power supply part, which uses TYPE-C for power supply. Here I use a 16PIN package, but in the PCB, I only lead out 4 power supply pins, and the other pins are all set pads.
Use a 1uF capacitor (you can also use a 0.1uF capacitor) and connect it in parallel at both ends of the chip. This is a common operation, and generally there is this operation in places where there are chips. This capacitor is called: voltage stabilization filter, decoupling capacitor.
On the right side of the schematic diagram are 24 LEDs, two connected in parallel, divided into 12 paths, connected to the 12 outputs of the chip. Because the "on-voltage" of a batch of LEDs may be different, there will be a situation where two LEDs share a current limiting resistor and the brightness of the two LEDs is different. If this happens, it is recommended to replace the darker one. If you want to avoid this situation, it is recommended to assign a resistor to each LED, or directly reduce it to 12 LEDs. Of these two solutions, the former increases the cost and welding time. The latter reduces the density of LEDs.
3-Meteor Shower Light Bar PCB
But I drew this PCB obliquely, at a 45-degree angle, so the size of the PCB proofing was within the range of 10*10cm.
Size: 97.81mm x 97.85mmSignal
layers: 2Non
-signal layers: 10Components
:
39Pads: 98Single
-layer pads: 94Metalized
pads: 4Non-metalized
pads: 0Hole
: 3Via
:
24Network: 26/26Wire
length: 703.25mmNumber
of copper plating: 3In
the PCB design part, I optimized the silk screen of the LED package and reduced the silk screen. There is a small dot section for the positive pole of the LED, which is the "non-green end" of the SMD LED. It will be much cleaner to look at the front of the real object. The subsequent design of other PCBs will also consider adopting such a package. The TYPE-C on the board has also been optimized, and all unused pins have been removed to reduce the difficulty of welding. As for the use of CC line, there is no pull-down resistor for the CC pin, and power cannot be supplied. Please solve this problem by yourself.
4-Meteor Shower Light Bar Cost Calculation
The entire PCB is relatively simple. Take welding 5 sets as an example to calculate the cost.
1 TYPE-C-16PIN interface 0.2 yuan * 5 = about 1 yuan
1 chip 0.5 yuan * 5 = about 2.5 yuan
1 SMD capacitor, buy 50, about 2 yuan
12 SMD resistors, buy 100, about 1 yuan
24 SMD LEDs, buy 200, about 5 yuan
5 PCBs, can be 0 yuan.
Without calculating the shipping cost, the cost of 5 sets is 11 yuan.
5-Problems and improvements
First of all, let me talk about the problem. This thing refers to the problem that I personally use, not the compatibility problem, because when designing something, there will be a lot of redundancy to consider compatibility issues, which makes the entire design troublesome and laborious. For example, in this design, I have only used AC lines, so I didn’t consider CC lines. At this stage, it’s not realistic for me to consider CC lines.
Problem 1, synchronization problem.
When we only have one light bar, we may not consider this situation. What if there are multiple? This chip has synchronization pins, but I didn’t lead them out. You can go to the manual for details. It is not difficult to implement, but the corresponding interface must be designed
. Problem 2: Multiple power supply problems.
A light strip requires a line, and most people don't have so many lines. This problem can be combined with the previous synchronization problem to solve it together.
6-End
I saw this chip by accident. I originally wanted to buy the TM3130 chip, and then I found it after visiting the store for a few more times. Meteor shower light strips are actually very common on the market. Many places hang light strips in quantity, and many light strips flow together, which looks pretty good. The turn signals of some cars also have this effect. This chip is a dedicated chip with fixed functions, so it has only 12 outputs. If you want to achieve more, you can consider a single-chip microcomputer. If you want to achieve color, you can choose a single-chip microcomputer + WS2812. I should share relevant content later.
Attached figure: The dot matrix driven by the TM3130 chip, because there is no current limiting resistor, the LED is seriously hot, and the second version of the PCB has not yet been made.
BOM Download
PCB_PCB_Meteor Shower Light Bar-TM1827_2022-09-24.pdf
PCB_PCB_Meteor Shower Light Bar-TM1827_2022-09-24.json
PCB_Meteor Shower Light Bar-TM1827_2022-09-24.pcbdoc
Gerber_PCB_Meteor Shower Light Bar-TM1827.zip
Schematic_Meteor Shower Light Bar-TM1827 Open Source Sharing_2022-09-24.pdf
SCH_Meteor Shower Light Bar-TM1827 Open Source Sharing_2022-09-24.json
Sheet_Meteor Shower Light Bar_2022-09-24.schdoc
61336
#The7thLiChuangElectricityContest#DesktopPowerSupply

Introduction: This is a desktop power supply that can not only provide common voltages such as 3.3V and 5V, but also provide adjustable voltage within 10V. In addition, it also provides a USB_A fast charging port that can detect voltage, current and power status in real time.
 1. Project function introduction
       When I DIY some gadgets at home during the summer vacation, I need some low-voltage power supplies. There is no convenient
       one at home, and the power supplies on the market are expensive and relatively large, and I don’t want to buy cheap ones, so I designed this desktop power supply. Desktop power supply, as the name suggests, is a power supply commonly used on the desktop. This power supply supports the following functions:
       (1) It can display information such as voltage, current and power       
       (2) 3.3V and 5V regulated power supply
       (3) 1.25-10V adjustable power supply
       (4) A USB_A port that supports fast charging
       
 
2. Project properties
       This project is made public for the first time and is my original creation.
 
3. Open source agreement
       GPL3.0 open source agreement.
 
*4. Hardware part
       First, let’s explain the power input part. Since this project contains a fast charging USB_A port, when using fast charging, the current may reach up to 3.6A, so when choosing the power input, it is best to choose a power supply that can output more than 4A. However, since the rated voltage of the voltage regulator chip used in this project is 18V, the power supply voltage should not exceed 18V. The power supply I use is 12V5A.
       Then expand based on the four functions of this project.
       (1) Ability to display information such as voltage, current and power
      . This function uses the chip N32G430C8L7 as the main control. The N32G430C8L7 microcontroller product uses a high-performance 32-bit ARM Cortex™-M4F core, integrates a floating-point unit (FPU) and digital signal processing (DSP), and supports parallel computing instructions. The maximum operating frequency is 128MHz, and it integrates up to 64KB of on-chip encrypted storage Flash, supports multi-user partition authority management, and supports 16KB of embedded SRAM. It has an internal high-speed AHB bus, two low-speed peripheral clock buses APB and bus matrix, supports 40 reusable I/Os, provides rich high-performance analog interfaces, including 1 12-bit 4.7Msps ADC, supports 16 external input channels and 3 internal channels, and provides a variety of digital communication interfaces, including 4 U(S)ARTs, 2 I2Cs, 2 SPI/I2Ss, and 1 CAN 2.0B communication interface. The N32G430C8L7 microcontroller product can work stably in the temperature range of -40°C to +105°C, with a supply voltage of 2.4V to 3.6V, and provides a variety of power consumption modes.
      The figure below is the core circuit of the N32G430C8L7. When designing the circuit, it should be noted that each power pin must be connected to a 100nF capacitor for filtering. And the 1 pin needs to be connected to an additional 4.7uF capacitor. At the same time, in this design, an LED is connected to PB0, which can be used as a light to verify whether the circuit chip is available.
       The voltage and current information is collected through the ADC pin of N32G430C8L7, and the power information is obtained by N32G430C8L7 through calculation. The display is realized by a 0.96-inch screen, which communicates with the main control N32G430C8L7 through I2C, so that the power supply, current and power information are displayed on the screen. The figure below is the screen connection circuit.
       (2) 3.3V and 5V regulated power supply
       This function uses AMS1117 as a voltage regulator chip, and the maximum output current of this chip is 800mA. In this design, in order to ensure that the two voltages can output a maximum current of 800mA at the same time during operation, the design of first stabilizing the power supply to 5V and then stabilizing 5V to 3.3V is not used. Instead, the power utilization efficiency is sacrificed and the design of directly using the power supply for stabilization of both voltages is adopted. The figure below is the voltage regulator circuit.
       (3) Adjustable power supply within 1.25-10V
       This function also uses AMS1117 as a voltage regulator chip. The reason why the lower limit of the adjustable power supply range is set to 1.25V is that the basic voltage of the chip is 1.25V, and the regulated voltage is a multiple of 1.25V (not an integer multiple), and the upper limit is set to 10V because the power supply I use is 12V, and the chip is a step-down voltage regulator chip, so it cannot be adjusted to the voltage value of the power supply. The maximum adjustable voltage measured in this design can reach 10.42V. The figure below is the voltage regulator circuit of the adjustable power supply.
       V_CHA=1.25*(1+R6/R5)
       So by adjusting the resistance of the sliding rheostat, we can get the voltage value we need.
       If you want to learn more about the principle of this part of the circuit, I strongly recommend Yang Jianguo's new concept analog circuit. The power supply part is in Chapter 6. The course for adjustable power supply is about 13 minutes and 20 seconds in this video->Integrated three-terminal voltage regulator (adjustable + expansion voltage + expansion current)_bilibili_bilibili.
       In addition, it should be noted that the resistance value of R5 should not be too low. It is recommended to use 200Ω without making any changes. The specific instructions are in the chip manual and will not be repeated here. In addition, the rated voltage of this chip is 18V. For a 12V power supply, the voltage value can be appropriately increased to expand the voltage adjustment range of the adjustable power supply, but the resistance value of the sliding resistor R6 should also be increased.
       (4) A USB_A port that supports fast charging.
       The fast charging chip used in this function is IP6505. IP6505 is a buck converter with integrated synchronous switch and supports 11 output fast charging protocols. IP6505 has a built-in power MOS, an input voltage range of 4.5V to 32V, an output voltage range of 3V to 12V, and a maximum output power of 24W. It can automatically adjust the output voltage and current according to the recognized fast charging protocol. The typical output voltage and current are: 4V@3.6A, 5V@3.4A, 7V@3A, 9V@2.5A, 12V@2A. The step-down conversion efficiency of IP6505 is as high as 97%. The output of IP6505 has CV/CC characteristics. When the output current is less than the set value, the output is in CV mode and the output voltage is constant; when the output current is greater than the set value, the output is in CC mode and the output voltage is reduced. The output voltage of IP6505 has a line compensation function. When the output current increases, the output voltage will increase accordingly to compensate for the voltage drop caused by the impedance of the connection line. IP6505 has a soft start function to prevent the impact current at startup from affecting the stability of the input power supply. IP6505 integrates various fast charging protocols. It can automatically identify the fast charging protocol supported by the output terminal access device through DP/DM, and then automatically adjust the output voltage and current. The fast charging protocols supported by IP6505 are: DCP (Apple, Samsung and BC1.2), Qualcomm QC2.0/QC3.0, MTK PE1.1/2.0, Huawei fast charging protocol FCP/SCP, Samsung fast charging protocol AFC, Spreadtrum fast charging protocol SFCP. In addition, IP6505 has a variety of protection functions, including input overvoltage, undervoltage protection, output overcurrent, overvoltage, undervoltage, short circuit protection, etc. The figure
       below shows the fast charging circuit.
Common mode range: –0.3V to 26V
Offset voltage: ±150μV (maximum)
Supports 10mV full-scale shunt voltage drop
Quiescent current: 100μA (maximum)
       To describe the work of this chip in plain language, it is that the chip amplifies the voltage across the current-sensing resistor (R14 in this circuit) by a certain multiple and outputs it. The chip INA199A1DCKR used in this design amplifies it by 50 times, collects the output voltage, and calculates it according to the resistance value of the current-sensing resistor to obtain the current information on the line. The calculation formula is as follows:
       I=(OUT1/50)/0.01=2OUT1
       Note: OUT1 is the output voltage of INA199A1DCKR, 50 is the amplification factor of INA199A1DCKR, and 0.01 is the resistance value of the current-sensing resistor. At the same time, if other current detection chips in this series are used, please adjust the above formula according to the amplification factor of the chip.
 
*5. Software part
       The software part of this project is relatively simple and is obtained by changing the official routine.
       The development software used in this project is keil. In the schematic diagram of this project, the SWD debug pin and USART1 pin of the main control are brought out for debugging and downloading the program. I use the SWD pin and the debugger is ST_LINK V2.
       The following figure is a program flow chart.
       From the flow chart, we can see that the program first enables the system clock and the clocks of all peripherals used, then initializes the log (the log will send error information through the serial port when the program reports an error, which is a function in the official routine), followed by the initialization of I2C, which should be placed before the initialization of OLED to ensure that OLED can communicate with the main control, and finally the initialization of peripherals, including OLED, DMA, ADC and LED.
       Then enter the while loop, in the main function, first convert the data collected by ADC into actual voltage value, current value and power value according to the formula, and then display these values ​​on the OLED, and finally flip the LED to make it flash to prove that the program is running, and then enter the while loop again to achieve real-time refresh on the OLED.
       The following is a program introduction:
1. Functional description
(1). ADC samples and converts the analog voltage of the PA1, PA2 and PB12 pins
(2). The ADC conversion result is read into the variable ADCConvertedValue through the DMA_CH1 channel
(3). The OLED receives the voltage value, current value and power value through I2C and displays them
(4). The LED flashes once every second
2. Usage environment
Software development environment: KEIL MDK-ARM V5.34.0.0
Hardware environment: Based on the desktop power supply development of #7th Lichuang Electric Competition#
3. Instructions for use
System configuration:
(1). Clock source:
Hse = 8m, pll = 128m, ahb = 128m, apb1 = 32m, apb2 = 64m, adc clk = 128m /16, adc 1m clk = Hse /8
(2). Port configuration:
Select PA1, PA2 and PB12 as analog functions of ADC conversion channels
(3). Direct memory access:
DMA_CH1 channel loopback mode passes the half-word ADC conversion result to the ADCConvertedValue variable
(4). ADC:
ADC continuous conversion, scan mode, software trigger, 12-bit data right alignment, conversion channel PA1, PA2 and PB12 analog voltage data
(5). I2C:
Select PA4, PA5 and OLED for I2C communication
Usage:
(1). After compiling correctly, use ST_LINK to download the program
(2). Press the reset button and the program starts running
 
*6. BOM list
       Note: Some components purchased on Taobao can also be purchased, but compared to LiChuang Mall, Taobao purchases are cheaper. If you find it troublesome, it is recommended to search and purchase in LiChuang Mall.
 
*7. Competition LOGO verification
 
 
* 8. Demonstrate your project and record it as a video to upload
 
       . The demonstration video has been attached.
 
Desktop Power Supply_BOM.pdf
Desk_power.zip
Desktop Power Supply_3D Shell.zip
Lichuang Electric Competition: {Desktop Power Supply}-{Power Supply Demonstration}.mp4
Lichuang Electric Competition: {Desktop Power Supply}-{Adjustable Power Supply Demonstration}.mp4
Lichuang Electric Competition: {Desktop Power Supply}-{Quick Charge Interface Display}.mp4
Lichuang Electric Competition: {Desktop Power Supply}-{3D Shell Display}.mp4
61350
Walnut shake surface sticker drawing

Introduction: Kason was originally printed on paper, but some people complained that the printed images were low in pixel and color, and they were easy to break, and it was troublesome to cut them by yourself.
It is printed on the Lichuang panel, which is directly laser cut, and the patterns are printed on both sides, with a very good effect.
 
LiChuang panel printing, 1 PET sheet can make 5 sets of walnut shake stickers, clear printing, good quality, tear-resistant, double-sided printing, one side is bright, the other side is frosted.
Click here to place an order https://dos.szlcsc.com/dos/panel/print.html?f=lb
Order option parameters are as follows:
Omwod9J8zQcdWxyrpLPeBXGxjw8APNi5nnk0GElN.png 
The actual finished product is as shown below:
GsVOFT0C5dktLGyWTcKA98T4wDFxlbBCNbtnZGEy.jpegGMjlGVbGp1SBV87Jwulwf823nHi3Pmsk2g4rIsrp.jpegatENFldGjTarq6kFzYKP1S0MX2DHANrZcqTR7zpQ.jpeg 
The final assembled product, thanks to the two UPs for sharing videos:
Video 1: According to Kason's tutorial, the walnut shake was successfully made
Video 2: The walnut shake was successfully reproduced with good results, LiChuang panel printing yyds is simply amazing
 
61352
【Training Camp】A lackey

Introduction: Xiao Jian Zhong
Product introduction: Developed based on OpenHarmony open source Hongmeng system, the chip used is hi3861, supports 16-channel servo control, GPIO, ADC, PWM and other operations. Common operations such as writing and drawing have been realized. Chip solution: Multi-channel servo control board based on HiSilicon Hi3861 chip and PCA9685. Product core parameters: Working voltage: 7.4V~20V with overheat and overcurrent protection Hardware interface: gpio, ADC, PWM servo 3 recommended metal gears, durable and cheap clock structure: 3mm acrylic cutting version (cost about 15 yuan)
petal_20220725_024128.mp4
BOM Download
PCB_PCB_【Training Camp】A Dog Leg_2022-09-24.pdf
PCB_PCB_【Training Camp】A Dog Leg_2022-09-24.json
PCB_【Training Camp】A Dog Leg_2022-09-24.pcbdoc
Gerber_PCB_【Training Camp】A dog leg.zip
Schematic_【Training Camp】A dog leg_2022-09-24.pdf
SCH_【Training Camp】A dog leg_2022-09-24.json
Sheet_1_2022-09-24.schdoc
61353
#The7thLiChuangElectricityContest#USB Ammeter

Introduction: Using the National N32G430C8L7 chip to realize the USB voltage and current display function

Note: * is a required field,
please fill it in during the registration stage↓
 
* 1. Project function introduction
USB ammeter based on N32G430C8L7+INA199, with an accuracy of 1%. Measure voltage and current through USB.
*2. Project attributes
Jiali Chuang Summer Training Camp 2022
 
* 3. Open source agreement
GPL3.0
 
*4. Hardware part
USB ammeter made of N32G430C8L7+INA199
 
*5. Software part
KEIL5
 
 
N32G430C8L7-USBMeter (2).uvprojx
BOM Download
PCB_PCB_#The 7th Lichuang Electric Competition#USB Amperemeter_2022-09-24.pdf
PCB_PCB_#The 7th Lichuang Electric Competition#USB Amperemeter_2022-09-24.json
PCB_#The 7th Lichuang Electric Competition#USB Amperemeter_2022-09-24.pcbdoc
Gerber_PCB_#The 7th Lichuang Electric Competition#USB Amperemeter.zip
Schematic_#The 7th Lichuang Electric Competition#USB Amperemeter_2022-09-24.pdf
SCH_#The 7th Lichuang Electric Competition#USB Amperemeter_2022-09-24.json
Sheet_1_2022-09-24.schdoc
61358
#The 4th Startup Contest#Servant--a little servant always on standby

Introduction: Application of DAC Waveform Synthesis Technology
Note: * is a required field.

[Please fill in during the registration phase↓]
* Briefly introduce the work:
With the popularity of smart phones, power banks have become a standard feature of mobile phones for business travelers or people who love to play with mobile phones. Such a popular thing has a single function, and adding additional functions to it has become a problem that countless developers have been thinking about. Society is developing, the pace is getting faster, and frequent business trips are inevitable. I have also been on business trips, and I know the hardship of business trips. My legs are weak when I walk, my waist hurts when I stand, and my shoulders are sore when I carry a backpack. I always hope that someone will serve me when I am tired. From this point of view, adding massage therapy functions to power banks can well alleviate the pain points of this group of people. From the perspective of market prospects, power banks are widely used by a wide range of people, and adding massage therapy functions can solve the pain points of specific groups of people. If there is a product with the same price as an ordinary power bank, but with massage therapy functions, it must be a selling point, because it is no longer a simple "power bank", but a "serving treasure" with massage therapy functions.

【Please fill in during the competition stage↓】
* 1. Details of the work;
    1. Picture display of the work:
        Screenshot of the front of the PCB
        ![image.png]         Screenshot of the back of the PCB
        ![image.png]         PCB shell structure diagram
        ![image.png]         PCB shell structure parts diagram
        ![image.png]
2. Functional description of the work:
   The upgraded version of the power bank of course includes 5V input charging, 5V output power supply and flashlight function. Secondly, massage therapy function is added on the basis of the three basic functions of the power bank. The massage therapy function unit includes three parts: LED gear and mode status display, adjustment setting button, and therapy signal output.

3. The realization principle of the massage therapy function of the work:
   The massage therapy function is realized by the DA of the single-chip microcomputer generating different therapeutic electrical signal pulses. Here I mainly use medium-frequency pulses to realize it. The analog pulses output by the single-chip microcomputer are amplified by the power amplifier and isolated and boosted by the transformer. The signal is led to the wet-electric chip of the massage part through the lead wire, and acts on the massage part of the human body. Under the stimulation of regular medium-frequency electrical pulses, it promotes cell activity in the local area of ​​the human body, accelerates cell metabolism, and enables people to quickly eliminate fatigue and recover.

* 2. Describe the challenges faced by the work and the problems solved;
    Challenges faced:
    Power bank is the most common thing. Its usage method and functional form have been fixed in people's subjective consciousness. When developing products on the power bank, the first thing to deal with is people's subjective acceptance, and the second is the user's cost. Therefore, in this design project of the upgraded version of the power bank (I call it the "Serving Treasure" project), the design concept I have always held is:
     **For things that humans are already familiar with (power bank), without changing its basic usage functions, slightly increase the manufacturing cost, and make a functional upgrade, so that friends who travel around with power banks can always enjoy the service of their families. **
    Problems solved:
    1. The cost has been considered in the selection and design of product components, and the goal is to control the cost within 100 yuan. As far as the current sample production is concerned, it has reached expectations.
    2. The added physical therapy function provides value-added services for people who travel with power banks for a long time, and solves their physical fatigue problems to a certain extent.

* 3. Describe the key points involved in the hardware and software parts of the work;
    I rarely draw PCBs at work. The master knows that I am not an expert when he sees my PCB. It is true. I usually mainly engage in software and product structure design. Of course, I also have some personal interests and ideas after work, and do some research on electronic products. Recently, I have been studying the small four-wheel drive drones that are open source on the Internet. I originally planned to use drones to participate in the competition, but I was always stuck in the take-off stage. Therefore, I changed the plan and chose the project that I had recently made samples and has realized the functions to participate in the competition. It is also an electronic product of "power bank + physical therapy" that I have completed exclusively. I call it "Serve Bao". Serve Bao is not because of work needs or customer customization, but because we all have ideals, pursuits, dare to try, and dare to innovate. It is an electronic product born. Relatively speaking, the information is more complete and the product functions are also realized. I will introduce the key parts here. For schematic diagram and PCB design, I used the AD13 environment that I am used to. Of course, they have been successfully imported into the LiChuang EDA environment. I share
the PCB project link with you: [https://lceda.cn/editor#id=|29e81b8e1e234244804edf4b8e0a2bd0|391eeb6f45e44dba82e88fec94b57b7f](https://lceda.cn/editor#id=%7C29e81b8e1e234244804edf4b8e0a2bd0%7C391eeb6f45e44dba82e88fec94b57b7f)
![image.png] The STM32F103RCT6 processor is used. The processor software mainly realizes key detection, motor vibration, LED light status indication, power on/off, power detection, charge and discharge status detection, flashlight function, serial communication, and physical therapy waveform algorithm processing, waveform output, massage therapy mode processing and other functions.
![image.png]  Charge and discharge interface, flashlight LED and power acquisition circuit.

![image.png] This is the core circuit of the physical therapy function, which mainly realizes the waveform amplification and filtering of the microcontroller output. The audio power amplifier chip is used here. The structure must consider heat dissipation. The function is mainly filtering. The amplification factor of the microcontroller output signal is not very high. The high-frequency transformer realizes the output voltage pull-up, so it is the key component of waveform amplification. The analog switch chip can effectively cut off the output of the massage signal and can effectively disconnect the signal output to avoid the stimulation of the human body by the sharp pulse electrical signal caused by state switching or gear switching.
![image.png] The project directory structure diagram is as above. In the project, the USERmassage.c file is the file that realizes the output of the physical therapy signal. I will share it with you in the last document upload part. When the software realizes the output of analog electrical therapy signals, it must consider the ability of the waveform signal, and it must use an intermediate frequency pulse wave output. Secondly, the amplitude of the output waveform must be adjusted through the DAC of the microcontroller to adapt to the application of people with different physical conditions.

* 4. List of materials for the work;
1 Accessories:
        2.5mm headphone connector ECG lead wire and ECG electrode sheet (online purchase)
2 Shell:
         3 PCB installation structural components, shell, interface baffle and button cap (3D printing)
3 Battery:
         Here I choose a 3.7V 3200mAh lithium battery (online purchase)
4 PCB BOM list (online purchase at LiChuang Shopping Mall), you can also refer to the shared project files.
| 1 | STM32F103RCT6 | U1 |
| 2 | 0603 Capacitor 100nF 10% 16V | C3,C1,C4,C11,C10,C8,C22 |
| 3 | 0805 Capacitor 22uF 10% 16V | C12,C5,C6,C21,C18,C17,C16,C13,C14,C23,C20 |
| 4 | 0603 Resistor 2R 1% 6.3V 1/10W | R9,R44 |
| 5 | CON6-2.0 | J1 |
| 6 | C103 | C7,C9 |
| 7 | 0603 Resistor 10K 1% 16V 1/10W | R8,R3,R1,R2,R14 |
| 8 | USB-A | USB\_OUT1 |
| 9 | USB-A | USB\_IN1 |
| 10 | PH2.0 socket pin 2P | J3 |
| 11 | 1.8nH | L1,L2 |
| 12 | SOD-123 1N4007 F7 1A 1KV | D1,D37,D38,J4-2 |
| 13 | SOT23-6 SX1308 B628 | J2,J5 |
| 14 | SS34 SMD Schottky diode 1N5822 | D2,D4 |
| 15 | 0805 SMD fast recovery fuse 3A | F2 |
| 16 | 0603 resistor 75K 1% 6.3V 1/10W | R6 |
| 17 | 0603 capacitor 15pF 10% 16V | C2,C15 |
| 18 | 0603 resistor 220R 1% 6.3V 1/10W | R5,R15,R43 |
| 19 | 5MM round white LED | D3 |
| 20 | 0805 resistor 51R 1% 6.3V 1/4W | R7 |
| 21 | 0603 resistor 2K 1% 6.3V 1/10W | R11,R4,R10,R17,R18,R19,R20,R21,R22,R23,R24,R25,R26,R29,R30,R36,R39,R42,R35,R38,R41,R46,R47,R49 | |
22 | SOT-23 SI2306 A6SHB | Q2,Q1,Q3,Q4,Q5,Q6,Q7,Q8 |
| 23 | 0805 SMD Fast Recovery Fuse 1A | F1 |
| 24 | 5.2*5.2*1.5 Waterproof SMD Switch | S1,S2,S3,S4 |
| 25 | PJ234 PJ234A SMD Headphone Socket Diameter 2.5mm | PI\_OUT1 |
| 26 | 0603 Resistor 10R 1% 16V 1/10W | R40 |
| 27 | 0805 Capacitor 10uF 10% 16V | C19 |
| 28 | TDA2030a | U3 |
| 29 | 0603 Resistor 100K 1% 16V 1/10W | R34,R32,R37 |
| 30 | 0603 Resistor 4.7K 1% 16V | |
| 1/10W | R27 | |
| 31 | 0603 resistor 20K 1% 16V 1/10W | R28 |
| 32 | 50V/100U | E1 |
| 33 | 50V/470U | E2 |
| 34 | 0603 resistor 240K 1% 16V 1/10W | R16 |
| 35 | SP6201EM5-3.0 | U2 |
| 36 | R512 | R12,R13 |
| 37 | 0603 Everlight Blue | D5,D13,D21,D29,D6,D14,D22,D30,D7,D15,D23,D31,D8,D16,D24,D32,D9,D17,D25,D33,D10,D18,D26,D34,D11,D19,D27,D35,D12,D20,D28,D36 |
| 38 | 0603 Everlight Green | D40,D42,D39,D43,D41,D45 |
| 39 | 0603 Everlight Yellow | D44 |
| 40 | 0408 SMD Small Motor 4*8MM | J7 |
| 41 | 1.8nH | L3 |
| 42 | SOP4 AQY210S | U4 |
| 43 | 0603 resistor 1K 1% 50V 1/10W | R31,R48 |
| 44 | 10R | R45 |
| 45 | CON1 | TOP |
| 46 | BT2.0 | U5 |

* 5. Upload pictures of your work; (The PCB must have the competition logo and take a photo and upload it. If not, it will be deemed as giving up the competition)
1. Soldered circuit boards and accessories from 3D proofing
! [image.png] 2. Servobao charges the phone
! [image.png] 3. Charge Servobao through the USB port
! [image.png] 4. Flashlight lighting function
! [image.png] 5. Physiotherapy function
! [image.png] 6. Samples assembled by Servobao
! [image.png]
* 6. Demonstrate your work and record it into a video and upload it; (The video content must include: work introduction; function demonstration; performance test; close-up of the competition logo on the PCB. If not, it will be deemed as giving up the competition)

Servobao video 0 Usage process demonstration [https://v.youku.com/v\_show/id\_XNDM2Mzk3NjU4OA==.html?spm=a2h3j.8428770.3416059.1](https://v.youku.com/v_show/id_XNDM2Mzk3NjU4OA==.html?spm=a2h3j.8428770.3416059.1)

[Serve the treasure video 1 function introduction](http://v.youku.com/v_show/id_XNDM2MTI5OTMzNg==.html?spm=a2h3j.8428770.3416059.1 "Serve the treasure video 1 function introduction") [https://v.youku.com/v\_show/id\_XNDM2MTI5OTMzNg==.html?spm=a2h3j.8428770.3416059.1](https://v.youku.com/v_show/id_XNDM2MTI5OTMzNg==.html?spm=a2h3j.8428770.3416059.1)
[Serve the treasure video 2 Charge and discharge function](http://v.youku.com/v_show/id_XNDM2MTI5OTMyNA==.html?spm=a2h3j.8428770.3416059.1 "Serving treasure video 2 charge and discharge function")[https://v.youku.com/v\_show/id\_XNDM2MTI5OTMyNA==.html?spm=a2h3j.8428770.3416059.1](https://v.youku.com/v_show/id_XNDM2MTI5OTMyNA==.html?spm=a2h3j.8428770.3416059.1)
[Serving treasure video 3 Physiotherapy massage function](http://v.youku.com/v_show/id_XNDM2MTI5OTM3Ng==.html?spm=a2h3j.8428770.3416059.1 "Serving treasure video 3 physiotherapy massage function")[https://v.youku.com/v\_show/id\_XNDM2MTI5OTMyNA==.html?spm=a2h3j.8428770.3416059.1](https://v.youku.com/v_show/id_XNDM2MTI5OTMyNA==.html?spm=a2h3j.8428770.3416059.1)

VII. Open source documents.
All materials are open source and are only for study and research. They cannot be used for commercial purposes without my permission.
PCB shell structure diagram.rar
PI-17d - V3.4 Schematic (I have a shared engineering drawing in EasyEDA).SchDoc
PI-00017a PCB diagram (I have a shared engineering diagram in EasyEDA).PcbDoc
Servebao Video 1 Function Introduction.mp4
Servebao Video 2 Charging and Discharging Function.mp4
Servebao video 3 physiotherapy massage function.mp4
STM32f103RC CiHouBao V1.0.rar
BOM Download
Schematic_#The 4th Creation Competition#Servant-the little servant who is always on standby_2022-09-24.pdf
SCH_#The 4th Creation Competition#Servant-the little servant who is always on standby_2022-09-24.json
PI-17d - V3 Schematic_2022-09-24.schdoc
PCB_PI-00017A Circuit Board_2022-09-24.pdf
PCB_PI-00017A Circuit Board_2022-09-24.json
PI-00017A Circuit Board_2022-09-24.pcbdoc
Gerber_PI-00017A Circuit Board.zip
61363
AI01 Voice Infrared Remote Control

Introduction: This design of Tuya's intelligent AI voice universal remote control uses the VWXR2-ES online voice module of Tuya's zero-code development solution as the main control core design solution;
AI voice universal remote control has the following functions:
1. Support voice wake-up of "Xiaozhi Butler" 2. Smart device control: Free your hands, wake up Xiaozhi Butler at any time, and control the smart devices at home. 3. Scene control: Support custom scene linkage and voice control. 4. Infrared device control: It can be used as an AI voice infrared remote control. You can add devices in the room to the panel at the same time, control them uniformly, free your hands, and turn the infrared non-intelligent devices at home into voice-controlled smart devices. 5. Infrared learning: Supports infrared signal learning with a wavelength of 940nm for ordinary household remote controls. Entering DIY mode can control most infrared devices. 6. Voice assistant: Supports setting alarms, alarm reminders, weather queries, device control, scene control, encyclopedia, calculator, translation and other skills. For
 
more comprehensive functions, see
 
WdhuRDTtwcVmeQDy4eVdq6aS9EoLZcADkyl0V273.png 
the product display in the figure below.
 
U0uQXO4Qrswt8tDnUC7tDguZuzeRKKOq3TL6ks7q.png 
 
FtMZYgsJCKKv7FtvbXKnoSZ0GKyRs59eaoirFCz7.png 
 
LQQScEo702SB6mi9NC4SW5TJblJ9TGjMEJKTTVfL.png 
qQ6puRMqbR4HvxLht7sXVxS85WkN66dFzimowpMQ.png 
himt8Cbjv25U2vndNYJPPPNN1k3tDgXjijWdsUc0.png 
Ot7ECAboGGhiwQzGdfhy4C1vnhJjIxvEI6ndi1H2.png 
HmLIG72pdzHzIlABIjMuG3S2GTyCIoloOJZDKaAd.png 
lS2ODNjd4u2towFLWTzzxb5t8KINrOhRQ7dDYH1V.png36Ys6V0vlklGlsH7EVawvhd9ZYCMXPBp468XBfsp.png 
Z59aWzrbLZ01NRfRCd1YqwcDh0EpDjrQTTe7ZWE1.png 
 
 
2eD2oUOJvVDwEZekyEwlfwV2r0v06QYy6CdPJnIY.png 
 
 
 
 
MsLWkGSoqUamR7IT4bjdNFxcGH7rMMzLt6uZpMXJ.png 
 
 
 
z2Ywgn72uP5HwS4veeqgXD9vYph5x1xjp2cdxZiq.png 
 
zux5m2iBKy7g1wK8d31iIL6GY5R9t8N6gPxzUJbj.png 
bhLOc5UzGEX8o0bBz1NUbZp8f8ati5zejs9yumfx.png 
 
 
L9HwpxHx3Hw8w13Rt9n5gWP6gKUZPonEEZCrwFOK.png 
 
eeNhs3aa0mBXYzOrF1BrOAhRN6XpNhnoGBigNPU4.png 
hY35b3Bg37M9fz28ig79WH0GlIgN8JdJEaF9cg78.pngThe world is big, let's doodle together! !
Tuya Smart can do everything. Without writing programs, you can easily realize voice remote control and control smart devices. This is a successful attempt.                    
                                                                                                      Thanks to Tuya
 
 
B Station video 
 
https://www.bilibili.com/video/BV1J44y1a7Lc/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
BOM Download
PCB_AI01 PCB backup_2022-09-24.pdf
PCB_AI01 PCB backup_2022-09-24.json
AI01 PCB backup_2022-09-24.pcbdoc
Gerber_AI01 PCB backup.zip
PCB_PCB_AI01_2022-09-24.pdf
PCB_PCB_AI01_2022-09-24.json
PCB_AI01_2022-09-24.pcbdoc
Gerber_PCB_AI01.zip
Schematic_AI01 Voice Infrared Remote Control_2022-09-24.pdf
SCH_AI01 Voice Infrared Remote Control_2022-09-24.json
SCH_AI01_2022-09-24.schdoc
61364
Four-layer FOC driver board based on DRV8301 and STM32F4

Introduction: My design skills are limited. The size of the four-layer PCB is 10cm*10cm. The driver chip is DRV8301 and the MCU is STM32F407ZGT6. This is the first time I draw a driver and a four-layer PCB. It is purely for graduation. Don't expect performance. I will give you criticism and be a negative example.
1. It is just a single drive, supports 20V-30V power input, and can drive 24v three-phase brushless motor;
2. The chip used has luxurious advantages, and this driver has many disadvantages;
3. AS5600 and HALL interfaces have been added;
4. Currently, the drive 24V has been tested, and there seems to be no problem with the current up to 10A;
5. In order to prevent the explosion of tubes and mos, and the burning of chips, a bunch of useless MOS and self-healing resistors have been added;
6. Dear big guys, please be gentle, this is really drawn by a novice who can't be any newer.
ProProject_focDrive1_2022-04-26.zip
IMG_1466.mp4
IMG_1467.mp4
IMG_1468.mp4
IMG_1469.mp4
61365
electronic
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-24 09:40:11

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号