The RS-485 connections between the slave and master devices are as follows.
?
?
?
RS485+ to RS485+
RS485– to RS485–
GND to GND
? SIMPLE485MASTER.C —This program demonstrates a simple RS-485 transmission of
lower case letters to a slave. The slave will send back converted upper case letters back
to the master RCM3400 and display them in the STDIO window. Use
SIMPLE485SLAVE.C to program the slave.
? SIMPLE485SLAVE.C —This program demonstrates a simple RS-485 transmission of
lower case letters to a master RCM3400. The slave will send back converted upper case
letters back to the master RCM3400 and display them in the STDIO window. Use
SIMPLE485MASTER.C to program the master RCM3400.
3.2.2 A/D Converter Inputs
The following sample programs are found in the ADC subdirectory in SAMPLES\RCM3400 .
? AD_CAL_ALL.C —Demonstrates how to recalibrate all single-ended analog input chan-
nels for one gain, using two known voltages to generate the calibration constants for
each channel. Constants will be rewritten into the user block data area.
? AD_CAL_CHAN.C —Demonstrates how to recalibrate one single-ended analog input
channel with one gain using two known voltages to generate the calibration constants
for that channel. Constants will be rewritten into user block data area.
? AD_CAL_DIFF.C —Demonstrates how to recalibrate one differential analog input
channel using two known voltages to generate the calibration constants for that channel.
Constants will be rewritten into user block data area.
? AD_CALMA_CH.C —Demonstrates how to recalibrate an A/D input channel being used to
convert analog current measurements to generate the calibration constants for that channel.
NOTE: The above sample programs will overwrite any existing calibration constants.
? AD_RDDIFF_CH.C —Demonstrates how to read an A/D input channel being used for a
differential input using previously defined calibration constants.
? AD_RDMA_CH.C —Demonstrates how to read an A/D input channel being used to con-
vert analog current measurements using previously defined calibration constants for
that channel.
? AD_RDVOLT_ALL.C —Demonstrates how to read all single-ended A/D input channels
using previously defined calibration constants.
? AD_SAMPLE.C —Demonstrates how to use a low-level driver on single-ended inputs.
The program will continuously display the voltage (average of 10 samples) that is
present on the A/D channels.
? ANAINCONFIG.C —Demonstrates how to use the Register Mode method to read single-
ended analog input values for display as voltages. The sample program uses the func-
tion call anaInConfig() and the ADS7870 CONVERT line to accomplish this task.
User ’s Manual
17
相关PDF资料
101-0589 CLONING BOARD RABBIT
101-0688 CARD D/A EXPANSION RN1300
101-0954 KIT DEV RABBIT RCM3360/3370 INTL
101-1050-BE-00025 ADPT USB 2 A FEMALE-2 5PIN .25M
10112627-101LF MINI-SAS HD 1X2 EXT PCB
10112628-101LF MINI-SAS HD 1X4 EXT PCB
10136-3000PC CONN MINI-D 36POS SOLDER PLUG
10136-6000EC CONN MDR PLUG 36POS IDC GOLD
相关代理商/技术参数
101-0565 功能描述:模块配件 BL2100 Btm Mnt Sckts RoHS:否 制造商:Lantronix 产品: 用于:
101-0566 功能描述:模块配件 BL2100 Friction Lock RoHS:否 制造商:Lantronix 产品: 用于:
101-0567 功能描述:单板计算机 BL2100 IDC Headers RoHS:否 制造商:Ampro By ADLINK 外观尺寸:EPIC 处理器类型:Intel Atom D510 频率:1.66 GHz 存储容量:2 GB (max) 存储类型:DDR2, L2 Cache 接口类型:Ethernet, PS/2, SATA, Serial, USB 工作电源电压:5 V, 12 V 功耗:13 W 最大工作温度:+ 70 C 尺寸:165.1 mm x 114.3 mm
101-0568 功能描述:单板计算机 BL2100 512K RoHS:否 制造商:Ampro By ADLINK 外观尺寸:EPIC 处理器类型:Intel Atom D510 频率:1.66 GHz 存储容量:2 GB (max) 存储类型:DDR2, L2 Cache 接口类型:Ethernet, PS/2, SATA, Serial, USB 工作电源电压:5 V, 12 V 功耗:13 W 最大工作温度:+ 70 C 尺寸:165.1 mm x 114.3 mm
101-0569 功能描述:单板计算机 BL2120 Btm Mnt RoHS:否 制造商:Ampro By ADLINK 外观尺寸:EPIC 处理器类型:Intel Atom D510 频率:1.66 GHz 存储容量:2 GB (max) 存储类型:DDR2, L2 Cache 接口类型:Ethernet, PS/2, SATA, Serial, USB 工作电源电压:5 V, 12 V 功耗:13 W 最大工作温度:+ 70 C 尺寸:165.1 mm x 114.3 mm
101-0570 功能描述:单板计算机 BL2120 Friction Lock RoHS:否 制造商:Ampro By ADLINK 外观尺寸:EPIC 处理器类型:Intel Atom D510 频率:1.66 GHz 存储容量:2 GB (max) 存储类型:DDR2, L2 Cache 接口类型:Ethernet, PS/2, SATA, Serial, USB 工作电源电压:5 V, 12 V 功耗:13 W 最大工作温度:+ 70 C 尺寸:165.1 mm x 114.3 mm
101-0571 功能描述:单板计算机 BL2120 IDC Headers RoHS:否 制造商:Ampro By ADLINK 外观尺寸:EPIC 处理器类型:Intel Atom D510 频率:1.66 GHz 存储容量:2 GB (max) 存储类型:DDR2, L2 Cache 接口类型:Ethernet, PS/2, SATA, Serial, USB 工作电源电压:5 V, 12 V 功耗:13 W 最大工作温度:+ 70 C 尺寸:165.1 mm x 114.3 mm
10-105712-03P 制造商:Amphenol Aerospace 功能描述:RECEPT