Skip to content

Commit

Permalink
fix lab2 wiring table
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxsonp committed Sep 7, 2023
1 parent 754742a commit 7feaf81
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions book/labs/2_determine_heart_rate/lab2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -319,17 +319,17 @@
"source": [
"### Wiring it up\n",
"\n",
"We have the computer talking to the microcontroller, now we just need the Pulse Sensor talking to the microcontroller. To do this, we will use a \"bread board\". The name \"bread board\" comes from the old days of electronics when people would prototype their projects by nailing them to a cutting board. With a modern bread board, you don't need nails.\n",
"We have the computer talking to the microcontroller, now we just need the Heart Rate Sensor talking to the microcontroller. To do this, we will use a \"bread board\". The name \"bread board\" comes from the old days of electronics when people would prototype their projects by nailing them to a cutting board. With a modern bread board, you don't need nails.\n",
"\n",
"By inserting the entire Pico into your bread board, we can easily connect electrical wires to each of the pins of the Pico. First, **disconnect the Pico from your computer** and plug it into the bread board so that the USB plug is at the end of the bread board.\n",
"\n",
"Next, inspect the data sheet for the Pico ([pico_datasheet.pdf](https://datasheets.raspberrypi.com/pico/pico-datasheet.pdf) - also save this PDF in the main folder you're using since it'll continue to be handy throughout this course). Specifically, look for figure 2 on page 4. Then use the following table to make all the correct connections. \n",
"| OLED | Pico |\n",
"| Pico | MAX30102 Sensor |\n",
"|------|------|\n",
"| GND | GND |\n",
"| VCC | 3V3(OUT) |\n",
"| SCL | I2C0 SCL or I2C1 SCL |\n",
"| SDA | I2C0 SDA or I2C1 SDA |\n",
"| 3V3(OUT) | VIN |\n",
"| I2C0 SDA _(Pin 1)_ | SDA |\n",
"| I2C0 SCL _(Pin 2)_ | SCL |\n",
"\n",
"We have also provided some reference pictures below, but we encourage you to mainly rely on the table above, rather than the pictures. Ask a TA or a classmate if you have questions about the wiring. \n",
"\n",
Expand Down

0 comments on commit 7feaf81

Please sign in to comment.