Skip to content

Commit 1f20dca

Browse files
committed
Update README.md
1 parent 5c9c5ea commit 1f20dca

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

README.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
# thorlabs-ldc-arduino
22
* Arduino controller for Thorlabs LDC500.
33
* 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
55
* 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+
*
68

79
# Start Here:
810
1. Clone the repository to your sketchbook folder.
911
2. Connect the BNC connectors:
1012
1. LD REM to pin 13.
1113
2. MOD IN to pin 11.
1214
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
1416
4. Burn it to your Arduino.
1517

1618
# Communication with the Controller:
@@ -28,16 +30,10 @@
2830
* f? -> GET operation fault state (always 0)
2931
* leds? -> GET led status (1: Power on, 7: Laser on)
3032

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-
4133
# Cobolt Laser Documentation
4234
* http://www.cobolt.se/wp-content/uploads/2014/10/Owners-Manual-05-01_140611.pdf
4335
* Look for communication commands.
36+
37+
# Currently used R&C values:
38+
* R=5k3 Ohm
39+
* C=105

0 commit comments

Comments
 (0)