Hi,
with reference to the attached schematic, there are three switches which are normally closed for the power stage of this system to work. The voltage can be as high as 24V and the micro is 3V3. The 100K and 10K voltage divider resistors are high vlaue to avoid turning on the solid state relay. The solid state relay's LED trigger current is shown to be 3mA so I assume a current of 0.5mA is low enough to guarantee the OFF state. SSR datasheet is this:
https://www.mouser.co.uk/datasheet/2/408/TLP241A_datasheet_en_20200217-1075431.pdfBut for safety reasons and also to provide user feedback, I need to monitor the status of each switch from a micro. Because they are in series - unless I am missing something - it is not possible to monitor every combination. First question is, is that correct? Or perhaps by adding high value resistors across the switches (as shown) that can be achieved?
But by assigning priority whereby the switches have decreasing priority from left to right (with reference to the schematic) so that if a higher priority switch is open then the status of the other ones does not matter, then an acceptable compromise can be achieved.
My second question, question is about resistor values with the compromise above. To spread the reading of the various combinations relatively wide apart for clear reading by the ADC even with large tolerances of the resistors, how would you choose the resistor values? Perhaps some exponential relationship?
thank you