Mini Project Report Essay

Automatic Room Cloth Dryer System 1. 0 Introduction This project is to reduce human hard work. By this project human can dry he cloth in this room without worries forget to pick up dry cloth that put inside this room. this room is dry the cloth by using sunlight. 1. 1 Problem statement Normal way to dry our cloth is put outside the sunlight. But this are not able to know when dark or rain. this will cause our cloth undry and smelling..

This system helps to help protect the cloth from raining and quickest the cloth to dry off based on the signal from the LDR sensor. 2. 0 Objective The objective to create automatics room system for dry our cloth witch close the roof which depending on intensity of light. To produce an automatic sliding roof which is it ‘s movement is based on a light sensor reading. To produce a system which can move to the left and right by using a single motor. To reduce manual workload by replacing with automation system.

We Will Write a Custom Essay Specifically
For You For Only $13.90/page!


order now

The room system able to used at home. It is design to help especially the owner when they have hang their clothes inside a room. 3. 0 Scope of work This project on the Automatic Room Cloth Dryer System focuses on the use of ADC and the microcontroller combined with assembly language. Therefore this report mainly focuses on the electronic and mechanical design. The electronic part was designed to be efficient and be able to monitor the intensity light condition.

Therefore the scope of this project is: * To understand the nature of combining ADC with PIC18F4580 * Select the appropriate materials needed for the electronic application * The emphasis on use of assembly language to program the circuitry logic * Study of digital logic and microcontroller to automate this process * To interface the sensor with the microcontroller. For this project, we choose to make the roof close when the sensor detect no light or less bright light when it detects bright light , the roof will open.

Fan is off. When it’s dark the roof will closed and the fan will on. So, for this function we need the motor to rotate clockwise and counter clockwise. 4. 0 Methodology Components & Parts| For| Quantity| PIC Board| Programming| 1| PIC18F4580| Microcontroller| 1| LDR| Lightsensor| 1| 10k? Resistor| Vref| 1| DC Motor| To open and close the roof| 1| L293B| Motor Driver| 1| Breadboard| Connection| 1| Adapter| Power Supply| 1| 5. 0 Schematics diagram Full circuit Driver motor 5. 0 Project Figure 6. 0 Programming

INCLUDE<P18F4580. INC> CONFIG OSC=HS CONFIG WDT=OFF CONFIG LVP=OFF ORG 0000H C1EQU0X10 C2EQU0X11 C3EQU0X12 L_BYTEEQU0X20 H_BYTEEQU0X21 BIN_TEMPEQU0X22 MTR_CONEQU0X23 LDR_CTRLEQUPORTC INPUT1EQURC0;input 1 for pin 2 at l293d INPUT2EQURC1;input 2 for pin 7 at l293d FANEQURC6;output for light on the bulb CLRFTRISD CLRFTRISC BSF TRISA,0 BSFTRISA,3 BSFADCON0, ADON MOVLW 0X01 MOVWF ADCON0 MOVLW 0X1E MOVWF ADCON1 MOVLW 0XBE MOVWF ADCON2 HERECALL DELAY BSF ADCON0,GO BACK BTFSC ADCON0,DONE BRA BACK MOVFF ADRESL,L_BYTE

MOVFF ADRESH,H_BYTE CALLALGO MOVWFBIN_TEMP MOVLW0X0F CPFSGTBIN_TEMP GOTONO_FAN MOVLW0X7F CPFSGTBIN_TEMP GOTOHIGH_FAN DELAY MOVLW D’255′ MOVWF C1 LOOP0MOVLW D’255′ MOVWF C2 LOOP1MOVLWD’1′ MOVWFC3 LOOP2DECFSZ C3 BRA LOOP2 DECFSZ C2 BRA LOOP1 DECFSZC1 BRALOOP0 RETURN ALGO RRNCFL_BYTE,F RRNCFL_BYTE,W ANDLW0X3F MOVWFL_BYTE RRNCFH_BYTE,F RRNCFH_BYTE,W ANDLW0XC0 IORWFL_BYTE,W RETURN L_DELAY MOVLW D’250′ MOVWF 0X06 QLOOP0MOVLW D’250′ MOVWF 0X07 QLOOP1MOVLW D’20’ MOVWF 0X08 QLOOP2DECFSZ 0X08 BRA QLOOP2 DECFSZ 0X07 BRA QLOOP1

DECFSZ 0X06 BRA QLOOP0 RETURN NO_FAN BSFLDR_CTRL,FAN;on the FAN MOVFMTR_CON BNZHERE BCF LDR_CTRL,INPUT1 BSF LDR_CTRL,INPUT2 CALL L_DELAY BCFLDR_CTRL,INPUT1 BCFLDR_CTRL,INPUT2 MOVLW0X01 MOVWFMTR_CON GOTOHERE HIGH_FAN BCFLDR_CTRL,FAN;off the FAN MOVFMTR_CON BZHERE BSF LDR_CTRL,INPUT1 BCF LDR_CTRL,INPUT2 CALL L_DELAY BCFLDR_CTRL,INPUT1 BCFLDR_CTRL,INPUT2 MOVLW0X00 MOVWFMTR_CON GOTOHERE END 7. 0 Conclusion and the recommendation * This project should meet all the criteria. * This project could develop further to improve. Should be improved-by adding a few types of sensors to the system. Such as temperature sensor to detect the temperature inside the room or immunity sensor. * Controlling automatically system depend on the condition. Such as controlling the speed of the fan when the temperature detect low temperature 8. 0 Reference Muhammad Ali Mazidi,Rolin D. McKinlay,Danny Causey(2009)Pic Microcontroller and Embedded systems Using Assembly And C for PIC18, Upper Saddle River New Jersey Columbus,Ohio; Pearson Education Inc Website www. wikipedia. org