Skip to content

Example 03: Multiplexed signal readings

Alexander Spiridonov edited this page Oct 10, 2016 · 21 revisions

Additional documentation for an example supplied with the KeyDetector library that demonstrates how to encode digital signal into single analog line and decode it using library.

About

Parts List

  • Arduino equipped with ATmega328 controller (UNO, Pro, Pro Mini, etc.); Arduino Pro Mini (ATmega328/3.3V/8MHz) was used in the example
  • USB Host Shield compatible with aforementioned Arduino; USB Host Shield for Arduino Pro Mini was used in the example
  • Arduino UNO or compatible
  • Two 10kOhm resistors
  • Four 20kOhm resistors
  • Two 1MOhm resistors
  • Two 100nF capacitors

Multiplex

3-bit DAC

RC Low-pass Filter

Sketch

Demultiplex

Sketch

Complete schematic

Complete breadboard

Run

Clone this wiki locally