It is possible to control the device from the Serial over USB. You may use for example
screen in a bash, but the easiest is probably to use the Arduino program.
Indeed the spectrophotometer appears as a ‘Lilipad Arduino USB’. It is critical to chose the right board to program. Indeed the spectro contains an Atmega 32U4 at 8MHz.
9600in the bottom of the screen
You may now control the spectrophotometer from the keyboard. To see the available commands just enter
h + Enter.
s will show you the current settings.
|A||0||Transmission sample color 1|
|B||1||Transmission sample color 2|
|C||2||Transmission sample color 3|
|D||3||Transmission sample color 4|
|E||4||Transmission sample color 5|
|F||5||Transmission blank color 1|
|G||6||Transmission blank color 2|
|H||7||Transmission blank color 3|
|I||8||Transmission blank color 4|
|J||9||Transmission blank color 5|
|K||10||Delay before acquisition of the blank|
|L||11||Delay before the acquisition of the sample|
|M||12||Delay between each acquisition of a kinetic (after blank and first)|
|N||13||Number of experiments for kinetic (max 240 / (number colors + 1))|
|O||14||Number of the next experiment|
|P||15||Current time waiting|
|Q||16||Number of acquisitions of 100ms that will be taken (default 10). This value could be reduced for fast kinetic|
|R||17||Invert the rotary button direction|
|S||18||Battery voltage (hundredth of volt)|
|T||19||Temperature (hundredth of degree)|
|V||21||Active leds and other. A number between 0 and 63. Each bit represents a function (Red, Green, Blue, UV, Voltage, Temperature). 5 would correspond to Red and Blue (binary combination).|
|X||23||Value of the channel that will be displayed in the result|
You may change the parameters
V from the command line. To check a value just enter the corresponding uppercase letter (ie
N) followed by
Enter. To set a value, enter the new value just after the uppercase letter (ie
N20 to set 20 experiments for kinetic).
To retrieve all the data acquired in a kinetic, the easiest is use the
d command. This will dump all the acquired data. Please beware that the data is stored in the RAM and it therefore lost when the device is not powered.
The dumped data will contain many columns. The first column corresponds to the time (in ms) since the device was turned on, the next columns correspond to all the acquired colors. The first line corresponds to the blank and the next lines to the kinetic. The values for each column are directly proportional to the quantity of light that reaches the detector. If you want to calculate the corresponding absorbance you need to subtract to each value the corresponding value of the first row.
There is a utility that will allows to directly convert and plot the results on-line (using Google Chrome).
This device is also compatible with the project
Arduimon, which can be used by programmers. The default qualifier is expected to be 21569. You may check the current qualifier of your device using the instruction
uq. You may set the qualifier using