I need to sense a supercapacitor charge at 2.7V using a opto-coupler and take the output signal as the input signal into the PIC microcontroller ? Really appreciate it if someone can provide me any resources on designing a such circuit to sense the required 2.7V across the supercapacitor.
Here I have provided a sketch about my project.
Thanks for your time and consideration.