Hello My team is working on a walking charger project with peizo electric sensors and solar panels. we are using PIC12F683 micro and we connect a diode to the solar as 1 input and we connect Piezo to a harvesting energy module as 2 Input, so input1,2 goes to micro, and micro compares whichever input has greater voltage, takes that voltage and sends it to MAX666 and further to Lithium ion rechargeable batteries for them to charge. At the same, we use LM35 temp sensor to monitor the batteries, if they are heat/temp goes up, the temp sensor acts as third input to the micro and shutdowns the charging functionality. The problem is, we drew the circuit on a paper and asked a guy for help to design the circuit, but he added relay switches and other transistors etc.. into our design and we're not sure, if that is correct. would you please take a look and explain / tell if the work is done right? thank you in advance.