A Bluetooth lamp
Section 11: Bluetooth with Robo MakerLesson 11.1 · ⏱ 10 min


- 🔗 connect Bluetooth chooses the Bluetooth device.
- 📤 Bluetooth send sends a letter or a number, and the Arduino reads it and turns the lamp on.
- In the lab a Test Bluetooth device appears under the phone, so you see what your app sends.
📌 Another example: two lamp buttons over Bluetooth
Two buttons: the first sends 1 (on), and the second sends 0 (off).




✍️ Practise
Make the example yourself: put the parts in “🎨 Design”, then the blocks, and tap ▶ Run.
✍️ Practise here in the lesson✖ Close the labor open the lab in a new page ↗
🎯 Challenge yourself
Easy
One button sends the letter A.
👀 Show the solution🙈 Hide the solution




Result: A arrives.
Medium
After connecting the title writes “Connected ✅”.
👀 Show the solution🙈 Hide the solution




Result: Connected ✅
Hard
The slider sends the light's strength (0 to 255).
👀 Show the solution🙈 Hide the solution




Result: 200 arrives.

