Main

OLSDV 3 Laser Harp

Downloads

Arduino Sketch for making a Laser Harp (not based on a library.

Arduino Library V1.0

ILDA 25 Pin D-Sub MAP

PinFunction
1X+
2Y+
3NC
4Interlock (Connected to Pin 17)
5R+
6G+
7B+
8User1+ (Harp Pos. Bit 0)
9User2+ (Harp Pos. Bit 1)
10User3+ (Harp Pos. Bit 2)
11User4+ (Harp Pos. Bit 3)
12NC
13Shutter
14X-
15Y-
16NC
17Interlock (Connected to Pin 4)
18-20Ground (for color outputs)
21User1- (Harp Enable Input - 0 = Enable
22User2- (Harp Sync/Clk - Lo to Hi means the harp has reached position X indicated by the Harp Pos. Bits 0 to 15)
23NC (User3-)
24NC (User4-)
25Ground

Arduino/AVR Port Map

JmpArduino PinAVR PinDirectionOLSD Function
J3Digital 13PB4 (SCK)OutputSPI Clock to DAC
J3Digital 11PB3 (MOSI)OutputSPI Data to DAC
J3Digital 10PB2 (SS)Output#CS DAC
J3Digital 9PB1Output#LDAC DAC
J3Digital 8PB0Output#CTS on FTI Chip (Optional) *** Not needed for laser harp
J1Digital 7PD7OutputILDA Pin 11 (User4+) - Harp Pos. Bit 3
J1Digital 6PD6OutputILDA Pin 10 (User3+) - Harp Pos. Bit 2
J1Digital 5PD5OutputILDA Pin 8 (User2+) - Harp Pos. Bit 1
J1Digital 4PD4OutputILDA Pin 7 (User1+) - Harp Pos. Bit 0
J1Digital 3PD3OutputILDA Pin 22 (User2-) - Harp Pos. Sync/Clk (sync on positive edge - lo to hi)
J1Digital 2PD2InputILDA Pin 21 (User1-) - Harp Output Enable (0 = Enable - safety feature?)
J2Analog 0PC0OutputRed TTL
J2Analog 1PC1OutputGreen TTL
J2Analog 2PC2OutputBlue TTL
J2Analog 3PC3OutputShutter
J2Analog 4PC4OutputStatus LED (1 == ON)
J2Analog 5PC5InputUser Switch (0 == Pressed)