A single analog to digital converter using resistors, a 4-bit counter (as digital data generator) and an operational amplifier.
I put a presentation interface for easy monitoring of data (digital) and a lamp to monitor the analog output (for brightness).
I also added a logical break in the clock to mark the resumption of the count.