1 / 36

Home automation using mobile phones and RF radios

University of Bahrain College of Engineering Department of Electrical and Electronics Engineering . EEG490 Senior Project Muna Al- Omari Taqua Salaheldin. Supervised by: Dr. Mohab Mangoud. Home automation using mobile phones and RF radios. Why Home automation . Objective.

chance
Télécharger la présentation

Home automation using mobile phones and RF radios

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. University of Bahrain College of Engineering Department of Electrical and Electronics Engineering EEG490 Senior Project Muna Al-Omari Taqua Salaheldin Supervised by: Dr. MohabMangoud Home automation using mobile phones and RF radios

  2. Why Home automation

  3. Objective. • Introduction. • Main idea. • wireless serial communication. • Equipment used. • Design implementation. • Conclusion. • Future scope. • Questions. Overview

  4. Main Idea Device unit 1 Portable unit Device unit 2 Device unit 3 Device unit 3

  5. Main idea Device is ON

  6. Arduino. • GPRS shield. • PIC microcontroller. • RF transceivers. • RF 433 MHz • RF 315 MHz • RF 2.4 GHz • Switching Relays. Equipment used

  7. Arduino board contains everything needed to support the microcontroller; it has 14 digital input/output pins, 6 analog inputs, a 16 MHz crystal oscillator, a USB connection. Arduino

  8. GPRS Shield • The Arduino GPRS/GSM Shield is a physical add-on to Arduino. • Comes with a library to send/receive SMS and voice calls. • GPRS Shield is configured and controlled via its UART using simple AT commands. Arduino GPRS/GSM Shield

  9. PIC referred to "Peripheral Interface Controller“. • Designed for embedded application. • PICs are popular due to: • Their low cost. • Wide availability. • Large user base. • Availability of low cost or free development tools. • Serial programming . Pic microcontroller Microcontroller

  10. PIC16F877A Pic microcontroller PIC16F877A Pins Assignment

  11. RF 433 MHz transceiver • receiver and the transmitter has 8 pins. • The transmitter manufactured with a transmit power of 1W (10m). • Operating frequency of 433.92MHZ and operating voltage of 5V. RF transceivers RF 433MHz Receiver RF 433MHz Transmitter

  12. RF Transceiver • RF 315 MHz transceiver • receiver and the transmitter has 3 pins. • Transmitter can be used to transmit signal up to 100 meters • Operating frequency of 315 MHZ and operating voltage of 5V. RF 315 MHz receiver RF 315 MHz transmitter

  13. RF 2.4 GHz Transceiver • Operation in the world wide ISM (Industrial, Scientific and Medical) frequency band at 2.400 - 2.4835GHz. • configured and operated through a Serial Peripheral Interface (SPI). • Supplied with 3.3 v. • The SPI interface uses four pins, CSN, SCK, MISO, and MOSI for data transmission and reception. RF Transceivers nRf24L01- 2.4 GHz RF transceiver

  14. RF Transceivers • RF 2.4 GHz Transceiver • RF 2.4GHz module is built into many different microcontroller devices, such as Arduino. connect the module pins from 2.4 GHz transceiver to Arduino

  15. A small current energizes the relay, which closes a gate, allowing a large current to flow through. Switching Relays Switching Relay

  16. There are two types of contacts in the switching relay: • Normal open contact NO • Normal close contact NC Switching Relays

  17. USART SPI Serial communication

  18. USART stands for Universal Synchronous Asynchronous Receiver Transmitter. Takes bytes of data and transmits the individual bits in a sequential fashion. At destination, second USART reassembles the bits into complete bytes. least significant bit first USart

  19. One pin can be used for transmission and another pin can be used for reception. USARTs must be set for the same bit speed Full duplex operation. USART

  20. USART ptogramming

  21. SPI stands for Serial Peripheral Interface. • SPI is a Synchronous protocol. • It has a clock pulse along with the data. • Only the master device can control the clock line. • Data typically changesduring the rising or falling edge of SCK. • SPI is a Master-Slave protocol. • One master device (usually a microcontroller). • Operate with one or more slave devices . SPI protocol

  22. SPI protocol • Full duplex mode. • Data is always “exchanged” between devices. • Each device has two data lines, one for input and one for output. Master connected to single slave and multiple slaves

  23. SPI Programming

  24. Modes Modes of operation SMS Mode Switch Mode Outdoor usage Indoor usage

  25. SMS mode – flow chart SMS mode chosen SMS received? Extract key number No Yes Broadcast Key # FB signal received? Send FB SMS No Yes

  26. SMS Commands & Key numbers

  27. Command signal to Device unit Mode Select switch PIC 16 Microcontroller 3-bits link 433 MHz Transmitter SW1 315 MHz Receiver SW2 GPRS Shield + Arduino SW3 Feedback signal from Device unit 2.4 GHz Transmitter SMS mode Feedback Signal RC unit layout back

  28. PIC 16 Microcontroller Signal From portable unit Relay 433 MHz Receiver Arduino 2.4 GHz Transmitter Signal To portable unit DU with SMS feedback

  29. PIC 16 PIC 16 433 RX 433 TX Arduino 2.4 TRX 315 RX GPRS 2.4 TRX SMS Mode feedback 433 RX 2.4 TRX back

  30. Command signal to Device unit Mode Select switch PIC 16 Microcontroller 3-bits link 433 MHz Transmitter SW1 315 MHz Receiver SW2 GPRS Shield + Arduino SW3 Feedback signal from Device unit 2.4 GHz Transmitter SMS mode Feedback Signal RC unit layout

  31. Switches commands & key numbers

  32. PIC 16 433 RX 2.4 TRX Switch mode feedback PIC 16 433 TX 433 RX GPRS 315 RX 315 RX 315 TX

  33. Successfully able to remotely control three (multiple) devices. For indoor control RF communications is used without the use of cables or wires at all. • Feedback signal is received from home appliances to indicate their status via RF radios. • SMS control has been successfully implemented; users have an access to control home appliances from their cell phone 24/7 worldwide. • Feedback SMS is received from home devices when their status is changed by a command SMS. • Managing to program two different Microcontrollers from PIC and AVR families using different software. In addition, three different RF transceivers are employed effectively. Conclusion

  34. Using sensors to develop a Smart Home. 2.4 GHz and Zigbee transceiver for full duplex and channels options. More specialized product. Tablets and smart phones interface App. Future scope

  35. لو كنت أعرف فوق الشكر منزلة أعلى من الشكر عند الله في الثمن إذا منحتكها مني مهذبة حذوا على حذو ما أوليت من حسن Thank you!

  36. Questions “To get answers of life , ask questions” ― Sukant Ratnakar

More Related