×

CN0216软件用户指南

消耗积分:2 | 格式:pdf | 大小:544.01KB | 2021-04-09

362163

分享资料个

This version (10 Feb 2021 14:36) was approved by Robin Getz.The Previously approved version (13 May 2013 18:15) is available.Diff

CN-0216 Software User Guide

Overview

CN-0216 is a precision weigh scale signal conditioning system. It uses the AD7791, a low power buffered 24-bit sigma-delta ADC along with two external ADA4528-1 zero-drift amplifiers. This solution allows for high dc gain with a single supply.

Ultralow noise, low offset voltage, and low drift amplifiers are used at the front end for amplification of the low-level signal from the load cell. The circuit yields 15.3 bit noise-free code resolution for a load cell with a full-scale output of 10 mV.

This circuit allows great flexibility in designing a custom low-level signal conditioning front end that gives the user the ability to easily optimize the overall transfer function of the combined sensor-amplifier-converter circuit. The AD7791 maintains good performance over the complete output data range, from 9.5 Hz to 120 Hz, which allows it to be used in weigh scale applications that operate at various low speeds.

This user guide will discuss how to use the evaluation software to collect data from the EVAL-CN0216-SDPZ Evaluation Board (CN-0216 Board)

Required Equipment

  • PC with the following Minimum Requirements
    • Windows XP Service Pack 2 (32-bit)
    • USB type A Port
    • Processor rated at 1GHz or faster
    • 512 MB RAM and 500 MB available hard disk space
  • USB type A to USB type mini-B cable
  • Tedeah Huntleigh Model 1042 Load Cell


NOTE - Any 4 or 6 wire load cells can be used with the CN-0216 Board.
This guide was written with the Tedeah Huntleigh Model 1042 in mind.

General Setup


Installing the Software

  1. Extract the file CN0216 Eval Software.zip and open the file setup.exe.

    NOTE: It is recommended that you install the CN0216 Evaluation Software to the default directory path C:/Program Files/Analog Devices/CN0216/ and all National Instruments products to C:/Program Files/National Instruments/

  2. Click Next to view the installation review page



  3. Click Next to start the installation



  4. Upon completion of the installation of the CN0216 Evaluation Software, the installer for the ADI SDP Drivers will execute.

    NOTE: It is recommended that you close all other applications before clicking “Next”. This will make it possible to update relevant system files without having to reboot your computer.





  5. Press “Next” to set the installation location for the SDP Drivers.

    It is recommended that you install the drivers to the default directory path
    C:/Program Files/Analog Devices/SDP/Drivers



  6. Press “Next” to install the SDP Drivers and complete the installation of all software. Click “Finish” when done.


Connecting the Hardware

  1. Connect the Tedeah-Huntleigh (Model 1042) Load Cell to 8-pin header of the EVAL-CN0216-SDPZ (CN-0216 Board) as depicted below.

    NOTE: If a different Load Cell is used other than the
    Tedeah-Huntleigh Model 1042, the wiring schematic will be different!








Using the Evaluation Software

Software Control and Indicator Descriptions

  1. Connect/Reconnect Button
    • When this button is pressed, the SDP-B Board makes a USB connection to the CN-0216 Board. A connection to the SDP-B Board must be made to use the software.
  2. Run Button
    • When this button is pressed, the SDP-B Board will collect conversion data and present the acquisitions in the chart.
  3. Stop Button
    • When this button is pressed, the software stop collecting data from the CN-0216 Board
  4. Clear Chart Button
    • When this button is pressed, the software will clear all data collected from the chart history.
  5. Control Tabs
    • Main - Clicking this tab brings the data collection chart to the front.
    • Calibrate System - Clicking this tab bring the system configuration settings to the front.
  6. Current Weight Numerical Indicator
    • This indicator displays the mass (in grams) on the load cell.
  7. Chart Controls
    • These controls allow the user to zoom-in, zoom-out, and pan through the data collected.
  8. Select Units Radio Buttons
    • This control determines the Y-Axis units of the data displayed in the chart.
  9. System Status String Indicator
    • This indicator displays a message to the user detailing the current state of the software.
  10. System Status LED Indicator
    • This indicator displays the current state of the software in the form of an LED. There are three status LED colors.
      Inactive
      Busy
      Error
  11. Calibration Weight Numerical Control
    • Set this control to the weight of the object used to calibrate the load cell.
  12. Calibrate Button
    • Pressing this button initiates the calibration of the load cell.
  13. ADC Mode Radio Buttons
    • This control is used to set the mode of the AD7791. The default value is Unbuffered Mode and is highlighted in bold on the Calibrate System Tab.
      • Buffered Mode - Selecting this mode turns the on-chip analog input channel buffer of the AD7791 ON.
      • Unbuffered Mode - Selecting this radio button turns the on-chip analog input channel buffer of the AD7791 OFF.
  14. ADC Channel Select Radio Buttons
    • This control is used to select the analog input channel of the AD7791 for conversion. The default value is AIN(+)-AIN(-) and is highlighted in bold on the Calibrate System Tab.
      • AIN(+)-AIN(-) - Selecting this radio button allows for normal operation of the AD7791.
      • AIN(-)-AIN(-) - Selecting this radio button shorts the analog input channels of the AD7791.
      • Vdd Monitor - Selecting this radio button monitors the voltage applied to the Vdd pin of the AD7791. The voltage is attenuated by 5 and the resultant voltage is applied to the ∑-Δ modulator using an internal 1.17 V reference for analog to digital conversion.
  15. Update Rate Radio Buttons
    • This control is used to change the output word rate of the AD7791. The default value is 9.5 Hz and is highlighted in bold on the Calibrate System Tab.
  16. Configure ADC Button
    • When this button is pressed the current value of the ADC Mode Radio Buttons, ADC Channel Select Radio Buttons, and Update Rate Radio Buttons are used to configure the AD7791.

  1. Follow the instructions to properly install the software and connect the hardware as described in the previous sections.
  2. Open the file named CN0216.exe in the installation directory.

    NOTE: If the software was installed to the default location it will be found at
    C:/Program Files/Analog Devices/CN0216/CN0216.exe







  3. Click the Connect/Reconnect Button. A window with a progress bar will load.



  4. Upon success, the System Status String Indicator will display SDP Board Ready to Acquire Data

Capturing Data

  1. Establish a USB Connection Link.
  2. Click the Run Button
  3. Click the Stop Button when acquisition is complete.

Calibrating the Load Cell

  1. Establish a USB Connection Link.
  2. Click the Calibrate System Control Tab.
  3. Set the Calibration Weight Numerical Control to the weight (in grams) of the weight to be used for calibration.
  4. Place the calibration weight on the Load Cell.
  5. Click the Calibrate Button and Wait for calibration to complete.



  6. Remove the calibration weight when prompted to do so.



  7. Click the Continue Button.
  8. Wait for calibration to complete.

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

评论(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:'CN0216软件用户指南',//标题 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);