Photocell Amplifier using microcontroller

This is a low frequency amplifier with an adjustable transimpedance that is
intended to be used to take relative measurements of a wide range of photo currents.


Not having many parts, this amplifier can be put together in a short amount of time.

Find updates at
I needed to make some relative optical measurements. I had some small but relatively large area photo diodes, that when operated as photovoltaic cells generated between 20 nanoamps and 200 microamps with the range of optical power available from a light source I needed to test.  That is why this amplifier came into being.
The output of the amplifier is to be measured on a digital voltmeter. Besides being able to accept 20 na to 200 micro amps and output voltages that range form 100 mv to 2 or 3 volts, the amplifier needed to have a low input resistance so the diode could be run at or near zero bias so that its output would be a linear function of light on the photocell. It also has to have plenty of connectors. Along the bottom of the board in the image above, from left to right, are a power input connector because it would use an isolated unregulated DC power supply that is sometimes used for other things, a voltage output connector so that its output could be plugged into a digital voltmeter, and an input connector so that it can accept current from a variety of photodiodes.
The objective of the design was an amplifier that could be built quickly and use “ordinary” parts, except for the op amp, which needed to have low input offset current and a decently low input offset voltage. I also did not want to worry about low noise design, hence the 22 uf capacitor on the input and the use of a digital voltmeter to read the output.

For more detail: Photocell Amplifier using microcontroller

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top