?
?
?电子塑封机使用方法??
????????????????????????????? 一、接通电源:插上电源插头后,将开关分别置于“顺转”“封塑”位置,启动电源开关? ????????????????????????????? 二、设定和调节温度:调节“调温”旋纽,再将温度表指针设定在150℃左右,预热至? “预热”指示灯亮,即可开始塑封。
????????????????????????????? 三、塑封方法:将待塑封的相片证件夹在设卡膜两片之间,从正面送入,证件自行? 从出口板间出来,并取出,塑封即告完成。
????????????????????????????? 四、关机。 注意事项??
????????????????????????????? 1、机器预热时间因环境温度不同而有所差异,一般情况下,夏天气温较高时,预热时间较短,此时设定温度可以低些。冬天则相反,预热时间长些,设定温度应高些。??
????????????????????????????? 2、塑封时,设定温度过低,会造成不完全性封接;温度过高,则因薄膜过热而出现皱折,甚至将片卷入机内。此时应用“调温”旋钮重新设定温度。??
????????????????????????????? 3、本机底板下有四个螺丝,用于胶辊前后、左右的压力调节。如果塑封面两边或某一边有不完全性封接时,可调节这些螺丝。但切不可将螺丝旋得太紧,以免造成塑封面皱折和电机负荷过重。? ??????????????????????????????? 4、胶辊表面有异焦物时,应在切断电源而胶辊仍然时,用棉花醮酒精或香蕉水擦之;
一、器材
max6675
?
值得注意的是:max6675需要配合图中的温度探头一起使用,单独使用是不能获取温湿度的
测温范围:0度到1024度
温度分辨率:0.25度
工作电压:3.0v----5.5v
arduino uno
?二、接线
max6675arduino unovcc5vgndgndsckd6csd5s0d4
三、程序
mixly程序
arduino代码
#include "max6675.h"
max6675 thermocouple(6, 5, 4);
void setup(){
serial.begin(9600);
serial.println("max6675 test");
delay(500);
}
void loop(){
serial.print("c = ");
serial.println(thermocouple.readcelsius());
serial.print("f = ");
serial.println(thermocouple.readfahrenheit());
delay(1000);
}
四、效果
?
硬件原理:加热电阻为400,电源为市电,固态继电器控制通断,并提取市电的过零信号,单片机采用mega48,继电器通断最小时间为10ms,通断pwm的周期为100个过零信号.
本程序采用绝对式pid算法,当温度相差很多时,采用p算法(比例算法),当到达设定温度时,采用pid算法,实际实用稳定性还可以,上下波动在0.5度以内.
#include
#include "pid.h"
//static pid spid;
//static pid *sptr=&spid;
tadd tadd1;
tadd tadd2;
void incpidinit(pid *sptr)
{
sptr->sumerror=0;
sptr->lasterror=0;
sptr->preverror=0;
//sptr->proportion = 900;
//sptr->integral=20;
//sptr->derivative = 2;
//sptr->setpoint = 0;
}
typedef struct
{
int setpoint; //设定目标值
int32_t sumerror; //误差累计
//int proportion;
//int integral; //积分常数
//int derivative; //微分常数
int lasterror; //error[-1]
int preverror; //error[-2]
}pid;
#de
还没有评论,来说两句吧...