Hi all,
I have a 5V power regulator that provides power to my entire circuit. The regulator has an enable pin with a pull-up resistor. When this net is pulled down, the entire system shuts off as expected.
I am using the following toggle switch on my enclosure. In its ON position, it shorts to GND, and in its OFF position, it opens. Therefore, when I toggle it to ON, my system turns off, and when I toggle it to OFF, my system turns on.
I am working on a new PCB that will require the same switching option. What can I do in my circuit to reverse this logic? I am thinking a simple transistor circuit should be sufficient.
HUAREW Rocker Switch ON/Off KCD1 Mini Round Toggle Switch SPST 2Pin Snap-in Latching with Wires Pre-Wired AC 6A/250V 10A/125V,for car Boat(10Pcs) : Amazon.co.uk: Automotive
I have a 5V power regulator that provides power to my entire circuit. The regulator has an enable pin with a pull-up resistor. When this net is pulled down, the entire system shuts off as expected.
I am using the following toggle switch on my enclosure. In its ON position, it shorts to GND, and in its OFF position, it opens. Therefore, when I toggle it to ON, my system turns off, and when I toggle it to OFF, my system turns on.
I am working on a new PCB that will require the same switching option. What can I do in my circuit to reverse this logic? I am thinking a simple transistor circuit should be sufficient.
HUAREW Rocker Switch ON/Off KCD1 Mini Round Toggle Switch SPST 2Pin Snap-in Latching with Wires Pre-Wired AC 6A/250V 10A/125V,for car Boat(10Pcs) : Amazon.co.uk: Automotive


