I'm building a fairly complex Raspberry Pi project that includes several sensors and driver motors for a garden automation system.
Ideally, I'd like to have LED's that indicate the status of sensors/switches as well as an indication that the Motor's are running. Motors run through a relay.
- Is it better to power LED's in series with the Motor's and/switches OR
- Is it better to power the LED's on their on GPIO pins.
I can see benefits of doing in both directions, however I'm wondering if there is a best practice hardware approach?
e.g. Is it bad to power a LED in series with a switch/sensor to show its active? It would definitely use less GPIO pins with this approach.