Skip to content

Commit c48c22e

Browse files
committed
Content update (nearby demo example)
1 parent fa579e6 commit c48c22e

File tree

1 file changed

+11
-4
lines changed
  • content/hardware/05.pro-solutions/solutions-and-kits/stella/tutorials/01.user-manual

1 file changed

+11
-4
lines changed

content/hardware/05.pro-solutions/solutions-and-kits/stella/tutorials/01.user-manual/content.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,10 @@ void loop() {
397397

398398
To upload the sketch to the Arduino Stella, click the **Verify** button to compile the sketch and check for errors, then click the **Upload** button to program the device with the example sketch.
399399

400-
Once the sketch is uploaded, open the Serial Monitor by clicking on the icon in the top right corner of the Arduino IDE. You should see the message `- Nearby interaction app start...` in the IDE's Serial Monitor, followed by three short beeps from the Arduino Stella's buzzer.
400+
Once the sketch is uploaded, open the Serial Monitor by clicking on the icon in the top right corner of the Arduino IDE. You should see the message `- Nearby interaction app start...` in the IDE's Serial Monitor. When a smartphone connects, you'll see `Client connected!` followed by `Session started!` and then real-time distance measurements in millimeters. If no device connects, only the initialization message will be displayed.
401+
402+
![Arduino Stella Serial Monitor showing initial connection and distance measurements](assets/nearbydemo-serial-monitor.png)
403+
401404

402405
#### Try It Yourself
403406

@@ -420,10 +423,14 @@ Install one of these apps on your smartphone and follow these steps:
420423
1. Open the app on your smartphone.
421424
2. Look for a device named `Arduino Stella` in the app's device list.
422425
3. Connect to the device.
423-
4. Once connected, the app will initiate a UWB ranging session, and you'll hear a single beep from the Arduino Stella.
424-
5. Move your phone closer to and further from the Arduino Stella.
426+
4. Once connected, the app will initiate a UWB ranging session
427+
5. Move your phone closer to and further from the Arduino Stella
428+
429+
![Smartphone app displaying UWB connection and real-time distance to Arduino Stella](assets/nearbydemo-smartphone-app.png)
430+
431+
The smartphone app shows the connection status and continuously updates the distance measurement as you move the phone. Both the app and the Serial Monitor display synchronized measurements in millimeters.
425432

426-
You should see the distance measurements updating in real-time both on your smartphone app and in the IDE's Serial Monitor. The distances are shown in millimeters, providing centimeter-level accuracy characteristic of UWB technology. Additionally, the Arduino Stella's LED and buzzer will provide feedback based on the measured distance, with more frequent responses as you get closer to the device.
433+
You should see the distance measurements updating in real-time both on your smartphone app and in the IDE's Serial Monitor. The distances are shown in millimeters, providing centimeter-level accuracy characteristic of UWB technology.
427434

428435
## NearbyDemo Example
429436

0 commit comments

Comments
 (0)