Use this short setup lesson before Exercise A when students will later control sketches over a TTL Bluetooth serial module.
- Confirm the Bluetooth module pairs and exchanges characters at 9600 baud.
- Prove that the same serial commands work over USB Serial and Bluetooth.
- Avoid confusing upload failures caused by leaving the module on pins 0/1.
Use extras/basic-bluetooth-led.
- Power the Arduino from USB while configuring and testing.
- Wire the Bluetooth module
TXto ArduinoRX(pin 0) and moduleRXto ArduinoTX(pin 1) only after upload succeeds. - Share ground between the module and Arduino.
- Confirm the module voltage matches the board and module documentation.
- If the module RX pin is 3.3 V logic (common for HC-05/HC-06 class modules), level-shift Arduino TX before connecting. See Serial control.
- Disconnect the module from pins 0/1 before every new upload.
- Upload the warm-up sketch with the Bluetooth module disconnected from pins 0/1.
- Open Serial Monitor at 9600 baud and verify LED commands over USB.
- Power down, connect the Bluetooth module with correct voltage/level shifting, pair from the host device, and reconnect serial.
- Send the same characters and confirm identical LED behaviour.
- Disconnect the module before returning to Exercise A uploads.
This warm-up is serial diagnostics only. It does not authorize motor wiring. Keep motor lessons gated behind Hardware safety. Do not drive a 3.3 V RX pin with unshifted 5 V UART.
Continue with Exercise A.