By Kevin McAleer, 6 Minutes
Page last updated November 24, 2026

A project is finished when it runs without you. Right now your Q Board only works while App Lab is open and you press Run. In this lesson we make it start by itself the moment the board gets power. This is stage 8 of the Q Board, and there is no new code, only a setting.
Only one App can be the startup App. If you choose another, it replaces the first.
You can also find it in the App’s menu in the Apps list.
You can do the same on the board, in an ADB shell or SSH session (see lesson 10). First find your App’s ID. Your own Apps start with user:. Copy the ID of your Q Board from the list, because it is easy to mistype.
arduino-app-cli app list
Then set it as the default App, using the ID you copied.
arduino-app-cli properties set default <app ID>
And check what is set:
arduino-app-cli properties get default
The board starts that App every time it gets power, with no computer attached. It is not instant, because Linux has to boot first.
flowchart LR
A["Power on"] --> B["Linux boots"]
B --> C["Router starts"]
C --> D["Startup App starts"]
D --> E["Sketch and Python talk"]
The LED matrix shows the boot animation for about 20 to 30 seconds. Your App’s output cannot appear before Python is up, because Python does the drawing in the Q Board. So a quiet matrix for half a minute is normal, not a fault.
With no computer to power the board, give it one of these:
There is a stretch where the microcontroller is awake and Python is not, and Python can also stop later. Decide what the sketch should do on its own in those moments.
You already did this in lesson 8: the sketch kept a default limit, so LED 3 kept working while Python was away. Follow the same habit in your own projects. If you build a robot, its safety stop belongs in the sketch, not in Python.
A headless board has no screen and no App Lab open. Here is how to live with that.
| Question | Answer |
|---|---|
| How do I see it? | Open the web page from lesson 11 at http://<boardname>.local:7000. Or follow the Python output over SSH with arduino-app-cli app logs <app ID> --follow. Or connect App Lab over the network. |
| How do I stop it? | Use Stop in App Lab over the network, or arduino-app-cli app stop <app ID> over SSH. |
| How do I update it? | Edit it in App Lab over the network and press Run. |
Before unplugging a board you care about, run sudo halt over SSH, wait, then unplug it. Lesson 10 explains why.
Teachers: Allow about 30 minutes (our estimate). A board running on its own needs a USB-C 5 V 3 A supply or power bank, and a weaker one can stop it working, so test the supply before the lesson. The App takes a while to appear after power-on because Linux has to boot first, so build waiting time into the plan.
arduino-app-cli properties get default. Does it show the ID you expect from arduino-app-cli app list?Problem: The App does not start at power-on.
Solution: Run arduino-app-cli properties get default and check it is the App you want.
Why: Only one App can be the startup App. If you set another since, it replaced yours.
Problem: It works on USB from my computer but not from a power bank. Solution: Use a supply or power bank that can give 5 V at 3 A. Why: The board needs a USB-C 5 V 3 A supply, and a weaker one cannot run it reliably.
Problem: The web page cannot be reached after I moved to a new network. Solution: Reconnect the board to the new Wi-Fi with App Lab over USB, or use the command-line route in the Wi-Fi setup post. Why: The board only knows the Wi-Fi it was set up with.
Quick quiz 1 of 3
You enable Run at startup for a second App. What happens to the first one?
Quick quiz 2 of 3
The board has just been powered on and the matrix is still showing the boot animation. Why does your App not show anything yet?
Quick quiz 3 of 3
Where should a robot’s safety stop live?
Comments