hariharan_engineer
Newbie level 4
Hello All!
I am currently working on a Visible Light Communication Project. Following are the components that I am using at the Receiver Side:
My Transmitter is a 5mm Red LED, connected to a 1kHz, 2.2V Square Wave(0V as reference) and is kept 4ft away from the receiver. I connected the photodiode, first to an Op-Amp, which I configured as a Transimpedance Amplifier(TIA, Current-to-Voltage Converter). Currently, the TIA works like a charm. (I referred to the design document from Texas Instruments) i.e., At 4 feet distance, the photodiode generates about 7.38uA of Photocurrent, which after passing via TIA converts into 2V (as per my calculation). Kindly refer to the circuit below,
Now, I am facing the issue with the MCP602 configured as Comparator.
I want my output like this,
But, the comparator outputs square wave (as expected), but it’s only 1V in Amplitude. After revisiting the theory, I found out that one parameter was limiting the output voltage of my comparator, but, being a newbie to circuit designs, I wasn't able to find a solution to my problem. I kindly request someone to help me out to fix this issue.
Note:
I am currently working on a Visible Light Communication Project. Following are the components that I am using at the Receiver Side:
- BPW34, Osram PhotoDiode (Datasheet)
- MCP602, Single Supply Dual CMOS Op-Amp from Microchip (Datasheet)
- Passive Components: Resistors (Fixed and Variable), Capacitors
- Arduino Uno
My Transmitter is a 5mm Red LED, connected to a 1kHz, 2.2V Square Wave(0V as reference) and is kept 4ft away from the receiver. I connected the photodiode, first to an Op-Amp, which I configured as a Transimpedance Amplifier(TIA, Current-to-Voltage Converter). Currently, the TIA works like a charm. (I referred to the design document from Texas Instruments) i.e., At 4 feet distance, the photodiode generates about 7.38uA of Photocurrent, which after passing via TIA converts into 2V (as per my calculation). Kindly refer to the circuit below,
Now, I am facing the issue with the MCP602 configured as Comparator.
I want my output like this,
PhotoDiode Output | TIA Output | Comparator Output |
7.38uA | 2V | 5V |
0A | 0V | 0V |
But, the comparator outputs square wave (as expected), but it’s only 1V in Amplitude. After revisiting the theory, I found out that one parameter was limiting the output voltage of my comparator, but, being a newbie to circuit designs, I wasn't able to find a solution to my problem. I kindly request someone to help me out to fix this issue.
Note:
- I came across MCP6022, which seems like it will solve my comparator issue. But, I was a bit sceptical and wasn't able to justify myself.
- 5V supply to this Op-Amp was provided from a 5V pin of Arduino.
- I want my TIA + Comparator within a single IC, so that I could develop a shield kind of thing. I got inspired by OpenVLC.