Skip to content

Commit

Permalink
Merge pull request #3 from ese5160/Part4_Saurabh
Browse files Browse the repository at this point in the history
Part4 saurabh
  • Loading branch information
saurabhparulekar24 authored May 3, 2024
2 parents 45985d3 + 3b95902 commit e6eb164
Showing 1 changed file with 46 additions and 63 deletions.
109 changes: 46 additions & 63 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[![Review Assignment Due Date](https://classroom.github.com/assets/deadline-readme-button-24ddc0f5d75046c5622901739e7c5dd533143b0c8e959d652212380cedb1ea36.svg)](https://classroom.github.com/a/kzkUPShx)
# a14g-final-submission

* Team Number: 26
* Team Name: Circuit Crusaders
* Team Members: Saurabh Parulekar, Binh Nguyen
* Github Repository URL: https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders
* Description of test hardware:
1. HP Pavilion Windows Gaming laptop, 15" 8GB i5
2. Apple M2 Pro - Macbook
* Team Number: 26
* Team Name: Circuit Crusaders
* Team Members: Saurabh Parulekar, Binh Nguyen
* Github Repository URL: [Circuit Crusaders Repository](https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders)
* Description of test hardware:
1. HP Pavilion Windows Gaming laptop, 15" 8GB i5
2. Apple M2 Pro - Macbook

## 1. Video Presentation

Expand All @@ -18,94 +18,71 @@
### Hardware Requirements

- Directional Haptic Vibration Notification System:

  - HRS 01- We constructed a 3d Model that went around the helmet from the back; at either end of the semi-circular housing, we mounted a Haptic Motor. Individual haptic motor drivers with common I2C buses controlled these motors. The devices were selected using an enable line(**Met**).

![Haptic Motors](https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/blob/main/images/Haptic%20Motors.jpg)
- HRS 01- We constructed a 3d Model that went around the helmet from the back; at either end of the semi-circular housing, we mounted a Haptic Motor. Individual haptic motor drivers with common I2C buses controlled these motors. The devices were selected using an enable line(**Met**).
![Haptic Motors](/images/Haptic%20Motors.jpg)

- Blind Spot Monitoring System:
- HRS 02- Designed mounting for Sharp IR sensors, which were polled when a turn signal was active. The IR sensor used had an analog output, which was converted to a digital signal using Opam as a comparator, and the distance for detection was set using potentiometers(**Met**).
![IR sensor](/images/IRsensors.jpg)

  - HRS 02- Designed mounting for Sharp IR sensors, which were polled when a turn signal was active. The IR sensor used had an analog output, which was converted to a digital signal using Opam as a comparator, and the distance for detection was set using potentiometers(**Met**).
- Accelerometer System:
- HRS 03- An On-Board accelerometer was included, which polled all the axes. The z-axis data was used to detect the deceleration of the rider, while other axes were used to detect theft in lock mode and fun mode to change the LED strip light(**Met**).


![IR sensor](https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/blob/main/images/IRsensors.jpg)

- Accelerometer System:
https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/assets/57740824/c87559a6-25c6-4372-be17-2f7c5e155280

  - HRS 03- An On-Board accelerometer was included, which polled all the axes. The z-axis data was used to detect the deceleration of the rider, while other axes were used to detect theft in lock mode and fun mode to change the LED strip light(**Met**).

https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/assets/57740824/57eadb7c-09f6-4b4c-99be-9184fafd9fe6

- Bluetooth Module:

  - HRS 04- We dropped installation of the Bluetooth module due to the limited time and effort required for developing mutex-protected UART communication and the requirement for a Mobile App(**Not Met**).
- HRS 04- We dropped installation of the Bluetooth module due to the limited time and effort required for developing mutex-protected UART communication and the requirement for a Mobile App(**Not Met**).

- Wifi Module:
- HRS 05- The wifi module, integrated in the SAMW25, was used to connect to the MQTT hosted on Azure VM and communicate with the Node-Red Dashboard(**Met**).

  - HRS 05- The wifi module, integrated in the SAMW25, was used to connect to the MQTT hosted on Azure VM and communicate with the Node-Red Dashboard(**Met**).

- Indicaion LED System:

  - HRS 06- We decided to use a single LED strip and control the LEDs on the strip to indicate Left and right turns and brake(**Met**).

![LED Strip](https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/blob/main/images/Back%20with%20with%20Helmet.jpg)
- Indication LED System:
- HRS 06- We decided to use a single LED strip and control the LEDs on the strip to indicate Left and right turns and brake(**Met**).
![LED Strip](/images/Back%20with%20with%20Helmet.jpg)

### Software Requirements

- Directional Haptic Vibration Notification System:

  - SRS 01 - The software shall control the vibration motor via a motor driver controlled over I2C protocol to vary intensity based on distance from a turn and navigational data(**Met**)

  - SRS 02 - The software shall enable the appropriate vibration motor(left or right) based on directions received. It shall have different vibration patterns and intensity based on the type of turn and distance from a turn(**Met**)
- SRS 01 - The software shall control the vibration motor via a motor driver controlled over I2C protocol to vary intensity based on distance from a turn and navigational data(**Met**)
- SRS 02 - The software shall enable the appropriate vibration motor(left or right) based on directions received. It shall have different vibration patterns and intensity based on the type of turn and distance from a turn(**Met**)

- Blind Spot Monitoring System:

  - SRS 03 - The software shall start recording obstacles from the Obstacle sensors when turn signals are active(**Met**).

  - SRS 04 - The software shall also indicate to the user via vibration motors if obstacles are present(**Met**).
- SRS 03 - The software shall start recording obstacles from the Obstacle sensors when turn signals are active(**Met**).
- SRS 04 - The software shall also indicate to the user via vibration motors if obstacles are present(**Met**).

- Accelerometer System:

  - SRS 05 - The accelerometer shall continuously read all axes every 500ms with a resolution of 16 bits(**Met**).

  - SRS 06 - The accelerometer shall detect if the rider is stationary or in motion(**Not Met**).

        - It was not possible to do the above; we need a fixed reference to calculate the velocity of the rider.

  - SRS 07 - The accelerometer shall be used to detect a crash and raise an alert(**Not Met**).

    - We did not implement this feature in the final demo

  - SRS 08 - The accelerometer shall detect unusual motion when the helmet is in lock mode(**Met**).
- SRS 05 - The accelerometer shall continuously read all axes every 500ms with a resolution of 16 bits(**Met**).
- SRS 06 - The accelerometer shall detect if the rider is stationary or in motion(**Not Met**).
- SRS 07 - The accelerometer shall be used to detect a crash and raise an alert(**Not Met**).
- SRS 08 - The accelerometer shall detect unusual motion when the helmet is in lock mode(**Met**).

- Bluetooth Module:

  - SRS 09 - The software shall manage the Bluetooth module to establish an effective and reliable wireless connection between the helmet and a smartphone for data transmission for receiving navigational data only(**Not Met**).
- SRS 09 - The software shall manage the Bluetooth module to establish an effective and reliable wireless connection between the helmet and a smartphone for data transmission for receiving navigational data only(**Not Met**).

- Wifi Module:

  - SRS 10 - The software shall manage the Atmel® SmartConnect ATWINC1500 wifi module to enable wireless internet connectivity for IoT applications in the helmet(**Met**).
- SRS 10 - The software shall manage the Atmel® SmartConnect ATWINC1500 wifi module to enable wireless internet connectivity for IoT applications in the helmet(**Met**).

- Indication LED System:

  - SRS 11 - The system shall turn left and right LED strips to blink orange during a respective turn signal(**Met**).

  - SRS 12 - The system shall blink the brake LED strip when the rider is stationary and turn solid when in motion. stationary and motion states will be determined via the accelerometer(**Met**).

    - We detected deceleration instead of stopping

https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/assets/57740824/eb0d89f8-6c4c-473c-ad8d-e57339b75fd6
- SRS 11 - The system shall turn left and right LED strips to blink orange during a respective turn signal(**Met**).
- SRS 12 - The system shall blink the brake LED strip when the rider is stationary and turn solid when in motion. stationary and motion states will be determined via the accelerometer(**Met**).

https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/assets/57740824/da8a2328-48fe-4e5c-a39c-3381b75492b9

## 4. Project Photos & Screenshots

### Final Project

![Right Back](https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/blob/main/images/Right%20Back%20view.jpg)
![Right Back](/images/Right%20Back%20view.jpg)

![Back](https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/blob/main/images/Back.jpg)
![Back](/images/Back.jpg)

![Side View](https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/blob/main/images/Back%20with%20with%20Helmet.jpg)
![Side View](/images/Back%20with%20with%20Helmet.jpg)

![Front View](https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/blob/main/images/Front%20View%20Helmate.jpg)
![Front View](/images/Front%20View%20Helmate.jpg)

### PCBA

Expand Down Expand Up @@ -155,10 +132,16 @@ https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/assets/57

### Inside Detkin Lab

https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/assets/57740824/f91eb674-2004-40d3-aa62-ca26d857cfa0


https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/assets/57740824/93ad38d4-b419-4345-8826-6e7573682023



### 3D Model

**3D printed object courtesy of the University of Pennsylvania Libraries' Holman Biotech Commons**

![3D Model](https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/blob/main/images/3D%20model.jpeg)
![3D Model](https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/blob/main/images/3D%20model.jpeg)

![3d Modeling](https://github.com/ese5160/a14g-final-submission-t26-circuit-crusaders/blob/main/images/3dModel.jpg)

0 comments on commit e6eb164

Please sign in to comment.