I’m putting together a Morse code decoder circuit with Arduino (a photodiode sensor connected to an analogue pin, the Arduino will then decode the high and low light pulses the photodiode receives to be dots and dashes) and I’m currently working on the sensor portion of the circuit.
I have the following amplifier circuit to amplify the signal coming from the photodiode.
As well as this I also took the optical filter off of an old barcode reader and put it over the photodiode so that mainly the light from the red laser pen that I am shining at the detector should get through.
The speed at which I’m modulating the laser is proving to be the main problem; I’m modulating the laser by turning it on and off every 50 - 200 microseconds; if using a plain photodiode on it’s own the photodiode rather than reading this as highs and lows just waits till it has received enough pulses to saturate the sensor and then turns on, it’s acting more like a low pass filter.
So I chose to use this amplifier circuit instead however I’m struggling to get the correct resistor values to give me the sensitivity I need.
Can anyone recommend some resistor values for the above circuit or another amplifier circuit that might be better suited to the sensitivity and speed that I need?
For extra info, as well as the above I’m thinking about further reducing ambient light getting to the sensor by either pointing the sensor and the laser at a surface a few mm from the detector and measuring the reflections or by putting a thin piece of paper over the sensor that the laser would shine through and hit the sensor that way.
Any help much appreciated