Hi
I'm fairly new to working with the Arduino and drawing electrical schematics so apologies up front if I have a few (or many!) things wrong. Any and all feedback would be really appreciated, I'm hear to learn and happy to get stuck in.
I'm trying to create a simple tool that will allow me to test light changing from black to white on my desktop monitor. Once I have the basics of detecting light changes with the photodiode down I would then like to build upon it and make the tool more accurate.
I have been following this guide which has been very helpful:
The issue I'm having is that the output value displayed in the serial monitor is only outputting 5.00 with light shinning directly on the photodiode and when it is the diode is completely covered and light removed.
Here is the drawing I created in tinkercad.
Arduino Drawing
I'm using the same code from the guide as well.
I have a few notable part differences to the above guide:
I'm using an MCP6022 op amp as opposed to the LTC1050.
An 25V 100uf capacitor. Not sure what the one is in the guide as it didn't say.
And an Vishay, BPW20RF IR + Visible Light Si Photodiode, Through Hole TO-5
The photodiode will be encased in a small box placed over 20cm x 20cm section of the monitor so that ambient light does not creep in. On the monitor display will be a simple program that changes from black to white. I would like to be able to detect when the light changes.
I would really appreciate a sanity check to see where I've gone wrong. I would also be very interested to hear how I can improve upon the design and what I should be considering when I look to improve the performance.
Thanks in advance.