a14g-final-submission-t12-gamers

Review Assignment Due Date

a14g-final-submission

* Team Number: 12
* Team Name: Gamers
* Team Members: Runjun Zhang && Xiwen Lai
* Github Repository URL: https://github.com/ese5160/a14g-final-submission-t12-gamers.git
* Description of test hardware: (development boards, sensors, actuators, laptop + OS, etc) 

1. Video Presentation

Google drive Link: https://drive.google.com/file/d/1bUj7KIa1Va4nG0Es5bZDXANIMS4BUluH/view?usp=sharing

2. Project Summary

In the beginning, we had an anomaly in the data from our sensor heartbeat sensor, although the sensor was configured correctly, his data was strange. Later we realized it was due to the lack of filtering part in our code, we found a similar project by searching, our filtering part referred to the design method of their open source project, finally we got the filter we wanted and got the data we wanted.

We firmly believe that developing this project is an enriching and engaging endeavor. Throughout this process, we have acquired a substantial amount of new knowledge, which has further inspired and motivated us to bring this project to completion.

  1. Explain how your Internet-connected device is designed The hardware project involves creating smart IoT grips designed for interaction and communication with a computer/phone via Wi-Fi. The grips incorporate a 3-axis accelerometer(LIS2DH12) as the primary sensor, capable of recognizing displacement and attitude changes. This sensor feeds data to the MCU (SAMW25) for processing.

We design a software system consisting of 3 parts:

image

  1. Include sensors, actuators, and other critical components.
    • IMU:3-axis accelerometer(LIS2DH12);
    • Hearrate sensors: LIS2DH12;
    • Vb motor: Vibrating Mini Motor Disc(ADA1201);
    • Push button;
    • MCU: SAMW25 microcontroller;
  2. Challenges Where did you face difficulties? This could be in firmware, hardware, software, integration, etc. When we try our buck convert, we find that one of the wire connect to the wrong pin which make the whole converter not working at all.

How did you overcome these challenges?:

To address this, we detached the original pins and reattached them correctly using a new wire. During this process, we accidentally broke one of the pins. Lacking sufficient spare components and faced with this setback, we decided to purchase the necessary equipment ourselves from DigiKey’s website. We expedited the shipment to our school, which enabled us to successfully resolve the issue and get this part of the circuit working.

Ans: Be sure to double-check that the schematic is correct or it can cause a lot of problems.

If you had to build this device again, what would you do differently?

Ans: We would modify our buck boost circuit to make it more powerful, so that we can add more sensors and we do not need to use the additional wires on the PCB.

Include a link to your A12G code repository: https://github.com/ese5160/a12g-firmware-drivers-t12-gamers.git

3. Hardware & Software Requirements

Our goal is to make smart Iot grips for gaming, the main function of the grips is to interact by recognizing its own state and feeding back to the computer via Wi-Fi.

In our initial design, it includes an IMU,a heartrate sensor, a motor, a user push button and an OLED. We finished most of the hardware design implementation except the OLED.

The reason that we do not finish all our hardware design is that our OLED screen is not arrived with other devices. It may lost on the way, and it is a pity that we didn’t have enough time to reorder one.

We successfully drive all the sensors, and also finished the data analysis part. We successfully use the IMU data to calculate the pitch roll information of the grid. We also successfully to design a low pass filter to get the correct heartrate data that we want. What’s more, we also create a good user interface to demo our design. The user button could interact with the remote website and the website would drive the button when some unexpected state happens, such as if we roll the grid too much.

4. Project Photos & Screenshots

</img> </img> </img> </img> </img>