1 Arduino LCD触摸屏双通道示波器-德赢Vwin官网 网
×

Arduino LCD触摸屏双通道示波器

消耗积分:2 | 格式:zip | 大小:0.01 MB | 2023-02-03

张昂笙

分享资料个

描述

2009 年,Noriaki Mitsunaga 先生创建了一个简单的 Arduino 示波器。

Arduino 示波器 (mtng.org)

它的显示屏是 128x64 单色 LCD。然后他还使用了不带触摸屏的 320x240 彩色 LCD。

2017年,基于以上,Sipos Péter先生,可能是俄罗斯人,现在网址已经无法访问,使它可以用触摸屏操作。但可控制的项目是有限的。

受此启发,我让它完全可控,但可以选择 AC/DC。并且我已经将采样率扩展到307ksps(单通道),并且从另一个项目移植了高达16Msps的等效时间采样率。

特征

  • 实时采样率高达 307ksps
  • 等效时间采样率高达 16Msps
  • 最多 2 个通道
  • FFT显示模式
  • 带宽约为100kHz
  • 脉冲发生器频率输出为 1kHz,用于自测
  • 设置由屏幕触摸面板控制
  • 设置自动保存

320x240 2.4寸TFT LCD shield with touch panel如果离开SD卡接口就只有A5,TXD,RXD空闲。假设A5是模拟输入,剩下的TXD和RXD是内部连接的,用于USB下载程序,尽量不用。目前,您可以仅使用 A5 来检查操作,但仅此一项很无聊。我想充分利用假定 2CH 的软件。

一些使用 QFP 封装的 Arduino UNO 兼容机器有 A6 和 A7 通孔。因此,使用它们将 A6 分配给 CH1 A/D 输入,将 A7 分配给 CH2 A/D。因此,它可以是一个 2 通道示波器。此外,如果使用屏蔽板与 Arduino Nano 或 Pro Mini 一起制作类似 UNO 的板并且不连接 SD 卡端子,则可以使用 D10-D13,因此可以将其用于 DC/AC 选择等判断。

dsc00005_89SgYoWFCB.JPG?auto=compress%2Cformat&w=740&h=555&fit=max
 

我想几乎完全使用波形的屏幕,所以如果我将它设置为 10 个水平刻度和 8 个垂直刻度,它将是 300x240,30 个点/刻度,水平方向剩余 20 个点。右侧 20 点宽的按钮区域连接到屏幕外图标。我得到的液晶屏在显示屏外有一个图标,触摸传感器的检测范围扩大到那个程度。也许它适用于旧智能手机,但现在可能很难获得。您可以通过触摸该按钮区域、图标或字符显示位置来进行操作。

320x240 2.4 英寸 TFT LCD 屏蔽罩有多种变体,您可能需要调整控制器 ID 和触摸传感器的引出线。我的 TFT LCD shield 的控制器不是流行的 ILI9341。

虽然完整的描述仍然是日语,但您可以使用浏览器的翻译功能阅读它。

具有等效时间采样的 Arduino LCD 触摸屏双通道示波器 (xrea.com)


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

评论(0)
发评论

下载排行榜

全部0条评论

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

'+ '

'+ '

'+ ''+ '
'+ ''+ ''+ '
'+ ''+ '' ); $.get('/article/vipdownload/aid/'+webid,function(data){ if(data.code ==5){ $(pop_this).attr('href',"//www.hzfubeitong.com/m/login/index.html"); return false } if(data.code == 2){ //跳转到VIP升级页面 window.location.href="https://m.elecfans.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:'Arduino LCD触摸屏双通道示波器',//标题 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.hzfubeitong.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);