Controls | Settings |
---|---|
![]() |
![]() |
This control unit is based on the Raspberry Pi with AD converter and relays. Main purpose of the unit is to control parameters and log signals.
Experimental parameters:
- temperature
- current
- pressure
- others
In our project, we have an experimental device where we want to measure several signals, plus to implement a feed-back control.
Control unit box:
Front view | Back view |
---|---|
![]() |
![]() |
- Raspberry Pi 3 Model B
- ADC (Analog to Digital Convertor), 16 bit 32 channel: I2C アナログ入力ボード AIO-32/0RA-IRC
- solid-state relay: Celduc SO842074
- halogen lamp as a heating element: Panasonic JCD100V300WCG
- 7'' touch screen as indicator and input device: EVICIV B07PY5XND3
Make sure that GPIO
pins are enabled:
sudo pigpiod
To start the program cd ~/path/to/controlunit
pyton -m controlunit.main
- pyqtgraph
- numpy
- scipy
- matplotlib
- pandas
- python3-smbus
- RPi.GPIO
pyqtgraph
requires either pyqt5 or pyside. To install pyqt5, use apt-get
:
sudo apt-get update
sudo apt-get install qt5-default pyqt5-dev pyqt5-dev-tools
RPi.GPIO:
sudo apt-get update
sudo apt-get install rpi.gpio
python3-smbus:
python3 -m pip install smbus --user
or
sudo apt-get install python3-smbus