So the lone LED in the middle, with two resistors, is going to be on all the time, as a night light to the night light.

If the rest of the LEDs are on a switch, will I have to run two completely separate wires for the single LED, isolating it on its own circuit?

I’m tentatively planning on doing that, using heat shrink or something like that to tidy up the wires, then use two DC barrel jacks to connect each set of wires to the board. Are there any potential problems with this plan?

  • Ithyphallophobia@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    Best way is probably to run power right to the pcb, connect your always on led to positive and ground, the rest of the LEDs to ground then run the positive to one side of the switch and the other side of the switch to the anode of the LEDs that you want the switch to turn on.

    If you don’t want the switch connected right to the PCB you could always add wires to extend it

      • Ithyphallophobia@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        1 month ago

        This circuit does work but the always on LED can just be connected right to positive it doesn’t need to also be connected to the switch. It does depend on which switch type you’re using, I’m assuming it’s spdt like in your diagram which means that with your current circuit when the switch is in one position the main LEDs will be on and the indicator one is off and with it in the other position the indicator one will be on and the main ones off. Which also works fine if that’s your intention.

        Shouldn’t see any issues, this is how it’s usually done. The only thing to watch out for is the longer your wires to the switch the more resistance your adding but it should be negligible unless it’s crazy long.