I have an equipment that includes a circuit made of a bunch of NO switches arranged in serial. This circuit includes a LED that turns on when all the switches are closed. When one or more switches are open I need to identify which ones are open. The following image depicts the existing circuit:
My first approach was to put resistors in parallel with each one of the switches and measure the voltage with an ADC input. This kinda works but I feel it will not be very reliable so I'm looking for a different way to do it.
Can anyone suggest a better way?