在深入了解Flash存储器的基础上,采用单片机自动检测存储器无效块。主要通过读取每一块的第1、第2页内容,判断该块的好坏,并给出具体的实现过程,以及部分关键的电路原理图和C语言程序代码。该设计最终实现单片机自动检测Flash坏块的功能,并通过读取ID号检测Flash的性能,同时该设计能够存储和读取1GB数据。 Abstract: On the basis of in-depth understanding the Flash chips,this paper designs a new program which using the SCM to detect the invalid block.Mainly through reading the data of the first and second page to detect the invalid block.Specific implementation procedure was given,and the key circuit schematic diagram and C language program code was introduced.This design achieved the function of using the MCU checks the invalid block finally,and increased the function by reading the ID number of Flash to get the performance of the memory.And the design also can write and read1GB data
上传时间: 2013-10-25
上传用户:taozhihua1314
概述 HT46R32/HT46R34是8位高性能精简指令集单片机,专门为需要A/D转换的产品而设计,例如传感器信号输入。内置放大器/比较器和PWM调制功能使得这款单片机处理模拟信号的能力更加强大。 低功耗、I/O使用灵活、可编程分频器、计数器、振荡类型选择、多通道A/D转换运算放大器/比较器、脉冲测量功能、暂停和唤醒功能,使这款单片机可以广泛应用于传感器的信号处理、马达控制、工业控制、消费类产品、子系统控制等等。
上传时间: 2013-11-13
上传用户:哈哈hah
在汽车发动机起动时,若发动机起动后起动机不能及时断电,将会烧毁起动机或损坏飞轮齿环;若变速器不在空档位置起动,则起动机的瞬间动力将使汽车位移,还可能引起交通事故和人身安全。为此介绍一种利用NXP P89LPC901单片机控制的汽车起动保护控制器,通过检测汽车起动开关、变速箱档位、发动机转速,实现对汽车发动机起动过程检测和保护。起动保护控制器在发动机起动过程中通过采用逐个关闭打开负载系统,解决汽车发动机过程中因起动电流大而对汽车电源的冲击影响,延长了电瓶寿命。 Abstract: When the automotive engine is started, the engine start motor and flywheel gear may be damaged, even traffic accidents and personal safeties may be caused by wrong operation or other factors.In order to ensure the automotive engine can be started normally and safely,it is necessary that the protecting measures and methods are considered in the automotive electrical control system.This paper introduces a kind of the automotive engine starting protect controller based on NXP P89LPC901 MCU.The controller can protect the engine starting process by detecting the starter key switch,transmission stall and engine speed.Through the use of close and open load system,the controller can solve the impact on automotive power because of the high-current load in the process of the automobile engine starting, and extend battery life.
上传时间: 2013-10-15
上传用户:mikesering
利用Atmel公司的ATmega168微处理器,采用A/D转换方式来实现按摩椅控制器的键盘接口,通过在硬件电路中巧妙地选择电阻,在软件设计中采用数字滤波、二分法和区间鉴定等方法,灵敏可靠地实现了按摩椅中30个按键的处理。给出了硬件电路设计和软件设计思想以及部分汇编代码。 Abstract: This paper chooses A/D conversion method to realize the keyboard interface of the controller by using ATmega168 microchip from Atmel Company.It accomplishes 30-key dealing sensitively and reliably in massage chair through skillfully selecting resistors in hardware circuit and using digital filter,dichotomy and area-judging method in software design.The hardware design circuit, software design idea and partly assembles code are presented mainly.
上传时间: 2014-01-10
上传用户:咔乐坞
介绍了一种基于MSP430系列单片机和ADXL203加速度传感器的数字式倾角仪,它不仅可以实现水平度检测,而且可以测量00~3600范围内的任意倾角,分辨率可达O.1。。此外,由于该倾角仪输出为数字结果,因此它也可以与其他的数字设备结合起来,组合成一个功能更加强大的仪器。该数字倾角仪可广泛应用于建筑、机械、道路、桥梁、石油、煤矿和地质勘探等各种需要测量重力参考系下倾角的场合。关键词:MSP430F133单片机;力敏传感器;ADXL203加速度计;角度测量 Abstract:This paper presents a new style digital inclinometer which is developed on the basis of the MSP430F133 MCU and the ADXL203 dual axis aeeelerometer.This inclinometer not only can test levelness,but also can measure any angle between 0。and 360。with an accuracy of 0.1 O.In addition,its output is a digital result,which makes it possible to integrate itself with other digital devices to form a more functional unit.This inclinometer can be widely used in any construction site,oil field,coal-mine or geologic survey and SO on where it will provide the working people with convenience to measure any angles.Key words:MSP430F133 MCU;force sensor;ADXL203 accelerometer;angle measurement
上传时间: 2013-11-14
上传用户:lizhizheng88
汽车发动机电控系统的结构与维修(A)试题
上传时间: 2013-10-09
上传用户:hsfei8
HT46R23/HT46C23是8位高性能精简指令集单片机,专门为需要A/D转换的产品而设计,例如传感器信号输入。掩膜版本HT46C23与OTP版本HT46R23引脚和功能完全相同。低功耗、I/O使用灵活、可编程分频器、计数器、振荡类型选择、多通道A/D转换、脉冲测量功能、I2C通信、暂停和唤醒功能,使这款单片机可以广泛应用于传感器的A/D转换、马达控制、工业控制、消费类产品等系统中。
上传时间: 2013-11-02
上传用户:aa54
单片机在日常生活中用得越来越多,其集成度也越来越高,目前拥有多种单片机都集成有A/D转换功能,如PIC,AVR,SUNPLUS,SH等。处理器的位数从4位到32位或更高,转换精度从6位,8位,10位或更高。
上传时间: 2013-10-28
上传用户:xa_lgy
摘 要:从应用角度介绍了具有11个输入端的12位A/D转换器TLC2543的结构与编程要点,探讨了TLC2543与51系列单片机的接口方法,用软件合成SPI操作,给出了接口电路与A/D采集程序设计实例,并对实际应用时应注意的问题进行了探讨。关键词:A/D转换;TLC2543芯片;51系列单片机;接口技术
上传时间: 2013-11-22
上传用户:瓦力瓦力hong
根据看门狗电路的原理,设计出简单适用、性能可靠的1TrL型看门狗电路以及价格低廉、性能可靠的微功耗CMOS型看门狗电路,同时还介绍了常用的uP监视器O型看门狗电路。关键词:看门狗电路;1TrL型;CMOS型Abstract:In accordance with the principle of WDT (Watch Dog Timer 1circuit,design a,IT.L type WTD circuit,it is a dimple an d applicable an d reliable on performanceo Design a CMOS type WTD circuit,it is low prices and mini-power consumption。Also the article describes a common uP type WTD circuit。Key word:WDT circuit;TFL type;CMOS typ e
上传时间: 2013-11-05
上传用户:685