Step 1 of 5
Connect your board
Power on your Beaver Board — the OLED will show a PIN code. Click Connect in the toolbar, choose Connect via Bluetooth, and select your board. If it's your first time, enter the PIN shown on the screen.
The two TCRT5000 line sensors point downward from the board: left sensor on GP4, right sensor on GP5. No extra wiring needed.
The TCRT5000 emits infrared light and measures the reflection. A dark surface absorbs the light (low reflection → true); a white surface reflects it back (false). So line detected on left is true when the left sensor is over a dark line.