HOME . Products . Ultrasonic Sensor Products   
 
 
Product [HG-DMSI-03] Distance Measure Sensor Interface Board
Brand Hagisonic
Origin Korea
Price(M.S.R.P) Price Inquiry
Quantity ea
ÁÖ¹®Çϱâ Add to Cart Add to Wish List
 
 
 
 

 - WARNING -
Turn off the power at all times when connecting or removing connectoers or cables.
Chip damage due to over current is feared, and damage from this is not compensated.

" Ask for a separate price for more then 1000 units "


¢Ã    Features


  Size : 80 x 80 mm


  Channel : Connect up to 8 Ultrasonic Sensors(HG-LB40C-5V-DM only)


  Power : DC 12V(DC Jack connector 1ea, 2pin connector 1ea), DC 5V(2pin connector 1ea)


  Output : RS232(9pin DSUB 1ea, 3pin connector 1ea), UART(3pin connector 1ea)


¢Ã    Communication Setup


  Default Baudrate : 57600 bps * (Check current baudrate via LED ON)


  9600 : D1 ON, 19200 : D2 ON, 38400 : D3 ON, 57600 : D4 ON


  Data bit : 8 bit


  Stop bit : 1 bit


  Parity bit : None


  Hardware Flow control : None


 


¢Ã    Communication Protocol


 


  Using default value (0) for Sensor ID is recommended for Command(Mode, RingBuff, Priod, NumSonic)


   [Basic Commands and Protocol]


          0x02 : STX(start of text) character that indicates start of the command


          0x03 : ETX(end of text) character that indicates end of the command


           @ : read character for reading next parameter


          # : write character for saving assigned value to next parameter or for executing the next


          commend


          ! : ACK(acknowledge) character that indicates the read or write command is received            $ : reply character that indicates the returning parameter value when read command is


          inputted


          ^ : character indicates the distance value from HG-DMSI-03¡¯s ultrasonic sensors


          | : distinguish between command and data in front of the data value from inputted command


 


1)     Mode : Indicates the mode of operation of the distance measurement board. The operating modes are Free Run mode and External Trigger mode.


v Free Run mode : Triggers ultrasonic in regular interval


v External Trigger mode : External trigger signal is needed for regular or irregular interval trigger signals


¨ç     Display Operation Mode


     Transmit : @0|Mode


     Receive : !0|Mode   -> @0|Mode|0


¨è     Operation Mode Setting


     Transmit : #0|Mode|1   (changing to External Trigger)


     Receive : !0|Mode|1


v In External Trigger mode, external trigger signal is needed to receive data


2)     RingBuff : Use ¡®Ring Buffer¡¯ in Ultrasonic sensor module¡¯s internal algorithm. When using External Trigger Mode and the trigger interval gets slow, using ¡®Ring Buffer¡¯ is not recommended because it will delay the data. In this case, the resolution will be dropped.


¨ç     Display RingBuff mode


     Transmit : @RingBuff


     Receive : !0|RingBuff   -> @0|RingBuff|1


¨è     RingBuff Setting


     Transmit : #0|RingBuff|0 (set ¡®Ring Buffer¡¯ to ¡®not use¡¯)


     Receive : !0|RingBuff|0


3)     BaudRate : It indicates communication speed of HG-DMSI-03.


¨ç     Display BaudRate


     Transmit : @0|BaudRate


     Receive : !0|BaudRate   -> @0|BaudRate|38400


¨è     BaudRate Setting


     Transmit : #0|BaudRate|9600 (Change the communication speed to 9600)


     Receive : !0|BaudRate|9600


4)     Period : It indicates trigger intervals of ultrasonic sensor module.


¨ç     Display Period


     Transmit : @0|Period


     Receive : !0|Period   -> @0|Period|50


¨è     Period Setting


     Transmit : #0|Period|20 (Change trigger intervals to 20ms)


     Receive : !0|Period|20


5)     Trigger : Triggers ultrasonic sensor module.


¨ç     ID3 ultrasonic sensor trigger


     Transmit : #3|Trigger (Triggers ID3 ultrasonic sensor)


     Receive : ^3|365 (distance data : 365mm)


6)     NumSonic : Sets number of ultrasonic sensors.


¨ç     Use 2 ultrasonic sensors


     Transmit : #0|NumSonic|2


     Receive : !0|NumSonic|2


¢Ã    Terminals & Parts Description


 


¢Ã    Ultrasonic Sensor Connection(Provides connection cables)


 


¢Ã    How to configure and use monitor programs


 


1)    Monitor Program Setting Areas


¨ç     The number of ultrasonic sensors setting area.


¨è     Communication port and speed setting area.


¨é     Ultrasonic sensor distance data display area.


¨ê     Ultrasonic sensor inner parameter setting area.


¨ë     Distance data file recording area.


¨ì     Ultrasonic distance parameter Calibration area.


2)    How to use


¨ç     Set the number of ultrasonic sensors to use.


-   enter the number of ultrasonic sensors in the EditBox  in ¨ç area and click ¡®Confirm¡¯ button.


¨è     Set the trigger intervals of ultrasonic sensor.


-   Select the SONIC_ID, enter the intervals(20~50) in the EditBox in ¡®Period¡¯ section and Click Send button. (Default : 50ms)


¨é     Ring buffer use or not use. (Moving average)


-   Click ¡®Not Use¡¯ or ¡®Use¡¯ button in ¡®Ring Buffer¡¯ section in ¨ê area.


¨ê     Set the Mode.


-   Free Run Mode: In this mode, HG-DMSI-03 will input regular interval trigger signal to ultrasonic sensor(s). To use this mode, click ¡®Free Run¡¯ button in Mode section in ¨ê area.


-   External Trigger Mode: In this mode, external trigger signal will be generated from HG-DMSI-03 and inputted to a certain ultrasonic sensor to measure distance once. This will measure the distance only once by clicking ¡®Trigger¡¯ button in ¡®Ext Trigger¡¯ section in ¨ê area. (When using ¡®External Trigger Mode¡¯, use of ¡®Ring Buffer¡¯ is not recommended when the trigger interval gets slow.)


¨ë     Display parameter values.


-   In ¨ê area, clicking ¡®Get¡¯ button in Mode, Ring Buffer, Period section will display the parameter values of each.


¨ì     Distance data recording method.


-   In ¨ë area, first click ¡®Create File¡¯ button to create a file. Next, click ¡®Start Record¡¯ button and ¡®End Record¡¯ button at the start and end.


¨í     Calibration


-   Ultrasonic is highly affected by surrounding environment and when the sensor is produced, each sensor has delicate difference in its characteristics. Using same parameter for every ultrasonic sensors will produce inaccurate result. In order to prevent this, calibration of each sensor is necessary.


A. In empty space, place ultrasonic sensor and the obstacle in line.


B.  Measure the actual distance between the sensor and the obstacle by ruler or other measuring devices.


C.  In ¨ì area, enter the measured distance to the EditBox next to ¡®Distance1¡¯ and click ¡®Get¡¯ button.


D. Move the obstacle and repeat a~c and enter the measured distance to the EditBox next to ¡®Distance2¡¯ and click ¡®Get¡¯ button.


E.  and click ¡®Calibration¡¯ button.


¡Ø Calibration is already done from our factory when you purchase ultrasonic sensor and HG-DMSI-03 together. Please use ¡®Calibration¡¯ only when you change the ultrasonic sensor¡¯s channel or when you purchased sensor and board separately.