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

From Embedded Systems Learning Academy
Jump to: navigation, search
(Created page with "== Project Title == <Team Name> <HR> <BR/> == Abstract == <2-3 sentence abstract> === Introduction === The project was divided into N modules: * Sensor ... * Motor.. * ......")
 
(Schedule)
Line 53: Line 53:
 
== Schedule ==
 
== Schedule ==
  
 
+
{| class="wikitable"  
{| class="wikitable"
+
|-
 +
! Week #
 +
! Start Date
 +
! End Date
 +
! Task
 +
! Status
 +
|-
 +
| 1
 +
| 2/12/2023
 +
| 2/18/2023
 +
|
 +
*<span>Read previous projects, gather information and discuss among the group
 +
members</span>
 +
| Complete
 +
|-
 +
| 2
 +
| 2/19/2023
 +
| 2/25/2023
 +
|
 +
*<span>Brainstorm on the requirements for the project</span>
 +
*<span>Create a high-level block diagram of the project</span>
 +
| Complete
 +
|-
 +
| 3
 +
| 26/2/2023
 +
| 3/4/2023
 +
|
 +
*<span style="color:Crimson">Order the RC Car</span>
 +
*<span style="color:Violet">Order all the sensors</span>
 +
| Complete
 +
|-
 +
| 4
 +
| 3/5/2023
 +
| 3/11/2023
 +
|
 +
*<span>Learning to use CAN BUSMASTER</span>
 +
| Complete
 +
|-
 +
| 5
 +
| 3/12/2023
 +
| 3/18/2023
 +
|
 +
*<span>DBC file discussed and implemented</span>
 +
| Complete
 +
|-
 +
| 6
 +
| 3/19/2023
 +
| 3/25/2023
 +
|
 +
*<span>Discuss modules needed for PCB, any feature requests</span>
 +
| Complete
 +
|-
 +
| 7
 +
| 3/26/2023
 +
| 4/1/2023
 +
|
 +
*<span>Finalize preparations and research</span>
 +
| Complete
 +
|-
 +
| 8
 +
| 4/2/2023
 +
| 4/8/2023
 +
|
 +
*<span>Begin testing with single vs dual power supplies</span>
 +
*<span>Interface Bluetooth for bridge controller</span>
 +
*<span>Complete the Driver sensor using analog readings</span>
 +
*<span>Integrate the GEO sensor with the GEO controller</span>
 +
*<span>Interface with RC car and hack steering and motor</span>
 +
*<span>Establish CAN transmit and receive functionality, start formatting DBC messages</span>
 +
*<span>Write a basic implementation of the sensor controller</span>
 +
| Complete
 
|-
 
|-
! scope="col"| Week#
+
| 9
! scope="col"| Start Date
+
| 4/9/2023
! scope="col"| End Date
+
| 4/15/2023
! scope="col"| Task
+
|
! scope="col"| Status
+
*<span>Finalize power supply choice</span>
 +
*<span>Finish PCB designs for each subsystem</span>
 +
*<span>Start Mobile Application development</span>
 +
*<span>Configure GPS to run at 10Hz, 115200 baud and only parse $GPGGA strings on startup</span>
 +
*<span>Integrate compass</span>
 +
*<span>Linearly map pseudo Driver speed/turn commands to the ESC/Servo</span>
 +
*<span>First outdoor tests commence</span>
 +
| Complete
 
|-
 
|-
! scope="row"| 1
+
| 10
| 09/15/2017
+
| 4/16/2023
| 09/16/2017
+
| 4/22/2023
 
|
 
|
* Read previous projects, gather information and discuss among the group members.
+
*<span>Finish 1st vehicle prototype</span>
* Distribute modules to each team member.
+
*<span>Start populating BUSMASTER with more general debug messages</span>
 
+
*<span>Complete basic mobile application</span>
| Completed
+
*<span>Write various motor test routines to define in mobile application</span>
 +
*<span>Verify timing and correctness of GEO controller messages</span>
 +
*<span style="color:MediumSeaGreen">Produce debug messages for Geo controller</span>
 +
*<span style="color:Crimson">      Interface with real Driver commands</span>
 +
*<span style="color:Crimson">      Install RPM Sensor</span>
 +
*<span style="color:Violet">        Finalize sensor choice and complete integration of all three sensors</span>
 +
*<span>                            Continue outdoor test</span>
 +
| Complete
 
|-
 
|-
! scope="row"| 2
+
| 11
| 09/17/2017
+
| 4/23/2023
| 10/03/2017
+
| 4/29/2023
 
|
 
|
 +
*<span style="color:Black">    Populate PCB and prepare for installation</span>
 +
*<span style="color:Black">    Test message timing and propagation with Bus Master</span>
 +
*<span style="color:RoyalBlue">Integration testing Driver controller with Mobile App</span>
 +
*<span style="color:Coral">    Improve existing navigation algorithm with state estimation and localization</span>
 +
*<span style="color:Crimson">  Fix and validate RPM sensor output</span>
 +
*<span style="color:Crimson">  Add ESC calibration feature, activated by SW0</span>
 +
*<span>                        Continue outdoor tests</span>
 +
| Complete
 +
|-
 +
| 12
 +
| 4/30/2023
 +
| 5/6/2023
 
|
 
|
 +
*<span style="color:RoyalBlue">Finish mobile application</span>
 +
*<span style="color:Crimson">  Interface RPM sensor with Interrupt Service Routine</span>
 +
*<span style="color:Crimson">  Add functionality to SJ2-C LEDs</span>
 +
*<span                      >  First North Garage tests commence</span>
 +
| Complete
 +
|-
 +
| 13
 +
| 5/7/2023
 +
| 5/13/2023
 +
|
 +
*<span style="color:Crimson">Implement PID Controller</span>
 +
*<span style="color:Crimson">Add debug messages to CAN related to PID</span>
 +
*<span                      >More North Garage tests</span>
 +
| Complete
 
|-
 
|-
 +
| 14
 +
| 5/14/2023
 +
| 5/19/2023
 +
|
 +
*<span style="color:Crimson">Rewrite conditional logic into state machine</span>
 +
*<span style="color:Crimson">Final code cleanup</span>
 +
*<span                      >Final North Garage tests</span>
 +
| Complete
 
|}
 
|}
  
 
<HR>
 
<HR>
 
<BR/>
 
<BR/>
 +
 
== Parts List & Cost ==
 
== Parts List & Cost ==
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 21:28, 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 the 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