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.
Insert the Arduino Nano as far to the right as possible, as shown below. Pin D12 should be in hole D30.
Insert the AD623 chip as shown below. Pin 1, which is marked with a small circular indentation, should be in hole E3.
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.
Insert the six 10kΩ resistors (BROWN, BLACK, ORANGE, GOLD) as shown below:
- From J8 to the negative (blue) rail.
- From J10 to the negative (blue) rail.
- From G7 to G10.
- From D3 to G3.
- From B1 to B4.
- From A2 to A5.
Insert the 1kΩ resistor (BROWN, BLACK, RED, GOLD) between E12 and F13:
Insert the 100kΩ resistor (BROWN, BLACK, YELLOW, GOLD) between C7 and C12:
Insert the 220uF capacitor with the negative leg in H12 and the positive leg in H13. The negative leg is marked with the stripe.
Insert the three short orange wires as shown below:
- From I1 to I6.
- From H6 to H8.
- From I8 to I9.
Insert the two short blue wires as shown below:
- From G5 to D9.
- From B8 to B12.
Insert the four short black wires as shown below:
- From A6 to A10.
- From D10 to F12.
- From J12 to the negative (blue) rail.
- From J17 to the negative (blue) rail.
Insert the three short red wires as shown below:
- From J4 to the positive (red) rail.
- From J7 to the positive (red) rail.
- From J19 to the positive (red) rail.
Finally, connect the longer blue wire (10cm approx) from D7 to I27.