Skip to content

Commit f25b7da

Browse files
committed
Documentation initial shareholder update w/ testing
1 parent c2665cb commit f25b7da

File tree

1 file changed

+23
-25
lines changed
  • content/hardware/02.uno/boards/uno-q/tutorials/07.debian-guide

1 file changed

+23
-25
lines changed

content/hardware/02.uno/boards/uno-q/tutorials/07.debian-guide/content.md

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ ls -a
173173
ls -lah
174174
```
175175

176+
![UNO Q Architecture](assets/debian-architecture.png)
177+
176178
When you run `ls -lah`, you will see output similar to this:
177179

178180
```
@@ -646,28 +648,21 @@ ls /dev/video*
646648
# Result: /dev/video0 /dev/video1
647649
```
648650

649-
To test your camera from the command line, you can use `fswebcam`, a simple tool for capturing images.
651+
To test and use USB cameras on the UNO Q, we can install and use **Cheese**, a user-friendly camera application with a graphical interface. Install it with `sudo apt install cheese` and launch it with the `cheese` command.
650652

651-
After installing it with `sudo apt install fswebcam`, you can capture a test image using `fswebcam -r 1280x720 --no-banner test.jpg`, which saves a 720p image to the current directory without adding timestamp banners.
652-
653-
```bash
654-
# Install fswebcam
655-
sudo apt install fswebcam
656-
```
653+
This opens a window showing your camera feed with options to take photos or record videos, making it easy to test camera functionality without writing code. Cheese automatically detects and configures your camera, handling all the technical details in the background.
657654

658655
```bash
659-
# Capture image
660-
fswebcam -r 1280x720 --no-banner test.jpg
656+
sudo apt install cheese
657+
cheese
658+
# Opens camera application
661659
```
662660

663-
For a more user-friendly experience with a graphical interface, Cheese is an excellent camera application. Install it with `sudo apt install cheese` and launch it with the `cheese` command.
664-
665-
This opens a window showing your camera feed with options to take photos or record videos, making it easy to test camera functionality without writing code.
661+
For programmatic camera access in your projects, Python libraries like OpenCV (`python3-opencv`) provide camera control and image processing capabilities, which integrate well with Arduino App Lab Python scripts.
666662

667663
```bash
668-
sudo apt install cheese
669-
cheese
670-
# Opens camera application
664+
# Install OpenCV for Python (optional, for development)
665+
sudo apt install python3-opencv
671666
```
672667

673668
### Serial Devices
@@ -713,7 +708,7 @@ This tool allows you to build, start, stop, and manage Apps without using the gr
713708
The `arduino-app-cli` provides commands for controlling the Apps you create in Arduino App Lab. Navigate to your Apps directory to see all available projects:
714709

715710
```bash
716-
cd ~/ArduinoApps
711+
cd ArduinoApps/
717712
```
718713

719714
```bash
@@ -881,12 +876,12 @@ The connection is saved automatically, allowing your board to reconnect after re
881876

882877
```bash
883878
# Connect to network
884-
sudo nmcli device wifi connect "SSID" password "password"
879+
nmcli device wifi connect "SSID" password "password"
885880
```
886881

887882
```bash
888883
# Disconnect from network
889-
sudo nmcli device disconnect wlan0
884+
nmcli device disconnect wlan0
890885
```
891886

892887
```bash
@@ -936,20 +931,23 @@ The `up` and `down` arrow keys let you navigate through previously entered comma
936931

937932
Debian includes documentation for nearly every command through the manual system.
938933

939-
Running `man command-name` opens the detailed manual page for any command, complete with explanations of all options, usage examples, and related commands.
934+
Running `man <command-name>` opens the detailed manual page for any command, complete with explanations of all options, usage examples, and related commands.
940935

941936
For example, `man ls` shows everything about the ls command. For quicker reference, most commands support a `--help` flag, such as`ls --help`, which displays a summary of options directly in the terminal.
942937

943938
```bash
944939
# Show command manual
945-
man command-name
946-
# Example: man ls
940+
man <command-name>
941+
```
942+
943+
```bash
944+
man ls
947945
```
948946

949947
```bash
950948
# Show brief help
951-
command-name --help
952-
# Example: ls --help
949+
# <command-name> --help
950+
ls --help
953951
```
954952

955953
### System Logs and Troubleshooting
@@ -964,12 +962,12 @@ The `dmesg | less` command displays kernel boot messages and hardware detection
964962

965963
```bash
966964
# View system log
967-
sudo journalctl -xe
965+
journalctl -xe
968966
```
969967

970968
```bash
971969
# Follow real-time logs
972-
sudo journalctl -f
970+
journalctl -f
973971
```
974972

975973
```bash

0 commit comments

Comments
 (0)