1、简易家用智能拖地机 1 目目 录录 目 录 1 一 绪论. 2 简易家用智能拖地机 2 一 方案设计与论证. 4 1.1 总体设计方案与比较: . 4 二 模块电路设计及比较. 4 21 电源模块 . 4 2.1.1 电源原理 4 2.2 电机驱动模块: 6 2.2.1 电机的选择与论证. 6 2.2.2 电机驱动方案的选择与论证. 6 2.2.2.1 驱动方案选择 . 6 2.2.2.2 PWM 产生方案论证 10 2.3 传感器模块: . 14 三 软件设计 15 3.1 程序清单 . 15 四 致谢 16 参 考 文 献 16 仪 器 仪 表 17 附 录 18 单片机程序: . 18
2、本设计总体电路图: . 26 简易家用智能拖地机 2 一一 绪论绪论 用单片机控制电机是市场上科技产品的一个运用很广的技术,而把单片机控制电 机运用在生活用品中还是刚刚起步.单片机控制小车在包括玩具、家用电器等方 面都有广泛的应用。另外,家用电器都向智能化发展。而家庭中,各种家务又在 忙碌一天想回到家休息的人们,特别是过几天就发黑的地板。一般情况下都是选 择用拖把人工打扫。 现在室内扫地, 拖地手工操作的非常多, 有的用吸尘器吸尘, 难把地板搞干净,费工费时,而且劳动强度非常大,劳动效率也很低,在室内清 洗上需要大量的人力、物力。而我的设想是能有一台智能化的机器,只要一通电 源,它就会自动把家
3、里打扫的干干净净!目前市场上还没有这类智能家用电器, 但是一般情况下,基本上每个家庭都会有这方面的要求,如果开发出来的话,会 有广阔的市场前景。 简易家用智能拖地机简易家用智能拖地机 摘摘 要要: :本设计分六个模块:单片机控制及显示模块、电机驱动模块、传感器 模块、音乐片模块、电源模块、拖地模块。单片机控制及显示模块以单片机 AT89s51 为核心,对传感器模块送过来的信号进行控制同时串行口输出时间显 示;电机模块是以 L298N 为核心的常用电机驱动电路;传感器模块是以 LM358 为核心及光电三极管和微动开关组成的电压比较器电路;音乐片模块是型号为 的音乐片构成的;电源模块包括两种:一种
4、是以 7805 为核心的+5V 稳压电路, 其主要为单片机控制及显示模块、电机驱动模块的逻辑电源、传感器模块供电; 另一种是六节 AAA 电池组成,主要用于电机驱动的 VS 和音乐片。 关键字关键字:传感器 电机驱动 传感器 电源 PWM 简易家用智能拖地机 3 The simple home use intelligence tows machine Abstract: This supposes figures out the score six modules: Monolithic integrated circuit control and demonstration module,
5、 motor-driven module, sensor module, musical module, power source module,tows module. The monolithic integrated circuit control and the demonstration module take monolithic integrated circuit AT89s51 as a core, delivers the signal to the sensor module to carry on at the same time the control the ser
6、ial mouth output time demonstration; The electrical machinery module is take L298N as the core commonly used motor-driven electric circuit; The sensor module is take LM358 as the voltage comparator electric circuit which the core and the phototriode and the microswitch composes; The musical module is the model is the TS088BD musical constitution; Power source module including two kinds: One kind is take 7805 as the core of +5V voltage-stabilizer circuit, it mainly for monolithic integ