|
1 | 1 | # thorlabs-ldc-arduino |
2 | 2 | * Arduino controller for Thorlabs LDC500. |
3 | 3 | * http://www.thorlabs.de/newgrouppage9.cfm?objectgroup_id=10&pn=LDC205C |
4 | | - * Serial communication and DHT examples are used. |
| 4 | + * Serial communication examples are used |
5 | 5 | * The String->float conversion: http://forum.arduino.cc/index.php?topic=179666.msg1331654#msg1331654 |
| 6 | + * LP Filter: http://sim.okawa-denshi.jp/en/PWMtool.php |
| 7 | + * |
6 | 8 |
|
7 | 9 | # Start Here: |
8 | 10 | 1. Clone the repository to your sketchbook folder. |
9 | 11 | 2. Connect the BNC connectors: |
10 | 12 | 1. LD REM to pin 13. |
11 | 13 | 2. MOD IN to pin 11. |
12 | 14 | 3. CTLOUT to pin a0 |
13 | | - 3. Optionally, connect a DHT22 sensor to pin 5. |
| 15 | + 3. Calculate the Low-pass filter R&C values from here: http://sim.okawa-denshi.jp/en/PWMtool.php |
14 | 16 | 4. Burn it to your Arduino. |
15 | 17 |
|
16 | 18 | # Communication with the Controller: |
|
28 | 30 | * f? -> GET operation fault state (always 0) |
29 | 31 | * leds? -> GET led status (1: Power on, 7: Laser on) |
30 | 32 |
|
31 | | -# DHT Commands: |
32 | | - * d? -> GET humidity & temperature (float; float) |
33 | | - * dh? -> GET humidity (float) |
34 | | - * dt? -> GET temperature (float) |
35 | | - |
36 | | -# DHTlib from |
37 | | - * https://github.com/RobTillaart/Arduino/tree/master/libraries/DHTlib |
38 | | - * http://playground.arduino.cc/Main/LibraryList |
39 | | - * https://learn.adafruit.com/dht/connecting-to-a-dhtxx-sensor |
40 | | - |
41 | 33 | # Cobolt Laser Documentation |
42 | 34 | * http://www.cobolt.se/wp-content/uploads/2014/10/Owners-Manual-05-01_140611.pdf |
43 | 35 | * Look for communication commands. |
| 36 | + |
| 37 | +# Currently used R&C values: |
| 38 | + * R=5k3 Ohm |
| 39 | + * C=105 |
0 commit comments