Electronic – Trying to switch between 12V and 5V, CD4066B analog switch

analog-switchschematicsswitchingtexas instruments

I want to switch between an output of 12V and 5V. I'm using a CD4066B (datasheet)

Here's the pinout:

CD4066B pinout

This is my schematic:
bad schematic, does not achieve desired results

When I build this circuit, I end up frying the IC. What am I doing wrong? What can I do to make this circuit work as desired?

Best Answer

You're burning it up, because with VSS connectted to 5V ground is outside the alloable range for an input or outputs. (they must all be between VSS and VDD

there's probably a better way to do whatever it is you are trying to do. but I have no way to guess what that might be.

schematic

simulate this circuit – Schematic created using CircuitLab

that has the same 120 ohm impedance as the CD4066B switches, but later in comments you say that you need to power a device with the output, in this case an adjustable regulator may be a better choice.

schematic

simulate this circuit

Related Topic