你是游客! 注册 | 登录 | 资料修改 | 用户必读 | 搜索 | 管理
奖罚日志 | 排行榜 | 精华区 | 废弃区
 ZEON 〖版主: 荒野の迅雷(VischDonahue) | 吉恩复兴社会党(weizhenyu) 〗
HP:100 | 气力:105 页码:  1 2 下一页
作者 主题:今日状态好,无差别发贴来了。人挡杀人,佛阻轼佛。继续灌呀~~~~
在线 冰..蓝扎古
(bluezaku)
= 新人指导员 =
所 属:吉恩
等 级:上尉
帖 数:5644
EXP:1549
 
发表时间:2006/2/17 1:17:00

这个东西做了我1个半月时间,当时每天就睡3小时,早上上课,晚上打工,回来继续做-0-。
最后老师还算有良心,给了我一个A......

======================================================================
简单说一下大致的原理- -

图1
我称这把尺叫数字游卡标尺。整把尺由单片机和一把安装有步进马达的普通游卡标尺组成。
另外尺上安装有一个电池包。

先说一下步进马达

图2
图2内有根轴的立方金属物体就是步进马达,此类马达和普通马达不同之处在于
1:该马达的轴可逐步旋转。
2:该马达轴所转动的角度,频率,方向都可由特殊芯片(MC3479见图3)进行控制。

图3
凭借以上特点,我们可以任意控制此马达的转速和方向。

回到尺上,该尺被设计为拥有两种功能:

1:手动模式
在此模式里,用户自行手动调节游卡标尺。

图4
图4内的电位器(黄色包裹物内)由一齿轮与尺连接,工作时从电池包(见图5内,尺的下部)内通以3V电压。

图5
当标尺滑动时,齿轮带动图4内的电位器改变电压,该电压被输入进单片机内,转换成数字形式,通过公式运算成长度。由此得出所量物体的长度。且被显示在LCD(图6)上。
如2V电压时,尺走了3英寸,那么我们即可将2V电压(需转换成数字形式)放入事先写好的公式内,转换成3英寸,显示在LCD上。

图6

2:自动模式
在该模式内,用户由键盘

图7
输入所需长度尺寸,按enter键输入。

图8
游卡标尺即可自行运走到所需尺寸之位置。
其原理即在于将输入之数字,转换成时间,根据马达轴自身的周长进行公式运算。
如1英寸马达走3秒,我们即可将输入的1。00换算成让马达正时针旋转3秒的公式内。
3秒后马达就能带动标尺,旋转到1英寸,我们所需的位置。
然后按键盘上任意键,马达逆时针旋转3秒。即游标卡尺回到初始位置


最终报告


CPJ655 Project Final Report






THE DIGITAL VERNIER





Pro. : Benjamin Shefler
Submitted by:
xxx,xxx xxx
ID: 048xxxx34
xx,xxx xxx
ID: 048xxxx30
Semester: Winter, 2005
E-mail:
xxxxx@learn.senecac.ca
xxxxx@learn.senecac.ca




SENECA COLLEGE OF APPLIED ARTS AND TECHNONOLGY – NEWNHAM CAMPUS





Introduction

Our project is a digital vernier that is a precision instrument that can be used to measure internal and external distances extremely accurately.
Earlier versions of this type of measuring instrument had to be read by looking carefully at the imperial or metric scale and there was a need for very good eyesight in order to read the small sliding scale.
Digital Vernier can be easily used as the measurement can be displayed on the LCD display clearly. It is more convenient than measuring with early vernier.
And when using the early version of vernier caliper, it is also difficult to adjust it to get the specific length. Even if we look at it very carefully, sometimes we will still make some mistakes to get the value we want.
So a step-motor will be added to this vernier to move around and reach the value entered from the keypad in MIB board. So when we want a special length value, we do not need to pull or push the vernier carefully to get the right value. Entering the value that you want to get, the vernier will extend automatically. It is clear to see and more convenience than the old versions.
Manually operated vernier calipers can still be bought and remain popular because they are much cheaper than the digital version. Also, the digital version requires a small battery whereas the manual version does not need any power source.




Operation Instruction

After connecting the power to the MIB, a welcome screen will display on the LCD play first. And then press the ENTER button, the program will process and menu screen displays on the LCD player. There are two options in menu screen:
1. Measure Mode and 2. Auto Mode.
Only one option can be chosen one time.
Option 1 will set the vernier to the determining mode. In this mode, we can pull or push the vernier to determine the distance that can be read as imperial and display the value on LCD play. With pressing the UP button on the keypad, we will return to the menu screen.

The option 2 will set the vernier to the auto mode. In this mode, you can press the value of distance you want by the keypad. And with the Enter button being pressed, the vernier will keep extending automatically until the length is same as the value that is entered before.

The unit for option is also imperial. When the digital vernier stop moving, the LCD player will display the menu screen again and wait for the new command.




Theory of Operation

The theory of this digital vernier consists of two parts.

The first part is determining mode. The theory is as shows in figure-1. A gear is used to connect the resistor to the vernier caliper. Then when we pull or push the vernier, the resistor will also change the value by the rotating gear. With the change of the value of resistance, the voltage from the power supply will change too. Our program will convert the change of voltage units to the imperial and display it on the LCD play.


Figure 1: The structure of vernier

The second part of this project is connecting the step-motor to vernier caliper.
A step-motor circuit consists of step-motor, step-motor driver MC3479, capacitors and diodes. The schematic of step-motor circuit is mentioned in the appendix


Figure 2: The structure of vernier with step-motor

Our program first compare the value entered from keypad and then calculate how long should step-motor work to fix the value we want. Then step-motor will start work until the value is fixed.
The following formula is for calculating the time how the motor should work until arrive at the length we input.
Diameter of step-motor’s axis: 0.2inch
Perimeter of step-motor’s axis: 0.62inch
Because we use half step mode so each step is 0.9deg and we use 100HZ frequency make the motor work:
So 360deg/0.9degx0.01s=4s
We get that motor finishes one round needs 4s.
0. 62inch/1inch=4s/x
x=6.45s
So each round needs 6.45s and the factor is 645
The time T that motor should keep working equals to
T=645xnx0.01(n is the length we input)





Future Developments

As mentioned in introduction, digital vernier caliper is much more expensive than the old version of vernier caliper. And it needs a power supply for it.
So in order to make the digital vernier more usually used than the old vernier, the cost should be reduced and the size of it should be smaller.
Because the equipment we have is not good enough to make a better precise.
The digital vernier ‘s precision can still be increased. Getting the closest value is the most important part of this vernier caliper.
And the digital vernier can be improved to use with computer. After the users determine the distance or image, the date will be transmitted to the computer. Then the picture can be seen on the screen of computer.
It avoids users to spending the extra time to draw the picture on the computer. This function will be helpful to some specific jobs like designing, cartography and etc.





APPENDIX



PARTS LIST

Total: $320.00





Hardware Schematics
step-motor.........................KP35M7

Connection of Stepping Motor






Software Flowchart






Troubleshooting

1. Why I can’t start the program when I push the reset button?
A: Please make sure any wires are not connecting the PE0.

2. Why I can’t make the vernier move when I using manual mode?
A: Please make sure that the switch of the Auto Mode is on the off side.

3. What can I do when the system shut down?
A: Please disconnect the red wire on PE0 and push reset button.

4. When I using the manual mode there is not any value displayed on the screen.
A: Please make sure that the switch of Manual mode is on the on side.

5. If you have done all of above and also can’t make the vernier work, please contact us.





=========================================================================


无视吧,今天我疯了- -|||

[被 = 冰蓝扎古 =(bluezaku) 于2006-2-17 1:26:43修改]
[被 = 冰蓝扎古 =(bluezaku) 于2006-2-17 1:57:51修改]



阿初姐姐卡过乙~~~~ 
个人BLOG:
冰蓝下的天空-0- 

在线
Lonely a life time
(Gchru)
所 属:新吉恩
等 级:上尉
帖 数:8958
EXP:2601
 
发表时间:2006/2/17 1:23:32
精神:大激励

原来大致能想到.但做起来就.....
这是个好东西


在线
冰..蓝扎古
(bluezaku)
= 新人指导员 =
所 属:吉恩
等 级:上尉
帖 数:5644
EXP:1549
 
发表时间:2006/2/17 1:29:24

下面引用Lonely a life time(Gchru)在2006-2-17 1:23:32发表的内容:
原来大致能想到.但做起来就.....
这是个好东西


灵感来自武藤兰的某部片子- -


在线
乳酸惠~銀銀ちゃん!僕をジャンクにして!
(TMR)
所 属:吉恩
等 级:上尉
帖 数:20647
EXP:1084
 
发表时间:2006/2/17 1:31:16

图我全看不到。。小冰快真厉害。。学什么的来着。。。
见鬼了。。回贴就看到了。。。

恩。灵感是。。是用尺子测量那里有多深吧?

[被 大塚愛のウタ、耳の周りに響く(TMR) 于2006-2-17 1:32:29修改]


在线
冰..蓝扎古
(bluezaku)
= 新人指导员 =
所 属:吉恩
等 级:上尉
帖 数:5644
EXP:1549
 
发表时间:2006/2/17 1:37:56

下面引用大塚愛のウタ、耳の周りに響く(TMR)在2006-2-17 1:31:16发表的内容:
图我全看不到。。小冰快真厉害。。学什么的来着。。。
见鬼了。。回贴就看到了。。。

恩。灵感是。。是用尺子测量那里有多深吧?


小惠你好邪恶> <





















不是深,是距离啦,某两点间的距离- -

当时就想,如果事先知道蓝蓝的尺寸,倒过来输入进尺,
让尺自己精确走到该位置,那全世界的女性不都能很方便地和蓝蓝进行比较了么


>_<精神上匿了


在线
Lonely a life time
(Gchru)
所 属:新吉恩
等 级:上尉
帖 数:8958
EXP:2601
 
发表时间:2006/2/17 1:49:05

楼上两人很邪恶...

鉴定完毕..


在线
冰..蓝扎古
(bluezaku)
= 新人指导员 =
所 属:吉恩
等 级:上尉
帖 数:5644
EXP:1549
 
发表时间:2006/2/17 2:01:03

下面引用Lonely a life time(Gchru)在2006-2-17 1:49:05发表的内容:
楼上两人很邪恶...

鉴定完毕..


俺们是在讨论专业性技术问题呢-0-


在线
Lonely a life time
(Gchru)
所 属:新吉恩
等 级:上尉
帖 数:8958
EXP:2601
 
发表时间:2006/2/17 2:04:56

下面引用= 冰蓝扎古 =(bluezaku)在2006-2-17 2:01:03发表的内容:
俺们是在讨论专业 性技术 问题呢-0-



=0=


在线
冰..蓝扎古
(bluezaku)
= 新人指导员 =
所 属:吉恩
等 级:上尉
帖 数:5644
EXP:1549
 
发表时间:2006/2/17 2:06:36

下面引用Lonely a life time(Gchru)在2006-2-17 2:04:56发表的内容:

=0=


OTL.............


在线
ミヒロ萌死我了ミヒロ萌死我了ミヒロ萌死我
(chri)
所 属:奥布
等 级:三曹
帖 数:23427
EXP:72
 
发表时间:2006/2/17 2:17:49

小冰冰学电子的呀


在线
五代裕作
(19850404)
所 属:新吉恩
等 级:少校
帖 数:20952
EXP:3547
 
发表时间:2006/2/17 2:27:10

邪恶的淫们
我刚湿了


在线
冰..蓝扎古
(bluezaku)
= 新人指导员 =
所 属:吉恩
等 级:上尉
帖 数:5644
EXP:1549
 
发表时间:2006/2/17 2:41:26

下面引用敌羞!吾去脱她袜(19850404)在2006-2-17 2:27:10发表的内容:
邪恶的淫们
我刚湿了


又说这种摸棱两可的话,BS凸- -凸


离线
Auf Wiedersehen
(angel_last)
= 斑竹 =
所 属:联邦
等 级:少将
帖 数:16890
EXP:50763
 
发表时间:2006/2/17 5:10:45

金工实习


离线
ColinQ
(ColinQ)
所 属:新吉恩
等 级:上校
帖 数:908
EXP:12964
 
发表时间:2006/2/17 6:14:29

320刀....orz


离线
LOLITA/STAY NIGHT
(phoenix_prince)
所 属:新吉恩
等 级:中校
帖 数:2443
EXP:6653
 
发表时间:2006/2/17 9:12:34

貌似那部片子我电脑里还有

楼下有人想学习么?


在线
EUF中亚战区第5独立装甲突击大队大队长
(eva2000as)
所 属:奥布
等 级:一尉
帖 数:1408
EXP:5579
 
发表时间:2006/2/17 9:18:57

其实我想说……这东西以前我家有人做过……封料用的是502和绝缘胶布……



LWP和LWR居然有小说……
Orz∝,搜索行动开始

我的后面是吉布利尔
我的左面是迦布里艾尔
我的右面是乌鲁艾尔
我的前面是米迦勒
在六芒星的光芒中
闪耀着五芒星的火焰
德·该布拉·布拉哈
德·该布拉·阿门!!
——以上这段咒语谁还记得我拜
在线
吉恩复兴社会党
(weizhenyu)
= 斑竹 =
所 属:吉恩
等 级:中校
帖 数:12284
EXP:8248
 
发表时间:2006/2/17 10:34:02

开始几张像在做炸弹·······


在线
『男らしく』でいこう!
(ljf0080)
所 属:奥古
等 级:上尉
帖 数:5305
EXP:2988
 
发表时间:2006/2/17 12:26:27

下面引用= 冰蓝扎古 =(bluezaku)在2006-2-17 1:29:24发表的内容:
灵感来自武藤兰的某部片子- -


虾米片子???


离线
勇者の龙内裤
(hanhuihanhuihan)
= 新人指导员 =
所 属:SIDE
等 级:NT Lv 10
帖 数:22891
EXP:3559
 
发表时间:2006/2/17 13:54:17



看了这张我想到了金百……


在线
冰..蓝扎古
(bluezaku)
= 新人指导员 =
所 属:吉恩
等 级:上尉
帖 数:5644
EXP:1549
 
发表时间:2006/2/17 18:46:32

下面引用久我 匡一郎(hanhuihanhuihan)在2006-2-17 13:54:17发表的内容:
看了这张我想到了金百……


-0-说来听听……


离线
勇者の龙内裤
(hanhuihanhuihan)
= 新人指导员 =
所 属:SIDE
等 级:NT Lv 10
帖 数:22891
EXP:3559
 
发表时间:2006/2/17 18:53:28

下面引用= 冰蓝扎古 =(bluezaku)在2006-2-17 18:46:32发表的内容:
-0-说来听听……

怎么说?就是很神似来着~`只可意会!


HP:100 | 气力:105 页码:  1 2 下一页

 

广告业务 | 网页制作 | 关于我们 | 联系合作

——————————————————————————————————————

Copyright (C) 2001 中国机动战士联盟MSL( http://www.cnmsl.net ) , All Rights Reserved

MSL是英文Mobile Suit League的缩写