Currently I’m working on a small portable amp which will be run either with 17 to 24 volts, depending if I drive it with a battery or a wall wart. It’s my first electronics project, so I have some fairly basic questions...
To power two single coil non latching relays (G6K-2P DC12 by Omron Electronics, coil current: 9.1 mA, coil voltage: 12 V, used as input selector, and stereo-to-mono switch) and an LED, I plan to use a voltage regulator. After reading an input by Russell McMahon on the Electrical Engineering Stack Exchange, it seems to me that in my situation (voltage drop of up to 12 volts) it would be the best to use a switching regulator, like the OKI-78SR-12/1.0-W36-C by Murata (input: 15 - 36 V, output: 12 V).
I want to design a little PCB with the regulator, the relays, a power output for the LED, and all the circuits and resistors needed for the input selector, and the stereo-to-mono switch). I got the audio part all figured out, but I’m not sure if I got the power part right.
Here is my schematic (just the power part), showing how I would connect the regulator the relays, and the LED:
I already tried to sketch out, how I would put this on a PCB in the size that would fit into my amp case. I will not solder the LED and the SPST switches to control the relays directly on the PCB therefore on the PCB you see the footprints of JST connectors at their place (SW1 = P2, SW2 = P3, LE1 = P7).
Now, I have the following questions:
- Is is a good choice to use a switching regulator, as the one linked from Murata?
- Is my schematic correct?
- Is the routing in my PCB correct, and supposed to work?