a14g-final-submission-s25-t22-x-y-circuiteers

Review Assignment Due Date

a14g-final-submission

* Team Number: T22
* Team Name: X&Y Circuiteers
* Team Members: Xiran Hu, Yuner Zhang
* Github Repository URL: https://github.com/ese5160/a14g-final-submission-s25-t22-x-y-circuiteers
* Description of test hardware: (development boards, sensors, actuators, laptop + OS, etc) : The laptop, SAM W25 Xplained Pro development board, SD card.

1. Video Presentation

Google Drive Link: Final_Video_Presentation.

2. Project Summary

Device Description

We designed a four-legged robot named Bobi, capable of walking, striking playful poses, and monitoring its surroundings to provide timely alerts. Inspired by the longing for a pet, Bobi serves as both a lovable companion and a smart home assistant.

Our motivation stemmed from a desire for companionship and emotional comfort in everyday life. Bobi addresses this by acting as a friendly presence while helping users stay aware of their home environment.

Bobi enables real-time monitoring of temperature, humidity, air quality, and obstacle distance through an internet-connected system. Users can control Bobi via a web-based interface, and we support OTAFU (Over-The-Air Firmware Updates) for remote maintenance.


Device Functionality

Bobi features two core functionalities: movement and environment monitoring.

Detailed System Block Diagram


Challenges

  1. Servo Coordination:
    Controlling eight servo motors simultaneously to enable smooth, lifelike movements was our first major challenge. We tested numerous angle-delay combinations to achieve natural motion.

  2. Memory Constraints:
    Integration revealed memory limitations when running all functions concurrently. To address this, we implemented FreeRTOS for efficient task scheduling and added a toggle switch to enable gesture detection only when needed, saving system memory.


Prototype Learnings

Building Bobi taught us the importance of co-planning hardware and software from the start. Synchronizing movement control with sensor feedback was key to achieving responsive, realistic behavior.

We also discovered the value of incremental testing—debugging in small steps allowed us to identify and resolve issues early, ultimately improving the design.

If we were to redesign Bobi, we would:


Next Steps & Takeaways

For future iterations, we plan to:

Through ESE5160, we gained practical skills in:

This course gave us end-to-end experience in building a complete IoT system, blending embedded systems with real-world applications.

3. Hardware & Software Requirements

This section reviews our original hardware and software requirements, outlines our testing process, and notes whether each was met.

Hardware Requirements Specification (HRS)

HRS 01 – Core Microcontroller

HRS 02 – Ultrasonic Sensor

HRS 03 – Temperature and Humidity Sensor

HRS 04 – Air Quality Sensor

HRS 05 – Touch Sensor

HRS 06 – LCD Display

HRS 07 – Buzzer

HRS 08 – Servo Motors

HRS 09 – Power System

HRS 10 – Structure and Materials


Software Requirements Specification (SRS)

SRS 01 – Servo Motor Control

SRS 02 – Obstacle Detection and Avoidance

SRS 03 – Environmental Data & Alerts

SRS 04 – Touch Response

SRS 05 – Communication & Remote Control

4. Project Photos & Screenshots

Final Assembly

Hardware: PCBA

Thermal Imaging

Altium Board Design

Software: Node-RED Interface

System Overview

Codebase