USB relay box 1
Overview
The "USB Relay Box 1" is a USB controlled switch box with 1 to 4
switching and a straight connection.
It also contains a reference voltage source and a selection between
three different voltage output.
The pcb layout allows for two different configurations.
This box is used for the calibration of ADC, TDC and Fine delay
mezzanines.
Box variants
Currently the box has two PCB configurations and two box front panel alternatives.
PCB configurations
Configuration 1 | Configuration 2 | |
---|---|---|
Not mounted components (see schematics ) |
R5, R7 (R6 mounted) | R6 (R5, R7 mounted) |
Used in | fmc-adc |
fmc-fd fmc-tdc |
Front panel alternatives
Please see Pictures for all pictures.
Alternative 1 | Alternative 2 | |
---|---|---|
Used in |
fmc-adc fmc-fd |
fmc-tdc |
FMC side | ![]() |
![]() |
USB side | ![]() |
![]() |
Production documentation
- Schematics and components placement (pdf file). See Issue 1107
- Gerber/drill files (zip file).
- Bill of material (pdf file). See Issue 1107
- Sources (Altium Designer) in git repository.
Calibration
Software support
The USB relay box is based on a CP2103 chip. But the official Linux driver for this chip doesn't support GPIO. Therefore the driver has been modified to add GPIO support.
Two kernel versions are supported. Each one has a branch in the git repository:
Note:
- The pts works only on Ubuntu 14.04 (32-bit, desktop edition), with kernel 3.13. Likely not on other versions like centos7 and it may be a lot of work to make it compatible to other versions.
- Use the custom cp210x driver, and make sure that the stock Linux one is a) unloaded and b) blacklisted so that it is not loaded automatically when the usb device is plugged in.
Contact
Erik van der Bij - CERN
Matthieu Cattin † - CERN, Designer
Status
Date | Event |
---|---|
13-06-2013 | Project creation from fmc-adc tester box. |
13-08-2014 | Documentation and wiki clean-up. |
09-02-2022 | Request by SOLEIL for a Relay box to test a board where the FMCADC100M is integrated. |
13-06-2022 | Documented how to recalibrate the box's reference voltages |
Matthieu Cattin, Erik van der Bij - 6 July 2022