This is a basic analog switch. When the control input is high, the X and Y analog inputs are connected. When the control input is low, they are not connected.
Connect X to digital high. Connect a pull-down resistor from Y to ground.
Change the value of the control input. Verify that the inverse of the control input is correct. Verify that the voltage at Y matches.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | Control Input | Inverse of Control | |
1 | |||
2 | |||
3 | |||
4 | |||
5 | |||
6 | |||
7 |
ua | PCB Pin | Internal index | Description |
---|---|---|---|
0 | A4 | 4 | X |
1 | A1 | 1 | Y |