
Fig. 1 My basic photodiode test circuit.
Photodiode Op-Amp Circuits
Here we will use operational amplifiers or op-amps to convert the photodiode current to a measurable voltage - this is called a trans impedance or current to voltage amplifier. This enable an analog-to-digital port on an Arduino or PIC microcontroller to measure light intensity.
Here in all cases the photodiode is reversed biased. We won't use the photodiode in it's voltaic mode. For more on these subjects see the following:
Fig. 1 shows a basic test circuit I constructed. When the LED is turned on reverse current flow through the photodiode from cathode to anode to the base of Q1. The current is amplified and use to light up a LED. This is an ON/OFF circuit useless for measuring light intensity.

Fig. 2 basic LM741 photodiode trans-impedance amplifier.
In Fig. 2 we use a LM741 to convert the small leakage current to a voltage by the formula Rf * Ip. Depending on the value of Rf the voltage output is positive 0 to 10 volts. the brightness of the LED is proportional to light intensity on the photodiode.
Note this is a bipolar power supply circuit.

Fig. 3
Fig 2 differs in that the anode of the photodiode is connected to the -12 volt supply. This reduces capacitance and improves switching response. Note this is a demo circuit - for real high speed performance use high speed op-amps such as a Analog Device ADA4817-1 or Burr-Brown OPA640. Also use a PIN photodiode.
For more on photodiode capacitance see: Photodiode Circuits Operation and Uses

Fig. 4
In Fig. 4 we connect the cathode of the photodiode is connected to the +12 volt supply. This produces a negative voltage output. This is another bipolar power supply circuit.

Fig. 5
Here is an experimental circuit to read light intensity with a photodiode with and Arduino. The maximum voltage out is 5-volts with a 7-volt supply. Output 0-5 volts.
This is a unipolar circuit.
Also see Optimizing Precision Photodiode Sensor Circuit Design by Analog Devices. (PDF)
- Religious Themes
- Religion Archive 1
- Raspberry Pi & Linux
- PIC18F2550 in C
- PIC16F628A Assembly
- PICAXE Projects
- Comparator Theory Circuits Tutorial
- Analog Solar Panel Battery Charge Controller
- Better Arduino Rotary Encoder Sensor
- Simple 3-Wire MAX6675 Thermocouple ADC Arduino Interface
- Comparator Theory Circuits Tutorial
- Constant Current Circuits with the LM334
- LM334 CCS Circuits with Thermistors, Photocells
- LM317 Constant Current Source Circuits
- TA8050P H-Bridge Motor Control
- All NPN Transistor H-Bridge Motor Control
- Basic Triacs and SCRs
- Comparator Hysteresis and Schmitt Triggers
- Comparator Theory Circuits Tutorial
- Photodiode Circuits Operation and Uses
- Optocoupler MOSFET DC Relays Using Photovoltaic drivers
- Connecting Crydom MOSFET Solid State Relays
- Photodiode Op-Amp Circuits Tutorial
- Optocoupler Input Circuits for PLC
- H11L1, 6N137A, FED8183, TLP2662 Digital Output Optocouplers
- Optical Isolation of H-Bridge Motor Controls
- All NPN Transistor H-Bridge Motor Control
Optical Isolation of H-Bridge Motor Controls YouTube
Optical Isolation of H-Bridge Motor Controls
Opto-Couplers Theory and Circuits YouTube
Opto-Isolated Transistor Drivers for Micro-Controllers
All NPN Transistor H-Bridge Motor Control YouTube
All NPN Transistor H-Bridge Motor Control
Pulse-Width Modulation Tutorial YouTube
Pulse-Width Modulation Tutorial
PIC12F683 Microcontroller and Circuits YouTube
PIC12F683 Microcontroller and Circuits