Skip to content

Commit c9d6efb

Browse files
authored
Merge pull request #528 from srobo/sr2024
2 parents 3886a26 + ef0a960 commit c9d6efb

File tree

4 files changed

+22
-14
lines changed

4 files changed

+22
-14
lines changed

images/content/kit/kit_assembly.svg

Lines changed: 1 addition & 1 deletion
Loading

kit/batteries/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,11 @@ Do not store a discharged battery for more than a few days without charging it,
8383
Student Robotics provides two different kinds of chargers with our kit, the [iMAX B6](/docs/kit/batteries/imax_b6_charger), and the [HobbyKing HKE4](/docs/kit/batteries/hke4_charger).
8484
You should only use the battery charger provided by Student Robotics to charge the batteries provided in the kit.
8585
For precise instructions on how to charge your batteries with the provided charger, please see the charger specific documentation page.
86+
87+
88+
## Further guidance
89+
90+
Most of the batteries used in the kit come from the manufacturer called Overlander.
91+
Overlander provides [guidance][overlander_guidance] on safe charging and usage of their batteries that we recommend you read.
92+
93+
[overlander_guidance]: https://www.overlander.co.uk/pub/media/datasheets/Fullymax_warning_sheet_Li_Poly_2_.pdf

programming/cheat_sheet.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -202,42 +202,42 @@ for marker in markers:
202202
### Setting the mode of a pin
203203

204204
~~~~~ python
205-
robot.ruggeduino.pins[4].mode = OUTPUT
206-
robot.ruggeduino.pins[4].mode = INPUT
207-
robot.ruggeduino.pins[4].mode = INPUT_PULLUP
205+
robot.arduino.pins[4].mode = OUTPUT
206+
robot.arduino.pins[4].mode = INPUT
207+
robot.arduino.pins[4].mode = INPUT_PULLUP
208208
~~~~~
209209

210210
### Digital Write
211211

212212
You can set the output for a pin of the Arduino:
213213

214214
~~~~~ python
215-
robot.ruggeduino.pins[2].mode = OUTPUT
215+
robot.arduino.pins[2].mode = OUTPUT
216216

217-
robot.ruggeduino.pins[2].digital_write(True)
218-
robot.ruggeduino.pins[2].digital_write(False)
217+
robot.arduino.pins[2].digital_write(True)
218+
robot.arduino.pins[2].digital_write(False)
219219
~~~~~
220220

221221
### Digital Read
222222

223223
You can read a digital value from the pins of the Arduino:
224224

225225
~~~~~ python
226-
robot.ruggeduino.pins[3].mode = INPUT
227-
robot.ruggeduino.pins[5].mode = INPUT_PULLUP
226+
robot.arduino.pins[3].mode = INPUT
227+
robot.arduino.pins[5].mode = INPUT_PULLUP
228228

229-
value = robot.ruggeduino.pins[3].digital_read()
230-
value = robot.ruggeduino.pins[5].digital_read()
229+
value = robot.arduino.pins[3].digital_read()
230+
value = robot.arduino.pins[5].digital_read()
231231
~~~~~
232232

233233
### Analogue Read
234234

235235
You can read an analogue value from the analogue pins of the Arduino:
236236

237237
~~~~~ python
238-
robot.ruggeduino.pins[A0].mode = INPUT
238+
robot.arduino.pins[A0].mode = INPUT
239239

240-
value = robot.ruggeduino.pins[A0].analogue_read()
240+
value = robot.arduino.pins[A0].analog_read()
241241
~~~~~
242242

243243
## Metadata

resources/kit/arduino-fw.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <Arduino.h>
22

3-
// We communicate with the ruggeduino at 115200 baud.
3+
// We communicate with the Arduino at 115200 baud.
44
#define SERIAL_BAUD 115200
55

66
#define FW_VER 1

0 commit comments

Comments
 (0)