I'm working on a project to take a mic input (over USB) on a RPi 2 and trigger the action of white LEDs lighting up and a Solenoid Lock activating by turning GPIO pins to ON. However, I'm far from confident in my own ability to create circuits that are correct, so I thought I'd make sure here that I'm on the right track.
I'm using a solenoid lock from Adafruit (this one) that needs 12V and takes 0.5A to fully charge the electromagnet. To move from 5V on the RPi 2 to 12V needed for the lock, I'm looking at using a flexible DC Booster. The LEDs are Adafruit Sequins.
So, my questions are just two: 1) is my wiring diagram anywhere close? and 2) can I use just any GPIO pins as ON/OFF switches to complete each circuit?
Thank you to anyone willing to lend a word!