Pre-version: 1. TYPE-C infinitely dimmable night light V1.0 - Jialichuang EDA open source hardware platform (oshwhub.com) 2. TYPE-C infinitely dimmable night light V1.1 appearance improvement - Jialichuang EDA The open source hardware platform (oshwhub.com)
update instructions
replace the BMS chip with IP5306-CK. This IC integrates internal boost and power path management to reduce external circuit design.
Adding a voltage follower + comparator type photosensitive part composed of MCP6002T, it can automatically light up in a certain dark place.
Optimized the structure
(2023.4.12) and added a version using TP4065+ external path management solution, that is, sheet2 and pcb2
Notes:
IP5306 in the schematic diagram uses the symbol and package of the standard model (that is, without the suffix CK), but it must be used during actual welding. You need to use IP5306-CK, which is pin2pin, but the standard model is actually a power bank chip with built-in load detection, but in fact the effect is very poor at small loads, causing the chip to automatically stand by and not output voltage, IP5306- CK is the normally open version of IP5306, which will always output 5V as long as the battery is connected. (In addition, the IP5306 chip actually has some functional pitfalls and logical contradictions. For example, when the typec is pulled out, the voltage of the rear stage will drop, and I suspect that the low power consumption is not very ideal.) The
photosensitivity can be changed by adjusting the rheostat R16. Other
Instructions for Use In fact, IP5306 is not very suitable in this scenario. For this ultra-low power circuit battery management is more suitable for TP4065+ external power path management (that is, the previous version of the solution), and the charging current of IP5306 is as high as 2A, which is suitable for ordinary The impact of soft-pack batteries remains to be verified. The final purpose of making so many versions of this lamp is to integrate the human body presence sensor system, but the effect of the pyroelectric type is not very good, and the millimeter wave is more troublesome from circuit to structural design.