1.0 KiB
1.0 KiB
Technical Information
cpdctrl-gui Software
cpdctrl-gui
is written in python and uses the Qt framework for the graphical user interface.
Most functionality like interaction with the various devices is provided by the cpdctrl
package,
which can be used without the GUI in an ipython shell for advanced or debugging purposes.
Arduino Code
To control the ThorLabs LEDD1B, it is connected to an Arduino Nano, which is connected to the lab PC
via USB. The Arduino must have the correct software loaded in order to communicate with cpdctrl
and the LEDD1B.
- Open the Arduino IDE
- Open the sketch
~/cpd-dev/cpdctrl/arduino-thorlabs-led/led_control/led_control.ino
- Select
COM4
andArduino Nano
and then 'Upload Sketch'
CPD Controller Calibration
TODO This process is not always necessary.
- Set CPD Controller to Manual, Offset=Gold Work Function, Filter off (so you can see what happens immediately), Oscillator to ~2
- Move the micrometer screw close until a signal appears
- Set Automatic offset so that the output is 0V