×

ADIS16334对ADISUSB系统的评测

消耗积分:0 | 格式:pdf | 大小:1.34MB | 2021-05-26

分享资料个

This version (03 Jan 2021 22:08) was approved by Robin Getz.The Previously approved version (11 Dec 2014 14:30) is available.Diff

This is an old revision of the document!


ADIS16334 EVALUATION ON THE ADISUSB

OVERVIEW

The ADIS16334 is a low-profile, high-performance IMU that uses a serial peripheral interface for data communications. This interface enables direct connection with a large variety of embedded processor products. This electrical connection typically only requires 5 I/O lines for synchronous data collection, as shown in the following figure:

ADIS16334/PCB BREAKOUT BOARD

For those who are on a tight timeline, connecting the ADIS16334 to an embedded controller will provide the most flexibility in developing application firmware and will more closely reflect the final system design. The ADIS16334/PCBZ is the breakout board for the ADIS16334 and may provide assistance in the process of hooking it up to an existing embedded processor system.

ADISUSB: PC EVALUATION

For those who would prefer to perform PC-based evaluation of the ADIS16334, before developing their own embedded system, the ADISUSB is the appropriate system to use. The remainder of this Wiki site will focus on PC-based evaluation with the ADISUSB system.

EQUIPMENT LIST

SYSTEM REQUIREMENTS

Windows XP, Vista, 7 (32-bit systems only)

NOTE: All the required files are contained in the .Cab file and deployed during software package install.

PHYSICAL SETUP

The ADIS16334/PCBZ includes one interface PCB, one flexible cable/connector and one ADIS16334AMLZ unit. Use the flexible cable/connector to install the ADIS16334 onto the ADISUSB, using the following five steps. Set interface PCB aside, as it is not used for connecting the ADIS16334AMLZ to the ADISUSB.

NOTE: Do not plug the ADISUSB into the USB cable at this stage of the setup. Wait until the software installation is complete.

NOTE: Some of the pictures in this section represent the ADIS16448, not the ADIS16334. The packages associated with these two products are close enough to illustrate the key points associated with installing the ADIS16334.

Step #1

Install the flexible cable onto the ADIS16334AMLZ. The following pictures provide a visual reference for correct connection.

WARNING: Make sure that the connector is in proper alignment before pressing it in. Misalignment can cause pin damage and exposure to harmful conditions. The following pictures provide visual examples of INCORRECT PIN ALIGNMENT. The most common alignment issues will cause the top view to look different than the third picture, shown directly above this paragraph.

Step #2

Mounting to the system frame is accomplished by Drilling and tapping for M2 (drill size #52 1.6mm) or 2-56 (drill size #50 .070) holes in the ADISUSB, according to the locations in the physical mounting diagram. The tap is the best way but an M2x0.4x10mm machine screw can be used for tapping the PCB material. The distance between these components is flexible but make sure that the hole-to-hole distance is within the 15 mm to 45 mm range shown in the diagram. The mounting location holes are marked as an example in the picture below (right). These locate holes position the ADIS16334AMLZ at the edge of the ADISUSB giving the interface flex more room.

Step #3

The ADIS16334AMLZ and interface flex can now be connected to the ADISUSB. Make sure that Pin 1 on J2 (interface-flex) connects to Pin 20 on the ADISUSB J4 connector which, has 24 pins (leaving 4 empty holes at the top of the J4 connector opposite the J4 pin1 ★ designator). J4 has a Pin 1 indicator to help guide this connection. Making the J4 connection first then sliding the ADIS16334AMLZ body forward allowing the flex ribbon to fold under until the mounting holes line up.

Step #4

Secure the ADIS16334AMLZ body, to a system frame using (4) M2x0.4x10mm machine screws (included with ADISUSB). Use a mounting torque of 25 inch-ounces for the M2 machine screws.

Step #5

The following picture (left side) shows JP1 in the +3.3V position (factory-default). Change the JP1 jumper setting on the ADISUSB) to the +5V position (shown on the right) required for the ADIS16334AMLZ.

NOTE: If JP1 is left on +3.3V, the gyroscope outputs will not respond and will appear to be saturated in one direction or the other. See the following picture for an example of this behavior.

IMU_6DOF Six Degrees of Freedom Demonstration SOFTWARE

Click here to download the IMU-6DOF Six Degrees of Freedom Software to a personal computer, which enables PC-based evaluation of the ADIS16334 on an ADISUSB evaluation system. The download file will contain three separate files: The CAB file (IMU_6DOF.cab), the setup file (setup.exe) and the setup list. Copy these files to a convenient folder for running the application from.

Navigate to the folder where the files were saved and double click the setup.exe file. The following pictures are a guide for the IMU_6DOF software install. The Welcome screen will appear click OK to continue.

Please choose a directory for the software application or use the default settings (recommended) and click the computer icon button to go to the next step.

Choose a program group or use the default settings (recommended) and click Continue. The last picture confirms completion click OK to finish.

USB Driver Installation

The IMU_6DOF.cab file contains USB drivers that are compatible with both only 32-bit Windows systems. The drivers are unpacked the same time the software application is loaded by double clicking the setup.exe file. The first time the ADISUSB board is plugged into the computer (using the included USB mini cable) the hardware is recognized and loaded. The computer Hardware Wizard will find and install the drivers by following the steps below.

The following pictures show the final steps for USB driver install. Click on Next then click on Finish completing the installation.

WARNING: For those who are using Windows XP, Service Pack 3, additional steps are required for completing the driver installation. Please see page 8, on the ADISUSB User Guide (UG-363) for additional information on these steps.

IMU_6DOF Six Degree of Freedom Demonstration SOFTWARE

After the USB driver installation is complete, connect the ADISUSB USB connector to the PC, using the USB Mini cable, from the ADISUSB kit. D2 will illuminate as soon as this connection is made. This indicates that the ADISUSB has power and is going through its start-up/initialization process. During the initialization process, several messages may appear on the screen. They are related to updating the ADISUSB firmware and establishing communication between the PC and the ADISUSB. After the updates are finished double click on the IMU_6DOF.exe file to launch the software application.

Main Window

Once the IMU_6DOF Six Degrees of Freedom Demonstration Software starts-up, the Main Window will appear and look like the following picture (which has highlights to support additional descriptions, see below the graphic).

The orange box identifies the drop-down menus, which provide a number of useful features. The Devices option provides a list of products for ADIS16334 Evaluation, click on Devices and then select ADIS16334. The green box shows the current device selection, which in this case, identifies the ADIS16334 as the current selection.

The Registers option provides a listing of user-configurable registers in the ADIS16334 and also provides read/write access to each one of these registers.

The Datalog option provides the core data collection function.

The purple box identifies the output registers, which update, real-time, after pressing the Read button (see the red box for the location of the Read button).

The yellow box identifies the two waveform recorder windows. The top window contains the three gyroscope outputs. The bottom window contains the three accelerometer responses. Also, each waveform matches the color of its register (see register titles in the purple box).

Register Access

The purpose of the Register Access window is to provide both read and write access to the user registers in the ADIS16334. The following picture shows the appearance of this window.

The color coded boxes illustrate the different functions that this window provides.

The purple box identifies the register category. In addition to the Control/Status, this drop-down control offers access to Output and Calibration registers.

The red box identifies all of the registers that are in the current category. Click on the register name to select a register for individual read/write access.

The green box identifies the read/write control options for the current register selection. Use the hexadecimal format when writing commands to a particular register.

The yellow box updates all the registers in the current category.

The Update Flash command saves writable user register data.

APPLICATION TIP: The Register Access screen writes to user control registers, inside of the ADIS16334, two bytes at a time. So, when configuring a register, make sure to include the hexadecimal number for all 16-bits, before pressing the Write Register button. When using an embedded processor to write to user control registers, inside of the ADIS16334, each command (16-bits) writes to one byte at a time.

Data Capture Menu

The Data Capture function supports synchronous data acquisition, based on the data-ready signal from the ADIS16334. The following picture represents the Data Capture window, right after opening it from the Main Window and the second picture provides color-coded boxes, in order to support further discussion of each function that is associated with this screen.

The red box identifies all of the registers that are eligible for inclusion in the next acquisition process. Click on each box to include a register in the next data acquisition sequence. The box will have a check mark when it has been selected.

The green box identifies the configuration box for the name and location of the data storage file.

The yellow boxes identify a number of configuration options for the data acquisition process. The Samples per File is a user input for the total number of samples in a data record. Note that all selected registers will have this number of samples in the data record file, after the acquisition process completes. After each update to the Record Length box, the software calculates then displays the total Capture Time. The Numeric Data Only..No File Header option allows the user to add or remove the header in the data storage file. The No Scale LSB's Only causes the software to convert the decimal, twos complement number into its representative value. For example, when enabling No Scale LSB's Only, the gyroscope outputs will be in units of degrees/second.

EXAMPLE EXERCISES

This section currently has no ADIS16334-specific content, but the ADIS16448 Evaluation on the EVAL-ADIS Wiki Site has some good examples to start with.

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(0)
发评论

下载排行榜

全部0条评论

快来发表一下你的评论吧 !

'+ '

'+ '

'+ ''+ '
'+ ''+ ''+ '
'+ ''+ '' ); $.get('/article/vipdownload/aid/'+webid,function(data){ if(data.code ==5){ $(pop_this).attr('href',"/login/index.html"); return false } if(data.code == 2){ //跳转到VIP升级页面 window.location.href="//m.lene-v.com/vip/index?aid=" + webid return false } //是会员 if (data.code > 0) { $('body').append(htmlSetNormalDownload); var getWidth=$("#poplayer").width(); $("#poplayer").css("margin-left","-"+getWidth/2+"px"); $('#tips').html(data.msg) $('.download_confirm').click(function(){ $('#dialog').remove(); }) } else { var down_url = $('#vipdownload').attr('data-url'); isBindAnalysisForm(pop_this, down_url, 1) } }); }); //是否开通VIP $.get('/article/vipdownload/aid/'+webid,function(data){ if(data.code == 2 || data.code ==5){ //跳转到VIP升级页面 $('#vipdownload>span').text("开通VIP 免费下载") return false }else{ // 待续费 if(data.code == 3) { vipExpiredInfo.ifVipExpired = true vipExpiredInfo.vipExpiredDate = data.data.endoftime } $('#vipdownload .icon-vip-tips').remove() $('#vipdownload>span').text("VIP免积分下载") } }); }).on("click",".download_cancel",function(){ $('#dialog').remove(); }) var setWeixinShare={};//定义默认的微信分享信息,页面如果要自定义分享,直接更改此变量即可 if(window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i) == 'micromessenger'){ var d={ title:'ADIS16334对ADISUSB系统的评测',//标题 desc:$('[name=description]').attr("content"), //描述 imgUrl:'https://'+location.host+'/static/images/ele-logo.png',// 分享图标,默认是logo link:'',//链接 type:'',// 分享类型,music、video或link,不填默认为link dataUrl:'',//如果type是music或video,则要提供数据链接,默认为空 success:'', // 用户确认分享后执行的回调函数 cancel:''// 用户取消分享后执行的回调函数 } setWeixinShare=$.extend(d,setWeixinShare); $.ajax({ url:"//www.lene-v.com/app/wechat/index.php?s=Home/ShareConfig/index", data:"share_url="+encodeURIComponent(location.href)+"&format=jsonp&domain=m", type:'get', dataType:'jsonp', success:function(res){ if(res.status!="successed"){ return false; } $.getScript('https://res.wx.qq.com/open/js/jweixin-1.0.0.js',function(result,status){ if(status!="success"){ return false; } var getWxCfg=res.data; wx.config({ //debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 appId:getWxCfg.appId, // 必填,公众号的唯一标识 timestamp:getWxCfg.timestamp, // 必填,生成签名的时间戳 nonceStr:getWxCfg.nonceStr, // 必填,生成签名的随机串 signature:getWxCfg.signature,// 必填,签名,见附录1 jsApiList:['onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ','onMenuShareWeibo','onMenuShareQZone'] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2 }); wx.ready(function(){ //获取“分享到朋友圈”按钮点击状态及自定义分享内容接口 wx.onMenuShareTimeline({ title: setWeixinShare.title, // 分享标题 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享给朋友”按钮点击状态及自定义分享内容接口 wx.onMenuShareAppMessage({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 type: setWeixinShare.type, // 分享类型,music、video或link,不填默认为link dataUrl: setWeixinShare.dataUrl, // 如果type是music或video,则要提供数据链接,默认为空 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享到QQ”按钮点击状态及自定义分享内容接口 wx.onMenuShareQQ({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口 wx.onMenuShareWeibo({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享到QQ空间”按钮点击状态及自定义分享内容接口 wx.onMenuShareQZone({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); }); }); } }); } function openX_ad(posterid, htmlid, width, height) { if ($(htmlid).length > 0) { var randomnumber = Math.random(); var now_url = encodeURIComponent(window.location.href); var ga = document.createElement('iframe'); ga.src = 'https://www1.elecfans.com/www/delivery/myafr.php?target=_blank&cb=' + randomnumber + '&zoneid=' + posterid+'&prefer='+now_url; ga.width = width; ga.height = height; ga.frameBorder = 0; ga.scrolling = 'no'; var s = $(htmlid).append(ga); } } openX_ad(828, '#berry-300', 300, 250);