You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_sections/_guide-primaries/getting-started/bluepad.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,10 @@ It is highly recommended that you map autonomous sensors modes (line, color, dis
18
18
19
19
See [BluePad32's official docs](https://bluepad32.readthedocs.io/en/latest/FAQ/#:~:text=true%3B%0A%7D-,Using%20allowlist%20commands%20from%20the%20USB%20console,%C2%B6,-Note) if you'd like to see other features.
20
20
21
-
22
21
First you will need to find out what your controller's Bluetooth address is.
22
+
{: .highlight}
23
+
Note that your controller will likely have the address already labeled on it for ease of use, so you can easily jump to Step 4
24
+
{: .callout-blue}
23
25
1. Plug in your ESP32 and flash it with the starter code
24
26
1. Open the serial monitor
25
27
1. You should see your controller address as a string of octets (something like `98:B6:E1:7C:C3:95`) in the serial monitor while trying to connect your controller (press and hold power button on controller until lights slowly and then rapidly move to put it in pairing mode):
Copy file name to clipboardExpand all lines: docs/_sections/_guide-primaries/sensors-and-actuators/line-sensors.md
+14-3Lines changed: 14 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,16 +9,29 @@ nav_order: 4
9
9
# Line Sensor
10
10
A necessary component for any challenge that requires your robot to follow a line. This one is the QTR-8A Reflectance Sensor Array and uses IR transmitters and receivers on it to detect lines.
The line sensor is made up of an array of 8 IR LED/phototransistor pairs, each take an analog reflectance reading by timing how long it takes the output voltage to decay due to the phototransistor. By pointing the line sensor IR LEDs/phototransistors at the line, the robot is able to tell where the dark line of tape is by reading the output voltage of each phototransistor
14
24
15
25
This side of the sensor will be facing the floor to detect the line:
You do NOT have to use all 8 of the LED/phototransistor pairs — You can leave the ones you do not want to use disconnected from the ESP32.
29
+
Keep in mind that the QTR line sensor has two 5V pins that are connected to each other! They are identical in function besides being in a different location
20
30
{: .callout-blue}
21
31
32
+
TODO decide if we want to make them use the LEDON pin
0 commit comments