×

卡西欧计算器外部存储器开源

消耗积分:0 | 格式:zip | 大小:0.03 MB | 2023-02-09

王浩

分享资料个

描述

这个项目的灵感最初来自卡西欧92B,这是比利时和法国推荐的人文计算器。不幸的是,92B 除了它的优雅外,并没有给人留下深刻印象……

最近刚高中毕业就发现了 92+ 及其算法模式,我很高兴看到陪伴我六年的“那个”计算器要让我忙一阵子了!

...唯一令人失望的当然是 92+ 没有内部存储器。

所以我认为创建一个外部的、可拆卸的内存模块来保存那些重写成为繁重任务的长程序会很有趣。

尽管此模块可以与任何计算器(或任何带有矩阵键盘的设备)兼容,但它主要是为卡西欧 FX-92+ 设计的。

模块

位于模块核心的 Arduino 微控制器驱动四个集成电路 (CD4066),进而模拟计算器上的按键操作。一块CD4066集成电路由4个双边电子开关组成,当所需按键的列对应的电子开关和行对应的电子开关同时被激活时,计算器上的一个键被“按下”。

在模块的底部,有5个按钮用于选择存储在arduino的EEPROM中的5种算法中的一种。每个算法可以包含 200 个指令/击键坐标。

矩阵

MATRIXIO 是一个将算法加载到 arduino 的 EEPROM 中的程序。指令和关键坐标可以通过 arduino IDE 串行监视器手动发送,或通过用 Python 编写的加载程序自动发送。(可在此处获取:github.com/adityachugh02/casio-external-memory

将 MATRIXIO 上传到 arduino 后,将串口监控线结束设置为“换行”。

MATRIXIO v1.0 (c) Jan 2022 Aditya Chugh -type 'help'-

Commands:
xy : 		Instruction, where x is column and y is row of calculator key
a~t : 		Shortcut instruction sequences
write : 	Enable writing of instructions to EEPROM memory
read : 		Disable enable writing of instructions to EEPROM memory
prog 1~5 : 	Memory address set to beginning of program 1~5
clear 1~5 : 	Clears all 200 instructions of program 1~5
list 1~5 : 	Lists all 200 instructions of program 1~5
addr 0~999 : 	Memory address set to 0~999 (for uno & nano)
On Casio FX-92B & FX-92+, the bottom-most row is matrixed differently, keys should hence be addressed as such : 
'0' : 65
',' : 64
'x10^x' : 63
'ANS/REP' : 62
'EXE' : 61
Shortcut instruction sequences for Casio FX-92+:
a : avancer de
b : tourner de
c : s'orienter à
d : aller à x,y
e : stylo écrit
f : stylo relevé
g : mettre var à
h : demander valeur
i : commentaire
j : afficher résultat
k : style
l : attendre
m : répéter
n : répéter jusqu'à
o : si alors
p : si alors sinon
q : exécuter
r : copier et insérer
s : insérer ligne
t : tout supprimer

键盘矩阵

 

 
 
 
pYYBAGPjO9uAYzLMAAh1LA6uVjU322.jpg
 
1 / 2
 

 


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

评论(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.jibsdb.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:'卡西欧计算器外部存储器开源',//标题 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:"https://www.elecfans.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);