EEL 4924 Electrical Engineering Design (Senior Design) Final Report 4/25/12 Project: Team: Test Curtains Please Ignore Team Members: Michael Feliciano Mark Heh Abstract: Our project is the design of an intelligent motorized curtain system with a user-programmable remote control. The curtain system is battery powered with an integrated solar cell recharging feature. The curtain has several different modes of operation including light-sensing, motiondetection, temperature control, and timers. The light-sensing and motion-detection are performed by the curtain itself, whereas the temperature control and timers are controlled by the RF remote. Additionally, the user is able to manually assign a position to the curtain, whether it be full open (or up), down, and anywhere in between by pressing a button or button combination on the remote control. This is a manual override of other automatic modes (other than timers). The curtain has a microcontroller and RF receiver and the remote control has an RF transmitter, microprocessor, and LCD screen.
Page 2/13 Table of Contents Abstract 1 Introduction 3 Technical Objectives 4 Division of Labor 10 Bill of Materials 11 List of Tables and Figures Figure 1: Block Diagram 5 Software Flowcharts 6 Table 1: Division of Labor chart 10 Figure 2: Gantt chart 13
Page 3/13 Introduction: People purchase curtains for their homes and offices for a multitude of reasons, be it for aesthetics or for practical purposes such as blocking sunlight or regulating the temperature of a room. Many privileged business and individuals prefer the convenience of motorized curtains for their sophistication, elegance, and overall Wow factor. Several companies design and build these motorized shades, most notably Hunter Douglas, Somfy, and recently Qmotion. These companies shades often have optional automation features to further impress current clients and to attract new ones. What makes our shade unique is our combination of intelligent modes of operation and our ecofriendly solar-recharging batteries. No current company offers all of these features in a single curtain system. In addition, we would like to make our curtains as affordable as the competition while still offering this wide range of features, which include light-sensing, motion-detection, temperature control, and user-programmed timers.
Page 4/13 Technical Objectives: Our primary objective was to design and build the single most intelligent motorized curtain system on the market today. Our Xbee transceivers give the curtain system reliable communication from the remote to the curtain itself. We designed and implemented a motor driver system using 6V Polyvolt motors and power MOSFETs arranged in an H-bridge. The circuit was driven the curtain s ATmega324P microcontroller. CDS cells and a PIR motion detector were integrated for the light-sensing and motion detection, respectively. After the final electrical and mechanical parts of the shade were assembled, we integrated a solar panel to recharge the batteries while the motor is not running. With such a system in place, the battery life is limited only by the number of times the batteries can be recharged (also called the cycle life ), as well as various operating conditions. Our goal was to virtually eliminate the need to change batteries during the life of the curtain. The remote control is programmed to tell the curtain which mode of operation to be in, as well as giving the user the ability to move the curtains up or down in a manual override instruction. The user is also able to set a timer for the curtain to move to a certain position at a certain time of day. Finally, if the user would like the curtains to help maintain the temperature in the room (such as to save on heating/cooling costs, for example), a temperature sensor periodically determines if the shade should be moved up or down depending on whether the room needs to be warmer or cooler. A block diagram of our project is shown in Figure 1 below.
Page 5/13 Figure 1. Block Diagram
Page 6/13 Software Flowcharts Curtain Software Flowchart
Page 7/13
Page 8/13 Remote Software Flowchart
Page 9/13
Page 10/13 Division of Labor: Our project can be divided into two main parts the curtain and the remote control. Both aspects of the project have analog, digital, and software components. In general, Michael Feliciano will work on the curtain components and Mark Heh will work on the remote components. A detailed table describing this is shown in Table 1. Division of Labor Curtain Tasks Michael Feliciano Mark Heh Motor Control 100% 0% Sensor Integration 100% 0% up Code 95% 5% RF Reciever 50% 50% PCB 100% 0% Solar Recharging System 80% 20% Remote Tasks Mechanical Design 70% 30% RF Transmitter 0% 100% Sensor Integration 0% 100% up Code 10% 90% User Interface 0% 100% PCB 0% 100% EL Driver for LCD Display 0% 100% Table 1. Division of Labor chart.
Page 11/13 Bill of Materials Parts List for Remote Description Vendor Part # Vendor Name Qty Price/Qty 5V 20x2 LCD LCD1022 BGMicro 1 16 key keypad SWT1067 BGMicro 1 XBee 2mW Chip Antenna - Series 2 (ZigBee Mesh) WRL-10415 Sparkfun 1 $25.95 XBee Explorer USB ATMEGA324P WRL-08687 Sparkfun 1 $24.95 ATMEGA324P- 20PU-ND Digikey 1 $7.16 TMP36 SEN-10988 Sparkfun 1 $1.50 Temperature Sensor Crystal 32kHz COM-00540 Sparkfun 1 $1.50 0.1uF Bypass Cap BC2665CT-ND Digikey 4 $0.37 Trimmer 10K Ohm 0.1 Through hole IC DRIVER LN 220VP-P EL 8- MSOP CAP CER 2.2UF 16V 10% RADIAL D4AA14-ND Digikey 1 $0.23 576-2977-5-ND Digikey 1 $1.98 445-2859-ND Digikey 1 $0.43 RES 280K OHM METAL FILM.40W 1% RES 825K OHM METAL FILM.60W 1% PPC280KYCT- ND PPC825KZCT- ND Digikey 1 $0.18 Digikey 1 $0.33
Page 12/13 CHOKE CONFORMAL COATED 220UH DIODE GP 150V 250MA DO-35 CAP ALUM 100UF 16V 20% RADIAL IC Regulator LDO 3.3V TO220-3 CAP ALUM 0.33UF 50V 20% RADIAL CAP ALUM 0.47UF 50V 20% RADIAL CAP CER 2700PF 250V 5% RADIAL SW TOGGLE SPDT.4VA RT ANG PCB RES 1K OHM 1/4W CARBON FILM LED 3MM RED 6.3MCD GAASP ON GAP M10139-ND Digikey 1 $0.20 568-7921-1-ND Digikey 1 $0.19 P5138-ND Digikey 1 $0.22 LM3940IT-3.3- ND Digikey 1 $1.75 P928-ND Digikey 2 $0.19 P823-ND Digikey 1 $0.23 445-4419-ND Digikey 1 $0.34 432-1165-ND Digikey 1 $2.83 CF14JT1K00CT- ND Digikey 1 $0.98 751-1129-ND Digikey 1 $0.43
Page 13/13 Parts List for Curtain Description Part Number Quantity Price per unit 6V Polyvolt Motor 1 Mosfet N-Ch RFD3055LE 2 $0.80 Mosfet P-Ch IRF9Z24PBF 2 $1.55 ATMEGA324P ATMEGA324P- 20PU-ND 1 $7.16 XBee 2mW Chip Antenna - Series 2 (ZigBee Mesh) WRL-10415 1 $25.95 Parallax PIR Sensor 1 $10.00 CDS cells 2 $0.75 10W Solar Panel 1 Rechargable AA Ni-MH Batteries 4 Mechanical curtain assembly 1 Assorted electrical components (resistors, capactors, voltage regulators, etc.) Gantt Chart: Below is a Gantt chart which shows the projected development timeline of our project. Figure 2: Gantt chart