slowcontrol:apfel_hv_pi
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
slowcontrol:apfel_hv_pi [2021/08/18 09:25] – created himuser | slowcontrol:apfel_hv_pi [2022/01/14 18:44] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ggg | + | ====== APFEL/HV raspberry pi====== |
+ | |||
+ | Stand: 18/8/2021 | ||
+ | |||
+ | === Configuration === | ||
+ | |||
+ | * Start with a raspbian image | ||
+ | * Set up a user with username: '' | ||
+ | * To enable the I2C bus and set the correct frequency, uncomment the following line from ''/ | ||
+ | |||
+ | dtparam=i2c_arm=on | ||
+ | and modify it to | ||
+ | dtparam=i2c_arm=on, | ||
+ | |||
+ | === Software installation === | ||
+ | |||
+ | * Create a directory ''/ | ||
+ | * In that directory clone the following repositories | ||
+ | * '' | ||
+ | * '' | ||
+ | * Compile with '' | ||
+ | * Add the following lines to ''/ | ||
+ | |||
+ | / | ||
+ | / | ||
+ | |||
+ | * Add the following lines to ''/ | ||
+ | |||
+ | HVDIR=$HOME/ | ||
+ | APFELDIR=$HOME/ | ||
+ | |||
+ | alias watch_hv=' | ||
+ | alias start_hv=' | ||
+ | alias watch_apfel=' | ||
+ | alias start_apfel=' | ||
+ | |||
+ | * Reboot the pi to see if everything worked. On startup, the APFEL and HV control programs should be started | ||
+ | |||
+ | |||
+ | === Service scripts === | ||
+ | |||
+ | * Through the aliases **'' | ||
+ | |||
+ | / | ||
+ | / | ||
+ | |||
+ | * The servers can be killed and restarted through the aliases **'' | ||
+ | * Without arguments, the scripts check if there are running server processes and if so exit with an output like: | ||
+ | |||
+ | n. of server processess: 2 | ||
+ | n. of watch processess: 2 | ||
+ | processes running, kill first | ||
+ | |||
+ | * To kill the processes, call the aliases with the argument '' | ||
+ | * **Only for '' | ||
+ | |||
+ |
slowcontrol/apfel_hv_pi.1629278748.txt.gz · Last modified: 2022/01/14 18:44 (external edit)