Upload
ahmed-sherif
View
142
Download
0
Embed Size (px)
DESCRIPTION
My Graduation Project , OpenSource Smart Home Developed Under Gnu/Linux with Raspberry pi and some other tools/kits.
Citation preview
HOME PIHOME PI
OPEN SOURCE Smart HOMEOPEN SOURCE Smart HOME
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014
User RequirementsUser Requirements
● Nowadays,user need a system to provide him the ability to get certain Nowadays,user need a system to provide him the ability to get certain situations of the home to feel comfortable .situations of the home to feel comfortable .
●
● Users need to control their houses remotely .Users need to control their houses remotely .●
● Give users flexibility and efficiency to control all home systems .Give users flexibility and efficiency to control all home systems .●
● Control Access and increase building security easily . Control Access and increase building security easily . ●
● Users wants to save energy and decrease the power consumption . Users wants to save energy and decrease the power consumption .
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014
Home PI FeaturesHome PI Features
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014
● Tweet A device .Tweet A device .●
● Motion Sensing and alert . Motion Sensing and alert . ●
● Controlled Remotely By Web Application .Controlled Remotely By Web Application .●
● Controlled Remotely By Mobile Application . Controlled Remotely By Mobile Application .
OPEN SOURCE VS Closed SOURCEOPEN SOURCE VS Closed SOURCE
VSVS
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014
Android Success StoryAndroid Success Story
Android is based on the Linux kernel and the OS code is available Android is based on the Linux kernel and the OS code is available under the Apache licenceunder the Apache licence
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014
Benefits of Open SourceBenefits of Open Source
● SecuritySecurity
● QualityQuality
● CustomizabilityCustomizability
● FlexibilityFlexibility
● CostCost
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014
Hardware ComponentsHardware Components
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014
Raspberry piRaspberry pi
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014
Raspberry PIRaspberry PI
Specification:Specification:
CPU:CPU: - ARM11 Processor - ARM11 Processor - 700 MHZ - 700 MHZ
Memory : Memory : - 512 MB- 512 MB
Graphics:Graphics:- BroadCom Video Core IV- BroadCom Video Core IV
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014
Linux Operating SystemLinux Operating System
Why Linux ? Why Linux ?
- OpenSource . - OpenSource . - Available and strong documentation . - Available and strong documentation . - High Security than Other Operation Systems. - High Security than Other Operation Systems. - Strong Support from linux Community - Strong Support from linux Community
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014
ConfigurationConfiguration● Network ConfigurationNetwork Configuration
● Configure Alfa Kernel ModuleConfigure Alfa Kernel Module● Configure network range . Configure network range . ● Configure network security . Configure network security . ● Configure DHCP server . Configure DHCP server .
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014
ConfigurationConfiguration● Web ConfigurationWeb Configuration
● nstalling apacheİnstalling apacheİ● Configuring apache for Configuring apache for
webapp.webapp.● Configuring apache as a Configuring apache as a
service on bootup . service on bootup .
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014
ConfigurationConfiguration● GPIO ConfigurationGPIO Configuration
● nstalling GPIO modules . İnstalling GPIO modules . İ● Configuring python scripts for GPIO . Configuring python scripts for GPIO . ● Test GPIO with some scripts Test GPIO with some scripts
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014
Web DevelopmentWeb Development
● Languages & LibrariesLanguages & Libraries
● PHP for web development .PHP for web development .● JS & JQUERY for user interactive . JS & JQUERY for user interactive .
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014
Web DevelopmentWeb Development
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014
● Socket Client with PHP Socket Client with PHP
● Retrieve data from Get Request . Retrieve data from Get Request . ● Prepare data to send it to Prepare data to send it to
server .server .● Create Socket Client and try to Create Socket Client and try to
connect to server . connect to server . ● Send data to the connected Send data to the connected
server . server .
Web DevelopmentWeb Development
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014
● User Interactive With User Interactive With Jquery.Jquery.
● OnClick Event for each element . OnClick Event for each element . ● Run the File Run.php with sepecific arguments.Run the File Run.php with sepecific arguments.● Retrieve the output from console log . Retrieve the output from console log .
Team Members & tasksTeam Members & tasks
● Amira Ibrahim Abosehsah (WebDesign) . Amira Ibrahim Abosehsah (WebDesign) . ● Ahmed Magdy Fraig (RGB Project).Ahmed Magdy Fraig (RGB Project).● Islam mohammed khalifa (Socket Programming) Islam mohammed khalifa (Socket Programming) ● Ahmed Sherif Eldemrdash (Web Dev & Linux Configuration).Ahmed Sherif Eldemrdash (Web Dev & Linux Configuration).● Ahmed Youssef Ragab (Android Apllication Design) . Ahmed Youssef Ragab (Android Apllication Design) .
HomePi | Open Source Smart HomeHomePi | Open Source Smart Home Computer Engineering 2014Computer Engineering 2014