If the 4,5 contacts are isolated, why not tie one contact to a pull-up resistor and feed the other to a micro input. If the micro inputs are already pulled up, then tie one contact to the micro common and the other to the micro input of you choice. The change of state tells what position the relay is in. :-//
If the 4,5 contacts are isolated, why not tie one contact to a pull-up resistor and feed the other to a micro input. If the micro inputs are already pulled up, then tie one contact to the micro common and the other to the micro input of you choice. The change of state tells what position the relay is in. :-//
Thanks for the suggestion, looks simple enough. What made me worry at first whether there was any EMI or transients i should worry about.
If the 4,5 contacts are isolated, why not tie one contact to a pull-up resistor and feed the other to a micro input. If the micro inputs are already pulled up, then tie one contact to the micro common and the other to the micro input of you choice. The change of state tells what position the relay is in. :-//
Thanks for the suggestion, looks simple enough. What made me worry at first whether there was any EMI or transients i should worry about.
Not from the isolated contacts themselves. Avoid routing the connections between the contacts and the microcontroller close to, and parallel with the switched side of the relay coil.
If the 4,5 contacts are isolated, why not tie one contact to a pull-up resistor and feed the other to a micro input. If the micro inputs are already pulled up, then tie one contact to the micro common and the other to the micro input of you choice. The change of state tells what position the relay is in. :-//