Building a Smart Home for Less than 250 Dollars

CSEF · 2018 Electronics & Electromagnetics

Overview

Objectives/Goals My objective was to create a smart home for less than 250 dollars. I set out looking for an inexpensive solution and discovered there was nothing established and budget friendly. This system was built to help the average person attain a smart home that is both practical and feature rich. Additionally, this smart home system can provide the consumer with added safety and energy efficiency. I achieved my objective by using inexpensive and widely available devices and open source programs. Methods/Materials I started out by creating a small server by downloading Open Habian, an open source operating system, and editing the source code using Notepad plus plus to add wifi connectivity onto the server. Then, I flashed the OS onto a MicroSD card which was inserted into a Raspberry Pi. I was able to boot up the system and set up the MQTT Broker to allow connection of the smart home devices. Next, I soldered pins onto the Sonoff switches and then wrote my own firmware to use on the Sonoff devices, so they would connect to the MQTT broker. I wired the Sonoff in order to connect it to the electricity in my home. Next, I added a switch into my server's code in order to tell the MQTT broker to turn on or off the devices. I bound the D-Link motion sensors to the Open Hab server. Next, I wired the magnetic door sensors onto a ESP8266 board using a custom PCB. I coded custom firmware for the ESP8266 and flashed the program onto it. I bound a Google Chromecast to the Open Hab server. The smart home devices connected to the hub included: 4 Sonoff Basic switches, 3 D-LINK motion sensors, 2 magnetic door sensors with ESP8266 boards and a Google Chromecast. Lastly, I installed the devices in my house and tested their connectivity and operation thoroughly and made any necessary corrections to the system. Results Through my research and time spent with the home automation devices, I was able to show that it is possible to build a fully featured smart home for under my budget of 250 dollars. Conclusions/Discussion This smart home system was fully automated to allow me to control the lights in my home from anywhere in the world, via cellphone or computer. It also enabled security features to protect my home from unexpected motion. I was able to create a budget friendly smart home with comparable features to a professionally installed retail system.

Summary statement

I built a smart home for less than 250 dollars with comparable features to a professionally installed retail system.

Help received

I designed, built and programmed my smart home project myself. My dad made sure my wiring was safe before plugging it in.

Competition history

  • CSEF 2018 Electronics & Electromagnetics · Entry J1013

Resources

Related projects

Closest projects by meaning, across every fair and year in the corpus.

Browse more like this

Source: California Science & Engineering Fair public projects

Save projects to your library

Sign in with Google to keep track of projects you find interesting, organized into folders. An account also raises your daily allowance for “Has this been done?”, and lets you create a key for the MCP server with a much higher limit than anonymous use. Browsing stays public.

Continue with Google