CD4052 as a signal input selector (such as serial port signal selection)

The CD4052 is a differential 4-channel digitally controlled analog switch with A and B binary control inputs and an INH input, with low on-resistance and low off-leakage current. A digital signal with an amplitude of 4.5 to 20V can control an analog signal from peak-to-peak to 20V. For example, if VDD=+5V, VSS=0, VEE=-13.5V, the digital signal of 0~5V can control the analog signal of -13.5~4.5V, these switch circuits are used in the whole VDD-VSS and VDD-VEE power supply The range has extremely low static power consumption, regardless of the logic state of the control signal, when the INH input = "1", all channels are cut off. A two-bit binary input signal strobes one of 4 pairs of channels, which can be connected to the output.

  1. CD4052 pin diagram

CD4052 pin diagram

  2. CD4052 pin function description

CD4052 pin function description

  3. CD4052 is equivalent to a double-pole four-throw switch. The specific channel to be connected is determined by the input address code AB. Its true value is as follows
write picture description here

  In the application, you can choose which way to input through the control of A/B by the single-chip microcomputer. For example, you need to select the second input from the four inputs. Assuming that the Y group is used, the single-chip computer only needs to send 1 and B to A and B respectively. 0 to select the road, and then deal with it accordingly.

  [Note] The 6th pin is the enable pin, only when it is 0, will a channel be selected for output.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324804332&siteId=291194637