BioSlam (biopotential version)

Introduction

Download the zip archive of the BioSlam Scope application here and extract the entire contents into the folder C:\Temp\

BioSlam Arduino Code

//
// Simple Arduino Oscilloscope
// Written by Ted Burke
// Last updated 12-May-2016
//

unsigned long t;
unsigned int v;

void setup()
{
  Serial.begin(115200);
  t = millis();
}

void loop()
{
  // To limit sampling to 1kHz, wait until millisecond counter increments
  while (t == millis());
  t = millis();
  
  v = analogRead(A0);
  Serial.write((unsigned char*)(&v), 2);
}

Circuit Assembly

Place the breadboard on the table in front of you as show below, with row 1 to the left.

20160512_034635

Insert the Arduino Nano as far to the right as possible, as shown below. Pin D12 should be in hole D30.

20160512_034557

Insert the AD623 chip as shown below. Pin 1, which is marked with a small circular indentation, should be in hole E3.

20160512_034510

Insert the LM358 chip as shown below, with pin 1 in hole E7. The end of the chip with the small semi-circular indentation should be in row 7.

20160512_034446

Insert the six 10k‎Ω resistors (BROWN, BLACK, ORANGE, GOLD) as shown below:

  1. From J8 to the negative (blue) rail.
  2. From J10 to the negative (blue) rail.
  3. From G7 to G10.
  4. From D3 to G3.
  5. From B1 to B4.
  6. From A2 to A5.

20160512_034419

Insert the 1k‎Ω resistor (BROWN, BLACK, RED, GOLD) between E12 and F13:

20160512_034347

Insert the 100k‎Ω resistor (BROWN, BLACK, YELLOW, GOLD) between C7 and C12:

20160512_034320

Insert the 220uF capacitor with the negative leg in H12 and the positive leg in H13. The negative leg is marked with the stripe.

20160512_034241

Insert the three short orange wires as shown below:

  1. From I1 to I6.
  2. From H6 to H8.
  3. From I8 to I9.

20160512_034218

Insert the two short blue wires as shown below:

  1. From G5 to D9.
  2. From B8 to B12.

20160512_034149

Insert the four short black wires as shown below:

  1. From A6 to A10.
  2. From D10 to F12.
  3. From J12 to the negative (blue) rail.
  4. From J17 to the negative (blue) rail.

20160512_034122

Insert the three short red wires as shown below:

  1. From J4 to the positive (red) rail.
  2. From J7 to the positive (red) rail.
  3. From J19 to the positive (red) rail.

20160512_034031

Finally, connect the longer blue wire (10cm approx) from D7 to I27.

20160512_034007