Presentation is loading. Please wait.

Presentation is loading. Please wait.

Objectives: Lead Switching Circuitry/Control Analog to Digital Converter Write to Computer.

Similar presentations


Presentation on theme: "Objectives: Lead Switching Circuitry/Control Analog to Digital Converter Write to Computer."— Presentation transcript:

1 Objectives: Lead Switching Circuitry/Control Analog to Digital Converter Write to Computer

2 Lead Switching 8 leads to switch between for each op-amp input This means we need to use a 8:1 multiplexer for each op-amp input 6 control bits (3 for each mux) from arduino

3 Controlling Arduino GPIO Use function: pinMode(pin, mode) to set 6 Arduino pins to the output state Use function: digitalWrite(pin, value) to set the mux control pins

4 Analog to Digital Converter 6 Analog Inputs that can be read with: analogRead() Max sampling Rate of approximately 10 kHz Maps 0V – 5V from integer values 0 – 1023 Each lead should be recorded for 10 s (from textbook)

5 Writing to the Computer Use Serial.print() function in Arduino to send the digital values to the computer Using python and the Matplotlib library will allow us to create a program that reads in and plots these values (ecg code can be found online)

6 Overview Analog input: Connect to amplifier output Digital Output: Connect to mux control bits Serial Port: Used for writing data to computer Power: Powers amplifiers


Download ppt "Objectives: Lead Switching Circuitry/Control Analog to Digital Converter Write to Computer."

Similar presentations


Ads by Google