Skip to content

Conversation

@aparcar
Copy link
Owner

@aparcar aparcar commented Jul 17, 2025

No description provided.

aparcar added 2 commits July 28, 2025 17:46
Signed-off-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: Paul Spooren <mail@aparcar.org>
@aparcar aparcar changed the title wip: add lab docs docs: add aparcar lab Oct 1, 2025
@@ -0,0 +1,57 @@
# Devices in LeineLab Testlab

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be Aparcar lab, right?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Devices in LeineLab Testlab
# Devices in Aparcar Lab

![](docs/img/labnet_setup.png)

### Conroller

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Conroller
### Controller

Comment on lines +174 to +181
### Requirements

* Coordinator/Exporter (i.e **RaspberryPi 5**)
* PoE switch (i.e. **Zyxel GS1900-8HP**)
* PoE Splitter (12v, 5v, etc.)
* Devices-Under-Test (DUTs)
* Some cables
* A guest wifi

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assumes that all labs use PoE for power control, right?. Maybe it would be nice to have a "Power Control Options" subsection that mentions more approaches. I'm thinking something like this:

Suggested change
### Requirements
* Coordinator/Exporter (i.e **RaspberryPi 5**)
* PoE switch (i.e. **Zyxel GS1900-8HP**)
* PoE Splitter (12v, 5v, etc.)
* Devices-Under-Test (DUTs)
* Some cables
* A guest wifi
### Requirements
#### Core Components (All Labs)
- Coordinator/Exporter host (e.g., Raspberry Pi 5, ThinkPad, etc.)
- Internet access for coordinator (wired or via guest WiFi network)
- Network switch (managed recommended)
- USB-to-serial adapters (one per DUT)
- Devices-Under-Test (DUTs)
- Ethernet cables
#### Power Control Options (multiple approaches depending on your preferences)
**Option A: PoE-based (Recommended for simplicity)**
- PoE-capable managed switch (e.g., Zyxel GS1900-8HP)
- PoE splitters matching DUT voltage requirements (5V, 12V, etc.)
- Labgrid will use `NetworkPowerPort` resource
**Option B: Relay-based (Lower cost, more flexible)**
- Arduino or similar microcontroller (software interface required)
- Relay module (one channel per DUT)
- USB cable (controller to coordinator)
- PDUDaemon software
- Labgrid will use `PDUDaemonPort` resource
**Option C: GPIO-based (Raspberry Pi only)**
- GPIO-controlled relay board
- Labgrid will use GPIO drivers


### Conroller

The controller should be setup via Ansible, which install `labgrid` as well as

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The controller should be setup via Ansible, which install `labgrid` as well as
The controller should be setup via Ansible, which installs `labgrid` as well as

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @aparcar ! I have a question that came to mind while looking at tihis diagram. Each lab has a "Lab Coordinator." How are these coordinators different from the Global Coordinator / what are they needed for? My guess is that the green lab coordinators are only involved in local testing of each lab. Otherwise, the interaction is directly between the global coordinator and each lab's exporter.. is this right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants