Sobakava
Full Member level 6
digital input schematic
I'm building an universal control module with MCU/RS485/Relays etc.
I need some help with input modules. I would like to interface
digital inputs ( up to 24Volts and passive switches) to my microcontroller.
First one is easy with optocoupler but, how can I make this circuit
compatible with both types of inputs with same contacts?
I've to provide supply for passive swithes. What is the rule for optoisolating? I think I'll need to build a different power supply for
input side of optocoupler.
We plan to use this module in factory and it should be reliable of course.
Waiting for your ideas...
Regards
I'm building an universal control module with MCU/RS485/Relays etc.
I need some help with input modules. I would like to interface
digital inputs ( up to 24Volts and passive switches) to my microcontroller.
First one is easy with optocoupler but, how can I make this circuit
compatible with both types of inputs with same contacts?
I've to provide supply for passive swithes. What is the rule for optoisolating? I think I'll need to build a different power supply for
input side of optocoupler.
We plan to use this module in factory and it should be reliable of course.
Waiting for your ideas...
Regards