Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use 4066: Examples, Pinouts, and Specs

Image of 4066
Cirkit Designer LogoDesign with 4066 in Cirkit Designer

Introduction

The CD4066 is a quad bilateral switch integrated circuit, capable of controlling analog and digital signals. This IC is widely used in signal routing, multiplexing, and as an effective method for gaining analog control over digital signals. It is particularly useful in applications where signal paths need to be opened or closed.

Explore Projects Built with 4066

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered Emergency Alert System with NUCLEO-F072RB, SIM800L, and GPS NEO 6M
Image of women safety: A project utilizing 4066 in a practical application
This circuit is an emergency alert system that uses a NUCLEO-F072RB microcontroller to send SMS alerts and make calls via a SIM800L GSM module, while obtaining location data from a GPS NEO 6M module. The system is powered by a Li-ion battery and includes a TP4056 module for battery charging and protection, with a rocker switch to control power to the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered IoT Tracker with NodeMCU ESP8266, GPS, and GSM
Image of RaahMitra - Smart Helmet: A project utilizing 4066 in a practical application
This circuit is a multi-sensor data acquisition system powered by a Li-ion battery and managed by a NodeMCU ESP8266 microcontroller. It integrates various sensors including a GPS module, an accelerometer, a gyroscope, and a vibration sensor, and communicates data via a SIM800L GSM module. The TP4056 module is used for battery charging and power management.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Powered Wi-Fi Controlled Robotic Car with OLED Display and Ultrasonic Sensor
Image of playbot: A project utilizing 4066 in a practical application
This circuit is a battery-powered system featuring an ESP32 microcontroller that controls an OLED display, a motor driver for two hobby motors, an ultrasonic sensor for distance measurement, and a DFPlayer Mini for audio output through a loudspeaker. The TP4056 module manages battery charging, and a step-up boost converter provides a stable 5V supply to the components.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Battery-Powered Multi-Sensor System
Image of Dive sense: A project utilizing 4066 in a practical application
This circuit consists of a TP4056 module connected to a 3.7V LiPo battery, providing a charging interface for the battery. The TP4056 manages the charging process by connecting its B+ and B- pins to the battery's positive and ground terminals, respectively.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with 4066

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of women safety: A project utilizing 4066 in a practical application
Battery-Powered Emergency Alert System with NUCLEO-F072RB, SIM800L, and GPS NEO 6M
This circuit is an emergency alert system that uses a NUCLEO-F072RB microcontroller to send SMS alerts and make calls via a SIM800L GSM module, while obtaining location data from a GPS NEO 6M module. The system is powered by a Li-ion battery and includes a TP4056 module for battery charging and protection, with a rocker switch to control power to the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of RaahMitra - Smart Helmet: A project utilizing 4066 in a practical application
Battery-Powered IoT Tracker with NodeMCU ESP8266, GPS, and GSM
This circuit is a multi-sensor data acquisition system powered by a Li-ion battery and managed by a NodeMCU ESP8266 microcontroller. It integrates various sensors including a GPS module, an accelerometer, a gyroscope, and a vibration sensor, and communicates data via a SIM800L GSM module. The TP4056 module is used for battery charging and power management.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of playbot: A project utilizing 4066 in a practical application
ESP32-Powered Wi-Fi Controlled Robotic Car with OLED Display and Ultrasonic Sensor
This circuit is a battery-powered system featuring an ESP32 microcontroller that controls an OLED display, a motor driver for two hobby motors, an ultrasonic sensor for distance measurement, and a DFPlayer Mini for audio output through a loudspeaker. The TP4056 module manages battery charging, and a step-up boost converter provides a stable 5V supply to the components.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Dive sense: A project utilizing 4066 in a practical application
ESP32-Based Battery-Powered Multi-Sensor System
This circuit consists of a TP4056 module connected to a 3.7V LiPo battery, providing a charging interface for the battery. The TP4056 manages the charging process by connecting its B+ and B- pins to the battery's positive and ground terminals, respectively.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Analog and digital signal switching
  • Signal modulation/demodulation
  • Multiplexing for data acquisition systems
  • Audio signal routing
  • Function generator output switching
  • Communication circuits

Technical Specifications

The CD4066 consists of four independent bilateral switches. Each switch is a single-pole, single-throw (SPST) device that can conduct current in either direction when closed.

Key Technical Details

  • Supply Voltage (V_DD): 3V to 18V
  • Control Voltage (V_CTL): V_SS to V_DD
  • Peak-to-Peak Analog Signal (V_PP): V_SS to V_DD
  • On-State Resistance (R_ON): 100 Ohms typical at V_DD = 10V, V_CTL = 5V
  • Off-State Leakage Current (I_OFF): ±100nA at V_DD = 10V
  • Switching Time (t_ON / t_OFF): 100ns typical at V_DD = 10V

Pin Configuration and Descriptions

Pin Number Name Description
1 IN/OUT 1 Input/Output for Switch 1
2 IN/OUT 1 Input/Output for Switch 1
3 Control 1 Control Input for Switch 1
4 V_SS Ground (0V)
5 Control 2 Control Input for Switch 2
6 IN/OUT 2 Input/Output for Switch 2
7 IN/OUT 2 Input/Output for Switch 2
8 V_DD Positive Supply Voltage
9 IN/OUT 3 Input/Output for Switch 3
10 IN/OUT 3 Input/Output for Switch 3
11 Control 3 Control Input for Switch 3
12 NC No Connection (leave open)
13 Control 4 Control Input for Switch 4
14 IN/OUT 4 Input/Output for Switch 4
15 IN/OUT 4 Input/Output for Switch 4
16 NC No Connection (leave open)

Usage Instructions

How to Use the CD4066 in a Circuit

  1. Power Supply: Connect V_DD (pin 8) to your positive supply voltage and V_SS (pin 4) to ground.
  2. Signal Routing: Connect the analog or digital signal you wish to switch to the IN/OUT pins of the respective switch.
  3. Control Signal: Apply a digital control voltage (V_CTL) to the control pin of the switch you want to activate. The switch conducts when V_CTL is high and is non-conducting when V_CTL is low.

Important Considerations and Best Practices

  • Ensure that the control voltage (V_CTL) is within the specified range to prevent damage.
  • The analog signal voltage should not exceed the supply voltage range.
  • Minimize the length of the control lines to reduce noise pickup.
  • Decouple the power supply with a 0.1µF capacitor close to the V_DD pin to reduce noise.

Example Circuit with Arduino UNO

// Example code to control CD4066 switch with Arduino UNO

const int controlPin1 = 2; // Connect to Control 1 of CD4066

void setup() {
  pinMode(controlPin1, OUTPUT);
}

void switchOn() {
  digitalWrite(controlPin1, HIGH); // Turns on switch 1
}

void switchOff() {
  digitalWrite(controlPin1, LOW); // Turns off switch 1
}

void loop() {
  switchOn();  // Activate the switch
  delay(1000); // Wait for 1 second
  switchOff(); // Deactivate the switch
  delay(1000); // Wait for 1 second
}

Troubleshooting and FAQs

Common Issues

  • Switch not operating: Ensure that the control voltage is applied correctly and within the specified range.
  • Signal distortion: Check if the analog signal voltage exceeds the supply voltage or if there is a high on-state resistance due to a low supply voltage.
  • Unexpected signal paths: Verify that no pins are shorted and that the control pins are not floating.

Solutions and Tips

  • If the switch does not operate, check the connections and measure the control voltage.
  • For signal distortion, ensure that the supply voltage is adequate and that the signal voltage is within the allowed range.
  • Prevent unexpected signal paths by ensuring that all control pins are either driven high or low, not left floating.

FAQs

Q: Can the CD4066 be used with digital signals? A: Yes, the CD4066 can switch digital signals as well as analog signals.

Q: What is the maximum frequency the CD4066 can handle? A: The maximum frequency depends on the signal characteristics and the supply voltage but is typically in the MHz range.

Q: Can I use a single control voltage for all switches? A: Yes, a single control voltage can be used to control multiple switches if they need to be switched simultaneously.

Q: Is there a power-on sequence required for the CD4066? A: No specific power-on sequence is required, but it is good practice to ensure that the control pins are in a known state before the supply voltage is applied.