3. Click on Sensors in the list of technology areas to display the sensor application
choices.
4. Select the example project you wish to build. For this example, click on the
Inertial Sensor Demonstration project for your Atmel Xplained processor board
(for example, Inertial Sensor Demonstration – UC3-A3 Xplained –
AT32UC3A3256 ). Click OK .
5. A Software License Agreement window will appear containing the license
agreement for using the software contained in the Sensors Xplained library. If you
agree to the terms of the license, click on the "I accept the license agreement"
box and select Finish .
6. The example project files will appear within your Atmel AVR Studio windows. If
the default sensors board for the project is the one you are using, you may now
build and download the application normally. If you need to change the selection
of the sensor board, see below.
NOTE
Most Atmel Sensors Xplained example applications, including the inertial sensor
application summarized here, require a USB serial I/O connection to a virtual
communication port on the host machine. Install the appropriate drivers on the host
machine according to board setup instructions. The default application serial I/O
configuration will transmit at 115,200 bits per second using 8-bit data, no parity, and
one stop bit.
4.1.2 Changing the default sensor board
Each Sensors Xplained project has a default sensor board component defined.
However, the sensor board selection can be changed based on the actual hardware
you are using.
To display or change the current sensor board selection, use the following procedure
within AVR Studio:
1. In the Solution Explorer pane, select the project name.
2. In the AVR Studio 5 menus, select:
Project > Select Drivers from ASF…
3. The current sensor board selection will be in the Selected Modules list in the
right-hand pane. (For example, for the Sensors Xplained Inertial 1 board, there
will be an entry for "Sensors – ATAVRSBIN1 Sensor Board (Component).")
4. To change the sensor board:
? Select the current sensor board component in the Selected Modules pane,
?
?
and then click on Remove from selection
In the left-hand Available Modules pane, find and select the new sensor
board you want to use, and then click on Add to selection
Click on Finish
5. You may now build and download your project normally.
4.2 Adding sensors to an existing application
The Common Sensors Service can be added to any application with only minor
modifications by using the AVR Studio project facility. The steps in this section
describe the overall procedure for a typical application that was originally created
using the appropriate user application template for the processor board you are using.
First, you must add the sensor support modules into your application using the
following sequence:
1. In the Solution Explorer pane, select the project name.
2. In the AVR Studio 5 menus, select:
Project > Select Drivers from ASF…
8
Atmel AVR4016
8367B-AVR-06/11
相关PDF资料
ATAVRSBIN2 INERTIAL TWO SENSOR BOARD
ATAVRSBLP1 LIGHT AND PROXIMITY SENSOR BOARD
ATAVRSBPR1 BAROMETRIC PRESSURE ONE SNSR BRD
ATQT600 KIT EVAL TOUCH FOR QT600
ATU6-P305T-R CABLE CAT6 FULL-BOX 305M GRAY
ATUP-P305T-R CABLE CAT5E PULL-BOX 305M GRAY
ATUP-V305T-R CABLE CAT5E REEL 305M GRAY
AWG28-05/F-1/300-R CABLE 5 COND MULTI 300' RIBBON
相关代理商/技术参数
ATAVRSBIN2 功能描述:多功能传感器开发工具 9DOF Inertial Sensor Board 2 RoHS:否 制造商:Texas Instruments 工具用于评估:LMP91200 接口类型:SPI 工作电压:1.8 V to 5.5 V 最大工作温度:
ATAVRSBLP1 功能描述:光学传感器开发工具 Ambient Light and Proximity Snsr Brd RoHS:否 制造商:ams 工具用于评估: 接口类型: 最大工作温度:
ATAVRSBPR1 功能描述:压力传感器开发工具 Barometric Pressure Sensor Board 1 RoHS:否 制造商:Freescale Semiconductor 工具用于评估:MPL3115A2 接口类型:USB 最大工作温度:
ATAVRSECURITYX 功能描述:安全/ 验证开发工具 Security Module Kit for Xplain Series RoHS:否 制造商:Digi International 产品:Development Kits 工具用于评估:XEB-AW140 接口类型:SPI, USB 工作电源电压:3.1 V to 3.6 V
ATAVRSMD 功能描述:ADAPTER KIT SMD ICE200 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 类型:MCU 适用于相关产品:Freescale MC68HC908LJ/LK(80-QFP ZIF 插口) 所含物品:面板、缆线、软件、数据表和用户手册 其它名称:520-1035
ATAVR-SOAKIT 功能描述:插座和适配器 Standoff Adapter Kit for JTAG debuggers RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATAVRTEMPSENSORX 功能描述:温度传感器开发工具 Temp Sensor kit for Xplain Series RoHS:否 制造商:Texas Instruments 产品类型:Temperature Sensors and Control ICs 工具用于评估:MSP430G2553 接口类型:USB 工作电源电压: 工作电源电流:
ATAVRTS2080A 功能描述:开发板和工具包 - AVR ATmega88 QTouch QTch kit w/SW librar RoHS:否 制造商:Arduino 产品:Evaluation Boards 工具用于评估:ATMega32U4 核心:AVR 接口类型:I2C, UART, USB 工作电源电压:6 V to 20 V