Hey everyone!
I am working on a project that is required to switch ON/OFF a laser from the GPIO output of the Pixhauk. I figured out how to switch on/off a LED by reading the documentation of the ArduSub and adjusting the parameters RELAY_PIN & BRD_PWM_COUNT parameters.
For my needs I choosed to use a photocoupler in order to switch on/off the laser but the signal of the GPIO isn’t enough. Could you suggest me an alternative way in order to achieve this. I am quite sure that by using a relay module it would work just fine but I would like to avoid it if it is possible.
Note: The laser works with 5V
Thanks in advance.