Hey,
I would like to build a star puzzle with many leds (45 LEDs). The LEDs can be switched on and off using switches. To solve the puzzle, certain LEDs should be switched on to form a star image. As soon as an LED that is not part of the solution lights up, the puzzle is not solved. I run the LEDs that are relevant for the solution (10 LEDs) directly via the arduino. The other 34 leds are only intended as a distraction. I operate them in a parallel circuit with their own 5 V power supply.
How can I use the arduino to check whether one or more leds are switched on in this seperat parallel circuit?
I have already tried it with a current sensor that I have connected to the arduino. But the current flow via an LED seems to be too low.
It doesn't matter how many leds are switched on in the parallel circuit. As soon as at least one is lit, this should be detected by the arduino.
Can you help me how I can implement this?
Thank you very much
14 posts - 6 participants