This solar LED lantern can be used as an emergency light. Its 6V battery can be charged either from 230V, 50Hz AC mains or a 12V, 10W solar panel. Two LED indicators have been provided—red LED (LED1) indicates battery charging and green LED (LED2) indicates fully-charged battery. You can choose to charge the battery either from the mains power or the solar panel by using the single-pole, double-throw (SPDT) switch. Capacitor C1 (1000µF, 35V) removes ripples from the power supply and regulator IC LM7809 (IC1) provides regulated 9V DC to the emitter of pnp transistor T1 (TIP127/BD140) and pin 7 of op-amp IC CA3140 (IC2), which is configured in comparator mode. The reference voltage of 6.3V at pin 2 of IC2 is obtained through the combination of resistor R7 (1-kilo-ohm) and zener diode ZD1 (6.3V). The comparator controls charging of the battery. Pin 3 of IC2 is connected to the positive terminal of the battery to be charged through resistor R5. When the battery is fully charged, it st...