I need short-distance (about few centimeters) wireless IR UART link with 250k+ baud. I tried to use phototransistor (assume Q1 is phototransistor). Q3 is used to prevent inverting signal.
With this schematic I reach 57600 baud with Arduino. Now I am looking for photodiode schematic and I hope that it can be faster.
I found out tipical application with transimpedance amplifier. Something like this:
Is this suitable for my application? What about environment light adjustment? Also, can I use this circuit with unipolar supply?
Maybe comparator will be more suitable for my application, because I need only binary signal and don't care about amplifier linearity etc, but I have no idea how to use comparator instead of op-amp in this chematics.
- I replace R1 with 100 Ohm and reach 115200 kbit/s
- I know about IrDA, but environment light isn't a really big problem in my case. I can protect optocoupler from environment light.