How to…

You can measure from virtually any sensor such as pressure, light intensity or temperature. As a special feature you can measure the tiny biosignals such as ECG, EMG, EEG without any additional hardware. Here we show you how to do it.

Biosignals


Here we show you how to record ECG, EMG and point you to our sister web page which teaches you in depth how to record and analyse bio signals.

To record the data we recommend AttysScope which is our general purpose oscilloscope program so that you learn how to record the signals. Once you know the inner workings of the biosignals you can then switch to AttysECG and AttysEEG which are pre-configured to make your life easier.

BTW: You can order the cables and electrodes in our shop!

One ECG lead: Einthoven II


  • right shoulder/arm: “-“
  • left hip/leg: “+”
  • right hip/leg: “GND”

This is the most popular configuration which usually has the strongest signal.

Two Einthoven channels with shared electrode

The Attys can also be configured to record in the classical Einthoven fashion where one of the electrodes is shared between two channels. Select the special Einthoven/ECG mode in AttysScope (Android) or in the JAVA/C++ API for both channels. In this configuration the two “+” inputs of the Attys are internally connected so that we need to connect only one electrode to “+”. The 2nd Channel measures then between the “+” electrode and “GND” so that the GND electrode has two roles: it provides the “-” electrode of channel two and acts as the overall reference.

Einthoven II,III


Channel 1 records Einthoven II and Channel 2 of the Attys Einthoven III:

  • right shoulder: “-” connected to Channel 1
  • left shoulder: “GND”
  • left leg: “+” connected to Channel 1.

Einthoven I,II

Channel 1 records (the inverted) Einthoven II and Channel 2 of the Attys (the inverted) Einthoven I:

  • connect the right shoulder to “+” of Channel 1
  • the left shoulder to “GND”
  • and the left leg to “-” of Channel 1

Both channels need to be inverted to see the traces with the right polarity.

Wonder why not 3 Einthoven channels? Because you can just calculate the first Einthoven lead: I=II-III.

Two independent biosignal channels (ECG, EMG, EEG, EOG, …)

If you want to record two independent channels then use the differential inputs of channel 1 as before and in addition channel 2 is measured between the ch2 terminal and GND.

  • Channel 1: “+” against “-“
  • Channel 2: “+” against “GND”

For example for Holter style recordings one might want to place the channel 2 electrodes on the chest while channel 1 records Einthoven II.

EMG


Muscle activity can be measured by placing the +/- electrodes right over the muscles and the reference electrode (GND) close by.

EEG

This is a pretty complex topic — mainly because it’s hard to distinguish between brain activity and artefacts. To get started check out our biosignal pages.

How to process your data

Here is a standard workflow:

  1. Record your ECG, EEG or EMG with AttysScope and then
  2. post-process the data with OCTAVE or MATLAB(tm).

This plot below was created with OCTAVE:


Click here to download the raw data files, OCTAVE scripts to filter the ECG, plots and filtered signals to get started..

Check out our software section for more info.

Learn in depth about biosignals

If you want to learn in depth how to record different biosignals such as ECG, EEG and EMG then check out the biosignal howto pages where we explain with YouTube videos how to record ECG, EMG, EEG and other modalities. All experiments on this web page can be done with the Attys.

Temperature

Thermocouple

Thermocouples can be used to measure temperatures as high as 2000 degrees Celsius.

Thermocouples generate a small voltage which is proportional to the measured temperature. In our store you can buy a K type thermocouple which gives us 39uV/C. This voltage is called Seebeck voltage and is generated when two different kind of wires are welded together. The trouble is that these two wires end up inside of a plug containing probably two copper clamps which will give us an additional voltage. People call this place “cold junction” where this unwanted voltage is generated. The cold junction reduces the voltage measured which we can be written down as a simple formula:

V_out = a (T_h – T_c)

where a is the so called Seebeck coefficient which is 39uV/C for our K type sensors and T_h and T_c are our hot and and cold junction temperatures. In other words, T_h is the actual temperature we would like to measure whereas T_c is the temperature of our socket at the pre-amplifier. We see that we subtract the temperature of the cold junction from the temperature from the hot junction. With a bit of school math we arrive at our formula which converts the voltage to temperature:

T_h = V_out / a + T_c

The Attys can measure temperature as well, for example on its 2nd channel while measuring the temperature on the 1st one.

You can also measure temperature with the help of an NTC resistor. This is a resistor which decreases its resistance when heated up. The Attys can also measure resistance so that also an NTC can be connected to it — without any additional components.

LM35

The temperature sensor LM35 is a classic under the temperature sensors. It is housed in a standard plastic transistor package and just needs about 5V supply voltage, for example three 1.5V battery cells. The LM35 outputs 10mV/C so that the Attys can easily cover temperatures from zero degrees up to 100C.

To turn it into a temperature probe just solder a ribbon cable on the sensor and then put some epoxy over the pins. If the cable is quite long the LM35 tends to oscillate wildly which can be prevented by adding a 2.2K load resistor from its output to GND.

Mechanical strain

This is a piezo sounder which you can find in your noisy greeting cards. There it’s used as a speaker but it can also be used as a sensor. Just connect it to the unipolar input of the Attys and in parallel a 1M resistor. This is the same sensor which has been used in the demo video.

Mechanical pressure

This is a force resistive sensor (FSR) which decreases its resistance when you apply pressure to it. The Attys can measure resistance by sending a small current through the external component so that no external components are required.

Light intensity

The LDR reduces its resistance when light shines on it. With the Attys in resistance measuring mode one can measure light intensity straight away.