- The switch is normally open; and
- When pushed down: it closes the circuit, lights up and fires a HIGH signal to a GPIO input pin (GPIO 04 in my case); and
- If needed, I can make the GPIO 07 pin an output pin and make it available to help run the light/LED inside the switch, but not sure if that's needed
The answerer to that question called out that I need a 6VDC power source for this button, because the RPi (which provides both 3.3VDC and 5VDC pins) is not enough for this switch.
I'm wondering what I could use to provide this 6VDC power. According to Wikipedia, AA batteries provide around 1.5V each. So I'm wondering if I could use a battery holder like this one to use 4 AA batteries (1.5V x 4 = 6VDC) to power my button, or whether that would provide too much or too little voltage/current. Either way, what is a safe & efficient (energy-wise and financially-speaking!) to power this switch?