Add Comedi and NI triggering post.
[blog.git] / posts / MultiMode / photodiode.mdwn
1 [[!meta  title="Photodiode signal access"]]
2
3 Relying only on the measured deflection voltage to measure the AFM
4 tip-surface interaction is risky, as the loss of the signal may not be
5 obvious. In order to validate incoming photodiode signals, you should
6 also monitor the total light hitting the photodiode. This is
7 especially true in fluid cell measurements, as bubbles of air or
8 buffer solution can deflect the laser enough to miss the photodiode
9 completely.
10
11 As far as I can tell, the total photodiode voltage is *not* carried on
12 one of the DB-25 lines connecting the [[MultiMode]] to the NanoScope
13 controller (see the MultiMode [[internals]] page). It is displayed on
14 the MultiMode LCD, so I monitored the lines connecting the main board
15 to the LCD board to isolate the total photodiode line (LCD connector
16 2). I build a small connector to tap out that line (despite
17 appearances, none of the huge solder blobs actually short anything out
18 :p).
19
20 TODO: image of connector.
21
22 We sent the tapped line out through Auxilliary D (DB25 line 4), so we
23 could tap it again at out main break-out box. Comparing this signal to
24 the photodiode ground (DB25 line 12), the signal is actually inverted
25 (-7V signal when there's lots of light, 0V when there's none).
26
27 [[!tag tags/hardware]]