Hi there, I'm just starting out in a new engineering firm and my first task is to take a $2 solar light and put a switch in it so that when a mailbox is opened it will light up in the back.
It needs to work under these conditions:
Mailbox closed while dark --> LED off, battery not discharging
Mailbox closed while light --> LED off, battery charging
Mailbox open while dark --> connect circuit normally
Mailbox open while light --> connect circuit normally
I guess I don't know where the switch needs to go in the circuit, or what kind of switch it needs to be.
I don't know how to make sure the battery does not discharge during the night.
Also, there is a part in this circuit with the product name YX8018 but no matter how hard I look, I cannot figure out what this part is. What am I doing wrong?
Any help and knowledge that can be given would be greatly appreciated.
Picture of current circuit is attached.
It needs to work under these conditions:
Mailbox closed while dark --> LED off, battery not discharging
Mailbox closed while light --> LED off, battery charging
Mailbox open while dark --> connect circuit normally
Mailbox open while light --> connect circuit normally
I guess I don't know where the switch needs to go in the circuit, or what kind of switch it needs to be.
I don't know how to make sure the battery does not discharge during the night.
Also, there is a part in this circuit with the product name YX8018 but no matter how hard I look, I cannot figure out what this part is. What am I doing wrong?
Any help and knowledge that can be given would be greatly appreciated.
Picture of current circuit is attached.
