## Schematic Design Description
First of all, I would like to thank Jiali Chuang's platform and LiChuang development board for giving me this opportunity to learn.
This solution is basically completed according to the training camp tutorial, and the innovative part adds the charging and discharging function based on IP5306 and the flashlight lighting function.
IP5306 is a multifunctional power management SOC that integrates boost converter, lithium battery charging
management , and battery power indication,
providing a complete power solution for mobile power. The high integration and rich functions of IP5306 require only a few peripheral devices
when applied , and effectively reduce the size of the overall solution and reduce BOM cost. IP5306 only needs one inductor to achieve buck and boost functions. It can support low-cost inductors and capacitors. ![Screenshot 2023-05-21 221748.png] For the power input part, pull down the CC pin of the TYPE-C port by 5.6K to the ground so that the charging head and other devices can recognize this C port as a device. Use a USB-A female connector for external power supply ![Screenshot 2023-05-21 221826.png] ## PCB design description During the routing process of this solution, the 3.3V routing distance is too long, and the output pad of the motherboard is not reinforced. As a result, the EEPROM at the end is insufficiently powered and cannot be reset when powered on for the first time. Later, you can add AMS1117 to the game console expansion board for separate power supply, and do not use the 3.3V lead of the development board ## You need to buy the actual product and link the speaker: 8 ohm 1W, cheap price, 0.8 yuan [Taobao] https://m.tb.cn/h.UDT9f2D?tk=5hwTdoPZg3n CZ3457 "10/13/15/16/18/20/23/25/30MM speaker plastic 8 ohm 1 watt with wire terminal custom speaker" Click the link to open directly or search on Taobao to open the joystick button directly: Tutorial recommended button [Taobao] https://m.tb.cn/h.UEraCmu?tk=68hxdoPZPOd CZ0001 "3D joystick flat push straight leg bent leg multi-function switch handheld game console PSP joystick ultra-thin potentiometer" Click the link to open directly or search on Taobao to open the screen directly: Tutorial recommended screen [Taobao] https://m.tb.cn/h.UEr0WwL?tk=j5TjdoPb2bu CZ3457 "Huang Baokai Zhongjingyuan 1.69-inch LCD display 240x280 st7789 driver serial port ips display" Click the link to open directly or search on Taobao to open the lithium battery: Select the 500mA capacity with a protection board. The protection board prevents short circuits and the cost is not much more expensive. The capacity of 5000mA can be used as a power bank temporarily [Taobao] https://m.tb.cn/h.UvCHuuZ?tk=IrsndoPbPzb CZ0001 "3.7v lithium polymer battery large capacity 4.2v rechargeable universal built-in battery 1000mAh manufacturer" Click the link to open directly or search on Taobao to open directly ## Physical display description Since the battery was purchased with welding wires, the battery holder was not used but directly welded on. The function of the earphones is out of stock, so I directly cancelled the function of the earphones here. Short the detect pin to the ground to simulate the situation where the earphones are not plugged in. ![Cover.jpg] ![WeChat Image_20230521093347.jpg] ## Demo video https://www.bilibili.com/video/BV1uc411A7eS/?vd_source=9b583b276e588c0a00ffdbc788fbfe49 ## Other attachments have been uploaded to the software section