Difference between revisions of "F17: Optimus"

From Embedded Systems Learning Academy
Jump to: navigation, search
(Schedule)
(Schedule)
Line 86: Line 86:
 
* Setup Gitlab project code for each contoller
 
* Setup Gitlab project code for each contoller
 
|  
 
|  
* Initial flow of each module defined.
+
*  
* Identified the branches and decided on merge process.
+
*  
* Ordered additional ultrasonic sensors and LCD.
+
*  
*<font color="blue">Tested the car servo and DC motor using Digital Oscilloscope.<br>
+
| On Track
* Observed and noted the duty cycle wave forms <font>.
 
*<font color="clouds">Successfully tested CAN communication between two SJ-One boards.<br><font>
 
| Complete
 
 
|-
 
|-
 
! scope="row"| 4
 
! scope="row"| 4
| 10/08/2016
+
| 10/10/2016
 
|
 
|
* Create branches in Git
+
*  
* Follow up on component procurement
+
*  
 
*<font color="blue"> Basic testing of Servo and DC motor.<br></font>
 
*<font color="blue"> Basic testing of Servo and DC motor.<br></font>
 
*<font color="blue"> Testing speed of car with variable PWM.</font>
 
*<font color="blue"> Testing speed of car with variable PWM.</font>
Line 105: Line 102:
 
*<font color="orange">Download software for LCD</font>
 
*<font color="orange">Download software for LCD</font>
 
|  
 
|  
*Created Master branch on Git
+
*
*All ordered parts received by 10/07.
+
| Planned
*<font color="blue">Implemented test code to interface SJOne board with a servo motor to control the direction and verified the same on the car.
 
* Speed testing in progress.</font>
 
*<font color="clouds">Learnt about the working of CAN bus and decided on flow for the master controller.</font>
 
*<font color="orange">Installed 4D System Workshop4 IDE (for LCD).</font>
 
 
 
| Complete
 
 
|-
 
|-
 
! scope="row"| 5
 
! scope="row"| 5
 
| 10/15/2016
 
| 10/15/2016
 
|
 
|
*<font color="blue"> Developing drivers for both motors.</font>
+
*
*<font color="green">Android app prototype.</font>
 
*<font color="CARROT"> Parse GPS data and format the data to be transmitted.</font>
 
*<font color="clouds">Decision making regarding various messages to be sent on CAN bus.</font>
 
*<font color="orange">Design basic sensor algorithm for range finding. </font>
 
 
|  
 
|  
*<font color="blue">Algorithm developed for both the motors.</font>
+
*
*<font color="green"> Basic App Screen layout designed.</font>
+
| Planned
*<font color="CARROT">GPS latitude & longitude coordinates extracted from NMEA format.</font>
 
*<font color="clouds">Identified various messages for different nodes.</font>
 
*<font color="orange">Designed basic algorithm for range finding. </font>
 
| Complete
 
 
|-
 
|-
 
! scope="row"| 6
 
! scope="row"| 6
 
| 10/22/2016
 
| 10/22/2016
 
|
 
|
*Define CAN signals for each module.
+
*
* <font color="blue"> Testing the car with developed drivers.</font>
 
*<font color="green">Interface Bluetooth module with SJ-One board.</font>
 
*<font color="CARROT">Implement source code and fetch Magnetometer reading.</font>
 
*<font color="clouds">Design of CAN bus hardware.</font>
 
*<font color="orange">Test basic working for IR.</font>
 
 
 
 
|
 
|
*CAN signals along with their priorities identified (DBC file format generated).
+
*
*<font color="blue">Testing for developed motor drivers in progress.</font>
+
| Planned.
*<font color="green"> Testing of Bluetooth interface in progress.</font>
 
*<font color="CARROT">Implemented the Magnetometer source code, Testing in progress.</font>
 
*<font color="clouds">Tested for hardware integrity.</font>
 
*<font color="orange">Developed algorithm for obstacle detection.</font>
 
| Complete.
 
 
|-
 
|-
 
! scope="row"| 7
 
! scope="row"| 7
 
| 10/29/2016
 
| 10/29/2016
 
|
 
|
*<font color="blue"> Fine tuning motor control code.</font>
+
*
*<font color="green">Transmitting and receiving messages between Android App and SJ-One board.</font>
 
*<font color="CARROT"> Test the extracted GPS data for consistency and check the update rate.</font>
 
*<font color="clouds">Basic interfacing of master controller with motor module.</font>
 
*<font color="orange"> Integrate IR sensor for gauging speed. </font>
 
 
 
 
|
 
|
*<font color="blue">Testing in Progress for the motor control code.</font>
+
*
*<font color="green"> Successfully established communication interface between app and SJ-one board</font>
+
| Planned.
*<font color="CARROT">Latitude and Longitude parsed data tested, observed few NMEA strings with wrong checksum values.</font>
 
*<font color="clouds">Testing in Progress of the interface over CAN bus.</font>
 
*<font color="orange">Developed algorithm for obstacle detection.</font>
 
*<font color="orange"> Speed sensing was delegated to motor team as suggested by Preet. </font>
 
| Complete.
 
 
|-
 
|-
 
! scope="row"| 8
 
! scope="row"| 8
Line 172: Line 134:
 
*Integration of modules for first demo.
 
*Integration of modules for first demo.
 
| Integration and Testing completed for the first demo.
 
| Integration and Testing completed for the first demo.
| Complete.
+
| Planned.
 
|-
 
|-
 
! scope="row"| 9
 
! scope="row"| 9
 
| 11/12/2016
 
| 11/12/2016
 
|
 
|
*<font color="blue"> Design of Feedback Control mechanism for car.</font>
+
*
*<font color="CARROT"> Initial algorithm development of GPS module for heading calculation.</font>
 
*<font color="clouds">Integration of master module with bluetooth module .</font>
 
*<font color="orange">Develop LCD code for displaying all sensor information and car vitals. </font>
 
*<font color="orange">Decide upon additional I/O such as lights. </font>
 
 
|
 
|
*<font color="blue"> Developed algorithm for motor feedback mechanism. </font>
+
*
*<font color="CARROT">Initial algorithm developed for GPS heading calculation and tested.</font>
+
| Planned.
*<font color="clouds"> Communication between bluetooth and master module established successfully .</font>
 
*<font color="orange">Created project in Workshop4 IDE for all elements to be displayed by LCD.</font>
 
*<font color="orange">Found UART commands to control each element in the LCD display.</font>
 
*<font color="orange">I/O hardware was decided upon.</font>
 
| Complete.
 
 
|-
 
|-
 
! scope="row"| 10
 
! scope="row"| 10
 
| 11/19/2016
 
| 11/19/2016
 
|
 
|
*<font color="blue"> Speed synchronization of car using speed sensor and testing.</font>
+
*
*<font color="green">Interfacing Android controller with the GPS module</font>
 
*<font color="CARROT">Algorithm for distance and heading calculation.</font>
 
*<font color="CARROT">Coding and Calibration of GPS module.</font>
 
*<font color="clouds">Interface of master module with I/O module and testing to ensure predicted output.</font>
 
*<font color="orange">Integrate sensor and I/O code. </font>
 
 
|  
 
|  
*<font color="blue">Integrated speed sensor for calculating the speed and controlling motor speed. </font>
+
*
*<font color="green">Interface of Android controller with the GPS module conducted successfully.</font>
+
| Planned
*<font color="CARROT">Algorithm implemented for distance and heading calculation.</font>
 
*<font color="CARROT">Calibration of Magnetometer ongoing.</font>
 
*<font color="clouds"> Communication between I/O module and master module established successfully .</font>
 
*<font color="orange">LCD code completed and sensors adjusted to work in tandem with obstacle avoidance logic. </font>
 
|Complete
 
 
|-
 
|-
 
! scope="row"| 11
 
! scope="row"| 11
 
| 11/26/2016
 
| 11/26/2016
 
|
 
|
*Testing and debugging for second demo.
+
*
<font color="green"></font>
 
 
|
 
|
*Integration and testing complete for second demo.
+
*
|Complete
+
| Planned
 
|-
 
|-
 
! scope="row"| 12
 
! scope="row"| 12
 
| 12/03/2016
 
| 12/03/2016
 
|
 
|
*Fine tuning, debugging and integration.
+
*
*<font color="CARROT">Algorithm to be implemented for Direction: Half Left, Left, Right, Half Right and Straight etc</font>
 
*<font color="CARROT">Initial Testing to be done with default hard-coded GPS checkpoint values</font>
 
 
 
 
|
 
|
*Fine tuning on Geo, Android and I/O module algorithm.
+
*
*<font color="CARROT">Compass mounted on the car and re-calibration done.</font>
+
| Planned
*<font color="CARROT">Algorithm implemented for steer command.</font>
 
*<font color="CARROT">Testing completed with default hard-coded GPS coordinates</font>
 
*<font color="CARROT">Calibrated the steer command angle range and the distance offset value while reaching the checkpoint </font>
 
|Complete
 
 
|-
 
|-
 
! scope="row"| 13
 
! scope="row"| 13
 
| 12/10/2016
 
| 12/10/2016
 
|
 
|
*Final testing and fine tuning
+
*  
*Report preparation
+
*
  
 
|
 
|
 
*Final testing done.  
 
*Final testing done.  
| Complete
+
| Planned
 
|-
 
|-
 
|}
 
|}

Revision as of 00:17, 10 October 2017

Grading Criteria

  • How well is Software & Hardware Design described?
  • How well can this report be used to reproduce this project?
  • Code Quality
  • Overall Report Quality:
    • Software Block Diagrams
    • Hardware Block Diagrams
      Schematic Quality
    • Quality of technical challenges and solutions adopted.

Project Title

Optimus - Self Navigating R/C Car powered by SJOne(LPC1758) micro controller

Abstract

This section should be a couple lines to describe what your project does.

Objectives & Introduction

Show list of your objectives. This section includes the high level details of your project. You can write about the various sensors or peripherals you used to get your project completed.

Team Members & Responsibilities

  • Revathy
    • CAN controller, Integration/System Testing
  • Unnikrishnan
    • CAN controller, Integration/System Testing
  • Kripanand Jha
    • CAN controller, Integration/System Testing
  • Sneha
    • GPS Controller
  • Sushma
    • Sensor Controller
  • Harshitha
    • Sensor Controller
  • Parimal
    • Android App
  • Rajul
    • Motor Controller, Bluetooth/App Interface
  • Suprajith
    • Sensor controller
  • Sarveash
    • Motor Controller

Schedule

Legend:

Motor Controller , Master Controller , Android Controller, Geo Controller, Sensor and I/O Controller , Team Goal

Week# Date Planned Task Actual Status
1 9/21/2017
  • Decide roles for each team member
  • Read FY16 project reports and understand requirements
  • Setup Gitlab project workarea
  • Ordered CAN Tranceivers and get R/C car
  • Team roles are decided and module owners are assigned
  • Gitlab project is set
  • Ordered CAN tranceivers and got R/C Car
Complete.
2 9/26/2016
  • Discuss and understand each module functionality
  • Setup Wiki Project Report template
  • Create component checklist and order required components for individual modules.
  • Overall project requirements are understood
  • Wiki Project report setup is done
  • Odered components for Geo controller module
Complete
3 10/03/2016
  • Plan project goals and milestones for each module
  • Decide Project execution strategy
  • Setup Gitlab project code for each contoller
On Track
4 10/10/2016
  • Basic testing of Servo and DC motor.
  • Testing speed of car with variable PWM.
  • Research on the CAN bus, tasks and scheduling.
  • Decision regarding flow of the master controller.
  • Download software for LCD
Planned
5 10/15/2016
Planned
6 10/22/2016
Planned.
7 10/29/2016
Planned.
8 11/05/2016
  • Integration of modules for first demo.
Integration and Testing completed for the first demo. Planned.
9 11/12/2016
Planned.
10 11/19/2016
Planned
11 11/26/2016
Planned
12 12/03/2016
Planned
13 12/10/2016
  • Final testing done.
Planned

Parts List & Cost

Give a simple list of the cost of your project broken down by components. Do not write long stories here.

Design & Implementation

The design section can go over your hardware and software design. Organize this section using sub-sections that go over your design and implementation.

Hardware Design

Discuss your hardware design here. Show detailed schematics, and the interface here.

Hardware Interface

In this section, you can describe how your hardware communicates, such as which BUSes used. You can discuss your driver implementation here, such that the Software Design section is isolated to talk about high level workings rather than inner working of your project.

Software Design

Show your software design. For example, if you are designing an MP3 Player, show the tasks that you are using, and what they are doing at a high level. Do not show the details of the code. For example, do not show exact code, but you may show psuedocode and fragments of code. Keep in mind that you are showing DESIGN of your software, not the inner workings of it.

Implementation

This section includes implementation, but again, not the details, just the high level. For example, you can list the steps it takes to communicate over a sensor, or the steps needed to write a page of memory onto SPI Flash. You can include sub-sections for each of your component implementation.

Testing & Technical Challenges

Describe the challenges of your project. What advise would you give yourself or someone else if your project can be started from scratch again? Make a smooth transition to testing section and described what it took to test your project.

Include sub-sections that list out a problem and solution, such as:

<Bug/issue name>

Discuss the issue and resolution.

Conclusion

Conclude your project here. You can recap your testing and problems. You should address the "so what" part here to indicate what you ultimately learnt from this project. How has this project increased your knowledge?

Project Video

Upload a video of your project and post the link here.

Project Source Code

References

Acknowledgement

Any acknowledgement that you may wish to provide can be included here.

References Used

List any references used in project.

Appendix

You can list the references you used.