资料介绍
Table of Contents
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.
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.
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
- 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.
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.
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:
- Click open button
- Enter the CN0343 source code folder path
- Select the file type filter to Project files *.uvproj
- 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:
- Click build all button, wait for build finish
- 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
- 超声波测距资料(HC-SR04)_TB 195次下载
- 超声波测距资料合集 49次下载
- STM32_超声波测距
- 超声波测距仿真相关文件资源下载 19次下载
- CN0343:超声测距
- CN0343 设计与集成文件
- 超声波测距模块详细概述 20次下载
- launchpad超声波测距 11次下载
- 超声波测距原理及超声波倒车雷达的设计 88次下载
- 超声波测距 5次下载
- 超声波测距 181次下载
- 电子设计应用超声波测距仪的设计 11次下载
- 超声波测距描述+程序 39次下载
- 超声波测距 69次下载
- 超声波测距模块 220次下载
- 超声波模块测距的使用方法 2942次阅读
- 使用SRF05和ATtiny85的超声波测距仪 2195次阅读
- 超声波测距仪/声纳测距系统的电路分享 2400次阅读
- 使用超声波模块+HC-SR04模块的超声波测距 5929次阅读
- dfrobotURM06-RS485大功率超声波测距模块简介 1412次阅读
- dfrobotURM06-ANALOG大功率超声波测距模块简介 1442次阅读
- dfrobotURM06-PULSE大功率超声波测距模块简介 1480次阅读
- dfrobotURM06-UART大功率超声波测距模块简介 1498次阅读
- 基于51单片机的超声波测距模块设计 6860次阅读
- 超声波测距的原理和超声波测距系统的电路设计详细概述 2.1w次阅读
- STM32单片机的高精度超声波测距系统设计 8171次阅读
- C8051单片机实现多目标超声波测距的设计 1309次阅读
- 基于FPGA的超声波测距系统设计详解 7232次阅读
- 简单的超声波测距模块制作_HC-SR04超声波测距模块及制作图详解 5.3w次阅读
- 超声波测距系统设计理论分析及工作原理 9067次阅读
下载排行
本周
- 1电子电路原理第七版PDF电子教材免费下载
- 0.00 MB | 1491次下载 | 免费
- 2单片机典型实例介绍
- 18.19 MB | 95次下载 | 1 积分
- 3S7-200PLC编程实例详细资料
- 1.17 MB | 27次下载 | 1 积分
- 4笔记本电脑主板的元件识别和讲解说明
- 4.28 MB | 18次下载 | 4 积分
- 5开关电源原理及各功能电路详解
- 0.38 MB | 11次下载 | 免费
- 6100W短波放大电路图
- 0.05 MB | 4次下载 | 3 积分
- 7基于单片机和 SG3525的程控开关电源设计
- 0.23 MB | 4次下载 | 免费
- 8基于AT89C2051/4051单片机编程器的实验
- 0.11 MB | 4次下载 | 免费
本月
- 1OrCAD10.5下载OrCAD10.5中文版软件
- 0.00 MB | 234313次下载 | 免费
- 2PADS 9.0 2009最新版 -下载
- 0.00 MB | 66304次下载 | 免费
- 3protel99下载protel99软件下载(中文版)
- 0.00 MB | 51209次下载 | 免费
- 4LabView 8.0 专业版下载 (3CD完整版)
- 0.00 MB | 51043次下载 | 免费
- 5555集成电路应用800例(新编版)
- 0.00 MB | 33562次下载 | 免费
- 6接口电路图大全
- 未知 | 30320次下载 | 免费
- 7Multisim 10下载Multisim 10 中文版
- 0.00 MB | 28588次下载 | 免费
- 8开关电源设计实例指南
- 未知 | 21539次下载 | 免费
总榜
- 1matlab软件下载入口
- 未知 | 935053次下载 | 免费
- 2protel99se软件下载(可英文版转中文版)
- 78.1 MB | 537793次下载 | 免费
- 3MATLAB 7.1 下载 (含软件介绍)
- 未知 | 420026次下载 | 免费
- 4OrCAD10.5下载OrCAD10.5中文版软件
- 0.00 MB | 234313次下载 | 免费
- 5Altium DXP2002下载入口
- 未知 | 233046次下载 | 免费
- 6电路仿真软件multisim 10.0免费下载
- 340992 | 191183次下载 | 免费
- 7十天学会AVR单片机与C语言视频教程 下载
- 158M | 183277次下载 | 免费
- 8proe5.0野火版下载(中文版免费下载)
- 未知 | 138039次下载 | 免费
评论
查看更多