background image

 

OKO Tech DAC40 USB 

1

DAC unit «DAC-40-USB» 

 
 

Manual 

 
 

 

 
 
 

1.

 

Purpose 

 

 

Digital-to-analog converter unit «DAC-40-USB» is intended to provide 

multi-channel voltage output. It is controlled from a personal computer via a USB 
port. Its primary purpose is to drive deformable mirrors produced by OKO 
Technologies.  
 

2.

 

Specifications 

 
 

V 1.0 

V 2.0 

Analog outputs 

40 

40 

Output range 

0 – 5.5 V 

0 – 5.0 V 

Output resolution 

12 bits (4096 levels) 

Range of adjustment of the maximum 
output voltage 

2.5 – 5.5 V 

2.6 – 5.0 V 

Ohmic load, each channel 

100 k

 

100 k

 

Load capacitance, each channel 

500 pF 

500 pF 

Synchronous output for all channels. 
Power is provided via the USB port. 

 

3.

 

General design 

 
«DAC-40-USB» is designed as a PCB with two double-row angle 

connectors BH-20R (male) and a B-type USB connector; it is mounted in a 
compact housing. Pins of the output connectors are labeled according to the 

Содержание DAC-40-USB

Страница 1: ...og outputs 40 40 Output range 0 5 5 V 0 5 0 V Output resolution 12 bits 4096 levels Range of adjustment of the maximum output voltage 2 5 5 5 V 2 6 5 0 V Ohmic load each channel 100 kΩ 100 kΩ Load capacitance each channel 500 pF 500 pF Synchronous output for all channels Power is provided via the USB port 3 General design DAC 40 USB is designed as a PCB with two double row angle connectors BH 20R ...

Страница 2: ...s to the PCB Fig 1 2 one should disconnect upper and lower decks of the housing by simultaneous depression of their side surfaces To close the housing the decks must be pushed vertically one to another till latched Fig 1 DAC 40 USB view from the output connectors side Fig 2 DAC 40 USB view from the USB connector side 3 1 Jumper settings for version 1 0 Fig 3 PCB layout and numbering of jumpers con...

Страница 3: ... Ground 2 3 Ground 3 2 Jumper settings for version 2 0 Fig 4 PCB layout and numbering of jumpers contacts for V 2 0 Jumpers X3 and X4 are mounted on the PCB Fig 4 By connecting contacts 2 and 3 of jumpers X3 and X4 pin 1 of connector X5 channel 1 and or pin 1 of X6 channel 21 correspondingly can be connected to the ground see Table 2 It should be kept in mind that when pin 1 of X3 pin 1 of X4 is c...

Страница 4: ...the output voltage into Umax position then adjust the output voltage to the required value by rotation of the spindle of the variable resistor R The level of the output voltage must be measured by a voltmeter connected to one of the output pins with respect to the grounded pin 5 The program interface 5 1 General Data transfer between PC and DAC via USB bus is managed by the interface chip from FT2...

Страница 5: ...package In this mode zero bytes transferred into the module via the USB bus are ignored In order to put the unit into the standby mode it is necessary to fulfill transfer of data package consisting of 128 zero bytes It is recommended to perform this operation when initializing the unit s control cycles 5 4 MakePacket function usage To facilitate programming of the unit one may use the function Mak...

Страница 6: ...oximately 4095 max U Appendix 1 include ftd2xx h void MakePacket WORD buf BYTE packet Function of data package for DAC formation void dac_setup void Sample To set voltages with level codes 0 100 200 4000 at the DAC outputs 1 2 3 40 WORD buf 40 Buffer of DAC channels BYTE packet 130 DAC data package FT_HANDLE DAC DAC descriptor FT_STATUS fs FT_Open 0 DAC Open a device with system 0 1 2 etc if fs FT...

Страница 7: ...HANEL_TABLE s 0 mask 0x01 0 buf DAC_CHANEL_TABLE s 1 mask 0x02 0 buf DAC_CHANEL_TABLE s 2 mask 0x04 0 buf DAC_CHANEL_TABLE s 3 mask 0x08 0 buf DAC_CHANEL_TABLE s 4 mask 0x10 0 packet 0 0xff non zero starting byte Appendix 2 Sample code shows how to get the number of devices currently connected FT_STATUS ftStatus DWORD numDevs ftStatus FT_ListDevices numDevs NULL FT_LIST_NUMBER_ONLY if ftStatus FT_...

Страница 8: ...he product description of first device found char Buffer2 64 buffer for the product description of second device DWORD numDevs initialize the array of pointers BufPtrs 0 Buffer1 BufPtrs 1 Buffer2 BufPtrs 2 NULL last entry should be NULL ftStatus FT_ListDevices BufPtrs numDevs FT_LIST_ALL FT_OPEN_BY_DESCRIPTION if FT_SUCCESS ftStatus FT_ListDevices OK product descriptions are in Buffer1 and Buffer2...

Страница 9: ...age power supply then the high voltage one The folder mmdm37ch_vc of the software CD contains simple command line utilities for control of the mirror which are compiled with Visual C 6 0 Enter this folder from the command line and type am_set 4095 it will set the maximum voltage level at the output of the unit Measuring the voltage between the ground pin pin 20 and any control pin at the output of...

Страница 10: ...recompilation The samples can be found in the following directories mmdm79ch_40mm_vc 79 channel 40 mm MMDM connected to two USB units mmdm_lin19ch_vc 19 channel linear MMDM connected to one USB unit pdm109ch_50mm_vc 109 channel 50 mm PDM connected to three USB units piezo19ch_vc 19 channel 30 mm PDM connected to one USB unit piezo37ch_50mm_vc 37 channel 50 mm PDM connected to one USB unit piezo37c...

Отзывы: