Difference between revisions of "S23: Meh-sla Automotive"

From Embedded Systems Learning Academy
Jump to: navigation, search
(Schedule)
(Schedule)
Line 162: Line 162:
 
*<span>Integration testing Driver controller with Mobile App</span>
 
*<span>Integration testing Driver controller with Mobile App</span>
 
*<span>Improve existing navigation algorithm with state estimation and localization</span>
 
*<span>Improve existing navigation algorithm with state estimation and localization</span>
*<span style="color:Crimson"> Fix and validate RPM sensor output</span>
+
*<span>Fix and validate RPM sensor output</span>
*<span style="color:Crimson"> Add ESC calibration feature, activated by SW0</span>
+
*<span>Add ESC calibration feature, activated by SW0</span>
*<span>                       Continue outdoor tests</span>
+
*<span>Continue outdoor tests</span>
 
| Complete
 
| Complete
 
|-
 
|-
Line 171: Line 171:
 
| 5/6/2023
 
| 5/6/2023
 
|
 
|
*<span style="color:RoyalBlue">Finish mobile application</span>
+
*<span>Finish mobile application</span>
*<span style="color:Crimson"> Interface RPM sensor with Interrupt Service Routine</span>
+
*<span>Interface RPM sensor with Interrupt Service Routine</span>
*<span style="color:Crimson"> Add functionality to SJ2-C LEDs</span>
+
*<span>Add functionality to SJ2-C LEDs</span>
*<span                     > First North Garage tests commence</span>
+
*<span>First North Garage tests commence</span>
 
| Complete
 
| Complete
 
|-
 
|-
Line 181: Line 181:
 
| 5/13/2023
 
| 5/13/2023
 
|  
 
|  
*<span style="color:Crimson">Implement PID Controller</span>
+
*<span>Implement PID Controller</span>
*<span style="color:Crimson">Add debug messages to CAN related to PID</span>
+
*<span>Add debug messages to CAN related to PID</span>
*<span                     >More North Garage tests</span>
+
*<span>More North Garage tests</span>
 
| Complete
 
| Complete
 
|-
 
|-
Line 190: Line 190:
 
| 5/19/2023
 
| 5/19/2023
 
|
 
|
*<span style="color:Crimson">Rewrite conditional logic into state machine</span>
+
*<span>Rewrite conditional logic into state machine</span>
*<span style="color:Crimson">Final code cleanup</span>
+
*<span>Final code cleanup</span>
*<span                     >Final North Garage tests</span>
+
*<span>Final North Garage tests</span>
 
| Complete
 
| Complete
 
|}
 
|}

Revision as of 21:43, 14 March 2023

Project Title

<Team Name>



Abstract

<2-3 sentence abstract>

Introduction

The project was divided into N modules:

  • Sensor ...
  • Motor..
  • ...
  • Android

Team Members & Responsibilities

<Team Picture>

Gitlab Project Link - [1]

<Provide ECU names and members responsible> <One member may participate in more than one ECU>

  • Sensor
    • Link to Gitlab user1
    • Link to Gitlab user2
  • Motor
    • Link to Gitlab user1
    • Link to Gitlab user2
  • Geographical
    • Link to Gitlab user1
    • Link to Gitlab user2
  • Communication Bridge Controller & LCD
    • Link to Gitlab user1
    • Link to Gitlab user2
  • Android Application
    • Link to Gitlab user1
    • Link to Gitlab user2
  • Testing Team
    • Link to Gitlab user1
    • Link to Gitlab user2


Schedule

Week # Start Date End Date Task Status
1 2/12/2023 2/18/2023
  • Read previous projects, gather information and discuss among group members
Complete
2 2/19/2023 2/25/2023
  • Brainstorm on the requirements for the project
  • Create a high-level block diagram of the project
Complete
3 26/2/2023 3/4/2023
  • Order the RC Car
  • Order all the sensors
Complete
4 3/5/2023 3/11/2023
  • Learning to use CAN BUSMASTER
Complete
5 3/12/2023 3/18/2023
  • DBC file discussed and implemented
Complete
6 3/19/2023 3/25/2023
  • Discuss modules needed for PCB, any feature requests
Complete
7 3/26/2023 4/1/2023
  • Finalize preparations and research
Complete
8 4/2/2023 4/8/2023
  • Begin testing with single vs dual power supplies
  • Interface Bluetooth for bridge controller
  • Complete the Driver sensor using analog readings
  • Integrate the GEO sensor with the GEO controller
  • Interface with RC car and hack steering and motor
  • Establish CAN transmit and receive functionality, start formatting DBC messages
  • Write a basic implementation of the sensor controller
Complete
9 4/9/2023 4/15/2023
  • Finalize power supply choice
  • Finish PCB designs for each subsystem
  • Start Mobile Application development
  • Configure GPS to run at 10Hz, 115200 baud and only parse $GPGGA strings on startup
  • Integrate compass
  • Linearly map pseudo Driver speed/turn commands to the ESC/Servo
  • First outdoor tests commence
Complete
10 4/16/2023 4/22/2023
  • Finish 1st vehicle prototype
  • Start populating BUSMASTER with more general debug messages
  • Complete basic mobile application
  • Write various motor test routines to define in mobile application
  • Verify timing and correctness of GEO controller messages
  • Produce debug messages for Geo controller
  • Interface with real Driver commands
  • Install RPM Sensor
  • Finalize sensor choice and complete integration of all three sensors
  • Continue outdoor test
Complete
11 4/23/2023 4/29/2023
  • Populate PCB and prepare for installation
  • Test message timing and propagation with Bus Master
  • Integration testing Driver controller with Mobile App
  • Improve existing navigation algorithm with state estimation and localization
  • Fix and validate RPM sensor output
  • Add ESC calibration feature, activated by SW0
  • Continue outdoor tests
Complete
12 4/30/2023 5/6/2023
  • Finish mobile application
  • Interface RPM sensor with Interrupt Service Routine
  • Add functionality to SJ2-C LEDs
  • First North Garage tests commence
Complete
13 5/7/2023 5/13/2023
  • Implement PID Controller
  • Add debug messages to CAN related to PID
  • More North Garage tests
Complete
14 5/14/2023 5/19/2023
  • Rewrite conditional logic into state machine
  • Final code cleanup
  • Final North Garage tests
Complete


Parts List & Cost

Item# Part Desciption Vendor Qty Cost
1 RC Car Traxxas 1 $250.00
2 CAN Transceivers MCP2551-I/P Microchip [2] 8 Free Samples


Printed Circuit Board

<Picture and information, including links to your PCB>



CAN Communication

<Talk about your message IDs or communication strategy, such as periodic transmission, MIA management etc.>

Hardware Design

<Show your CAN bus hardware design>

DBC File

<Gitlab link to your DBC file> <You can optionally use an inline image>




Sensor ECU

<Picture and link to Gitlab>

Hardware Design

Software Design

<List the code modules that are being called periodically.>

Technical Challenges

< List of problems and their detailed resolutions>



Motor ECU

<Picture and link to Gitlab>

Hardware Design

Software Design

<List the code modules that are being called periodically.>

Technical Challenges

< List of problems and their detailed resolutions>



Geographical Controller

<Picture and link to Gitlab>

Hardware Design

Software Design

<List the code modules that are being called periodically.>

Technical Challenges

< List of problems and their detailed resolutions>





Communication Bridge Controller & LCD

<Picture and link to Gitlab>

Hardware Design

Software Design

<List the code modules that are being called periodically.>

Technical Challenges

< List of problems and their detailed resolutions>



Master Module

<Picture and link to Gitlab>

Hardware Design

Software Design

<List the code modules that are being called periodically.>

Technical Challenges

< List of problems and their detailed resolutions>



Mobile Application

<Picture and link to Gitlab>

Hardware Design

Software Design

<List the code modules that are being called periodically.>

Technical Challenges

< List of problems and their detailed resolutions>






Conclusion

<Organized summary of the project>

<What did you learn?>

Project Video

Project Source Code

Advise for Future Students

<Bullet points and discussion>

Acknowledgement

References