Difference between revisions of "S20: Tesla Model RC"

From Embedded Systems Learning Academy
Jump to: navigation, search
(Schedule)
(Schedule)
Line 95: Line 95:
 
|
 
|
  
*Acquire parts: Motor drivers, Motor encoders, IR Sensors, GPS, Compass, Powerbank >= 5000mAh
+
*Acquire parts: RC Car, Wheel encoders, Ultrasonic Sensors, GPS, Compass, Spare Battery, ESP8266, LCD
 
*Define CAN DBC
 
*Define CAN DBC
*Draft and finalize schematic for PCB design
+
*Create a mobile application and define protocol between Network node
*Create mobile application and define protocol between Network node
+
 
 +
|
 +
* Completed
 +
* Completed
 +
* Completed
  
 
| <span style="color:red">TODO</span>
 
| <span style="color:red">TODO</span>
Line 111: Line 115:
 
*Motor alignment on wheels from finding min/max throttle and steering threshold of Motor node
 
*Motor alignment on wheels from finding min/max throttle and steering threshold of Motor node
 
*Implement WiFi driver and test with driving software
 
*Implement WiFi driver and test with driving software
*Implement GPS driver and test with driving software
+
*Implement GPS-compass driver and test with driving software
 
*Implement ultrasonics driver and test with driving software
 
*Implement ultrasonics driver and test with driving software
*Setup CAN software framework among nodes with one code base
+
*Setup CAN software framework among nodes with one codebase
 
*Create CAD model of PCB
 
*Create CAD model of PCB
 
*Create Android Studio App base project and upload to git repo
 
*Create Android Studio App base project and upload to git repo

Revision as of 19:21, 31 March 2020

Tesla Model RC



Abstract

Tesla Model RC is an electric, battery-powered, self-navigating RC car. The aim is to navigate to the destination set on the Android application by utilizing GPS navigation. The car combines the data received from multiple sensors to perceive its surroundings to avoid obstacles in its path.

Introduction

The project was divided into N modules:

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

Team Members & Responsibilities

<Team Picture>


  • Testing Team




Schedule

Week# Start Date End Date Task Status
1
  • 03/09/2020
  • 03/16/2020
  • Read previous projects, gather information and discuss among the group members.
  • Distribute modules to each team member.
  • Completed
  • Completed
2
  • 03/16/2020
  • 03/16/2020
  • 03/16/2020
  • 03/18/2020
  • 03/17/2020
  • 03/22/2020
  • 03/17/2020
  • 03/23/2020
  • Acquire parts: RC Car, Wheel encoders, Ultrasonic Sensors, GPS, Compass, Spare Battery, ESP8266, LCD
  • Define CAN DBC
  • Create a mobile application and define protocol between Network node
  • Completed
  • Completed
  • Completed
TODO
3
  • 03/23/2020
  • 03/28/2020
  • Motor alignment on wheels from finding min/max throttle and steering threshold of Motor node
  • Implement WiFi driver and test with driving software
  • Implement GPS-compass driver and test with driving software
  • Implement ultrasonics driver and test with driving software
  • Setup CAN software framework among nodes with one codebase
  • Create CAD model of PCB
  • Create Android Studio App base project and upload to git repo
TODO
4
  • 03/24/2020
  • 03/28/2020
  • 03/30/2020
  • 03/30/2020
  • 03/31/2020
  • 03/31/2020
  • 03/31/2020
  • 04/03/2020
  • 04/03/2020
  • 04/07/2020
  • Integrate Google Maps API into Android App and establish CoAP server and client
  • Extensively analyze PCB in two rounds
  • Integrate WiFi driver into Network node
  • Integrate GPS and ultrasonic drivers into Sensor node
  • Order PCB and circuitry including lead time
TODO
5
  • 04/07/2020
  • 04/07/2020
  • 04/07/2020
  • 04/07/2020
  • 04/10/2020
  • 04/11/2020
  • 04/12/2020
  • 04/14/2020
  • 04/10/2020
  • 04/10/2020
  • 04/11/2020
  • 04/13/2020
  • 04/12/2020
  • 04/14/2020
  • Parse client data(Compass/GPS/Sensor) and display on Android App
  • Master node CAN synchronize, logging, and PCAN dongle test of Sensor node
  • Assemble PCB
  • Create CAD model of RC car base and extra accessories
  • Master node CAN synchronize, logging, and PCAN dongle test of PID output of motor node
  • 3D print base of RC car to mount circuitry
  • Strip down RC car and mount 3D prints
TODO
6
  • 04/13/2020
  • 04/16/2020
  • 04/16/2020
  • 04/23/2020
  • Master node CAN synchronize, logging, and PCAN dongle test of Motor node
  • Integrate Master, Sensor, and Motor nodes and perform PID implementation and testing of output for Motor node
TODO
7-11
  • 04/23/2020
  • 05/20/2020
  • Integrate Master, Network, Sensor, and Motor nodes and continuously test whole system
TODO


Parts List & Cost

Item# Part Desciption Vendor Qty Cost
1 RC Car Traxxas 1 $250.00
2 CAN Transceivers MCP2551-I/P Microchip [1] 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> High Level Hardware Diagram

HighLevelCanBusDiagram.jpg

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