EMA Smart Home
Back to projects
School project, team of five

EMA Smart Home

This is a smart home system built on four BeagleBone Black Wireless boards to cut the energy a home uses. It was the most complex group project I have worked on and drew on several of our courses, and we got an A for it.

Built with
DaVinci ResolvePhotoshopPowerPointVS CodeOnshapeFigma

Video

Team

Tan Yong RuiTeam lead, docs, code
Profile
Braven Chiam (me)Art, code, design
Profile
Ong Zheng XianDocs, code
Profile
Joycelyn WongDocs, code
Profile
Benjamin LeeTeam member
No profile

Brief

We were given four BeagleBone Black Wireless boards and a set of MikroBUS click modules, and asked to build a Wi-Fi connected system that supports sustainable living. We built a smart home system that monitors energy use in real time and switches devices to cut consumption, then added an intrusion-detection node.

Where each board sits in the home
Where each board sits in the home

Dashboard

Most of the project was software, so the design work went into making the dashboard clear, readable and quick to take in. We also added a Spline 3D model of the home that shows each action as it happens, and you can try it yourself in the live demo.

Figma mockup of the dashboard
Figma mockup of the dashboard
The finished dashboard
The Spline 3D view showing actions live

Climate node

The climate node monitors the temperature, the humidity and whether someone is in the room, and it turns the fan on only when a person is detected and the room is warm and humid.

Climate node hardware

Bathroom node

You set how long you want to shower for with the buttons and display. The timer starts when the node detects you entering the shower, and a buzzer sounds when the time is up.

Bathroom node hardware

Kitchen node

The kitchen node monitors the fridge’s energy use and reports an energy score to the dashboard. It also works as the fire alarm, so if it detects an uncontrolled fire, the alarm sounds on every node.

Kitchen node hardware

Intrusion node

The intrusion node detects knocks on the door and the door opening at unusual times, and when either happens it sounds an alarm on every node.

Intrusion node hardware

Connectivity

Each board connects to a SocketIO web server, which hosts the dashboard and coordinates events and alarms between the nodes.

The map below shows the four nodes and the server. Select a node to see what it does, or simulate a kitchen fire to see the alarm reach every node.

Web serverSocketIO, hosts the dashboard

Each line is a SocketIO link, and the dots are readings on their way to the server.

Select a node

Climate node

Fan control
Does
It turns the fan on only when someone is in the room and the air is warm and humid.
Hardware
BME680 temperature and humidity sensor, PIR presence sensor, 8x8 LED matrix, buzzer
Buzzer
It sounds whenever any node raises the alarm
Connected and sending readings to the server

When the kitchen node detects a flame, the server receives the alarm and sends it on to every node.

Diagram of how the nodes, server and dashboard connect
How the nodes, server and dashboard connect
Source on GitHubThe repository holds the code for each node and for the SocketIO server that hosts the dashboard.
View the code on GitHub

Slide deck

Open the slide deck (PDF)

Documentation

Open the documentation (PDF)

More to explore

Other projects

Personal
OCR Reader with DrumNet, an OCR water meter solution

OCR Reader

A battery-powered water meter reader where a 693K-parameter DrumNet pipeline on an ESP32-S3 reads the drums and reports over LoRaWAN, built on a custom KiCad PCB inside a 3D-printed shell.

Personal
Project June rover

Project June

A 5G rover with three live camera feeds, GPS, a laser pointer and seven sensors, driven from a web console.

Internship
Pip, a cyan desk pet, on the M5Stack Tab5

Pip

A desk pet on an M5Stack Tab5 whose brain is the DeepSeek Harness on my server, so it can drive a browser, build its own apps and watch my other agents.