Hey guys, I was thinking of building a speed-of-light experiment where I pulsed a laser at around 1MHz (I don't think the duty cycle would matter too much, as long as the on/off is very noticeable) so that I can reflect the pulsing light off a mirror some distance away (maybe 30m), and then I can use an oscilloscope connected to photodiodes to visualise the phase shift of the light leaving and coming back.
My idea is to use an ESP32's PWM output to provide the pulses since it can provide a very high quality pulse. If possible I want to avoid using commercial laser drivers as they can have too much capacitance so that my 1MHz pulse turns into a smudge. Is it possible to use a resistor instead? Correct me if I'm wrong, but my idea is that since I'm pulsing the laser really fast with a low duty cycle, I could probably get away with the resistor providing a little more current than the diode is rated for in case that ever happens. I think I'll just need to use a transistor to control the switching because the ESP32 can only handle 40mA of output current, and I'll need a very stable power source, maybe batteries?
Is my idea viable? I've got SFH203 photodiodes and the datasheet says that it is most sensitive to red/infrared, so I will probably use a red laser for this project. Would a diode like the ML101U29 be good?
My idea is to use an ESP32's PWM output to provide the pulses since it can provide a very high quality pulse. If possible I want to avoid using commercial laser drivers as they can have too much capacitance so that my 1MHz pulse turns into a smudge. Is it possible to use a resistor instead? Correct me if I'm wrong, but my idea is that since I'm pulsing the laser really fast with a low duty cycle, I could probably get away with the resistor providing a little more current than the diode is rated for in case that ever happens. I think I'll just need to use a transistor to control the switching because the ESP32 can only handle 40mA of output current, and I'll need a very stable power source, maybe batteries?
Is my idea viable? I've got SFH203 photodiodes and the datasheet says that it is most sensitive to red/infrared, so I will probably use a red laser for this project. Would a diode like the ML101U29 be good?