Imagine a standard DIO on a microcontroller.
If this pin is configured as an output, I'd like it to switch a relay using a darlington driver (such as a ULN2803).
If this pin is configured as an input, I'd like an opto-isolated input.
I've attached a schematic, and would welcome feedback on how better to do it.
This is for a mixed IO board for an Arduino running of I2C via a PCA9534.
If this pin is configured as an output, I'd like it to switch a relay using a darlington driver (such as a ULN2803).
If this pin is configured as an input, I'd like an opto-isolated input.
I've attached a schematic, and would welcome feedback on how better to do it.
This is for a mixed IO board for an Arduino running of I2C via a PCA9534.
Attachments
-
229.8 KB Views: 22
-
86 KB Views: 65