Stink Graduation Project II Report

Click here to load reader

  • date post

    21-Apr-2015
  • Category

    Documents

  • view

    195
  • download

    3

Embed Size (px)

description

my second graduation project report...STINK27-12-2011

Transcript of Stink Graduation Project II Report

Jordan University of Science and Technology Faculty of Computer and Information Technology Department of Computer Engineering Graduation Project

Reham Murrar Noor Awad Eng. Mohammad Al-Basheer Dr. Monther Aldwairi

STINK Graduation Project

Table of ContentsList of Figures............................................................................................................................................................................. 4 List of Tables ............................................................................................................................................................................. 5 Abstract Chapter 1 Chapter 2 2.1. 2.2. 2.2.1. 2.2.2. 2.2.3. 2.3. 2.4. Chapter 3 3.1. 3.1.1. 3.1.2. 3.2. 3.2.1. Chapter 4 4.1. 4.1.1. 4.1.2. 4.1.3. 4.1.4. 4.1.5. 4.2. 4.3. 4.3.1. 4.3.2. ............................................................................................................................................................................. 6 Background and Related Work .............................................................................................................. 9 STINK Prototype I .................................................................................................................................... 10 Software ............................................................................................................................... 11 Hardware.............................................................................................................................. 11 The Receiver Circuit ......................................................................................................... 12 The Power Supply Circuit ................................................................................................. 13 The Switch Control Circuit................................................................................................ 13 The USB Serial Port............................................................................................................... 14 The Fragrance Canister ........................................................................................................ 14 STINK Prototype II ................................................................................................................................... 15 Software ............................................................................................................................... 16 Graphical User Interface .................................................................................................. 16 The PIC Microcontroller Program .................................................................................... 17 Hardware.............................................................................................................................. 17 The Heater Circuit ............................................................................................................ 18 STINK Prototype III ................................................................................................................................. 19 Hardware.............................................................................................................................. 20 The Stepper Motor ........................................................................................................... 20 The Magnet Sensor .......................................................................................................... 25 The DC Motor ................................................................................................................... 26 The Motor Setup .............................................................................................................. 28 The Heater Circuit ............................................................................................................ 29 The Main Algorithm ............................................................................................................. 30 Software ............................................................................................................................... 32 User Interface Software ................................................................................................... 32 The PIC Microcontroller Software .................................................................................... 34 Introduction ............................................................................................................................................................................. 7

Computer Engineering Department at JUST

Page 2

STINK Graduation ProjectChapter 5 5.1. 5.2. 5.3. 5.4. 5.5. 5.6. 5.7. Chapter 6 Appendix References Other Equipments and Tools ............................................................................................................... 35 USB Serial Port ..................................................................................................................... 35 MAX232 ................................................................................................................................ 37 The PIC Microcontroller ....................................................................................................... 39 PIC Programmer ................................................................................................................... 40 Battery .................................................................................................................................. 41 Perfume Essences ................................................................................................................ 42 Tools and Programs.............................................................................................................. 42 Future Work ............................................................................................................................................... 43 .......................................................................................................................................................................... 45 .......................................................................................................................................................................... 51

Conclusions .......................................................................................................................................................................... 44

Computer Engineering Department at JUST

Page 3

STINK Graduation Project

List of FiguresFigure 1. Complete system of STINK prototype I ..................................................................................... 10 Figure 2. Software of STINK first prototype ............................................................................................. 11 Figure 3. The electronic control circuit for Prototype I............................................................................ 12 Figure 4. Receiver circuit for prototype I ................................................................................................. 12 Figure 5. Voltage generator circuit .......................................................................................................... 13 Figure 6. Electromechanical switch control circuit .................................................................................. 13 Figure 7. Pressurized perfume canister. .................................................................................................. 14 Figure 8. STINK second prototype............................................................................................................ 15 Figure 9. GUI for STINK prototype II......................................................................................................... 16 Figure 10. PIC microcontroller software .................................................................................................. 17 Figure 11. Schematic diagram for the STINK Prototype II hardware ....................................................... 18 Figure 12. Relay switch ............................................................................................................................ 18 Figure 13. STINK prototype III .................................................................................................................. 19 Figure 14. Stepper motor [7] ................................................................................................................... 21 Figure 15. Internal structure of the stepper motor [8] ............................................................................ 21 Figure 16. Four steps of a one complete rotation of a stepper motor in clockwise direction [9] ........... 22 Figure 18. STA471A diodes internally [23] ............................................................................................... 23 Figure 17. STA471A chip [22] ................................................................................................................... 23 Figure 19. Magnet sensor ........................................................................................................................ 26 Figure 20. DC motor of STINK third prototype......................................................................................... 27 Figure 21. Schematic circuit of a DC-motor driver ................................................................................... 27 Figure 22. Motor setup ............................................................................................................................ 29 Figure 23. Heater circuit...............................................................................................