{"id":253,"date":"2013-03-12T01:02:13","date_gmt":"2013-03-12T08:02:13","guid":{"rendered":"https:\/\/www.uniteng.com\/?p=253"},"modified":"2021-01-05T14:45:46","modified_gmt":"2021-01-05T06:45:46","slug":"smart-home-portal","status":"publish","type":"post","link":"https:\/\/www.uniteng.com\/index.php\/2013\/03\/12\/smart-home-portal\/","title":{"rendered":"Smart Home Portal"},"content":{"rendered":"<p align=\"right\">\n\t&ndash; Smart home application framework\n<\/p>\n<p align=\"right\">\n\t<a href=\"https:\/\/www.uniteng.com\/index.php\/tag\/smart-home-portal\/\">Application Notes<\/a>\n<\/p>\n<p style=\"text-align: justify;\">\n\t<strong>Overview<\/strong><br \/>\n\tSmart home portal is a web-based smart home application framework which is optimized for smartphone. Refer to the flowing system diagram, the Arm based embedded system (Raspberry Pi with add on boards) should be placed in the home which runs Web server with PHP and CGI\/FastCGI supports. The jQuery mobile web front end framework and HTML5 are used to design the UIs which are optimized for both Android and iOS platform.<br \/>\n\t<a href=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_system_diagram.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"Smart_system_diagram\" class=\"alignnone size-full wp-image-254\" height=\"708\" src=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_system_diagram.png\" width=\"1791\" srcset=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_system_diagram.png 1791w, https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_system_diagram-300x118.png 300w, https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_system_diagram-1024x404.png 1024w\" sizes=\"auto, (max-width: 1791px) 100vw, 1791px\" \/><\/a><br \/>\n\tFor the hardware part, the design is based on my previous project &ndash; <a href=\"https:\/\/www.uniteng.com\/index.php\/projects\/\" target=\"_blank\" rel=\"noopener\">Raspberry Pi Universal Expansion Board<\/a>, the Raspberry Pi&rsquo;s 16 pins hardware interface is connected to the Expansion Board which contains GPIOs, RS232, SPI, I2C hardware communication interfaces. I designed a batch of standard Web APIs (based on CGI interface on the web server), those Web APIs will allow the users to talk to the Expansion Board at client side (Smartphone or computer which has internet connection).\n<\/p>\n<p style=\"text-align: justify;\">\n\tThe Expansion Board contains an Arm Cortex M3 microcontroller and an Altera MAX II CPLD. The external hardware (Sensors, Relays) can be connected to the standard <a href=\"http:\/\/www.digilentinc.com\/Pmods\/Digilent-Pmod_%20Interface_Specification.pdf\" target=\"_blank\" rel=\"noopener\">Pmods<\/a> on the Expansion Board. The pins of Pmods are remapable by using the CPLD, thus the design is compatible with all existing standard Pmods. The CGI programs on the Web Server can talk to the Arm Cortex M3 microcontroller on the Expansion Board and the Arm Cortex M3 microcontroller can control the external hardware, therefore the external hardware( Sensors, Relays) can be controlled at client side (Smartphone or computer which has internet connection).\n<\/p>\n<p style=\"text-align: justify;\">\n\tI also designed an add-on DC-DC module for this embedded system which can provide 3A current at up to 86% efficiency.\n<\/p>\n<p style=\"text-align: center;\">\n\t<a href=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_Power.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"Smart_Power\" class=\"alignnone size-full wp-image-259\" height=\"605\" src=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_Power.png\" width=\"1154\" srcset=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_Power.png 1154w, https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_Power-300x157.png 300w, https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_Power-1024x536.png 1024w\" sizes=\"auto, (max-width: 1154px) 100vw, 1154px\" \/><\/a><br \/>\n\tFigure 1. DC DC Module\n<\/p>\n<p style=\"text-align: center;\">\n\t<br \/>\n\t<a href=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_System.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"Smart_System\" class=\"alignnone size-full wp-image-260\" height=\"589\" src=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_System.png\" width=\"919\" srcset=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_System.png 919w, https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_System-300x192.png 300w\" sizes=\"auto, (max-width: 919px) 100vw, 919px\" \/><\/a><br \/>\n\tFigure 2. Raspberry Pi, Universal Expansion Board and the DC-DC module for this project\n<\/p>\n<p>\n\t<strong>UI Demo<\/strong><br \/>\n\t<a href=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/SmartHome_Demo.gif\"><img loading=\"lazy\" decoding=\"async\" alt=\"SmartHome_Demo\" class=\"alignnone size-full wp-image-361\" height=\"572\" src=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/SmartHome_Demo.gif\" width=\"316\" \/><\/a>\n<\/p>\n<p>\n\t<strong>Screenshots<\/strong><br \/>\n\t<a href=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_Screenshot.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"Smart_Screenshot\" class=\"alignnone size-full wp-image-265\" height=\"949\" src=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_Screenshot.png\" width=\"815\" srcset=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_Screenshot.png 815w, https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Smart_Screenshot-257x300.png 257w\" sizes=\"auto, (max-width: 815px) 100vw, 815px\" \/><\/a><br \/>\n\t<a href=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Relay_UI.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"Relay_UI\" class=\"alignnone size-full wp-image-350\" height=\"557\" src=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Relay_UI.png\" width=\"647\" srcset=\"https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Relay_UI.png 647w, https:\/\/www.uniteng.com\/wp-content\/uploads\/2013\/03\/Relay_UI-300x258.png 300w\" sizes=\"auto, (max-width: 647px) 100vw, 647px\" \/><\/a>\n<\/p>\n<p>\n\t<strong>Resource<\/strong>\n<\/p>\n<ul>\n<li>\n<ol>\n<li>\n\t\t\t\t<a href=\"https:\/\/www.uniteng.com\/index.php\/2013\/03\/14\/raspberry-pi-with-relay-io-board\/\" target=\"_blank\" title=\"Raspberry Pi with Relay I\/O Board\" rel=\"noopener\">Raspberry Pi with Relay I\/O Board<\/a>\n\t\t\t<\/li>\n<li>\n\t\t\t\t<a href=\"https:\/\/www.uniteng.com\/index.php\/tag\/universal-expansion-board\/\" target=\"_blank\" title=\"Application Notes of the Raspberry Pi Universal Expansion Board\" rel=\"noopener\">Application Notes of the Raspberry Pi Universal Expansion Board<\/a>\n\t\t\t<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>&ndash; Smart home application framework Application Notes Overview Smart home portal is a web-based smart home application framework which is optimized for smartphone. Refer to the flowing system diagram, the Arm based embedded system (Raspberry Pi with add on boards) should be placed in the home which runs Web server with PHP and CGI\/FastCGI supports. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ngg_post_thumbnail":0,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-253","post","type-post","status-publish","format-standard","hentry","category-projects"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"neilhao","author_link":"https:\/\/www.uniteng.com\/index.php\/author\/neilhao\/"},"uagb_comment_info":0,"uagb_excerpt":"&ndash; Smart home application framework Application Notes Overview Smart home portal is a web-based smart home application framework which is optimized for smartphone. Refer to the flowing system diagram, the Arm based embedded system (Raspberry Pi with add on boards) should be placed in the home which runs Web server with PHP and CGI\/FastCGI supports.&hellip;","_links":{"self":[{"href":"https:\/\/www.uniteng.com\/index.php\/wp-json\/wp\/v2\/posts\/253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.uniteng.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.uniteng.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.uniteng.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.uniteng.com\/index.php\/wp-json\/wp\/v2\/comments?post=253"}],"version-history":[{"count":0,"href":"https:\/\/www.uniteng.com\/index.php\/wp-json\/wp\/v2\/posts\/253\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.uniteng.com\/index.php\/wp-json\/wp\/v2\/media?parent=253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.uniteng.com\/index.php\/wp-json\/wp\/v2\/categories?post=253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.uniteng.com\/index.php\/wp-json\/wp\/v2\/tags?post=253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}