Quote Originally Posted by Ioannis View Post
... what is the point of using an optocoupler? ...
I was trying out Richard's idea of using pre-made circuits. It wasn't the same design as what he used (no boost), but I thought it would be a good exercise.

https://www.picbasic.co.uk/forum/sho...110#post154110


This circuit isn't to power the project. I'm just trying to use 2 pots and PWM 5 volts to control the brightness of LED strings and the intensity of 7-segment LEDs (one pot controls the dash lights using 1 circuit, another the radio display using a 2nd circuit).

I'm trying to reproduce this effect: