A pyroelectric sensor and a photoresistor were installed. Originally, I wanted to make a night light with a sense of individuality. The original idea was to use the power switch button and the EEPROM of the microcontroller to make one that changes one color every time it is powered on. But after realizing During the process, as soon as the program called to read the EEPROM, it was reset (it may be a bug in the chip, or it may be an operation problem. I will try it again later when I have time). Later, I had no choice but to block the photoresistor. The effect of switching colors is not very satisfactory. I will continue to optimize it when I have time later.
The bottom is fixed with screws, and you can see the battery when you disassemble it (the design is a rechargeable battery, a dual-purpose battery version. You can install a 3-string battery box directly without welding the lithium battery protection circuit, charging circuit, and boost circuit. Powered by AA batteries)
The charging port on the back can also provide direct power supply.
Devices | Class | introduce | Datasheet |
---|---|---|---|
X8821WV-04-46SN | Line of plate/line of wire connector | Download | |
0201X391K500NT | Download | ||
SCR0805F10K | SMD resistor | Download | |
GL7549 | Photosensitive resistance | Download | |
STC8G1K08-36I-SOP8 | Download | ||
BH-18650-B1BA002 | Download | ||
8205A | Download | ||
0805J0100100KCR | Download | ||
U254-051N-4BH806 | The connector;The USB connector | Male and Female: Female Connector Type: USB - Micro B Number of Contacts: 5 Standard: USB 2 | Download |
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet