We bought a OSRAM 450nm laser diode from ebay, and installed it into a TCLDM9 head paired with an LDC500 driver. The old problem came up, that the laser driver is super, but it cannot communicate with the PC. I grabbed these images from the internet, to describe the problem:
Only two BNC connectors, one for setting laser current, the other is for checking the laser current.
The custom shield had to be updated:
- A BNC splitter is used to duplicate the MOD In.
- A new BNC connector is added (ADC-CTL OUT)
The arduino and labview code can be found on github.
- Merged the the DHT branch with the master branch: I marked the parts which need to be commented out in case there is no DHT22 sensor an library.
- Updated the code to include a second laser in read only mode. The read commands are incremented by one letter: [j? q? qa?]
- Adjusted the linear coefficients to work better with two lasers.
Labview GUI Changes:
- Labview 2014 version (no changes here).
- Stripped the previous code from the Cobolt subVIs.
- Introduced an initial delay, because there has to be a wait after the arduino is reset.
- Replaced the setPower actuator to a setCurrent actuator.
- Shortened some delays.
As the LDC500 does not have an ON/OFF input, when both controllers are turned on, both of them ar controlled at the same time (BNC slpitter). To overcome this, the user can switch off the LDC205 controller with the ON/OFF button on the GUI and control only the LDC500 driver. Or the user can turn off the LDC500 controller with the power button on the driver and it won’t interfere with the reactivation.
Note: We don’t use the two lasers at the same time, so for us it is not a problem.