Microchip 产品用户参考手册 单片机集成方案全方位解决服务商 优质智能电子产品 芯 方案解决商 深圳市英锐恩科技有限公司 深圳市英锐恩科技有限公司 ENROO-TECH(SHENZHEN)CO.,LTD 中国 深圳市福田区福华路嘉汇新城汇商中心 27 楼 2701

Similar documents
Microchip 产品用户参考手册 单片机集成方案全方位解决服务商 优质智能电子产品 芯 方案解决商 深圳市英锐恩科技有限公司 深圳市英锐恩科技有限公司 ENROO-TECH(SHENZHEN)CO.,LTD 中国 深圳市福田区福华路嘉汇新城汇商中心 27 楼 2701

Automate the Home. Home Security System APPLICATION OPERATION: Ontario, Canada

WHITE PAPER. Automotive Water Intrusion Detection with Smart Passive Sensors

地址 : 北京市朝阳区建国门外外交公寓 7 号楼 1 单元 101 号 电话 : / 传真 :

Reference Guide. Short-form instruction for powering on and using the Ventis Pro4 Multi-Gas Monitor and the Ventis Pro5 Multi-Gas Monitor

Gas Pipeline Locating Leak detection and Safety Assessment

Personal Care Appliances in Sweden

Personal Care Appliances in Thailand

PE Series Jaw Crusher P E

WT7502 PC POWER SUPPLY SUPERVISOR. Data Sheet REV Feb. 26, 2008

矿用电缆 矿 用 电 缆 江苏亨通电力电缆有限公司

FRENCH EXHIBITORS 法国展商

E-waste Management in China

GAO THERMAL CONTROL TECHNOLOGY CO.,LTD

BUREAU VERITAS GREATER CHINA 必维国际检验集团 大中华区 CRANE SERVICES 起重机服务

Consumer Appliances in Germany

Coils Connectors Bosch Rexroth

TC5F 熱流道溫度控制器 TC5F Hot-Runner Temperature 操作手冊 USER'S MANUAL. 長新科技股份有限公司 ARICO Technology Co., Ltd. 長新科技股份有限公司. Ver.:TC5F-1.0.2

Miele Service Certificate

Retailing in Romania. Customer Service Hotline: Page 1 of 23

Central Monitoring System with ECOLOG-NET LAN Dataloggers DataloggingCompany

Contents. Precision Lead-free Reflow Oven. Model: AT-R3028

TLM-8 User s Guide. Features and Description. Warranty. WATLOW TLM-8 User s Guide 1

Model TF56-N Sensor. 1. Using the instruction manual. 2. Returns and disposal. 3. Intended use. 4. Description of the TF56-N sensor

X56 Series Photometric Detectors

Work Report of Chinese Steering Commi.ee of Landscape Architecture Educa8on

Our Ref.: SHK /LDD 7/15 24 July 2015

说明书 澳大利亚 ARTUSI KH90A-F1N160 薛孝田 印刷说明 : 2.. 此印刷品自 起开始实施 3. 此印刷品最终成品大小为 A4 纸一半大小 4. 此印刷品黑白印刷 5. 此印刷品要求字迹清晰 不能有漏印 错印 模糊现象 客户名称 产品型号 会签 型号经理

TSI FMS Particle Monitoring Applications TSI FMS 在线粒子监控系统的应用. 2008, TSI Incorporated

Boiler Safety Technical Supervision Administration Regulation

TECHNICAL PRODUCT DATASHEET

Premium Desoldering station with Electric Pump Ref. DIS-D

EJX-A and EJA-E Series Differential Pressure and Pressure Transmitters

Hot Air Station without Extractor desk Ref. JTSE-QA

践行里约 +20 决议, 示范新型城镇化 : 国际人居环境范例新城倡议

Technical Code for Engineering of Security and Protection System

Sino-Singapore Tianjin Eco-city: A Model Sustainable City. Presentation for Australian Mission 1 March 2011

Temperature Monitoring and Leakage Detection for a Broad Portfolio of Industrial Assets

Senab Interior established on the Bund introducing Scandinavian design and new ways to organize the office

GETTING STARTED GUIDE NI NI-XNET Hardware Selectable Interface. Français Deutsch 日本語한국어简体中文. ni.com/manuals

The trademark of ARICO Technology Co. Ltd., consists of a white human icon, three squares and alphabets :

Bs en iso pdf. Bs en iso pdf.zip

MultiTemp IV Thermostatic Circulator

MicroCoat Flow Guard Operating Manual

EJX-A and EJA-E Series Differential Pressure and Pressure Transmitters

MAINTENANCE & TROUBLESHOOTING GUIDE LEAK ALARM CHANNEL DRY OIL WATER AUX ALARM HIGH LOW CRITICAL WATER TANK LEVEL ALARM MODEL LDE-740 ADVANCE PAPER

EJX / EJA-E series. For the description on the applicable page of users manual as shown in the item 1, please use revised information as shown in 2.

Using the HT46R48 in a Gas Water Heater Application

Question? 有疑问? Contact Philips 请联系飞利浦 FC6132 FC6130

Agilent 7696A Sample Prep WorkBench

PRODUCT STRUCTURE. Indoor Unit. Outdoor Unit. Fig.1. Air in. Air out. Display. Air in. Air out P.1. Display. Surface panel. Louver.

YICHENGDA INTERNATIONAL(HONGKONG) CO., LIMITED Shenzhen Yichengda Craftwork Products co.,ltd 深圳市宜成达工艺制品有限公司宜成达 ( 香港 ) 国际有限公司

Operating Instructions Air Conditioner Ceiling (T2 type) 4-Way Cassette (U1 type) Model No. INDOOR UNIT Ceiling (T2 type) S-60PT2R5A S-71PT2R5A S-100P

FIBARO FLOOD SENSOR OPERATING MANUAL FGBHFS-101 CONTENTS. #6: Functionalities 8 #7: Configurable parameters 9 #8: Specifications 10 #9: Regulations 11

YVP110 Advanced Valve Positioner. Please use the attached sheets for the pages listed below in the following manuals. IM 21B04C01-01E (10th)

New Rural Planning Guidelines in the Chengdu Plain: The Case of Tianfu New Area

Dryer Controller M720

A New Generation of Active Intrusion Detection System for Physical Protection

Overview of the Investment

User s Manual of CWT5010 Products

User Manual. Dryer Controller M720

Professional Experiences of LCMP Verifiers

Professional Experiences of LCMP Verifiers

Agilent 7890 Series Gas Chromatograph

Operations Manual TS400. Test Station for G450/G460 Gas Detector

Beijing Urban Design Studio Summer 2008

OPERATOR S MANUAL MR-2100/2200. Fire Alarm Control Unit. Revision 0 Document #: LT-2002

Agilent Intuvo 9000 Gas Chromatograph

Dr. Qiaoling Luo. Publications

INSTALLATION INSTRUCTIONS FOR SERIES 9 INTERMITTENT PILOT IGNITION CONTROL

TOTAL SOLUTIONS. Liquid Level Control Product Guide. MATELEC AUSTRALIA innovative by design

Agilent 7650A Automatic Liquid Sampler

Custom Control Systems Inc. Ellis Dryer Control Configuration and Operation Manual

Pump-Down Controller MODEL 4052

LEAKMONITOR MULTIZONE WATER LEAK DETECTION ALARM PANEL INSTALLATION AND USER OPERATION MANUAL

CAREL CONTROLLER. Programming Instructions HOW TO CHANGE LEVEL 1 CONTROL SETTINGS HOW TO CHANGE LEVEL 2 CONTROL SETTINGS

FSD Circular Letter No. 1/2006 Fire Safety Standards for Emergency Lighting

NEW KEYS RELEASE 2018

IMR IX176 Portable Gas Detector User Manual

MULTIGUARD MULTIGUARD USERS MANUAL TYPE S3/240W 26/01/2010

ASIA LOSS PREVENTION SOLUTIONS

DOLKPS1KB Programming & Installation Manual

Sustainability Driven Growth

Professional Experiences of LCMP Verifiers

LEVEL SENSORS & FLOAT SWITCHES

Shaking Peltier Device

Prospects and challenges for sustainable urbanization in China

INSTALLATION INSTRUCTIONS

CAREL IR33+ CONTROLLER

Professional Experiences of LCMP Verifiers

ค ม อการต ดต ง/การใช งาน เคร องด ดคว นชน ดกระโจมต ดผน ง. Operation / Installation Manual. Chimney Hood RH-C809-GB

Professional Experiences of LCMP Verifiers

CONTENTS. Preface...3. Package list...3. II Introduction...4. Features...4 Parameter...5 CWT5111 interface...6. Configuration guide of CWT

Mounting instructions. Rinsing connection. for VEGAPULS WL 61, 61, 64, 67 and 69. Document ID: 49552

Oil in refrigerant. polyester oil (POE) polyalkylene (PAG) polyalphaolefins (PAO) hydrofluorocarbons carbon dioxide ammonia propane

Ventis Slide-on Pump Field Guide Setup, Operation, and Service. Ventis 采样泵现场指南安装 使用和保养

ค ม อการต ดต ง/การใช งาน

TS400. Operating Manual. Test Station for Microtector II Series (G450/G460)

The Information Contained in this Document is Proprietary and should only be used for Service or Training of Authorized Blodgett Servicers who will

How to use Medi-Therm III hyper/hypothermia system

Transcription:

深圳市英锐恩科技有限公司 单片机集成方案全方位解决服务商 优质智能电子产品 芯 方案解决商 Microchip 产品用户参考手册 深圳市英锐恩科技有限公司 ENROO-TEH(SHENZHEN)O.,LTD 中国 深圳市福田区福华路嘉汇新城汇商中心 7 楼 70 Enroo-Tech Technologies O., Limited Light-Tech International Limited 香港新界荃灣沙咀道 9-35 號科技中心 5 樓 5 室 联系电话 :86-755-85434,83674,83839,635755, 8884595 联系传真 :86-755-85435 联系邮件 :enroo@enroo.com 公司网站 :http://www.enroo.com Add: 深圳市福田区福华路嘉汇新城汇商中心 7 楼 70 Tel:+86-0755-85434, Fax: +86-0755-85435 http://www.enroo.com

Automatic Pump ontroller Automate the Home INTRODUTION: It is very common in houses in high terrain or high rise buildings, that the public water supply does not have enough pressure to get the water into the overhead tank. The water will be collected in a underground tank and lifted to the overhead tank by a pump. The pump must do the pumping operation whenever the water level in the overhead tank is empty and should stop pumping when filled. This operation can be performed manually by a start/stop switch for the pump motor, or the operator can control the pumping. He should constantly monitor the water level in the overhead tank to prevent overflowing. Similarly, he should ensure that there is water in the sump before starting the pump. It is very convenient to incorporate an automatic setup for pumping. Here is a circuit that automatically controls the pump so that an efficient water supply is maintained. All possible protection features and alarms are added to this PImicro microcontroller based system. The following are some of the essential features for a pump controller.. Pump should start pumping immediately after the water level in overhead tank is lower than the lower limit.. Pump should stop pumping when tank is filled. 3. Pump should not start if there is no water in the sump to prevent dry run. 4. Motor must stop if the pump is not delivering water due to any problem. 5. Motor should not run continuously more than the safe run time and it should stop after the set running time is over. 6. The pump can be controlled manually at any time by using the start/stop (manual) button. Apart from the above, the following protective features are also incorporated.. Prevention of malfunctioning from fault in the sensors. Various alarms to indicate the status of the pumping system. APPLIATION OPERATION: The PImicro microcontroller is provided with the following inputs to sense the various conditions:. Presence of water in the sump. Low water in overhead tank 3. Water filled in tank. 4. Pump ok 5. Manual control switch. The inputs to 3 can be easily obtained either by using float switches as sensor or by dipping probes as sensors in the O/H tank or in the sump. Presence of water at a level can be sensed by checking conductivity between the pair of probes erected at that level. A simple transistor and an Opto-coupler are sufficient for the input conditioning. A simple arrangement is shown in the circuit. Outputs available form the controller are used to operate the starter of pump and to activate a buzzer. Since the number of external lines are less than needed, the SUMP_OK input and the buzzer output are sharing the same pin. This pin, GP5, is assigned as output only when an error condition is detected. The flow chart is rather lengthy and is not given here. The program constantly monitors all the input conditions and updates a status word in memory. If any input condition is changed, the program checks and detects if there is any malfunction. If any defects are detected, the controller sounds an alarm. If the MU detects the need for pumping, the pump is started and checks again for the water delivered to the discharge pipe. A sensor attached to the outlet does the job. This sensor o/p goes low when the water is pumping. If the Microchip Technology Incorporated, has been granted a nonexclusive, worldwide license to reproduce, publish and distribute all submitted materials, in either original or edited form. The author has affirmed that this work is an original, unpublished work and that he/she owns all rights to such work. All property rights, such as patents, copyrights and trademarks remain with author.

Automate the Home pump is not pumping water for a period set in the program, the pump is stopped and an alarm is given. If the pumping is ok, the program checks for the other inputs to find out if the low water indication goes off after some time of pumping and again checks for timeout for pump or water full input to trip the motor. beep is for a duration of 0.6 seconds and can also be varied by changing the tmr value. Note: Only one error code is written in the program. This error code gives a beep pattern, (beep beep beep beep). Warning and annunciation are also provided as an audible alert to the user. Different types of interruptions are given to the audio beep produced by the buzzer, so that the status of this controller can be monitored. The beep interrupt pattern (s and Zeros - causes beep and zero no beep) can be transferred to the code register before calling the beep routine. Each IRUIT DIAGRAM OF PUMP ONTROLLER 8 7 6 5 4 3 V V+ D D +. - Z R? 470 U 0K VDD VSS GP5 GP0 8 7 PUMP_OK water full E R4 3 GP4 GP 6 4 GP3 GP 5 WATER_LO Sump GND PI5XX PI5XX pump control SW8 V.K 6 5 SIGNAL OUT 0K TO PROES 0K 4n35 4 GND E TYPIAL INPUT SENSOR A 330 IRUIT A GND 8 7 6 5 4 3

APPENDIX A: SOURE ODE Automate the Home ----------------------------------------------------- This program runs on PI5XX This program is written as control program for domestic pump controller WRITTEN Y MANI.T.K(VUITI) ------------------------------------------------------- LIST IFNDEF 508 MESSG "Processor-header file mismatch. Verify selected processor." ENDIF ============================================================ Register Definitions ============================================================ W EQU H'0000' F EQU H'000' ----- Register Files ----------------------------------------------------- INDF EQU H'0000' TMR0 EQU H'000' PL EQU H'000' STATUS EQU H'0003' FSR EQU H'0004' OSAL EQU H'0005' GPIO EQU H'0006' register equ 0x07 TMR equ register+0 TMR equ register+ ODE equ register+ OUNTER EQU register+3 DELAY EQU register+4 TMR0 EQU 0 E EQU 0XAA ----- STATUS its -------------------------------------------------------- GPWUF EQU H'0007' PA0 EQU H'0005' NOT_TO EQU H'0004' NOT_PD EQU H'0003' Z EQU H'000' D EQU H'000' EQU H'0000' WATER_FUL EQU H'0000' WATER_LO EQU H'000' SUMP EQU H'000' PUMP_OK EQU H'0003' MANUAL EQU H'0005' ALARM EQU H'0005' OUTPUT EQU H'0004' ----- OPTION its -------------------------------------------------------- NOT_GPWU EQU H'0007' NOT_GPPU EQU H'0006' T0S EQU H'0005' T0SE EQU H'0004' PSA EQU H'0003' PS EQU H'000' PS EQU H'000' PS0 EQU H'0000'

Automate the Home ============================================================ RAM Definition ============================================================ MAXRAM H'F' ============================================================ onfiguration its ============================================================ _IntR_OS EQU H'0FFE' LIST org 0 start address 0 **************Program STARTS FROM here************* START F STATUS,GPWUF PUMP_START START_PUMP MOVLW 0X07 Initialize the prescaler OPTION MOVLW 0X0F initialize I/O lines. Only gp4 as output TRIS GPIO configure the input and output MOVF GPIO,W ANDLW 0XF heck for faulty inputs XORLW 0X0 TFS STATUS,Z ERROR input conditons are not ok, error bell TFSS GPIO,WATER_LO HEK FOR LOW WATER LEVEL PUMP_START TFSS GPIO,MANUAL heck if manual key pressed MANUAL_MODE TFSS GPIO,SUMP heck Water in sump is low ERROR Error. No water in sump TFSS GPIO,SUMP verify if water in sump START_PUMP ERROR Error, No water in sump SF GPIO,OUTPUT start pump MOVLW 0X0 initialize timer0 MOVWF TMR0 MOVLW 0XFF Pump START test time(app 6 SE) MOVWF TMR TO the TIMER MOVLW 0XFF Pump running time(app HOUR) MOVWF TMR TO the TIMER MOVF TMR0,F TFS GPIO,SUMP check for water in sump ERROR TFSS GPIO,MANUAL check if manual button is pressed MANUAL_MODE TFS STATUS,Z heck for 0.065 sec timer DEFSZ TMR,F heck for timeout 0f 6.56 sec TFS GPIO,PUMP_OK DEFSZ TMR,F HEK STOP_PUMP

Automate the Home HEK F GPIO,OUTPUT Switch off pump ERROR3 Pump timout error TFS GPIO,WATER_FUL HEK FOR WATER FILLED F GPIO,OUTPUT START ************manual mode************ MANUAL_MODE TFSS GPIO,OUTPUT heck if pump is running START_PUMP If not start pump STOP_PUMP or stop pump ************ error routines********************** ERROR MOVLW E take Error code MOVWF ODE now code contains the beep interrupt pattern ALL EEP ERROR ERROR3 error, error3 etc can be similarly written ********************************************* subroutine eep. This routine ouptuts a beep pattern corresponds to the s in the code register EEP OPTION MOVLW 0X00F initialize I/O lines. GP4 AND GP5 as output TRIS GPIO MOVLW 0X0A MOVWF TMR MOVLW 0X07 MOVWF OUNTER REPEAT RLF ODE,F DEF OUNTER TFSS STATUS, REPEAT Repeat until start of pattern (starts with first ) REPEAT RSET SF GPIO,ALARM MOVF TMR0,F TFSS STATUS,Z HEK DEFSZ TMR,F REPEAT DEFSZ OUNTER, if finished, return RETLW 0X00 MOVLW 0X0A MOVWF TMR RLF ODE,F TFSS STATUS, RSET REPEAT F GPIO,ALARM REPEAT END

深圳市英锐恩科技有限公司 全球销售及服务网点 单片机集成方案全方位解决服务商 优质智能电子产品 芯 方案解决商 联系信息 : 深圳市英锐恩科技有限公司 ENROO-TEH(SHENZHEN)O.,LTD 中国 深圳市福田区福华路嘉汇新城汇商中心 7 楼 70 Enroo-Tech Technologies O., Limited Light-Tech International Limited 香港新界荃灣沙咀道 9-35 號科技中心 5 樓 5 室 联系电话 :86-755-85434,83674,83839,635755, 8884595 联系传真 :86-755-85435 联系邮件 :enroo@enroo.com 公司网站 :http://www.enroo.com Add: 深圳市福田区福华路嘉汇新城汇商中心 7 楼 70 Tel:+86-0755-85434, Fax: +86-0755-85435 http://www.enroo.com