单片机智能饮水机外文文献
- 格式:pdf
- 大小:394.64 KB
- 文档页数:5
单片机英文文献资料及翻译单片机(英文:Microcontroller)Microcontroller is a small computer on a single integrated circuit that contains a processor core, memory, and programmable input/output peripherals. Microcontrollers are designed for embedded applications, in contrast to the microprocessors used in personal computers or other general purpose applications.A microcontroller's processor core is typically a small, low-power computer dedicated to controlling the operation of the device in which it is embedded. It is often designed to provide efficient and reliable control of simple and repetitive tasks, such as switching on and off lights, or monitoring temperature or pressure sensors.MEMORYMicrocontrollers typically have a limited amount of memory, divided into program memory and data memory. The program memory is where the software that controls the device is stored, and is often a type of Read-Only Memory (ROM). The data memory, on the other hand, is used to store data that is used by the program, and is often volatile, meaning that it loses its contents when power is removed.INPUT/OUTPUTMicrocontrollers typically have a number of programmable input/output (I/O) pins that can be used to interface with external sensors, switches, actuators, and other devices. These pins can be programmed to perform specific functions,such as reading a sensor value, controlling a motor, or generating a signal. Many microcontrollers also support communication protocols like serial, parallel, and USB, allowing them to interface with other devices, including other microcontrollers, computers, and smartphones.APPLICATIONSMicrocontrollers are widely used in a variety of applications, including:- Home automation systems- Automotive electronics- Medical devices- Industrial control systems- Consumer electronics- RoboticsCONCLUSIONIn conclusion, microcontrollers are powerful and versatile devices that have become an essential component in many embedded systems. With their small size, low power consumption, and high level of integration, microcontrollers offer an effective and cost-efficient solution for controlling a wide range of devices and applications.。
单片机课设参考文献2019针对单片机课设参考文献,2019年有许多优秀的文献可以作为参考。
以下是一些可能对你有帮助的文献:1. "Design of Single Chip Microcomputer Experiment Courseware Based on STM32",作者,Yan Li,发表于2019年的《International Journal of Engineering & Technology》。
该文献介绍了基于STM32的单片机实验课程软件的设计,对于单片机课设可能提供了一些有用的思路和方法。
2. "Application of Single Chip Microcomputer in the Design of Intelligent Home Control System",作者,Liang Zhang,发表于2019年的《Journal of Physics: Conference Series》。
该文献探讨了单片机在智能家居控制系统设计中的应用,对于单片机课设的实际应用具有一定的参考价值。
3. "Research on the Application of Single Chip Microcomputer in Intelligent Traffic Light Control System",作者,Xiao Wang,发表于2019年的《IOP Conference Series: Materials Science and Engineering》。
该文献研究了单片机在智能交通灯控制系统中的应用,可能对于单片机课设中涉及到交通信号灯控制的项目有所帮助。
以上文献仅仅是2019年的部分文献,希望对你有所帮助。
当然,在进行课设时,你也可以查阅更多相关的文献,以获取更全面的信息和灵感。
祝你在单片机课设中取得成功!。
A: Fundamentals of Single-chip MicrocomputerT h e s i n g l e-c h i p m i c r o c o mp u t e r i s t h e c u l m i n a t i o n o f b o t h t h e d e v e l o p me n t o f t h e d i g i t a l c o mp u t e r a n d t h e i n t e g r a t e d c i r c u i t a r g u a b l y t h e t o w m o s t s i g n i f i c a n t i n v e n t i o n s o f t h e20t h c e n t u r yT h e s e t o w t y p e s o f a r c h i t e c t u r e a r e f o u n d i n s i n g l e-c h i p m i c r o c o m p u t e r.S o me e m p l o y t h e s p l i t p r o g r a m/d a t a m e mo r y o f t h e H a r v a r d a r c h i t e c t u r e,s h o w n i n F i g.3-5A-1,o t h e r s f o l l o w t h e p h i l o s o p h y, w i d e l y a d a p t e d f o r g e n e r a l-p u r p o s e c o mp u t e r s a n d m i c r o p r o c e s s o r s,o f m a k i n g n o l o g i c a l d i s t i n c t i o n b e t w e e n p r o g r a m a n d d a t a m e mo r y a s i n t h e P r i n c e t o n a r c h i t e c t u r e,s h o w n i n F i g.3-5A-2.I n g e n e r a l t e r m s a s i n g l e-c h i p m i c r o c o m p u t e r i s c h a r a c t e r i z e d b y t h e i n c o r p o r a t i o n o f a l l t h e u n i t s o f a c o m p u t e r i n t o a s i n g l e d e v i c e, a s s h o w n iFig.3-5A-1 A Harvard typeFig3-5A-3. Principal features of a microcomputerRead only memory (ROM)R O M i s u s u a l l y f o r t h e p e r m a n e n t, n o n-v o l a t i l e s t o r a g e o f a n a p p l i c a t i o n s p r o g r a m.M a n y m i c r o c o m p u t e r s a n d m i c r o c o n t r o l l e r s a r e i n t e n d e d f o r h i g h-v o l u m e a p p l i c a t i o n s a n d h e n c e t h e e c o n o m i c a l m a n u f a c t u r e o f t h e d e v i c e s r e q u i r e s t h a t t h e c o n t e n t s o f t h e p r o g r a m m e m o r y b e c o m m i t t e d p e r m a n e n t l y d u r i n g t h e m a n u f a c t u r e o f c h i p s.C l e a r l y,t h i s i m p l i e s a r i g o r o u s a p p r o a c h t o R O M c o d e d e v e l o p m e n t s i n c e c h a n g e s c a n n o t b e m a d e a f t e r m a n u f a c t u r e .T h i s d e v e l o p m e n t p r o c e s s m a y i n v o l v e e m u l a t i o n u s i n g a s o p h i s t i c a t e d d e v e l o p m e n t s y s t e m w i t h a h a r d w a r e e m u l a t i o n c a p a b i l i t y a s w e l l a s t h e u s e o f p o w e r f u l s o f t w a r e t o o l s.S o m e m a n u f a c t u r e r s p r o v i d e a d d i t i o n a l R O M o p t i o n s b y i n c l u d i n g i n t h e i r r a n g e d e v i c e s w i t h(o r i n t e n d e d f o r u s e w i t h)u s e r p r o g r a m m a b l e m e m o r y.T h e s i m p l e s t o f t h e s e i s u s u a l l y d e v i c e w h i c h c a n o p e r a t e i n a m i c r o p r o c e s s o r m o d e b y u s i n g s o m e o f t h e i n p u t/o u t p u t l i n e s a s a n a d d r e s s a n d d a t a b u s f o r a c c e s s i n g e x t e r n a l m e m o r y.T h i s t y p e o f d e v i c ec a n b e h a v e f u n c t i o n a l l y a s t h e s i n g l e c h i p m i c r o c o m p u t e r f r o m w h i c h i t i sd e r i v e d a l b e i t w i t h r e s t r i c t e d I/O a n d a mo d i f i e d e x t e r n a l c i r c u i t. T h e u s e o f t h e s e R O M l e s s d e v i c e s i s c o m m o n e v e n i n p r o d u c t i o n c i r c u i t s w h e r e t h e v o l u m e d o e s n o t j u s t i f y t h e d e v e l o p m e n t c o s t s o f c u s t o m o n-c h i p R O M[2];t h e r e c a n s t i l l b e a s i g n i f i c a n t s a v i n g i n I/O a n d o t h e r c h i p s c o mp a r e d t o a c o n v e n t i o n a l m i c r o p r o c e s s o r b a s e d c i r c u i t.M o r e e x a c t r e p l a c e m e n t f o r R O M d e v i c e s c a n b e o b t a i n e d i n t h e f o r m o f v a r i a n t s w i t h 'p i g g y-b a c k'E P R O M(E r a s a b l e p r o g r a m m a b l e R O M)s o c k e t s o r d e v i c e s w i t h E P R O M i n s t e a d o f R O M。
智能水杯外文文献智能水杯是一种结合了科技与生活的新型产品,它不仅可以帮助人们更方便地补充水分,还具备了多种智能功能。
在国外,智能水杯的研究与开发也颇受关注,下面将介绍几篇关于智能水杯的外文文献。
1. "Design and Development of an Intelligent Water Bottle Based on Internet of Things (IoT) Technology"这篇文献介绍了基于物联网技术的智能水瓶的设计与开发。
文章讨论了智能水瓶的功能和特点,如远程监控水量、提醒喝水、记录水质等。
研究人员通过蓝牙和手机App实现了智能水瓶的智能化控制,为用户提供了更便捷的饮水体验。
2. "Smart Water Bottle: A New Approach to Hydration Monitoring"这篇文献探讨了智能水瓶在监测饮水情况方面的作用。
研究人员通过智能水瓶的传感器和数据分析,可以实时监测用户的饮水量和频率,帮助用户合理补水。
智能水瓶的出现为用户提供了一种全新的饮水监测方法,有助于改善人们的饮水习惯。
3. "Development of a Smart Water Bottle for Hydration Monitoring and Management"这篇文献介绍了一种智能水瓶,旨在监测和管理用户的水合状态。
智能水瓶通过传感器实时监测用户的饮水量和水合状态,并通过智能算法提供个性化的补水建议。
研究人员还研发了一款手机App,可以与智能水瓶实现数据同步和远程控制,为用户提供全方位的饮水管理服务。
4. "A Review of Smart Water Bottle Technologies for Health Monitoring"这篇文献综述了智能水瓶在健康监测方面的应用。
研究人员分析了不同智能水瓶的功能和特点,如水量监测、水质检测、饮水提醒等。
Structure and function of the MCS-51 seriesStructure and function of the MCS-51 series one-chip computer MCS-51 is a name of a piece of one-chip computer series which Intel Company produces. This company introduced 8 top-grade one-chip computers of MCS-51 series in 1980 after introducing 8 one-chip computers of MCS-48 series in 1976. It belong to a lot of kinds this line of one-chip computer the chips have,such as 8051, 8031, 8751, 80C51BH, 80C31BH,etc., their basic composition, basic performance and instruction system are all the same. 8051 daily representatives- 51 serial one-chip computers .An one-chip computer system is made up of several following parts: ( 1) One microprocessor of 8 (CPU). ( 2) At slice data memory RAM (128B/256B),it use not depositting not can reading /data that write, such as result not middle of operation, final result and data wanted to show, etc. ( 3) Procedure memory ROM/EPROM (4KB/8KB ), is used to preserve the procedure , some initial data and form in slice. But does not take ROM/EPROM within some one-chip computers, such as 8031 , 8032, 80C ,etc.. ( 4) Four 8 run side by side I/O interface P0 four P3, each mouth can use as introduction , may use as exporting too. ( 5) Two timer / counter, each timer / counter may set up and count in the way, used to count to the external incident, can set up into a timing way too, and can according to count or result of timing realize the control of the computer. ( 6) Five cut off cutting off the control system of the source . ( 7) One all duplexing serial I/O mouth of UART (universal asynchronous receiver/transmitter (UART) ), is it realize one-chip computer or one-chip computer and serial communication of computer to use for. ( 8) Stretch oscillator and clock produce circuit, quartz crystal finely tune electric capacity need outer. Allow oscillation frequency as 12 megahertas now at most. Every the above-mentioned part was joined through the inside data bus .Among them, CPU is a core of the one-chip computer, it is the control of the computer and command centre, made up of such parts as arithmetic unit and controller , etc.. The arithmetic unit can carry on 8 persons of arithmetic operation and unit ALU of logic operation while including one, the 1 storing device temporarilies of 8, storing device 2 temporarily, 8's accumulationdevice ACC, register B and procedure state register PSW, etc. Person who accumulate ACC count by 2 input ends entered of checking etc. temporarily as one operation often, come from person who store 1 operation is it is it make operation to go on to count temporarily , operation result and loopback ACC with another one. In addition, ACC is often regarded as the transfer station of data transmission on 8051 inside . The same as general microprocessor, it is the busiest register. Help remembering that agreeing with A expresses in the order. The controller includes the procedure counter , the order is depositted, the order decipher, the oscillator and timing circuit, etc. The procedure counter is made up of counter of 8 for two, amounts to 16. It is a byte address counter of the procedure in fact, the content is the next IA that will carried out in PC. The content which changes it can change the direction that the procedure carries out . Shake the circuit in 8051 one-chip computers, only need outer quartz crystal and frequency to finely tune the electric capacity, its frequency range is its 12MHZ of 1.2MHZ. This pulse signal, as 8051 basic beats of working, namely the minimum unit of time. 8051 is the same as other computers, the work in harmony under the control of the basic beat, just like an orchestra according to the beat play that is commanded.There are ROM (procedure memory , can only read ) and RAM in 8051 slices (data memory, can is it can write ) two to read, they have each independent memory address space, dispose way to be the same with general memory of computer. Procedure 8051 memory and 8751 slice procedure memory capacity 4KB, address begin from 0000H, used for preserving the procedure and form constant. Data 8051- 8751 8031 of memory data memory 128B, address false 00FH, use for middle result to deposit operation, the data are stored temporarily and the data are buffered etc.. In RAM of this 128B, there is unit of 32 byteses that can be appointed as the job register, this and general microprocessor is different, 8051 slice RAM and job register rank one formation the same to arrange the location. It is not very the same that the memory of MCS-51 series one-chip computer and general computer disposes the way in addition. General computer for first address space, ROM and RAM can arrange in different space within the range of this address at will, namely the addresses of ROMand RAM, with distributing different address space in a formation. While visiting the memory, corresponding and only an address Memory unit, can ROM, it can be RAM too, and by visiting the order similarly. This kind of memory structure is called the structure of Princeton. 8051 memories are divided into procedure memory space and data memory space on the physics structure, there are four memory spaces in all: The procedure stores in one and data memory space outside data memory and one in procedure memory space and one outside one, the structure forms of this kind of procedure device and data memory separated form data memory, called Harvard structure. But use the angle from users, 8051 memory address space is divided into three kinds: (1) In the slice, arrange blocks of FFFFH , 0000H of location , in unison outside the slice (use 16 addresses). (2) The data memory address space outside one of 64KB, the address is arranged from 0000H 64KB FFFFH (with 16 addresses ) too to the location. (3) Data memory address space of 256B (use 8 addresses). Three above-mentioned memory space addresses overlap, for distinguishing and designing the order symbol of different data transmission in the instruction system of 8051: CPU visit slice, ROM order spend MOVC , visit block RAM order uses MOVX outside the slice, RAM order uses MOV to visit in slice.8051 one-chip computer have four 8 walk abreast I/O port, call P0, P1, P2 and P3. Each port is 8 accurate two-way mouths, accounts for 32 pins altogether. Every one I/O line can be used as introduction and exported independently. Each port includes a latch (namely special function register ), one exports the driver and a introduction buffer . Make data can latch when outputting, data can buffer when making introduction , but four function of passway these self-same. four port these may serve as accurate two-way mouth of I/O in common use. Expand among the system of memory outside having slice, P2 mouth see high 8 address off; P0 mouth is a two-way bus, send the introduction of 8 low addresses and data / export in timesharing Output grade , P3 of mouth , P1 of mouth , connect with inside have load resistance of drawing , every one of they can drive 4 Model LS TTL load to output. As while inputting the mouth, any TTL or NMOS circuit can drive P1 of 8051 one-chip computers as P3 mouth in a normal way . Because draw resistance on outputgrade of them have, can open a way collector too or drain-source resistance is it urge to open a way, do not need to have the resistance of drawing outerly . Mouths are all accurate two-way mouths too. When the conduct is input, must write the corresponding port latch with 1 first . As to 80C51 one-chip computer, port can only offer milliampere of output electric currents, is it output mouth go when urging one ordinary basing of transistor to regard as, should contact a resistance among the port and transistor base , in order to the electricity while restraining the high level from exporting P1~P3 Being restored to the throne is the operation of initializing of an one-chip computer. Its main function is to turn PC into 0000H initially , make the one-chip computer begin to hold the conduct procedure from unit 0000H. Except that the ones that enter the system are initialized normally,as because procedure operate it make mistakes or operate there aren't mistake, in order to extricate oneself from a predicament , need to be pressed and restored to the throne the key restarting too. It is an input end which is restored to the throne the signal in 8051 China RST pin. Restore to the throne signal high level effective , should sustain 24 shake cycle (namely 2 machine cycles ) the above its effective times. If 6 of frequency of utilization brilliant to shake, restore to the throne signal duration should exceed 4 delicate to finish restoring to the throne and operating. Produce the logic picture of circuit which is restored to the throne the signal:Restore to the throne the circuit and include two parts outside in the chip entirely. Outside that circuit produce to restore to the throne signal (RST ) hand over to Schmitt's trigger, restore to the throne circuit sample to output , Schmitt of trigger constantly in each S5P2 , machine of cycle in having one more , then just got and restored to the throne and operated the necessary signal insidly. Restore to the throne resistance of circuit generally, electric capacity parameter suitable for 6 brilliant to shake, can is it restore to the throne signal high level duration greater than 2 machine cycles to guarantee. Being restored to the throne in the circuit is simple, its function is very important. Pieces of one-chip computer system could normal running,should first check it can restore to the throne not succeeding. Checking and can pop one's head and monitor the pin with the oscillograph tentatively, push and is restored to thethrone the key, the wave form that observes and has enough range is exported (instantaneous), can also through is it restore to the throne circuit group holding value carry on the experiment to change.译文51系列单片机的功能和结构MCS51电脑芯片的结构和功能。
外文译英文原文:STM32 MicrocontrollerIntroductionRequirements based STM32 family is designed for high-performance, low-cost, low-power embedded applications designed specifically for ARM Cortex-M3 core. According to the performance into two different series: STM32F103 "Enhanced〞 series and STM32F101 "Basic" series. Enhanced Series clock frequency of 72MHz, the highest performance of similar products product; basic clock frequency of 36MHz, 16-bit product prices get more than 16 products significantly enhance the performance and is 16 product users the best choice. Both series have built-in 32K to 128K of flash memory, the difference is the maximum capacity of the SRAM and peripheral combinations. At 72MHz, executing from Flash, STM32 power consumption 36mA, are 32 products on the market s lowest power, the equivalent of 0.5niA/MHz.STM32F103 Performance Characteristics1)Kernel. ARM32 bit CPU, the maximum operating frequency of 72MHz,1.25DMIPS/MHz. Single-cycle multiply and hardware divide.2)Memory. Integrated on-chip 32-512KB of Flash memory. 6-64KB SRAM memory.3)Clock, reset, and power management. 2.0-3.6V power supply and I/O interface, the drive voltage. POR, PDR and programmable voltage detector. 4-16MHz crystal. Embedded factory tuned 8MHz RC oscillator circuit. 40 kHz internal RC oscillator circuit. CPU clock for the PLL. With calibration for the RTC 32kHz crystal.4)Low power consumption. Three kinds of low-power mode. Sleep, stop, standby mode. For RTC and backup registers supply VBAT.5)Debug mode. Serial debugging and JTAG interface.6)Direct data storage. 12-channel direct data storage controller. Supported peripherals: timers, ADC, DAC, SPI, IIC and USART.7)Up to a maximum of 112 fast I / O ports. Depending on the modeL there are 26,37,51,80, and 112 I/O ports, all ports can be mapped to 16 external interrupt vectors. In addition to the analog input, all of them can accept the input of 5V or less.8)Up to a maximum of 11 timers. Four 16-bit timers, each with 4 IC / OC / PWM orpulse counter. 2 16 6-channel advanced control timer: up to 6 channels can be used for PWM output. 2 watchdog timer. Systick tinier: 24 down counter. Two 16-bit basic timer for driving DAC.9)Up to a maximum of 13 communication interfaces. 2 IIC interface. 5 USART interfaces. 3 SPI interface, two and IIS reuse. CAN interface. USB 2.0 full-speed interface. SDIO interface.System Function1)Integration of embedded Flash and SRAM memory ARM Cortex-M3 core. And 8/16 equipment compared, ARM Cortex-M3 32-bit RISC processor provides a higher code efficiency. STM32F103xx microcontrollers with an embedded ARM core, so it can be compatible with all ARM tools and software.2)Embedded Flash memory and RAM memory. Built up to 512KB embedded Flash, can be used to store programs and data. Up to 64KB of embedded SRAM clock speed of the CPU can read and write.3)Variable static memory. Variable static memory with 4 chip selects, supports four modes: Flash, RAM, PSRAM, NOR and NAND. After three FSMC interrupt lines connected to the OR after the nested vector interrupt controller. No read / write FIFO, except PCCARD, the code is executed from external memory is not supported Boot, the target frequency is equal to SYSCLK / 2, so the time when the system clock is 72MHz, 36MHz conducted in accordance with external access.4)Nested Vectored Internipt Controller. Can handle 43 maskable interrupt channels, providing 16 interrupt priority levels. Tightly coupled nested vectored intenupt controller to achieve lower latency interrupt handling directly passed to the kernel interrupt vector table entry address, tightly coupled nested vectored interrupt controller kernel interface, allowing early treatment interruption, the latter to be more high-priority interrupt processing, support tail chain, auto-save processor state terrupts automatically restored on interrupt exit, no instructions intervention.5)External internipt / event controller. External interrupt / event controller consists for 19 to generate interrupt / event requests edge detector lines. Each line can be individually configured to select the trigger event, it can be individually masked. There is a pending interrupt request registers to maintain state. When an external line appear longer than the internal APB2 clock-cycle pulse, the external interrupt / event controller is able to detect. Up to 112 GPIO connected to the 16 external internipt lines.6)Clocks and startup. At boot time or to the system clock selection, but the reset whenthe internal 8MHz crystal oscillator is selected as the CPU clock. Can choose a 4-16MHz external clock, and will be monitored to determine the success. During this time, the interrupt controller is disabled and the software management is subsequently disabled. Also, if there is a need, PLL clock internipt management fully available. Comparator can be used more pre-configuration of the AHB frequency, including high-speed and low-speed APB APB, APB highest frequency of high-speed 72MHz, low-speed APB highest frequency of 36MHz.Architectural AdvantagesIn addition to the new features Enhanced peripheral interfaces, STM32 series also interconnect with other STM32 microcontrollers offer the same standard interface, such sharing of peripherals to enhance the entire product family, application flexibility, so that developers can a plurality of design reuse the same software. New STM32 standard peripherals include 10 timers, two 12-bit ADC, two 12-bit DAC, two I2C interfaces, five USART interfaces and three SPI ports. There are 12 new products peripherals direct data storage channel, there is a CRC calculation unit, like other STM32 microcontrollers, the supports 96 unique identifier.New series also has followed the STM32 microcontroller family of products low voltage and energy saving are two advantages. 2.0V to 3.6V operating voltage range compatible with the mainstream of battery technologies such as lithium batteries and nickel-metal hydride batteries, the package also features a battery operation mode dedicated pin Vbat. 72MHz frequency to execute code from flash consumes only 27mA current. There are four low-power mode, the current consumption can be reduced to two microamps. Quick Start from low power mode to save energy too; starting circuit using STM32 internally generated 8MHz signal, the microcontroller from stop mode when you wake up with less than 6 microseconds.中文译:单片机STM321STM32的介绍STM32系列基于专为要求高性能、低本钱、低功耗的嵌入式应用专门设计的ARMCortex-M3内核.按性能分成两个不同的系列:STM32F103 “增强型〞系列和STM32F101 “根本型〞系列.增强型系列时钟频率到达72MHz,是同类产品中性能最高的产品;根本型时钟频率为36MHz,以16位产品的价格得到比16位产品大幅提升的性能,是16位产品用户的最正确选择.两个系列都内置32K 到128K 的闪存,不同的是SRAM的最大容量和外设接口的组合.时钟频率72MHz时,从闪存执行代码,STM32功耗36mA,是32位市场上功耗最低的产品,相当于0.5mA/MHz.2STM32F103性能特点1〕内核.ARM32位CPU,最高工作频率72MHz, 1.25DMIPS/MHzo单周期乘法和硬件除法.2〕存储器.片上集成32-512KB的Flash存储器.6-64KB的SRAM存储器.3〕时钟、复位和电源治理.2.0-3.6V的电源供电和I/O接口的驱动电压. POR、PDR和可编程的电压探测器.4-16MHZ的晶振.内嵌出厂前调校的8MHz RC振荡电路.内部40 kHz的RC振荡电路.用于CPU时钟的PLL.带校准用于RTC的32kHz的晶振.4〕低功耗.3种低功耗模式:休眠,停止,待机模式.为RTC和备份存放器供电的VBAT.5〕调试模式.串行调试和JTAG接口.6〕直接数据存储.12通道直接数据存储限制器.支持的外设:定时器,ADC, DAC, SPI, IIC 和USART.7〕最多高达112个的快速I/O端口.根据型号的不同,有26, 37, 51, 80, 和112的I/O端口,所有的端口都可以映射到16个外部中断向量.除了模拟输入,所有的都可以接受5V以内的输入.8〕最多多达11个定时器.4个16位定时器,每个定时器有4个IC/OC/PWM 或者脉冲计数器.2个16位的6通道高级限制定时器:最多6个通道可用于PWM 输出.2个看门狗定时器.Systick定时器:24位倒计数器.2个16位根本定时器用于驱动DACo9〕最多多达13个通信接口.2个HC接口.5个USART接口.3个SPI接口,两个和IIS复用.CAN接口.USB 2.0全速接口.SDIO接口.3系统作用1〕集成嵌入式Hash和SRAM存储器的ARM Cortex-M3内核.和8/16位设备相比,ARM Cortex-M3 32位RISC处理器提供了更高的代码效率. STM32F103xx微限制器带有一个嵌入式的ARM核,所以可以兼容所有的ARM 工具和软件.2〕嵌入式Flash存储器和RAM存储器.内置多达512KB的嵌入式Flash, 可用于存储程序和数据.多达64KB的嵌入式SRAM可以以CPU的时钟速度进行读写.3〕可变静态存储器.可变静态存储器带有4个片选,支持四种模式:Flash, RAM, PSRAM, NOR和NANDo 3个FSMC中断线经过OR后连接到嵌套矢量中断限制器.没有读/写FIFO,除PCCARD之外,代码都是从外部存储器执行, 不支持Boot,目标频率等于SYSCLK/2,所以当系统时钟是72MHz时' 外部访问根据36MHz进行.4〕嵌套矢量中断限制器.可以处理43个可屏蔽中断通道,提供16个中断优先级.紧密耦合的嵌套矢量中断限制器实现了更低的中断处理延迟,直接向内核传递中断入口向量表地址,紧密耦合的嵌套矢量中断限制器内核接口,允许中断提前处理,对后到的更高优先级的中断进行处理,支持尾链,自动保存处理器状态,中断入口在中断退出时自动恢复,不需要指令干预.5〕外部中断/事件限制器.外部中断/事件限制器由用于19条产生中断/事件请求的边沿探测器线组成.每条线可以被单独配置用于选择触发事件,也可以被单独屏蔽.有一个挂起存放器来维护中断请求的状态.当外部线上出现长度超过内部APB2时钟周期的脉冲时,外部中断/事件限制器能够探测到.多达112个GPIO连接到16个外部中断线.6〕时钟和启动.在启动的时候还是要进行系统时钟选择,但复位的时候内部8MHz的晶振被选用作CPU时钟.可以选择一个外部的4-16MHZ的时钟,并且会被监视来判定是否成功.在这期间,限制器被禁止并且软件中断治理也随后被禁止.同时,如果有需要,PLL时钟的中断治理完全可用.多个预比拟器可以用于配置AHB频率,包括高速APB和低速APB,高速APB最高的频率为72MHz, 低速APB最高的频率为36MHzo4架构优势除新增的功能强化型外设接口外,STM32互连系列还提供与其它STM32微限制器相同的标准接口,这种外设共用性提升了整个产品家族的应用灵活性,使开发人员可以在多个设计中重复使用同一个软件.新STM32的标准外设包括10 个定时器、两个12位模数转换器、两个12位数模转换器、两个12c接口、五个USART接口和三个SPI端口.新产品外设共有12条直接数据存储通道,还有一个CRC计算单元,像其它STM32微限制器一样,支持96位唯一标识码.新系列微限制器还沿续了STM32产品家族的低电压和节能两大优点.2.0V 到3.6V的工作电压范围兼容主流的电池技术,如锂电池和银氢电池,封装还设有一个电池工作模式专用引脚Vbato以72MHz频率从闪存执行代码,仅消耗27mA 电流.低功耗模式共有四种,可将电流消耗降至两微安.从低功耗模式快速启动也同样节省电能;启动电路使用STM32内部生成的8MHz信号,将微控制器从停止模式唤醒用时小于6微秒.。
INTRODUCTION TO MICROCONTROLLERSWhat are microcontrollers? They are what their name suggests. Today they can be found in almost any complex electronic device - from portable music devices to washing machines to your car. They are programmable, cheap, small, can handle abuse, require almost zero power, and there are so many variaties to suit every need. This is what makes them so useful for robotics - they are like tiny affordable computers that you can put right onto your robot.Augmented Microcontrollers and Development Boards In a pure sense, a microcontroller is just an IC (integrated circuit, or a black chip thing with pins coming out of it>. However it is very common to add additional external components, such as a voltage regulator, capacitors, LEDs, motor driver, timing crystals, rs232, etc to the basic IC. Formally, this is called an augmented microcontroller. But in reality, most people just say 'microcontroller' even if it has augmentation. Other abbreviations would be uncontroller and MicroController Unit (MCU>. Usually when I say 'microcontroller' what I really mean to say is 'augmented microcontroller.'As a beginner it is probably best to buy an augmented microcontroller. Why? Well because they have tons of goodies built onto them that are all assembled and debugged for you. They also often come with tech support, sample code, and a community of people to help you with them. My microcontroller parts list shows the more popular types that you can buy. They tend to cost from $30 to $150 depending on the features. This will give you a good introductory to microcontroller programming without having to be concerned with all the technical stuff.In the long term however you should build your own augmented microcontroller so that you may understand them better. Theadvantage to making your own is that it will probably cost you from $10-$30.Between getting a full augmented board and doing it yourself is something called a development board. These boards come pre-augmented with just the bare basics to get you started. They are designed for prototyping and testing of new ideas very quickly. They typically cost between $15 and $40.What comes with the IC?There is a huge variety of microcontrollers out on the market, but I will go over a few common features that you will find useful for your robotics project.For robots, ore important than any other feature on a microcontroller, is the I/O ports. Input ports are used for taking in sensor data, while output is used for sending commands to external hardware such as servos. There are two types of I/O ports, analog and digital.Analog Input Ports Analog Ports are necessary to connect sensors to your robot. Also known as an analog to digital converter (ADC>, they recieve analog signals and convert them to adigital number within a certain numerical range.So what is analog? Analog is a continuous voltage range and is typically found with sensors. However computers can only operate in the digital realm with 0's and 1's. So how does a microcontroller convert an analog signal to a digital signal?First, the analog is measured after a predefined period of time passes. At each time period, the voltage is recorded as a number. This number then defines a signal of 0's and 1's as shown:The advantage of digital over analog is that digital is much better at eliminating background noise. Cell phones are all digital today, and although the digital signal is lessrepresentative than an analog signal, it is much less likely to degrade since computers can restore damaged digital signals. This allows for a clearer output signal to talk to your mom or whoever. MP3's are all digital too, usually encoded at 128 kbps. Higher bit rates obviously mean higher quality because they better represent the analog signal. But higher bit rates also require more memory and processing power.Most microcontrollers today are 8 bit, meaning they have arange of 256 (2^8=256>. There are a few that are 10 bit, 12 bit, and even 32 bit, but as you increase precision you also need a much faster processor.What does this bit stuff mean for ADC? For example, suppose a sensor reads 0V to an 8 bit ADC. This would give you a digital ouput of 0. 5V would be 255. Now suppose a sensor gave anoutput of 2.9V, what would the ADC output be?Doing the math:2.9V/5V = X/255 X = 2.9*255/5 = 148So how do you use an analog port? First make sure your sensor output does not exceed your digital logic voltage (usually 0V -> 5V>. Then plug that output directly to the analog port.This bit range could also be seen as a resolution. Higher resolutions mean higher accuracy, but occasionally can mean slower processing and more succeptability to noise. For example, suppose you had a 3 bit controller which has a range of 2^3=8. Then you have a distance sensor that outputed a number 0->7 (a total of 8> that represents the distance between your robot and the wall. If your sensor can see only 8 feet, then you get a resolution of 1 bit per foot (8 resolution / 8 feet = 1>. But then suppose you have an 8 bit controller, you would get256/8=32 ~ 1 bit per centimeter - way more accurate and useful! With the 3 bit controller, you could not tell the difference between 1 inch and 11 inches.Digital I/O Ports Digital ports are like analog ports, but with only 1 bit (2^1=2> hence a resolution of 2 - on and off.Digital ports obviously for that reason are rarely used for sensors, except for maybe on/off switches . . . What they are mostly used for is signal output. You can use them to control motors or led's or just about anything. Send a high 5V signal to turn something on, or a low 0V to turn something off. Or if you want to have an LED at only half brightness, or a motor at half speed, send a square wave. Square waves are like turning something on and off so fast that its almost like sending out an analog voltage of your choice. Neat, huh?This is an example of a square wave for PWM:These squarewaves are called PWM, short for pulse width modulation. They are most often used for controlling servos or DC motor H-Bridges.Also a quick side note, analog ports can be used as digital ports.Serial Communication, RS232, UART A serial connection on your microcontroller is very useful for communication. You can useit to program your controller from a computer, use it to output data from your controller to your computer (great for debugging>, or even use it to operate other electronics such as digital video cameras. Usually the microcontroller would require an external IC to handle everything, such as an RS232.Timers A timer is the method by which the microcontroller measures the passing of time - such as for a clock, sonar, a pause/wait command, timer interrupts, etc.Motor Driver To run a DC motor you need to either have an H-Bridge or a Motor Driver IC. The IC is great for small robots that do not exceed 1 or 2 amps per motor and the rated motor voltage is not higher than about 12V. The homemade H-Bridge would need to be used if you wanted to exceed those specs. There are a few H-Bridge controllers commercially available to buy, but usually they are way too expensive and are designedfor battlebot type robots. The IC is small, very cheap, and can usually handle two motors. I highly recommend opting for the IC. Also, do not forget to put a heatsink onto the motordriver. Motordrivers give off pretty fireworks when they explode from overheating =>Another interesting note, you can stack IC's in parallel to double the allowable current and heat dissipation.Theoretically you can stack as many as you want, as long as the current is high enough to still operate the logic of the IC. This works for voltage regulators too.Output Indicators Im referring to anything that can be used for debugging by communicating information to you. LED's, buzzers, LCD screens, anything that gives output. The better the indicator, the easier the debugging. The best indicator is to have your robot tethered and print or data log sensor andaction data to your computer, but it isn't always possible to have your robot tethered.Programming Languages The lowest form of programming languagesis the machine language. Microcontrollers need to be programmed with this.These higher languages would then be compiled automaticallyinto a machine language, which then you can upload into your robot. Probably the easiest language to learn would be BASIC, with a name true to itself. The BASIC Stamp microcontrolleruses that language. But BASIC has its limitations, so if you have any programming experience at all, I recommend you program in C. This language was the precurser to C++, so if you can already program in C++, it should be really simple for you to learn. What complicates this is that there is no standard to programming microcontrollers. Each has its own features, its own language, its own compiler, and its own uploading to the controller method.This is why I do not go into too much detail because there are too many options out there to talk about. The support documents that come with the controllers should answer your specificquestions. Also, if you decide to use a PIC, understand that the compiler program (at least the good ones> can cost hundred of dollars. Most microcontrollers also require a special interface device between your computer and the chip for programming which could also cost from $10-$40.Costs With possibly the exception of DC motors, the microcontroller is the most expensive part of your robot. There is just no escaping the costs, especially for the beginner. But remember, after buying all this for your first robot, you do not need to buy any of it again as you can reuse everything. So here is the breakdown of costs. The chip itself, without augmentation, would only cost dollars. But understand the chip is useless without the augmentation, so you would need to do it yourself if you do not buy it already augmented. This could potentially cost just as much with the augmentation, and could cause you many frustrations.If however you are more experienced (and for some odd reason still reading this>, you can customize your own circuit to do exactly what you want. Why have a motordriver when you are only using servos anyway? If you decide to buy an augmented MCU, the cost will range from about $50-$150. To compile your program, you would need to get special compiling software. Atmel and BASIC Stamps have free compilers. PIC's however have fairly expensive compilers. There are some free ones available online, but they are of poor quality in my opinion. CCSC PIC C compiler is about $125, but I think it is worth getting if you are going to use PIC's.You will also need an uploader to transfer the program from your computer to the chip. This generally requires more special software and a special interface device. The Cerebellum PIC based controller has this built in which is really nice and convienent, but for any others expect to spend from $10-$40. People often opt to just make their own as the circuit isnt too complicated.As a prototyper, what you probably want most is a MCU development board. These augmented microcontrollers are designed for the prototyper in mind. To find these augmented MCU's, do a search for 'pic development board,' 'atmel development board,' 'stamp development board,' etc.。
毕业设计(论文)智能饮水机控制系统设计Design of control system for intelligent drinking water machine班级学生姓名学号 1指导教师职称导师单位徐州工业技术职业学院论文提交日期论文真实性承诺及指导教师声明学生论文真实性承诺本人郑重声明:所提交的作品是本人在指导教师的指导下,独立进行研究工作所取得的成果,内容真实可靠,不存在抄袭、造假等学术不端行为。
除文中已经注明引用的内容外,本论文不含其他个人或集体已经发表或撰写过的研究成果。
对本文的研究做出重要贡献的个人和集体,均已在文中以明确方式标明。
如被发现论文中存在抄袭、造假等学术不端行为,本人愿承担本声明的法律责任和一切后果.毕业生签名:日期:指导教师关于学生论文真实性审核的声明本人郑重声明:已经对学生论文所涉及的内容进行严格审核,确定其内容均由学生在本人指导下取得,对他人论文及成果的引用已经明确注明,不存在抄袭等学术不端行为.指导教师签名:日期:摘要在现代生活当中中,饮水机已经成为了我们日常生活中必不可少的家用电器。
但是,有的饮水机的功能只是普通的加热功能,有的功能比较强大,如可以掌控水温的具体控制,但往往这样的饮水机价格使很多人望而止步,根本不能适用于普通家庭.根据这个情况,我设计了这款智能饮水机,这款饮水机的价格相对低廉但是功能却非常强大。
一部分利用单片机对水温的控制,在加上液晶屏幕显示温度,得到稳定的人与机器的操作,这款饮水机有很多的模式可以使用,如:冲咖啡和沏茶等。
这个设计也添加了团情况的紧急措施,如果水箱在缺水的情况下使用,无法使之加热,它会通过智能报警的方式告知饮水机主人提醒主人以保证其该系统的安全性,让人用起来更加稳定。
对于这个设计来说,在确保用户使用过程中的安全的情况下为用户的使用更加方便、舒心。
这个设计的智能化水平相对来说比较高,自动化操作可以根据用户自己来实现.关键词:智能饮水机,单片机,控制AbstractIn modern life,drinking water machine has become essential householdappliances in our daily life。
Dormancy of the one-chip computer---restore to the throne in the operation way and improve anti- interference abilityAbstract:Introduce a kind of dormancy of using- restore to the throne in theoperation way and improve the anti-interference ability method of the one-chip computer;Analyse its scope of application, provide and use the circuit concretly; Combine the instance, analyse the characteristic of the hardware and software design under these kind of operation way.Keyword: One-chip computer Restore to the throne /dormancyanti-interference ForewordIntroduction:With the development at full speed of the microelectric technique, the performance of the one-chip computer improves rapidly, demonstrate the outstanding advantage in the operation, logic control, intelligent respect, replaced and enlarged the measuring that the circuit made up, control circuit by digital logical circuit, operation originally to a great extent, use very extensivly. But because it have system halted, procedure run critical defect of flying etc, make it limit in a lot of important application of occasion. A lot of technology inanti-interference , for example set up the software trap, add thehardware to guard the gate in dog's circuit etc, can make this problem havebetter settlement, but still the existing problem: ① Guard the gate dog at the movement, mean and appear mistake already and run some time, this is not allowed in some occasions; ②Procedure appear circulation mistake very much sometimes, but just guard the gate dog control link include and enter, adopt and guard the gate as to such a mistake dog unable to discern; ③In measure and control cycle among the long system, one-chip computer spend wait for the peripheral hardware a large amount of time, will be interfered too when carry out and wait for the order. To these situations, we have tried the method restored to the throne voluntarily in practice, alternate pulse of adopting etc or restore to the throne waking according to external terms to the one-chip computer up. After being restored to the throne each time, the one-chip computer carries out the corresponding procedure, enters dormancy in time after finishing carrying out the task, wait to be restored to the throne nextly. Have solved above-mentioned problems well with this method , and has got better result in the agricultural voltage transformer comprehensive protector experiment. Now take 51 serial one-chip computers as an example and probe into the concrete principle and implementation method, restored to the throne the signal as the high level.1.A principle and implementation method1.1 Restored to the throne the law regularly unconditionallyUse timer, special-purpose clock chip or other pulse generator, produce signal of restoring to the throne regularly according to interval that set for. This kind of method is especially suitable for the measuring instrument. In not running actually, sample the analog quantity of introduction with A/D converter often, then store showing. This course is very fast, but steady for reading, the data per second are only upgraded 1 -2 times, a large amount of time of CPU is used for waiting. Let CPU carry out and enter dormancy directly after the task , restore to the throne and wake by external world up It carry out the next operation, this is to restore to the throne the law regularly In this way can makeanti-interference ability strengthen greatly , have 2 points mainly: ①. At the dormancy, procedure stop run, can appear PC indicator disorderly procedure that causes run and fly. Work time in dormancy proportion 1:9, that is to say 1 s have 0.1 time of s used for measuring, sending off showing, there is time dormancy of 0.9s, the probability that the procedure is interfered is 1/10 while running at full speed, whole anti-interference ability raise by 10 times. ② Because every 1s is restored to the throne once unconditionally, once present the system halted during a job, can certainly resume when restored to the throne next time. As to only instrument that show, some reading mistake that 1s appear accidentally there is no memory to the next measurement, be could bear , belong to “pass” mistake. This kind is restored to the throne the advantage of dog's circuit for guarding the gate regularly, first, change waiting time into a dormancy state, time to shorten and may be interfered; Second, avoided happenning that the dog controls the death circulation of the link to include guarding the gate.1.2 The external condition is restored to the throne the lawSome arrival that export or measure is controlled by the outside. For instance, the hot form. of heating, rotate the pulse produced and calculate heat by hot water water wheels, there is no hot water to flow, there is no heat to export, CPU only need in fact keep number value, do not need to count. Can imagine hot water water wheels rotate when parking warm , CPU idle in will it be will it be one season autumn spring and summer, If let dormancy its , measure have water wheels pulse constantly,anti-interference ability can strengthen greatly. So, so long as link up the restoring to the throne of the pulse of the water wheels and CPU, the water wheels rotate a circle each time, CPU is restored to the throne once, hot form. can work normally , this is restored to the throne the law by the external condition . Similar application have half electron kilowatt-hour meter , go on one count just when the machinery degree wheels and transfers to a circle, users do not need the electricity, CPU has beenknowing the dormancy all the time . The restoring to the throne in the interval not to be regular, but confirmed according to the external condition of this method. In some occasions, the time of the dormancy will be very long, very effective to improving anti-interference ability.2 .The hardware realizes the main point2.1 Restored to the throne regularly unconditionallyGenerally have 2 kinds of methods. ① Use theitimer or thespecial-purpose clock chip to be restored to the throne. Fig1, in order to use the timing circuit that 555 circuit makes up; Can use the clock chips of X1126 ,etc too , wake CPU up with the alarm signal after setting up warning time. This kind of method is suitable when the long interval is made, can also follow the result of this operation ,determine to wake time up in alarm next time temporarily, very flexible and convenient. ②The signal of using the system to be inherent is as reducing the pulse regularly. Use 50Hz worker power make reducing after having a facelift frequently, already omit the timer, gathered the corresponding signal for the phase place which measured the electric current signal at the same time, as Fig. 2 shows.2.2 External conditions are restored to the throneSend external condition pulse to and is restored to the throne the end son after having a facelift. To that above-mentioned water wheels or the ammeter spend a pulse produced, can use Schmitt's trigger to have a facelift; For writing down the instrument of the biggest or minimum,can use the window comparator. In order to realize the electronization that is regulated,can use the electronic electric potential device, establish upper and lower limits with the order of the one-chip computer.2.3 Reduce cycle and restored to the throne the high electricity at ordinary timesIn Fig3, restored to the throne the signal during high level Tr, the one-chip computer is in the state of restoring to the throne, the procedure does not run, anti-interference ability is the strongest; After the high level, the one-chip computer begins to hold the conduct procedure. That is to say, are restored to the throne and suitable for the time that the procedure carries out during the low level Td of the signal, this time should be greater than the execution cycle of the procedure each time. It is restore to the throne cycle and restore to the throne high level of signal take empty than very much important to choose rationally. As to simple to show instrument, restore to the throne cycle determine data break cycle, low electricity is it measure, hancl over all time shown to greater than to want at ordinary times; Otherwise, cant present forever the mistake of the intact executive program.Monolithic integrated circuit in Ts and Tr period all can effectively the antijamming, but is best the unnecessary time arrangement in Tr. When the program time is long, when as far as possible the request reduces Tr, may join the differentiating circuit, like chart 1 center C30, R26, D9.2.4 Treatment of output end sons(1) Restore to the throne straight pulseDuring all I/O mouth of one-chip computer turn into the high level when restoring to the throne. That is to say output for low pin normally, will according to restore to the throne cycle appear the width for the straight pulse of Tr. This straight pulse will influence the normal output, 2 methods are dealt with: ① Connect in parallel electric capacity suppress , capacity confirm according to Tr time that restore to the throne on the son in end. Reducing Tr can be reduced and connected the electric capacity in parallel. ② It is invalid to design the peripheral circuit into the high level. (2) Fault-tolerantChoose the capacity that the output end connects the electric capacity in parallel fault-tolerantly and properly, can realize fault-tolerant control. Reduced cycle in a certain, because interfered exporting the wrong level. Because the keeping function of electric capacity, can't still enable exporting the change to the valid level within this cycle; Next cycle , the mistake is corrected. So, so long as does not make mistakes in 2 cycles in succession, it is very fault-tolerant to export Certainly, this kind of method will make the normal output change lag behind for one cycle, just really reflect the output end son.2.5 has the electricity to measure and restore to the throne manuallySome system is it make some initialize and operate to want at electricity for the first time. Restored to the throne and already become the beginning condition of normal running each time while adopting the way of restoring to the throne to run , it is unable to distinguish and have the electricity for the first time. In some pin connects the electric capacity of one ljIF to the ground, measure this pin after being restored to the throne, if low level to have electricity for the first time. Give system set up one restore to the throne button, that is to say a common one manual to restore to the throne, this button is not joined and being restored to the throne in the end, is connected in parallel in the electric capacity both ends to the ground of above-mentioned pins.3. The software realizes the main point3.1 is it resume with zero clearing RAM to outputRestore to the throne the last all pin turn high level into , is it should taKe place unnecessary change for low pin to make regularly, so, should resume the state.of all pins immediately after being restored to the throne. There are 2 kinds of methods : ① Analyse and judge immediately after being restored to the throne this time, provide the state of the pin according to the need; ② In being RAM it is the last last state that come down,these RAMs when restored.To the throne regularly can the zero clearing one; But electricity or manual to rstore to the throne when pushing in conformity with zero clearing, is it embody to want when the software is worked outing at the beginning. If calculate time allows, try one's best to take method 1. Restore to the throne cycle probability made mistakes to calculate very little, according to 2 for the 2nd time in succession. 4 output end son that narrate connect treatment method of electric capacity in parallel, can reach kind anti-interference result very.3.2 realizes crossing over and is restored to the throne alternate time sequenceregularly to controlWork in way of restoring to the throne now, start anew and carry out the same procedure repeatedly each time. Can be divided into 2 kinds of situations: ① As to simple to show instrument, carry on measurement ,send off showing after being restored to the throne each time, have causality between restoring to the throne twice . need is it switch over to the dormancy to waiting original only. Should pay attention to,measurement, give total time used to show is it is it restore to the throne low electricity at ordinary times to smaller than to want, otherwise can't present forever the mistake of the intact executive program. ② For having application that time sequence controlled , after being restored to the throne each time , should check first that see the sign left last cycle , in order to determine what is done this cycle . That is to say every is it restore to the throne operation of cycle to stride , by is it transmit to indicate all, these indicate while leaving in inside RAM , the zero clearing only when have the electricity for the first time. For example, the protecting synthetically device of above-mentioned voltage transformer , is restored to the throne regularly according to the interval of 20ms. It reaches the normal working state through, certain movement order after having the electricity, such as Fig. 4; Write a part of the procedure of the software according to this movement, such as Fig.5.In 4 Fig, act as person who protect the beginning at the electricity, is it transmit power 0 to try at first. 5s, points out and transmits power soon; Transmit power formally after waiting for 30s. It is start-up time in 1s after transmitting power, does not measure the electric current. Start after finishing, if all going well, the location is put" normal sign ", person who protect restore to the throne cycle enter normal running in the next one. Try 0 that transmits power. 5s is it is it realize to count once restoring to the throne to delay time, restore to the throne time 20ms each time. At having electricity for the first time, make all zero clearing to inside RAM, make it is it time Ts to transmit power not to try =Dormancy after 25. After restoring to the throne, is it have electric pin to have electricity for the first time already, is it is it is it is it time the measuring of Ts to transmit power to try to get to go on to measure next time. If Ts * 0, is it in is it prolong period to transmit power, is it enter dormancy after the 1 to reduce Ts to prove. Act as Ts-1 = 0, the course which waited for 30s that should enter and lose electrical power. Just when Ts decreases progressively to 0, make it is it indicate to wait for not to lose electrical power Td =1500. When the procedure is restored to the throne beginning again, measure to Ts =0 but Td * 0, is it is it is it transmit power to try to cross already to indicate, at is it wait for the course of 30s to lose electrical power now. In this way, the whole process is transmitted each other by such these parameters as Tr, Td , Ts etc, go on step by step.Result:Conclusion Anti-interference is an important problem in an electronic design, especially Important in the one-chip computer. This is because the one-chip computer has procedures to run particularity that flies, the consequence that it is interfered may be the system halted, may send out various kinds of mistakes or illegal movements before the system halted too, make the whole system produce the mortality mistake. So, only guarantee it is not enough yet for one-chip computer not to crash, study how to reduce the risk interfered, it can befault-toierant how is it after and make mistakes. This text is it act as some exploration from two these to try hard, hope these elementary opinions can play some function of casting a brick to attract jade, helpful to everybody; Hope too every colleague explore together, improve our design level together.在一个芯片的计算机恢复到休眠---宝座的运作方式,提高抗干扰能力摘要:介绍了一种使用休眠,恢复到在theoperation方式的宝座,提高了单芯片计算机抗干扰能力的方法,分析其应用范围,提供和使用的电路concretly;结合实例,分析的运作方式下,这些种类的硬件和软件的设计特点。
一、前言随着科技的发展,智能化产品已经渗透到人们的生活中的各个方面。
智能饮水机作为智能化产品的一种,正逐渐成为人们办公室、家庭和公共场所的必备设备。
基于单片机的智能饮水机系统设计,是一项结合了嵌入式系统、传感器技术、网络通信等多个技术领域知识的综合性毕业设计课题。
二、需求分析1. 对于用户而言,智能饮水机的基本功能是直饮、热饮、冷饮和常温饮水四种饮水模式的切换。
2. 为了实现对饮水机状态的监控和远程控制,需要与手机APP或者Web端进行数据交互。
3. 系统应具备故障诊断和报警功能,及时发现并解决故障,保证饮水机的正常运行。
三、总体设计1. 系统采用单片机控制,以STC89C52为主控芯片,搭载温度传感器、液位传感器等感知器件,实现对饮水温度、水位等参数的检测。
2. 采用WiFi模块和服务器进行数据传输,用户可以通过手机APP或Web端对饮水机进行远程控制。
3. 利用短信或者邮件等方式实现故障报警功能,保证用户及时得知饮水机的运行状态。
四、硬件设计1. 主控模块:STC89C52单片机模块,负责控制饮水机的整体运行。
2. 传感器模块:包括温度传感器、液位传感器等,用于检测饮水机的运行环境和状态。
3. WiFi模块:采用ESP8266模块,实现与服务器之间的数据通信。
4. 电源模块:包括稳压电源、开关电源等,保证饮水机的正常供电。
五、软件设计1. 主控程序设计:采用C语言编程,实现对饮水机的整体控制和管理。
2. 数据通信程序设计:通过WiFi模块与服务器进行数据交互,实现远程控制和监控。
3. 用户界面设计:设计手机APP和Web端的用户界面,提供用户友好的操作体验。
六、系统测试1. 功能测试:对系统的基本功能进行测试,包括饮水模式切换、远程控制等。
2. 故障模拟测试:模拟饮水机出现故障的情况,验证系统的故障诊断和报警功能。
3. 稳定性测试:长时间运行系统,检测系统的稳定性和可靠性。
七、结论与展望通过本次毕业设计,成功设计并实现了一款基于单片机的智能饮水机系统。
本科毕业设计(论文)题目基于单片机的智能饮水机的设计毕业设计(论文)原创性声明和使用授权说明原创性声明本人郑重承诺:所呈交的毕业设计(论文),是我个人在指导教师的指导下进行的研究工作及取得的成果。
尽我所知,除文中特别加以标注和致谢的地方外,不包含其他人或组织已经发表或公布过的研究成果,也不包含我为获得及其它教育机构的学位或学历而使用过的材料。
对本研究提供过帮助和做出过贡献的个人或集体,均已在文中作了明确的说明并表示了谢意。
作者签名:日期:指导教师签名:日期:使用授权说明本人完全了解大学关于收集、保存、使用毕业设计(论文)的规定,即:按照学校要求提交毕业设计(论文)的印刷本和电子版本;学校有权保存毕业设计(论文)的印刷本和电子版,并提供目录检索与阅览服务;学校可以采用影印、缩印、数字化或其它复制手段保存论文;在不以赢利为目的前提下,学校可以公布论文的部分或全部内容。
作者签名:日期:学位论文原创性声明本人郑重声明:所呈交的论文是本人在导师的指导下独立进行研究所取得的研究成果。
除了文中特别加以标注引用的内容外,本论文不包含任何其他个人或集体已经发表或撰写的成果作品。
对本文的研究做出重要贡献的个人和集体,均已在文中以明确方式标明。
本人完全意识到本声明的法律后果由本人承担。
作者签名:日期:年月日学位论文版权使用授权书本学位论文作者完全了解学校有关保留、使用学位论文的规定,同意学校保留并向国家有关部门或机构送交论文的复印件和电子版,允许论文被查阅和借阅。
本人授权大学可以将本学位论文的全部或部分内容编入有关数据库进行检索,可以采用影印、缩印或扫描等复制手段保存和汇编本学位论文。
涉密论文按学校规定处理。
作者签名:日期:年月日导师签名:日期:年月日注意事项1.设计(论文)的内容包括:1)封面(按教务处制定的标准封面格式制作)2)原创性声明3)中文摘要(300字左右)、关键词4)外文摘要、关键词5)目次页(附件不统一编入)6)论文主体部分:引言(或绪论)、正文、结论7)参考文献8)致谢9)附录(对论文支持必要时)2.论文字数要求:理工类设计(论文)正文字数不少于1万字(不包括图纸、程序清单等),文科类论文正文字数不少于1.2万字。
智能饮水机控制系统设计毕业论文目录第1章绪论 (1)1.1研究的目的及意义 (1)1.2国内外研究的现状 (1)1.3研究的主要内容 (2)第2章系统总体设计方案 (3)2.1系统实现的功能 (3)2.2设计思路 (3)2.3总体设计框图 (3)2.4系统设计选择 (4)2.4.1主控芯片 (4)2.4.2温度传感器 (4)2.4.3液位传感器 (5)2.4.4数码显示模块 (5)2.4.5电源模块 (6)2.4.6加热模块 (6)2.4.7制冷模块 (6)第3章系统硬件设计 (7)3.1概述 (7)3.2主控模块 (7)3.2.1主控芯片STC89C52 (7)3.2.2晶振电路 (9)3.2.3复位及复位电路 (9)3.2.4最小系统电路设计 (10)3.3温度采集模块 (11)3.3.1DS18B20温度传感器简介 (11)3.3.2温度采集模块电路设计 (12)3.4液位采集模块 (12)3.4.1Water Sensor简介 (12)3.4.2AD转换芯片简介 (12)I3.4.3 单片机对ADC0832的控制原理 (13)3.4.4液位采集模块电路设计 (14)3.5数码显示模块 ······································································错误!未定义书签。
外文翻译英文原文:STM32 MicrocontrollerIntroductionRequirements based STM32 family is designed for high-performance, low-cost, low-power embedded applications designed specifically for ARM Cortex-M3 core. According to the performance into two different series: STM32F103 "Enhanced" series and STM32F101 "Basic" series. Enhanced Series clock frequency of 72MHz, the highest performance of similar products product; basic clock frequency of 36MHz, 16-bit product prices get more than 16 products significantly enhance the performance and is 16 product users the best choice. Both series have built-in 32K to 128K of flash memory, the difference is the maximum capacity of the SRAM and peripheral combinations. At 72MHz, executing from Flash, STM32 power consumption 36mA, are 32 products on the market's lowest power, the equivalent of 0.5mA/MHz.STM32F103 Performance Characteristics1) Kernel. ARM32 bit CPU, the maximum operating frequency of 72MHz,1.25DMIPS/MHz. Single-cycle multiply and hardware divide.2) Memory. Integrated on-chip 32-512KB of Flash memory. 6-64KB SRAMmemory.3) Clock, reset, and power management. 2.0-3.6V power supply and I / O interface, the drive voltage. POR, PDR and programmable voltage detector. 4-16MHz crystal. Embedded factory tuned 8MHz RC oscillator circuit. 40 kHz internal RC oscillator circuit. CPU clock for the PLL. With calibration for the RTC 32kHz crystal.4) Low power consumption. Three kinds of low-power mode. Sleep, stop, standby mode. For RTC and backup registers supply VBAT.5) Debug mode. Serial debugging and JTAG interface.6) Direct data storage. 12-channel direct data storage controller. Supported peripherals: timers, ADC, DAC, SPI, IIC and USART.7) Up to a maximum of 112 fast I / O ports. Depending on the model, there are 26,37,51,80, and 112 I / O ports, all ports can be mapped to 16 external interruptvectors. In addition to the analog input, all of them can accept the input of 5V or less.8) Up to a maximum of 11 timers. Four 16-bit timers, each with 4 IC / OC / PWM or pulse counter. 2 16 6-channel advanced control timer: up to 6 channels can be used for PWM output. 2 watchdog timer. Systick timer: 24 down counter. Two 16-bit basic timer for driving DAC.9) Up to a maximum of 13 communication interfaces. 2 IIC interface. 5 USART interfaces. 3 SPI interface, two and IIS reuse. CAN interface. USB 2.0 full-speed interface. SDIO interface.System Function1) Integration of embedded Flash and SRAM memory ARM Cortex-M3 core. And 8/16 equipment compared, ARM Cortex-M3 32-bit RISC processor provides a higher code efficiency. STM32F103xx microcontrollers with an embedded ARM core, so it can be compatible with all ARM tools and software.2) Embedded Flash memory and RAM memory. Built up to 512KB embedded Flash, can be used to store programs and data. Up to 64KB of embedded SRAM clock speed of the CPU can read and write.3) Variable static memory. Variable static memory with 4 chip selects, supports four modes: Flash, RAM, PSRAM, NOR and NAND. After three FSMC interrupt lines connected to the OR after the nested vector interrupt controller. No read / write FIFO, except PCCARD, the code is executed from external memory is not supported Boot, the target frequency is equal to SYSCLK / 2, so the time when the system clock is 72MHz, 36MHz conducted in accordance with external access.4) Nested Vectored Interrupt Controller. Can handle 43 maskable interrupt channels, providing 16 interrupt priority levels. Tightly coupled nested vectored interrupt controller to achieve lower latency interrupt handling directly passed to the kernel interrupt vector table entry address, tightly coupled nested vectored interrupt controller kernel interface, allowing early treatment interruption, the latter to be more high-priority interrupt processing, support tail chain, auto-save processor state terrupts automatically restored on interrupt exit, no instructions intervention.5) External interrupt / event controller. External interrupt / event controller consists for 19 to generate interrupt / event requests edge detector lines. Each line can be individually configured to select the trigger event, it can be individually masked. There is a pending interrupt request registers to maintain state. When an external line appear longer than the internal APB2 clock-cycle pulse, the external interrupt / eventcontroller is able to detect. Up to 112 GPIO connected to the 16 external interrupt lines.6) Clocks and startup. At boot time or to the system clock selection, but the reset when the internal 8MHz crystal oscillator is selected as the CPU clock. Can choose a 4-16MHz external clock, and will be monitored to determine the success. During this time, the interrupt controller is disabled and the software management is subsequently disabled. Also, if there is a need, PLL clock interrupt management fully available. Comparator can be used more pre-configuration of the AHB frequency, including high-speed and low-speed APB APB, APB highest frequency of high-speed 72MHz, low-speed APB highest frequency of 36MHz.Architectural AdvantagesIn addition to the new features Enhanced peripheral interfaces, STM32 series also interconnect with other STM32 microcontrollers offer the same standard interface, such sharing of peripherals to enhance the entire product family, application flexibility, so that developers can a plurality of design reuse the same software. New STM32 standard peripherals include 10 timers, two 12-bit ADC, two 12-bit DAC, two I2C interfaces, five USART interfaces and three SPI ports. There are 12 new products peripherals direct data storage channel, there is a CRC calculation unit, like other STM32 microcontrollers, the supports 96 unique identifier.New series also has followed the STM32 microcontroller family of products low voltage and energy saving are two advantages. 2.0V to 3.6V operating voltage range compatible with the mainstream of battery technologies such as lithium batteries and nickel-metal hydride batteries, the package also features a battery operation mode dedicated pin Vbat. 72MHz frequency to execute code from flash consumes only 27mA current. There are four low-power mode, the current consumption can be reduced to two microamps. Quick Start from low power mode to save energy too; starting circuit using STM32 internally generated 8MHz signal, the microcontroller from stop mode when you wake up with less than 6 microseconds.中文翻译:单片机STM321 STM32的介绍STM32系列基于专为要求高性能、低成本、低功耗的嵌入式应用专门设计的ARM Cortex-M3内核。
The General Situation of AT89C51Microcontrollers are used in a multitude of commercial applicationssuch as modems, motor-control systems, air conditioner control systems, automotive engine and among others. The high processing speed and enhanced peripheral set of these microcontrollers make them suitable for suchhigh-speed event-based applications. However, these critical application domains also require that these microcontrollers are highlyreliable. The high reliability and low market risks can be ensured by arobust testing process and a proper tools environment for the validationof these microcontrollers both at the component and at the system level. Intel Platform Engineering department developed an object-oriented multi-threaded test environment for the validation of its AT89C51 automotive microcontrollers. The goals of this environment was not onlyto provide a robust testing environment for the AT89C51 automotive microcontrollers, but to develop an environment which can be easily extended and reused for the validation of several other future microcontrollers. The environment was developed in conjunction with Microsoft Foundation Classes (AT89C51). The paper describes the designand mechanism of this test environment, its interactions with varioushardware/software environmental components, and how to use AT89C51.1.1 IntroductionThe 8-bit AT89C51 CHMOS microcontrollers are designed to handle high-speed calculations and fast input/output operations. MCS 51 microcontrollers are typically used for high-speed event control systems. Commercial applications include modems, m otor-control systems, printers, photocopiers, air conditioner control systems, disk drives, and medical instruments. The automotive industry use MCS 51 microcontrollers in engine-control systems, airbags, suspension systems, and antilock braking systems (ABS). The AT89C51 is especially well suited to applications that benefit from its processing speed and enhanced on-chip peripheral functions set, such as automotive power-train control, vehicle dynamic suspension, antilock braking, and stability control applications. Because of these critical applications, the market requires a reliablecost-effective controller with a low interrupt latency response, ability。
A Drinking Water Machine Designed for The Blind Shih-Chung Chen1, Shih-Zhang Hsieh1, C.K. Liang1, S.W. Lin2, C.M. Wu2,C.H. Yang2, T.H. Huang2, C.H. Luo2, M.C. Hsieh2,D.T. Fuh21Department of Electrical Engineering, Southern Taiwan University of Technology2Sunshine Auxiliary Devices Research Group, Tainan, TaiwanAbstract Most of designs for water machine just consider normal people's demands, but the demands of the disabled, for example, the demands and inconvenience of the blind people while using the water machine. This research considered inconvenience of the blind when they use the water machine. We redesigned multiple intelligent functions in a traditional off-the-shelf water machine, including LED display for the temperature of water output, different fixed volume of water output, multi-language voice output for the temperature level and the volume of water output, voice warning for the minimum limit and the maximum limit of the water line in the tank, buttons with braille hints, redundant water collector with concentric circles fillisters designed for the blind to find the outlet position conveniently etc. This intelligent water machine we developed is not only convenient to use for the blind, but also for normal user. It is safer, convenient and so sweet when people use the intelligent drinking water machine.Keywords drinking water machine, blind, BrailleI.I NTRODUCTIONWater machine is one kind of common electrical appliance for daily life. Not only normal people need it, but also the blind people need it more. Therefore, the functions of water machine and the requirements for the blind people [1,2,3] should be wholly considered in advance during the product design process. It will be a great advantage for both of normal people and the blind people if the water machine has some special functions for the blind. Some day the special water machine will be a popular product in the market.General water machines developed for normal people usually has two or three outlets for different temperature of water output. In general, water machine can output different temperature of water, for example, hot water and warm water, even cold water. The two or three different temperature of water can flow out from different outlets in through different pathways. According to the Icons and words hint on the control board, the user can choose and put the cup under the correct outlet and push the switch/button for the desired water until the water output is enough, to finish the getting water process. The water machine supplying two different temperature of water usually has two tanks inside. One is called hot tank which is made of stainless steel. It was connected to the hot water outlet through the pipe pathway. Water inside the hot tank can be boiled whenever the user pushes the switch/button for boiling water. The other is called warm tank which is made of plastic material. It is connected to the warm water outlet through the other pipe pathway. Warm tank is also connected to hot tank. If we want hot water to be cool down and save it inside the warm tank, we can switch the valve to let hot water inside the hot tank go through the pipe pathway into the warm tank.As Mentioned above, general water machine with two independent water outlets usually includes two tanks for saving different temperature of water. User can push the different switch/button for choosing different temperature of water to flow out. Via observing the structure of general water machine and trying to complete the process of getting water, we found that user must have the ability to see and distinguish the switches/buttons and the positions of water outlets, then user can complete the process of getting water. It is easy for normal people to complete the process of getting water by using general water machine. However, the design of general water machine is inconvenient for the blind to complete the process of getting water.An intelligent water machine for the blind is developed our research. The physical case of an off-the-shelf general water machine was disassembled and reassembled as the physical case of the intelligent water machine. All the internal pipe pathway and electronic circuits in the general water machine were redesigned. The locations and the shapes of the switches/buttons on the control board were rearranged, too. Especially, Braille hints were added beside the switches/buttons for the blind people. The normal procedure of getting water from the general water machine is as follows: (1) finding the water outlet for the warm water or hot water (2) put the cup on the correct position under the desired water outlet (3) turn on the switch/button to let the water flow out (4) watching the volume of water in the cup(5) release the switch/button when water output is enough(6)if necessary, move the cup to the other position under theother water outlet for getting the other temperature of water, repeating the same procedure. The procedure mentioned above is very easy for normal people but for the blind, because the blind people can see nothing. Design of general water machine is not only inconvenient but also dangerous for the blind people. Because of seeing nothing, the blind people could be seriously hurt by the hot water or boiling stream. The aim of our research is to find the best way to help the blind people to use the intelligent water machine very conveniently and safely. The new functions of the intelligent water machine we developed includes cup auto-detection, voice output for all operation guide and safety warming, different fixed volume of water outputs, LED display for the temperature of water output, Braille hints for all switches/buttons, a redundant water collector with concentric circular fillisters.II.M ATERIAL AND METHODSThe hardware architecture of the intelligent water machine shown in Fig.1 includes the micro-controller, switches/buttons, LED display, 7 segment display, temperature sensors [5], water line sensors [5], voice IC, speaker and motors etc. ATMEL 89C51 micro-controller [4] was adopted as the system control kernel. Software is written into the micro-controller. The switches/buttons, 7 segments display, LED display and speaker etc. are the I/O devices of the intelligent water machine. There are two buttons for the different temperature of water outputs. One is for the hot water output the other is for warm water output. There are another three buttons for the different fixed volume of water output, i.e. 100cc, 200 cc and 300cc. One special button is for continuous water output. A swivel switch is designed for choosing different language of voice output, i.e. Chinese or English. The temperature of hot water or warm water can be showed on 7 segment display. Several LED displays can show the operation status of the water machine. On the whole, the intelligent water machine we developed has the functions as follows:1.LED temperature display of hot water tank regularly2.alternative temperature display of water outlet when water flows out3.multi-language voice output for the temperature level and the volume of water output4.different fixed volume of water output can be chosen by pushing the corresponding button5.voice warning for the minimum limit and the maximum limit of the water line in the tank6.multi-language voice can be chosen to play voice output7.braille hint is attached beside each button for the blind. 8. A redundant water collector with concentric circular fillisters under the water outlet is designed for the blind to find the outlet position conveniently and for the collection of redundant water outside the cup.F ig. 1 Hardware architecture of the intelligent water machineA.Redesign of the main control boardMost of mechanical devices of the off-the-shelf water machine as Fig.2 bought in the market were adopted as the components of the intelligent water machine, i.e., the plastic case, hot water tank, warm water tank, heater, etc. Nevertheless, many new and helpful functions are added in the intelligent water machine. The added switches/buttons on the main control board are reallocated and redesigned as Fig.3. The additional switches/buttons are for language option, temperature option and volume option respectively.The speaker is deigned for voice output. The blind people can understand the operation status and control the intelligent water machine easily by listening voice.B.Redesign of the internal pipe pathwayThe internal pipe pathway of original off-the-shelf water machine is shown in Fig.4. The modification of internal pipe pathway we did includes the method of controlling water flow, detection of water line, amount of the water outlet. Original general water machine has two water outlets for warm water output and hot water output individually. The intelligent water machine just only has one water outlet which is convenient to get water for the blind people as Fig.5.C. The physical profileThe pictures of the intelligent water machine are shown as in Fig. 6(a) and Fig. 6(b). Fig. 6(a) is the front view of the intelligent water machine. Fig. 6(b) displays the redundant water collector with concentric fillister.Fig. 2 Off-the-shelf water machineFig. 3 Profile of the intelligent water machineFig. 4 Original internal pipe pathway of the off-the-shelf water machineF ig. 5 Modified internal pipe pathwayFig. 6 (a)The front view of the intelligent water machineF ig.6 (b) The redundant water collector with concentric fillistersIII. R ESULTSThe main control board of the intelligent water machine shown in Fig. 7 includes all input/output devices. The input devices on the control board are divided into three areas. The operation procedure is shown as the flowchart Fig. 8. First of all, the user can choose some kind of language the user wants to hear but this step is optional not necessary. The second step, the user must choose hot water or warm water output. The third step the user must choose the volume of water output he wants, i.e. 100cc, 200cc or 300cc. Each step in Fig.8 we can find the corresponding switch/button area inFig. 7.Fig. 7 The control BoardFig. 8 Operation ProcedureIn order to test the functions of the intelligent water machine, we did a series of experiments under two different conditions: one is that the hot tank is fully filled with water the other is that the hot tank is only half filled with water. We start to operate the intelligent water machine by controlling different switches/buttons for choosing different temperature of water and different fixed volume of water output. Every experiment under the same condition was repeated 50 times. All measured datum were collected for analysis and statistics. Finally, we got the results shown graphically in Fig. 9, Fig. 10 and the mean values and standard deviation of the measured volume of water outputwere listed in Table 1.F ig.9 Tests for different fixed volume of water output when the hot tank ishalf filled with water123Fig.10 Tests for different fixed volume of water output when the hot tank isfully filled with waterT able 1. Test data for different fixed volume of desired water output status of tank half filled tank (unit:cc) desired output 100 cc 200 cc 300 cchot water 97.6±4.3 193.8±7.9 303.2±4.7 warm water 98.6±3.5 202.6±4.4 296.6±4.8 status of tank fully filled tank (unit:cc) desired output 100 cc 200 cc 300 cchot water 107.8±4.6 202.6±4.6 304.8±5.4 warm water 102.4±4.3 209.4±6.8 299±5.8IV.D ISCUSSION AND C ONCLUSIONOwing to the different volume of filled water in the hot tank, the water pressure to the pipe pathway is different. Therefore, the volume errors of water output resulted from the water pressure are different. According to the pipe pathway we designed, the water output is driven by the motor and controlled by the volume control mechanism. We can find the analysis results in Fig.9, Fig.10 and Table 1. The positive errors happened frequently when the hot tank is fully filled with water. The positive and negative errors happened equally when the tank is half filled with water. Hence, we conclude that the water pressure to the pipe pathway will affect the volume of water output slightly. On the whole, most of the errors calculated are in the range of ±10cc which can be still accepted if we use the intelligent water machine to get water.In general, the assistive devices for the disabled are always not popular and user specific. However, the intelligent water machine we designed is not only helpful for the blind people but also convenient for the normal people. We are very confident that the intelligent water machine will be popular in the market if the manufacturers want to produce the product in mass production.A CKNOWLEDGEMENTThis research has got the invention patent license in Taiwan. We want to acknowledge everyone joined the research team and NSC because the research was partially supported by NSC (National Science Council).R EFERENCES1.Dobrisek, S., Gros, J., Mihelic, F. ,Pavesic, N., HOMER: A voice-driventext-to-speech system for the blind, Industrial Electronics, 1999.ISIE '99. Proceedings of the IEEE International Symposium on.2.Su J. C., Uslan M. M., A review of zoom text extra screenmagnification program for the window 95. Journal of visualImpairment & blindness, 92(2), pp 116-119, 1998.3.Way D. L., Chang C.C., Building a PC-based surround screenvirtual reality system, International workshop on Advanced ImageTechnology, 2000.4.Mackenzie, The 8051 Microcontroller 3/E, 2004.5.Barry E. Paton, Sensors, Transducers & LabVIEW, Prentice HallPTR, 1999. (http:)6.Douglas V. Hall, Microprocessors and Interfacing , Programmingand Hardware, McGRAW-Hill International Editions, 19867.Alexander D. Khazan, Transducers and Their Elements, PrenticeHall PTR, 1994.8.Sergio Franco, Design with Operational Amplifiers and AnalogIntegrated Circuits, Third Edition, The McGRAW-Hill Company,2002.Address of the corresponding author:Author: Shih-ChungChenInstitute: Department of Electrical Engineering, SouthernTaiwan University of TechnologyStreet: No. 1, Nan-Tai StreetCity: Yung-KangCity,Tainan CountyCountry: TaiwanEmail: chung@.tw。