HOME . Products . Ultrasonic Sensor Products   
 
 
Product [HG-C40U] Ultrasonic Range Finder Sensor/Module(UART)(Conventional)
Brand Hagisonic
Origin Korea
Price(M.S.R.P) Price Inquiry
Quantity ea
Option
   
ÁÖ¹®Çϱâ 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 "

[Conventional] Directivity : Approx. 65¡Æ


¢Ã    Features


  ATmega 8 MCU


  Measures distance from the obstacle and sends the data using UART communication.


  Within 5mm Resolution


  Optional two transmitting mode for various use.


    Free Run : With a power supply, sensor transmits trigger and burst signal by itself (for basic application)


    External Trigger : External system(controller or processor circuit) controls the trigger signals for advance application


  Two types of input power Low(5V) for processor circuit usage and High(12V) for controllers.


¡Ø Factory Default : 12V


  Various Setting Option


    Free Run / UART Trigger / External Trigger setting


    Ring buffer use or not use setting


    UART communication baudrate setting


    Free Run Trigger interval


  Output Signal


    Distance Data using UART(ASCII, mm)


    Real time ultrasonic wave amplified from actually received ultrasonic.


    Real time TTL level square signal(Square Wave) of detection signal.


  High performance ASIC Chip for stable transmission and sensitive reception.


  Sensor to PC communication using ¡®Interface Board¡¯(RS232, Power regulator)


  Data display using monitor program from PC(Hyperterminal available)


¢Ã    Specification


 


¢Ã    Connector Configuration


 


¢Ã    UART Setting


 


¢Ã    Communication Protocol


 


1)  Operation Mode : Operation Mode for Ultrasonic Sensor Module There are three operation modes, Free Run, UART Trigger and External Trigger Mode.


v Free Run Mode : Triggers ultrasonic in regular interval


v UART Trigger Mode : external ultrasonic trigger using UART(Trigger Command)


                  periodic or randomly.


v External Trigger Mode : Outside Trigger signal is needed for regular or irregular


                  interval trigger signals


¨ç   Display Operation Mode


     Transmit : @Mode


     Receive : !Mode -> @Mode|0


¨è   Operation Mode setting(UART Trigger)


     Transmit : #Mode|1 (to change to UART Trigger mode)


     Receive : !Mode|1 -> !Data Set Complement


v UART Trigger Mode only sends the data if trigger command is generated by UART.


¨ç   Operation Mode setting(External Trigger)


     Transmit : #Mode|2 (Change to External Trigger Mode)


     Receive : !Mode|2 -> !Data Set Complement


v External Trigger Mode only sends the data if outside trigger is generated


v Trigger: Trigger pulse to J1 2nd pin or Trigger command to UART


2)  RingBuff : Use ¡®Ring Buffer¡¯ in Ultrasonic sensor module¡¯s internal algorithm.


¡Ø When using External Trigger Mode and the trigger interval is late, using ¡®Ring Buffer¡¯ will delay the data gathering that use of ¡®Ring Buffer¡¯ is not recommended. However, resolution will be dropped.


¨ç   Display RingBuff Mode


     Transmit : @RingBuff


     Receive : !RingBuff -> @RingBuff|1


¨è   RingBuff Setting


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


     Receive : !RingBuff|0-> !Data Set Complement


3)  BaudRate : It indicates communication speed of ultrasonic sensor module.


¨ç   Display BaudRate


     Transmit : @BaudRate


     Receive : !BaudRate -> @BaudRate|38400


¨è   BaudRate Setting


     Transmit : #BaudRate|9600 (Change Comm. Speed to 9600)


     Receive : !BaudRate|9600-> !Data Set Complement


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


¨ç   Display Period


     Transmit : @Period


     Receive : !Period -> @Period|50


¨è   Period Setting


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


     Receive : !Period|20-> !Data Set Complement


5)  Trigger : Triggers ultrasonic sensor module


     Transmit : #Trigger (triggers ultrasonic)


     Receive : ^365 (Distance 365mm, ASCII)


¢Ã    Method to change input voltage (12V ¡æ 5V)


  HG-C40U has two input voltage, 5V and 12V. Factory default is 12V. If user wants to change, user can short(solder) JP1 to change to 5V.


 


¡Ø     Caution : Using 12V on 5V(Soldered) PCB will burn and damage the Module and this will not be covered by factory warranty.


¢Ã    Output signal pattern


 


  Trigger signal(¨ç) is outputted(displayed) only on External Trigger mode. UART Trigger mode or  Free Run mode will not output the signal(Internal operation only)


Receive Signal(¨é) will not be outputted (Internal operation only)


¢Ã    Degree of Precision


 


¢Ã    Ultrasonic Sensor Calibration


  HG-C40U is calibrated from our factory. However, if users change the input voltage from 12V to 5V or vice versa, new calibration is necessary for precise data reception.


1.   Distance1 measurement.


1)   Place an object apart from HG-C40U by 100mm (try to measure as close as possible with ruler or any measuring devices)


 


2)   Input exact distance(100mm) in ¨ç ¡®Distance 1¡¯ box in ¡®Calibration¡¯ section.


3)   Click ¨è ¡®Get¡¯ button.


4)   Confirm ¨é shows the data


2.   Distance2 measurment.


1)   Move the object apart from HG-C40U to 300mm(try to measure as close possible)


 


2)   Input exact distance(300mm) in ¨ê ¡®Distance 2¡¯ box in ¡®Calibration¡¯ section.


3)   Click ¨ë ¡®Get¡¯ button.


4)   Confirm ¨ì shows the data


3.   Calibration


 


1)   Click ¨í 'Calibration' button.


2)   Calibration process is done. Please make sure the distance is correct by measuring object's distance with HG-C40U.


¢Ã    Module Size


 


¢Ã    RS232 Communication Interface Board


  To connect with PC, Interface Board is needed.


  www.hagisonic.com english products Localization sensor products Interface Board for StarGazer¢â(HIB-A-01) (Serial cable, adaptor, switch offers)


  Factory Default(12V)


Only when HG-C40U and HIB-A-01 is purchased together we provice cable / connector


 


¢Ã    RS232 Communication Interface Board (5V use example)


  To connect with PC, Interface Board is needed.


  www.hagisonic.com english products Localization sensor products Interface Board for StarGazer¢â(HIB-A-01) (Serial cable, adaptor, switch offers)


  Factory Default(12V)


  Only when HG-C40U and HIB-A-01 is purchased together we provice cable / connector


 


¢Ã    Interface Board (HIB-A-01)


 


¢Ã    RS232 Interface Circuit Example


  This drawing is not for Interface Board. This is only for the reference for self design


 


¢Ã    Ultrasonic Range Finder Monitor Program


  Connect HG-C40U module with PC using ¡®Interface Board¡¯ and ¡®Serial Cable¡¯ and download monitor program from our webpage.


  Please set the Port first.


 


¢Ã    Select the option Guide


  Option1) Input DC power accordance with the order spec


    Low Voltage Type (5V) :


¡æ  5V-only 4.5~5.5 V as actually available. (In addition, this does not work, or a malfunction in the range of m.)


¡æ  Sensitivity is a little weak but close enough to be practical.


    High Voltage Type (12V) :


¡æ  6~16 V can write freely in a range of sensitivity is high. (Voltage, the higher the sensitivity.) In this setting, the behavior is possible but with sensitivity as low as 5V power is slightly unstable. (5V low-voltage PCB Jumper Pad(JP1) for short.)