# Adafruit ADG729 Dual 1-to-4 Analog Matrix Switch

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/129/308/medium800/adafruit_products_5932-03.jpg?1712763869)

Analog switches are a solid state alternative to relays, when you want a smaller, lower-power technology that won't wear out mechanically. And, as the name implies, you can use the **Adafruit ADG729 Dual 1-to-4 Analog Matrix Switches** to connect between two sets of four analog signals, much like 8 mechanical switches. These chips tend to be tiny surface mount parts, so this breakout will let anyone use the ADG729 switch for signals up to 5V, without fiddly soldering.

![](https://cdn-learn.adafruit.com/assets/assets/000/129/309/medium800/adafruit_products_5932-01.jpg?1712763938)

The ADG729 uses I2C to select which of the 8 channels switches to turn on or off. Four channels connect to the DA analog pin, and the other four channels connect to the DB analog pin. Note that unlike digital switches and multiplexers, these are not 'input' and 'output' because the signal is bidirectional. You could have the DA or DB signal be an input to 4 outputs, or the 4 inputs to one output.

![](https://cdn-learn.adafruit.com/assets/assets/000/129/310/medium800/adafruit_products_5932-02.jpg?1712763987)

Also, the ADG729 isn't really a 'selecting multiplexer', **it's a matrix switch with 8 independent switches**. That means that yes, you could treat it like an DP4T where you select which signal is routed to the D pin, you can also turn on multiple switches to 'merge' the signals together. [If you want all 8 signals to be able to route to a single pin, check out the ADG728](https://www.adafruit.com/product/5899).

Unlike a relay or mechanical switch, analog switches don't wear out, and the switch time is near instant, about 100nS. The ADG729 chip also guarantees break-before-make so the deselected switches will open before selected switches close.

![](https://cdn-learn.adafruit.com/assets/assets/000/129/311/medium800/adafruit_products_5932-00.jpg?1712764036)

However, there's a few things to watch out for:

- **The VIN power pin** (the red wire if using a STEMMA QT cable) **must as high as the highest analog voltages you want to switch**. That means if the analog signals are no more than 5VDC, the V+ pin must be higher than 5V. You cannot power this pin with 3.3V and switch 5V signals.
- **It cannot switch signals below ground**. No negative voltages can be applied to the Switch or DA/DB pins!
- **Analog switches are for signals, not power!** Since this is not a mechanical switch, the signals pass through circuitry that is not designed to source or sink current. This is great for analog signal voltages, and is not good for providing more than a few mA of current.

In addition to the 8 switch S pins and the two D pins that can be switched to, there are also two I2C address pins so you can change the default address from 0x44 up to 0x47.

![](https://cdn-learn.adafruit.com/assets/assets/000/129/312/medium800/adafruit_products_5932-00.jpeg?1712764090)

To get you going fast, we spun up a custom-made PCB in the [**STEMMA QT** form factor](https://www.adafruit.com/?q=stemma%20qt%20sensor "STEMMA QT form factor"), making it easy to interface with. The [STEMMA QT connectors](https://learn.adafruit.com/introducing-adafruit-stemma-qt/what-is-stemma-qt) on either side are compatible with the [SparkFun Qwiic](https://www.sparkfun.com/qwiic) I2C connectors. This allows you to make solderless connections between your development board and the ADG or to chain it with a wide range of other sensors and accessories using a [**compatible cable**](https://www.adafruit.com/?q=stemma%20qt%20cable).

- [Next Page](https://learn.adafruit.com/adafruit-adg729-dual-1-to-4-analog-matrix-switch/pinouts.md)

## Primary Products

### Adafruit ADG729 Dual 1-to-4 Analog Matrix Switch

[Adafruit ADG729 Dual 1-to-4 Analog Matrix Switch](https://www.adafruit.com/product/5932)
Analog switches are a solid state alternative to relays, when you want a smaller, lower-power technology that won't wear out mechanically. And, as the name implies, you can use the&nbsp; **Adafruit ADG729 Dual 1-to-4 Analog Matrix Switches** to connect between two sets...

Out of Stock
[Buy Now](https://www.adafruit.com/product/5932)
[Related Guides to the Product](https://learn.adafruit.com/products/5932/guides)

## Featured Products

### STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long

[STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long](https://www.adafruit.com/product/4210)
This 4-wire cable is a little over 100mm / 4" long and fitted with JST-SH female 4-pin connectors on both ends. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/4210)
[Related Guides to the Product](https://learn.adafruit.com/products/4210/guides)
### STEMMA QT / Qwiic JST SH 4-Pin Cable - 50mm Long

[STEMMA QT / Qwiic JST SH 4-Pin Cable - 50mm Long](https://www.adafruit.com/product/4399)
This 4-wire cable is&nbsp;50mm / 1.9" long and fitted with JST SH female 4-pin connectors on both ends. Compared with the chunkier JST PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/4399)
[Related Guides to the Product](https://learn.adafruit.com/products/4399/guides)
### STEMMA QT / Qwiic JST SH 4-pin Cable with Premium Female Sockets

[STEMMA QT / Qwiic JST SH 4-pin Cable with Premium Female Sockets](https://www.adafruit.com/product/4397)
This 4-wire cable is a little over 150mm / 6" long and fitted with JST-SH female 4-pin connectors on one end and premium female headers on the other. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and...

In Stock
[Buy Now](https://www.adafruit.com/product/4397)
[Related Guides to the Product](https://learn.adafruit.com/products/4397/guides)
### STEMMA QT / Qwiic JST SH 4-pin to Premium Male Headers Cable

[STEMMA QT / Qwiic JST SH 4-pin to Premium Male Headers Cable](https://www.adafruit.com/product/4209)
This 4-wire cable is a little over 150mm / 6" long and fitted with JST-SH female 4-pin connectors on one end and premium Dupont male headers on the other. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert...

In Stock
[Buy Now](https://www.adafruit.com/product/4209)
[Related Guides to the Product](https://learn.adafruit.com/products/4209/guides)
### JST SH 4-pin Cable with Alligator Clips - STEMMA QT / Qwiic

[JST SH 4-pin Cable with Alligator Clips - STEMMA QT / Qwiic](https://www.adafruit.com/product/4398)
This cable will make it super easy to use our plug-and-play STEMMA QT boards with boards like Circuit Playground. On one end you get a Qwiic / STEMMA QT connector (technically known as a JST SH 4-pin plug)&nbsp; into 4 individual wires with grippy alligator clips. We're carrying these to...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4398)
[Related Guides to the Product](https://learn.adafruit.com/products/4398/guides)

## Related Guides

- [CircuitPython 101: Working with Lists, Iterators and Generators](https://learn.adafruit.com/circuitpython-101-list-and-things-iterators-generators.md)
- [Adafruit DACx578 - 8 x Channel I2C DAC](https://learn.adafruit.com/adafruit-dac7578-8-x-channel-12-bit-i2c-dac.md)
- [ESP32-S3 BLE RS-232 Controller](https://learn.adafruit.com/esp32-s3-ble-rs232-controller.md)
- [Knobby Sequencer](https://learn.adafruit.com/knobby-sequencer.md)
- [Proximity Based Lighting](https://learn.adafruit.com/proximity-based-lighting.md)
- [Adafruit Metro RP2350](https://learn.adafruit.com/adafruit-metro-rp2350.md)
- [Adafruit MCP3421 18-Bit ADC](https://learn.adafruit.com/adafruit-mcp3421-18-bit-adc.md)
- [Bluefruit Luminary Lanterns with Capacitive Touch](https://learn.adafruit.com/bluefruit-luminary-lanterns-with-capacitive-touch.md)
- [Disconnected CO2 Data Logger](https://learn.adafruit.com/disconnected-co2-data-logger.md)
- [NeoPixel Sprite Weather Display](https://learn.adafruit.com/neopixel-sprite-weather-display.md)
- [Tombstone Matrix Portal](https://learn.adafruit.com/tombstone-matrix-portal.md)
- [Pinball Controller for iPad](https://learn.adafruit.com/pinball-controll-ipad.md)
- [Bluetooth Temperature & Humidity Sensor](https://learn.adafruit.com/bluetooth-temperature-and-humidity-sensor.md)
- [Adafruit VS1053 MP3/AAC/Ogg/MIDI/WAV Codec Breakout Tutorial](https://learn.adafruit.com/adafruit-vs1053-mp3-aac-ogg-midi-wav-play-and-record-codec-tutorial.md)
- [Adafruit PMSA003I Air Quality Breakout](https://learn.adafruit.com/pmsa003i.md)
