那曲檬骨新材料有限公司

電子發燒友App

硬聲App

0
  • 聊天消息
  • 系統消息
  • 評論與回復
登錄后你可以
  • 下載海量資料
  • 學習在線課程
  • 觀看技術視頻
  • 寫文章/發帖/加入社區
會員中心
創作中心

完善資料讓更多小伙伴認識你,還能領取20積分哦,立即完善>

3天內不再提示
電子發燒友網>電子資料下載>類型>參考設計>CN0343超聲波測距用戶指南

CN0343超聲波測距用戶指南

2021-04-09 | pdf | 6.24MB | 次下載 | 2積分

資料介紹

This version (03 Jan 2021 21:58) was approved by Robin Getz.The Previously approved version (15 Dec 2017 22:40) is available.Diff

CN0343 Ultrasonic Distance Measurement User Guide

Overview

The CN0343 is a completely self-contained distance sensor that utilizes an ultrasonic transmitter and sensitive analog receiver in conjunction with a precision analog microcontroller to provide distance measurements. The CN0343 approximate range is from 50cm to 10m with a resolution of about 2cm. Temperature compensation is provided by the integrated temperature sensor and analog-to-digital converter (ADC) contained in the microcontroller.

Hardware Connections

The CN0343 have three connectors:

  • J1 is power connector
  • J2 is RS-485 communication interface connector
  • J3 is the MCU JTAG debug interface connector

The connectors position marked in the following CN0343 picture in yellow font.

Power supply Connections

The CN0343 J1 connector use for power supply with the EVAL-CFTL-6V-PWRZ , before power on the CN0343 please make sure all the necessary connector connected well and firm.

RS-485 interface connections

The J2 connector in CN0343 is use for the RS-485 communication interface, the pin number of J2 is marked in the following picture in yellow font, the pin map of J2 is marked in blue font.

The CN0343 RS-485 interface working at the half-duplex mode, there only need one twisted pair cable to build the RS-485 network.

Please notice: the RS-485 interface has limitation on the total devices number in the same network and cable type and length, for the detail of CN0343 RS-485 interface characteristics please check ADM3483

JTAG/SWD connections

The J3 connector of CN0343 is use for the ADuC7126 MCU JTAG debug and programming download. The pin number of J3 is marked in the following picture in blue font.

The CN0343 J3 JTAG 20pins 0.1 inch pitch connector pin map is compatible with the SEGGER J-LINK debug probe , for more detail please check the SEGGER web site .

Usage Instructions

The CN0343 can be running in standalone mode or connect multiple CN0343 into one RS-485 network to make group measurement.

The CN0343 user interface contained one LCD screen and one buzzer as information output, six tactile button as the user input.

LCD Screen and Buttons User Interface

The CN0343 LCD have a contrast adjust potentiometer R1 marked in the following picture as purple font.

The CN0343 have six tactile button, the function of each button marked as red font in the following picture.

In this chapter the press button or button pressed event expression means single click the tactile button.

If the CN0343 power up with the beep and LCD screen display murky or dull, please adjust R1 with screwdriver gently to make LCD clear

The CN0343 have following of running status:

  • SPLASH: when power up the CN0343 will enter the SPLASH status, the screen will showing
 ANALOG DEVICES
EVAL-CN0343-EB1Z 
At the SPLASH status the CN0343 will not response any of button press or RS-485 input, please wait for 3 seconds, the CN0343 will enter the MEASURING status.
  • MEASURING: At MEASURING status the CN0343 will showing:
Distance: 1.253m
 Temp: 25.2°C 

The distance and temperature value may different based on the CN0343 working situation.

  • MENU: if the OK button pressed in MEASURING: status the CN0343 will enter the MENU status, at the MENU status the CN0343 will showing one of following screen:
Calibrate
    Temperature? 
Set address?
Set baud rate?
Set address?
  • SETTINGS: if the OK pressed in MENU status, the corresponding setting status will be entered, at any of SETTING status, the screen will showing a blink cursor, for detail of CN0343 operation please reference the following table:
SPLASH MEASURING MENU SETTINGS
UP none none previous item increase number at cursor
DOWN none none next item decrease number at cursor
LEFT none none previous item move cursor left
RIGHT none none next item move cursor right
OK none enter MENU enter selected SETTING save and return to MENU
CANCEL none none return to MEASURING don't save and return to MENU

RS-485 Interface

The CN0343 software supported RS-485 address range is 1~255 (this is not equal to the ADM3483 hardware imitated devices number).

The CN0343 software supported RS-485 baud rate range is: 75bps~250kbps.

If you use multiple CN0343 in a same RS-485 network, please make sure all the CN0343 and host have same RS-485 baud rate and no address conflict. Because the CN0343 working in the half-duplex RS-485 mode, please make sure there only have one RS-485 device transmit data at a time.

The CN0343 will response following command:

xxx query/r/n

the xxx is the CN0343's decimal address, and /r/n is the return characters.

For example:

109 query
 

will trigger the CN0343 which have RS-485 address 109 send the measure result data to RS-485 network.

Please don't ignore the space character between address 109 and query command

Software Programming

The CN0343 software developed under the Keil Embedded Development Tools and debug with SEGGER J-Link Debug Probes, for the detail usage of Keil or J-Link please check above links.

Software development environment

After download and install the Keil Embedded Development Tools for ARM, open the Keil software IDE.

To open the CN0343 source code in Keil IDE please use following steps:

  1. Click open button
  2. Enter the CN0343 source code folder path
  3. Select the file type filter to Project files *.uvproj
  4. Double click the V5.0.uvproj

For the detail of Keil usage please reference to ARM Product Manuals.

How to download binary firmware to the CN0343

After the CN0343 software development, to download the binary firmware to internal flash of ADuC7126 please use following steps:

  1. Click build all button, wait for build finish
  2. Click load button, wait for download finish

Software Structure

The following is the snapshot of the CN0343 software package files:

V5.0
├── debug
│?? ├── adcdriver.crf
│?? ├── addressdialog.crf
│?? ├── aduc7126bits.crf
│?? ├── baudratedialog.crf
│?? ├── buzzerdriver.crf
│?? ├── calibratetemperaturedialog.crf
│?? ├── debug.build_log.htm
│?? ├── debug.sct
│?? ├── exceptions.crf
│?? ├── homedialog.crf
│?? ├── initial.crf
│?? ├── interrupt.crf
│?? ├── keydriver.crf
│?? ├── lcddriver.crf
│?? ├── main.crf
│?? ├── message.crf
│?? ├── options.crf
│?? ├── pwmdriver.crf
│?? ├── retarget.crf
│?? ├── rtostimer.crf
│?? ├── setdialog.crf
│?? ├── uartcommand.crf
│?? ├── uart.crf
│?? ├── uartdriver.crf
│?? ├── V4.build_log.htm
│?? └── wnd.crf
├── JLinkArm_debug.ini
├── JLinkArm_release.ini
├── Packs_debug.htm
├── release
│?? ├── adcdriver.crf
│?? ├── addressdialog.crf
│?? ├── aduc7126bits.crf
│?? ├── baudratedialog.crf
│?? ├── buzzerdriver.crf
│?? ├── calibratetemperaturedialog.crf
│?? ├── exceptions.crf
│?? ├── ExtDll.iex
│?? ├── homedialog.crf
│?? ├── initial.crf
│?? ├── interrupt.crf
│?? ├── keydriver.crf
│?? ├── lcddriver.crf
│?? ├── main.crf
│?? ├── message.crf
│?? ├── options.crf
│?? ├── pwmdriver.crf
│?? ├── RamFunctions.sct
│?? ├── release.axf
│?? ├── release.build_log.htm
│?? ├── release.sct
│?? ├── retarget.crf
│?? ├── rtostimer.crf
│?? ├── setdialog.crf
│?? ├── uartcommand.crf
│?? ├── uart.crf
│?? ├── uartdriver.crf
│?? └── wnd.crf
├── source
│?? ├── applications
│?? │?? ├── dialog
│?? │?? │?? ├── AddressDialog.cpp
│?? │?? │?? ├── BaudRateDialog.cpp
│?? │?? │?? ├── CalibrateTemperatureDialog.cpp
│?? │?? │?? ├── HomeDialog.cpp
│?? │?? │?? ├── SetDialog.cpp
│?? │?? │?? └── Wnd.cpp
│?? │?? ├── main.cpp
│?? │?? ├── Message.cpp
│?? │?? ├── Options.cpp
│?? │?? └── UARTCommand.cpp
│?? ├── bios
│?? │?? ├── ADuC7126Bits.cpp
│?? │?? ├── ADuC712x.s
│?? │?? ├── Exceptions.cpp
│?? │?? ├── Initial.cpp
│?? │?? ├── Interrupt.cpp
│?? │?? ├── Retarget.c
│?? │?? ├── Retarget.cpp
│?? │?? └── UART.cpp
│?? ├── drivers
│?? │?? ├── ADCDriver.cpp
│?? │?? ├── BuzzerDriver.cpp
│?? │?? ├── KeyDriver.cpp
│?? │?? ├── LCDDriver.cpp
│?? │?? ├── PWMDriver.cpp
│?? │?? ├── RTOSTimer.cpp
│?? │?? └── UARTDriver.cpp
│?? ├── include
│?? │?? ├── applications
│?? │?? │?? ├── Dialog
│?? │?? │?? │?? ├── AddressDialog.h
│?? │?? │?? │?? ├── BaudRateDialog.h
│?? │?? │?? │?? ├── CalibrateTemperatureDialog.h
│?? │?? │?? │?? ├── HomeDialog.h
│?? │?? │?? │?? ├── SetDialog.h
│?? │?? │?? │?? └── Wnd.h
│?? │?? │?? ├── Message.h
│?? │?? │?? ├── Options.h
│?? │?? │?? └── UARTCommand.h
│?? │?? ├── bios
│?? │?? │?? ├── ADuC7126Bits.H
│?? │?? │?? ├── atomic.h
│?? │?? │?? ├── Initial.h
│?? │?? │?? ├── Interrupt.h
│?? │?? │?? ├── Retarget.h
│?? │?? │?? └── UART.h
│?? │?? ├── Drivers
│?? │?? │?? ├── ADCDriver.h
│?? │?? │?? ├── BuzzerDriver.h
│?? │?? │?? ├── KeyDriver.h
│?? │?? │?? ├── LCDDriver.h
│?? │?? │?? ├── PWMDriver.h
│?? │?? │?? ├── RTOSTimer.h
│?? │?? │?? └── UARTDriver.h
│?? │?? └── library
│?? │??     └── SafeQueue.h
│?? └── library
│??     └── SafeQueue.cpp
├── V5.0.build_log.htm
├── V5.0.uvgui.r
├── V5.0.uvgui_r.bak
├── V5.0.uvgui.rl
├── V5.0.uvgui_rl.bak
├── V5.0.uvgui.RLee4
├── V5.0.uvgui_RLee4.bak
├── V5.0.uvopt
├── V5.0_uvopt.bak
├── V5.0.uvproj
└── V5.0_uvproj.bak

Schematic, Bill of Materials, Gerber Files, Source Code

EVAL-CN0343-EB1Z Design & Integration Files

  • Schematics
  • Gerber Files
  • PADS Layout Files
  • Bill of Materials
  • Source Code

End of Document

下載該資料的人也在下載 下載該資料的人還在閱讀
更多 >

評論

查看更多

下載排行

本周

  1. 1電子電路原理第七版PDF電子教材免費下載
  2. 0.00 MB  |  1491次下載  |  免費
  3. 2單片機典型實例介紹
  4. 18.19 MB  |  95次下載  |  1 積分
  5. 3S7-200PLC編程實例詳細資料
  6. 1.17 MB  |  27次下載  |  1 積分
  7. 4筆記本電腦主板的元件識別和講解說明
  8. 4.28 MB  |  18次下載  |  4 積分
  9. 5開關電源原理及各功能電路詳解
  10. 0.38 MB  |  11次下載  |  免費
  11. 6100W短波放大電路圖
  12. 0.05 MB  |  4次下載  |  3 積分
  13. 7基于單片機和 SG3525的程控開關電源設計
  14. 0.23 MB  |  4次下載  |  免費
  15. 8基于AT89C2051/4051單片機編程器的實驗
  16. 0.11 MB  |  4次下載  |  免費

本月

  1. 1OrCAD10.5下載OrCAD10.5中文版軟件
  2. 0.00 MB  |  234313次下載  |  免費
  3. 2PADS 9.0 2009最新版 -下載
  4. 0.00 MB  |  66304次下載  |  免費
  5. 3protel99下載protel99軟件下載(中文版)
  6. 0.00 MB  |  51209次下載  |  免費
  7. 4LabView 8.0 專業版下載 (3CD完整版)
  8. 0.00 MB  |  51043次下載  |  免費
  9. 5555集成電路應用800例(新編版)
  10. 0.00 MB  |  33562次下載  |  免費
  11. 6接口電路圖大全
  12. 未知  |  30320次下載  |  免費
  13. 7Multisim 10下載Multisim 10 中文版
  14. 0.00 MB  |  28588次下載  |  免費
  15. 8開關電源設計實例指南
  16. 未知  |  21539次下載  |  免費

總榜

  1. 1matlab軟件下載入口
  2. 未知  |  935053次下載  |  免費
  3. 2protel99se軟件下載(可英文版轉中文版)
  4. 78.1 MB  |  537793次下載  |  免費
  5. 3MATLAB 7.1 下載 (含軟件介紹)
  6. 未知  |  420026次下載  |  免費
  7. 4OrCAD10.5下載OrCAD10.5中文版軟件
  8. 0.00 MB  |  234313次下載  |  免費
  9. 5Altium DXP2002下載入口
  10. 未知  |  233046次下載  |  免費
  11. 6電路仿真軟件multisim 10.0免費下載
  12. 340992  |  191183次下載  |  免費
  13. 7十天學會AVR單片機與C語言視頻教程 下載
  14. 158M  |  183277次下載  |  免費
  15. 8proe5.0野火版下載(中文版免費下載)
  16. 未知  |  138039次下載  |  免費
新手百家乐指点迷津| 百家乐官网游戏试| 大发888游戏平台官方| 哪家百家乐官网优惠最好且信誉不错| 大发888 澳门赌场| 连环百家乐官网的玩法技巧和规则| 大发888大发8668| 子山午向的房子24山图| 通化市| 大发888开户注册会员| 现金百家乐人气最高| 博E百百家乐官网娱乐城| 大发888 娱乐| 百家乐游戏机图片| 爱拼百家乐官网的玩法技巧和规则| 酒泉市| 正规百家乐平注法口诀| 网上百家乐合法吗| 投真钱百家乐官网必输吗| 七胜国际娱乐| 大发888大家赢娱乐| 赌博百家乐赢钱方法| 金海岸百家乐官网的玩法技巧和规则 | 百家乐娱乐城返水| 澳门百家乐官网玩法与游戏规则| 百家乐规则| 德州扑克 梭哈| 新天地百家乐的玩法技巧和规则| 百家乐能作弊吗| 百家乐官网网络真人斗地主| 百家乐官网庄闲下载| 京城国际| 百家乐麻将牌| 百家乐注册送彩金平台| 百家乐官网规则以及玩法| 巴厘岛百家乐官网的玩法技巧和规则 | 百家乐强对弱的对打法| 24山风水发几房| 肯博百家乐官网的玩法技巧和规则 | 六合彩网上投注| 大发888游戏平台hplsj|