Upgraded and developed on my esp32_game open source project. This project modifies the audio part to avoid the noise floor of the power amplifier of the original project. Add the popular small TV function and alarm clock function. You need to use the 8MB esp32_wrover_b module
audio IC MAX98357. Since it is packaged in TQFN16, you need to have certain soldering skills. It is best to have an air gun or SMT soldering station.
PL5500是一款为移动电源,电池等应用场合设计的四管双向升降压控制器,为TYPE-C PD快充等升降压应用市场提供高效率,高性价比,外围简单,保护功能齐全的大功率应用方案。
PL5500是双向同步4开关降压 - 升压控制器能够调节输出电压在输入电压,高于或低于输入电压。
PL5500可在宽输入电压范围内工作3.0 V至30 V(36 V),支持多种功能应用。
PL5500可以在充电器模式下运行用于1,2和3节电池充电。
PL5500采用恒定开启时间控制降压和升压操作模式可实现出色的负载和线路监管。开关频率设置为基于200kHz,400kHz或600kHz的不同FREQ引脚和AGND引脚之间的电阻值。
该器件还具有可编程软启动功能和提供各种保护功能,包括逐周期电流限制,输入下电压锁定(UVLO),输出过压保护(OVP)和热关断。此外,PL5500具有可选的连续传导功能模式(CCM)或不连续传导模式
(DCM)操作,可选的平均输入或输出限流,折返模式保护持续的过载情况。
PL5500还具有动态电压和动态输出电流限制功能由PWM输入信号逐渐调整。
高性价比PL5500外围电路简单,设计灵活性强,驱动能力强,可支持大功率应用,支持双向充放电管理,集成度高,降低BOM成本,COT控制模式,保证产品稳定性和一致性,可编程频率调节,可同时满足PW和模拟调节,效率高达98%以上。
PL5500功能特性:
支持正向的充电和反向的放电管理
通过PWM动态调节输出电压
通过PWM动态调节输入和输出电流
3.0V-30V的超宽输入电压范围
0.8V-30V的超宽输出电压范围
集成2A 10V的驱动器
内部集成5V/50MA LDO
开关频率可调
支持1-6串锂电池升降压充放电
可编程连续电流模式和轻载高效率模式
输入欠压,输出过压,输出短路,过温等多种保护功能
QFN4*4-32封装
6元离线语音芯片方案,自带红外码库,可控制各种品牌空调,风扇等支持蓝牙小程序对接,为了方便焊接,电阻元件为0603封装6元离线语音芯片链接:https://item.taobao.com/item.htm?id=678936604591
语音指令使用说明书https://docs.qq.com/pdf/DTmJRS3JucHhxalFu
Contents
1. Foreword
2. Team introduction
3. Project analysis
4. System solution
5. Theoretical analysis and calculation
6. Circuit program and design
7. Physical display
8. Description of competition works
9. Summary
Preface
This design is designed based on the principle of image recognition and An Internet-based camera measurement system was produced. The system uses Raspberry Pi as the core processing terminal, realizes a star interconnection network through a 100M Ethernet switch and two camera nodes, and completes the measurement and real-time display of the swing angle of the fishing line combined with a laser pointer and the length of the fishing line. The system first uses the CMOS sensor module to realize the camera function; then uses the k210 chip to complete the identification and positioning of the laser pointer; then uses the pendulum-related formula to calculate the length of the fishing line and the offset angle of the laser pointer, and finally uses the LCD to display the measurement results and sound. Light alarm. Tests have proven that the absolute error of this system in measuring fishing line length is less than 1cm, the absolute error in laser swing angle measurement is less than 5°, and the measurement time is less than two seconds.
Keywords: Internet; angle measurement; length measurement; Raspberry Pi; k210
team introduction.
The team members are Xiao Xiaowu, Zhang Haohao, and Xiao Tutu. Their major is electronic information engineering. They are senior students. Team members are good at image processing. , Proficient in using stm32, k210, openmv, Raspberry Pi, etc. While in school, he worked on a number of scientific research projects and innovation and entrepreneurship projects for college students, and has multiple software copyrights.
Award experience:
(1) National Second Prize in the 2021 National College Student Electronic Design Competition
(2) Provincial Third Prize in the 2020 Hubei Provincial Electronic Design Competition
(3) Successful Participation Award in the 2019 National College Student Electronic Design Competition
(4) Thirteenth The third prize in the Central and Southern Regional Competition of the 2018 China College Student Computer Design Competition
(5) The second prize in the finals of the 4th National College Student FPGA Innovation Design Competition
(6) The second prize in the 2021 National Electronic Design Competition National Second Prize "Internet-based Camera Measurement System" ( 7) The third prize in the national competition of the 2021 Computer Design Competition (8) The second prize in the national competition of the 2020 Blue Bridge Cup National Software and Information Technology Professional Talents Competition (9) The 2021 National College Student Innovation and Entrepreneurship Project "Epidemic Prevention and Disinfection Based on Stm32" Killing Drones" (10)
Project Analysis for Participating in the National College Student Innovation and Entrepreneurship Annual Conference in 2021
1. Question Requirements
1. Basic Requirements
(1) Design and produce two independent camera nodes, each node consists of a camera and corresponding circuit composition. Both camera nodes can capture the movement video of the laser pointer and display it.
(2) Design and make terminal nodes. The real-time video captured by the two camera nodes can be displayed separately and simultaneously on the terminal display. The laser pointer can be identified in the video, and its outline is framed in real time by a red box in the video.
(3) The measurement system can be started with one click at the terminal node. Starting from the swing of the laser pointer, the measurement system automatically measures the length l by processing the periodic swing video signal of the laser pointer, 50cm ≤ l ≤ 150cm, and the θ angle is self-determined. When the measurement is completed, the terminal will sound and light prompts and displays the length l. The absolute value of the measurement error is required to be less than 2cm and the measurement time is less than 30 seconds.
2. Function part
(1) After one-click startup, the measurement system works together through the network of two independent camera nodes. When θ=0° and θ=90°, it can automatically measure the length l, 50cm ≤ l ≤ 150cm. The absolute value of the measurement error is required to be less than 2cm and the measurement time is less than 30 seconds.
(2) After one-click startup, θ can be measured, 0°≤ θ ≤90°. The absolute value of the measurement error is required to be less than 5°. The measurement time is less than 30 seconds.
(3) Others.

Initial analysis and design ideas of the topic:
First of all, our team’s initial idea is to need two cameras, a laser, a switch, and a terminal display. Use 3D printing to print a shell for the laser machine to facilitate adding weight and fixing, and use a tripod. Fixed two camera sensors. In terms of terminal display, we initially planned to use stm32f4 and w5500 to communicate and display with the terminal through spi communication or serial port to network port. The camera uses k210 or openmv, or Raspberry Pi. The terminal and camera system perform tcp through the switch. Or UDP communication, use a horn or buzzer for the acoustic alarm, and use LED lights for the light alarm. This is the initial idea.
System Plan
1. Plan Description
This system is a hardware platform built with Raspberry Pi as the terminal and K210 camera module as the camera node. It is a camera measurement system built by combining target monitoring, Ethernet transmission, and network collaboration. The Raspberry Pi external monitor can display real-time image processing videos captured by two K210s separately and simultaneously. The Raspberry Pi sets a one-click start command and works together through the network of the two K210s to feed back the measured data to the Raspberry Pi. The Raspberry Pi performs data processing to obtain the measured data, and the display displays the length and angle values. The system architecture diagram is shown in Figure 1.1.

Figure 1 System structure diagram
2. Scheme comparison and selection
1. Camera module selection
scheme 1: MaixBit development board uses K210 as the core unit, which is very powerful. The chip has a built-in 64-bit dual-core processor, 8M of upper SRAM, and a variety of built-in Hardware acceleration units (KPU, FPU, FFT, etc.), the total computing power can reach up to 1TOPS.
Option 2: OpenMV is based on STM32F767CPU as the core, integrates the OV7725 camera chip, efficiently implements the core machine vision algorithm in C language, and provides a Python programming interface.
After comprehensive consideration, this design requires K210 to be able to perform target detection and have much higher computing power than OpenMv. Combined with cost performance, we choose option one.
2. Terminal selection
option 1: The STM32F103ZET6 development board is a 32-bit microcontroller based on ARM, with high performance, low cost, low power consumption, innovative core and peripherals, 144 pins, and 512K bytes of flash memory. Read the network port information and display it on the screen.
Option 2: Raspberry Pi is an ARM-based microcomputer motherboard with an SD/MicroSD card as the memory hard drive, which can be connected to a keyboard, mouse and network cable. It also has a TV output interface for video analog signals and an HDMI high-definition video output interface.
After comprehensive consideration, the performance of Raspberry Pi in image data processing far exceeds stm32. The team members used Raspberry Pi 4B in the early stage and had a project foundation related to TCP transmission. Raspberry Pi has more development options