在前面我们已经学习了1602 和12864 液晶的基本知识,并且通过简单的实例实现了 在1602和12864液晶上显示字符和汉字。今天我们再来学习另外一种比较常用的液晶12232. 本实例中我们选用深圳锦昌电子的DM12232B型液晶。 本实例分为三个功能模块,分别描述如下: ● 单片机系统:利用ATmega16 单片机与DM12232B型液晶构成液晶显示电路。 ● 外围电路:DM12232B型液晶与单片机的连接电路。 ● 软件程序:编写软件,控制液晶显示字符。 通过本实例的学习,掌握以下内容: ● 掌握 DM12232B型液晶的基本原理和程序设计方法。
标签: CEPARK-AVR 12232 LCD 单片机教程
上传时间: 2013-10-19
上传用户:nanshan
摘要:为了解决信号采集系统的同步串行通讯问题,在理解AVR 单片机SPI接口的通讯原 理和方法的基础上,分析了AVR 单片机SPI接口的工作过程,设计了AVR单片机和串行A/ D转换器的同步串行通讯接口,并用程序描述了SPI接口通讯的过程,实现了AVR单片机 通过SPI接口与串行A/D转换器之间的数据通讯。最后,用实验和数据分析验证了设计方 案的可行性。 关键词:SPI接口;AVR单片机;串行A/D
上传时间: 2013-10-31
上传用户:lilei900512
介绍了一种用单片机控制的智能微波信号源发生器,以美国国家半导体公司的低功率,高性能的δ-Σ小数分频数字锁相环电路LMX2485和YTO为核心构成.微波信号源的工作频率范围为8~14GHz,频率分辨率为40GHz.分析了设计方案及实现过程中的关键技术,给出了部分实验结果.
上传时间: 2013-10-20
上传用户:banlangen
针对目前普通日光灯因不能调节光强而造成的能源浪费问题,设计了一种基于单片机的新型节能日光灯系统,该系统主要分为3个部分,首先采集外界光强信息并将数据传至单片机;随后单片机根据输入量的不同调整输出的PWM波;最后日光灯控制电路通过PWM波的控制,调节日光灯两端的电压,控制日光灯输出的光强,使日光灯随外界光强的变化而自动调整照射光强。经过不同外界环境的实验调试,在满足使用者的用光要求的前提下,日光灯工作稳定,功率明显降低,适宜推广使用。
上传时间: 2013-10-29
上传用户:苍山观海
为提高电容测量精度,针对电容式传感器的工作原理设计了基于PIC16LF874单片机电容测量模块。简单阐述了电容测量电路的应用背景和国内外研究现状,介绍了美国Microchip公司PIC16LF874单片机的特性。电容式传感器输出的动态微弱电容信号通过PS021型电容数字转换器把模拟量数据转换成数字量数据,所测数据由PIC16LF874单片机应用程序进行处理、显示和保存。实验结果表明,固定电容标称值为10~20 pF 的测量值相对误差在1%以内,同时也可知被测电容容值越大,测量值和标称值相对误差越小。 Abstract: To improve the accuracy of capacitance measurement,aimed at the principle of work of mercury capacitance acceleration transducer,the design of micro capacitance measurement circuit is based on the key PIC16LF874 chip. Briefly discusses the application of the capacitance measuring circuit for the background and status of foreign researchers,focusing on the United States PIC16LF874 microcontroller features. Capacitive sensor outputed signal through the dynamics of weak PS021-chip capacitors (capacitancedigital converter) to convert analog data into digital data,the measured data from the PIC16LF874 microcontroller application process, display and preservation. Experimental results show that the fixed capacitor 10pF ~ 20pF nominal value of the measured value of relative error is within 1%,but also it canbe seen the value of the measured capacitance larger,measuring value and the nominal value of relative error smaller.
上传时间: 2013-10-29
上传用户:wojiaohs
提出一种基于凌阳单片机的步进电机加减速的控制方法。采用凌阳科技推出的16位结构工控单片机SPMC75F2413A为控制器,由Allegro公司生产的两相步进电机专用驱动器件SLA7042M构成步进电机的驱动电路,在传统的3段直线加减速控制算法基础上增加至7段S形曲线加减速过程,控制步进电机的启动和停止。实验结果表明,该控制方法克服了直线加减速中不连续、易造成系统冲击的问题,整个系统实现柔性控制,电机启动、停止连续性能提高30%。 Abstract: The method of controlled stepping motor is referred based on SPMC75F2413A MCU, which adopts the 16 knots SPMC75F2413A MCU as the controller. The special-purpose actuation chip SLA7042M of two stepping motor produced by Allegro Corporation constituted to actuation electric circuit. The purpose of increasing to seven section of S shape curve based on the traditional three sections of straight line is to control the start and stop process of stepping motor. The experimental results show that the control method solves easy to pull-out and overshot problems. The overall system realizes flexible control, and the performance of motor start or stop continuity is increased 30%
上传时间: 2013-12-08
上传用户:jiangfire
设计一种基于ATmega16L单片机的温度控制系统,阐述该系统的软硬件设计方案。采用模块化设计方法,利用增量式PID算法使被控对象的温度值趋于给定值。实验结果表明该系统具有良好的检测和控制功能。 Abstract: This paper designs a temperature control system based on ATmega16L,describes the hardware and software de-sign scheme of the system,adopts the modularized design method and utilizes the incremental PID algorithm to realize the temperature of controlled device incline to the given value.The experiment result indicates that the system has good detec-tion and control function
上传时间: 2013-10-09
上传用户:stvnash
摘要:在工业自动控制中,单片机与PLC的远距离通信是一个难点与热点问题。本文设计了S7-200PLC与PIC16F877单片机实现远距离串行通信的硬件连接和软件实现方法。本文采用了MAX485E芯片进行TTL电平与差分信号之间的转换,使用RS-485端口和半双工模式进行通信。最后通过异或校验码对接收到的数据进行核对,以进一步提高数据传输的可靠性。实验证明,该方法成功实现了单片机与PLC的远距离通信,并且具有开发简单,抗干扰能力强的特点,具有一定实用价值。关键词:单片机 PLC 串行通信
上传时间: 2014-12-27
上传用户:YUANQINHUI
一、实验目的 1、掌握P1口的使用方法。2、掌握数据输入/输出的区别。 二、实验器材 1、HK-MCS51综合实验仪2、超想2000仿真器3、连线4、计算机
上传时间: 2014-12-27
上传用户:xieguodong1234
主要内容 • MSP430基础–系列产品–重要特性–主要外设 • MSP430教学实验–开发实验板–集成开发环境–实验示例
上传时间: 2013-11-06
上传用户:jx_wwq