Skip to content

Commit cd2333a

Browse files
Update board name
1 parent e5b2776 commit cd2333a

16 files changed

+23
-21
lines changed

content/SIK_Project1_CircuitA_Full.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
"\n",
110110
"Select the \"Connect\" button at the bottom right of this screen and a panel is displayed\n",
111111
"\n",
112-
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or *TBD*\n",
112+
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or ***Board CDC (...)***\n",
113113
"\n",
114114
"![Select a Port](images/sik-demo-select-port.png)\n",
115115
"\n",

content/SIK_Project1_CircuitB_Full.ipynb

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
"### Analog Inputs\n",
3333
"So far, we've only dealt with outputs. The RedBoard also has inputs. Both inputs and outputs can be analog or digital. Based on our definition of analog and digital above, that means an [analog input](https://docs.arduino.cc/built-in-examples/analog/AnalogInput/) can sense a wide range of values versus a [digital input](https://docs.arduino.cc/learn/microcontrollers/digital-pins/), which can only sense two states.\n",
3434
"\n",
35-
"You may have noticed some pins labeled **Digital** and some labeled **Analog In** on your RedBoard. There are only six pins that function as analog inputs; they are labeled A0--A5.\n",
35+
"You may have noticed some pins labeled with an \"A\" before the pin number on the bottom left of your RedBoard. These are the only six pins that function as analog inputs; they are labeled A0--A5.\n",
36+
"\n",
37+
" MicroPython also has a built in way for us to easily read values from these analog pins. It is the `ADC` object from the `machine` module. It has a method `read_u16` that gives us a 16-bit unsigned integer number representing the value on the pin (that's where the u16 comes from: *u* for *unsigned* and *16* for *16-bit*). We'll use that to read values from our potentiometer. We'll describe this a bit more in the next circuit.\n",
3638
"\n",
3739
"TODO: Update picture for actual MP_SIK board used (likely RP2350)\n",
3840
"\n",
@@ -141,15 +143,15 @@
141143
"\n",
142144
"Select the \"Connect\" button at the bottom right of this screen and a panel is displayed\n",
143145
"\n",
144-
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or *TBD*\n",
146+
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or ***Board CDC (...)***\n",
145147
"\n",
146148
"![Select a Port](images/sik-demo-select-port.png)\n",
147149
"\n",
148-
"With the RedBoard connected, use the following MicroPython commands to blink the LED. \n",
150+
"With the RedBoard connected, use the following MicroPython commands to read the potentiometer. \n",
149151
"\n",
150152
"### Using MicroPython\n",
151153
"\n",
152-
"The following MicroPython commands are entered to blink the LED on your board. \n",
154+
"The following MicroPython commands are entered to read the potentiometer on your board. \n",
153155
"\n",
154156
"**REMEMBER** To enter a MicroPython command, hold down either the Control (on Windows) or Command (on Mac) key when pressing *Enter*\n",
155157
"\n",
@@ -159,7 +161,7 @@
159161
"\n",
160162
"#### Step 1 - Setup\n",
161163
"\n",
162-
"To blink the LED, we need to enable the board pin **34** (the pin that the LED is connected to in the circuit). \n",
164+
"Like last circuit, to operate the LED, we need to enable the board pin **34** (the pin that the LED is connected to in the circuit). \n",
163165
"\n",
164166
"To do this we **load the Pin definition for the board**"
165167
]
@@ -197,7 +199,7 @@
197199
"id": "c1e6f165",
198200
"metadata": {},
199201
"source": [
200-
"Now we declare our digital pin for the led and our \"ADC\" to read the analog pin for the potentiometer"
202+
"Now we declare our digital pin for the led and our `ADC` to read the analog pin for the potentiometer. We use `Pin.board.A0` becuase our potentiometer is physically connected to \"A0\" (the first analog pin). "
201203
]
202204
},
203205
{

content/SIK_Project1_CircuitC_Full.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
"\n",
127127
"Select the \"Connect\" button at the bottom right of this screen and a panel is displayed\n",
128128
"\n",
129-
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or *TBD*\n",
129+
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or ***Board CDC (...)***\n",
130130
"\n",
131131
"![Select a Port](images/sik-demo-select-port.png)\n",
132132
"\n",

content/SIK_Project1_CircuitD_Full.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
"\n",
162162
"Select the \"Connect\" button at the bottom right of this screen and a panel is displayed\n",
163163
"\n",
164-
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or *TBD*\n",
164+
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or ***Board CDC (...)***\n",
165165
"\n",
166166
"![Select a Port](images/sik-demo-select-port.png)\n",
167167
"\n",

content/SIK_Project2_CircuitA_Full.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"\n",
9898
"Select the \"Connect\" button at the bottom right of this screen and a panel is displayed\n",
9999
"\n",
100-
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or *TBD*\n",
100+
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or ***Board CDC (...)***\n",
101101
"\n",
102102
"![Select a Port](images/sik-demo-select-port.png)\n",
103103
"\n",

content/SIK_Project2_CircuitB_Full.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"\n",
9292
"Select the \"Connect\" button at the bottom right of this screen and a panel is displayed\n",
9393
"\n",
94-
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or *TBD*\n",
94+
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or ***Board CDC (...)***\n",
9595
"\n",
9696
"![Select a Port](images/sik-demo-select-port.png)\n",
9797
"\n",

content/SIK_Project2_CircuitC_Full.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"\n",
9595
"Select the \"Connect\" button at the bottom right of this screen and a panel is displayed\n",
9696
"\n",
97-
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or *TBD*\n",
97+
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or ***Board CDC (...)***\n",
9898
"\n",
9999
"![Select a Port](images/sik-demo-select-port.png)\n",
100100
"\n",

content/SIK_Project3_CircuitA_Full.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
"\n",
263263
"Select the \"Connect\" button at the bottom right of this screen and a panel is displayed\n",
264264
"\n",
265-
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or *TBD*\n",
265+
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or ***Board CDC (...)***\n",
266266
"\n",
267267
"![Select a Port](images/sik-demo-select-port.png)\n",
268268
"\n",

content/SIK_Project3_CircuitB_Full.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
"\n",
169169
"Select the \"Connect\" button at the bottom right of this screen and a panel is displayed\n",
170170
"\n",
171-
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or *TBD*\n",
171+
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or ***Board CDC (...)***\n",
172172
"\n",
173173
"![Select a Port](images/sik-demo-select-port.png)\n",
174174
"\n",

content/SIK_Project3_CircuitC_Full.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
"\n",
116116
"Select the \"Connect\" button at the bottom right of this screen and a panel is displayed\n",
117117
"\n",
118-
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or *TBD*\n",
118+
"Select the \"Connect Device\" Button, and when the selection dialog appears, select the port with that displays ***Board in FS mode (...)*** or ***Board CDC (...)***\n",
119119
"\n",
120120
"![Select a Port](images/sik-demo-select-port.png)\n",
121121
"\n",

0 commit comments

Comments
 (0)