Difference between revisions of "F17: Alpha"

From Embedded Systems Learning Academy
Jump to: navigation, search
(Schedule)
(Schedule)
Line 70: Line 70:
 
* Read previous projects, gather information and discuss among the group members.
 
* Read previous projects, gather information and discuss among the group members.
 
* Distribute modules to each team member.
 
* Distribute modules to each team member.
 +
 
| Completed
 
| Completed
 
|-
 
|-
Line 82: Line 83:
 
* Order RC Car (appropriate height and suspension), rechargeable batteries, sensors, GPS and compass module.
 
* Order RC Car (appropriate height and suspension), rechargeable batteries, sensors, GPS and compass module.
 
* Understand the high-level design of interfacing the sensors with the board.
 
* Understand the high-level design of interfacing the sensors with the board.
 +
 
| Completed
 
| Completed
 
|-
 
|-
Line 90: Line 92:
 
* Motor: Test DC and servo motors using RC Transmitter and Receiver.
 
* Motor: Test DC and servo motors using RC Transmitter and Receiver.
 
* Sensor: Interface individual sensor and observe the sensor readings under different conditions.
 
* Sensor: Interface individual sensor and observe the sensor readings under different conditions.
*         Determine pins and architecture of board for all four sensors.
+
** Determine pins and architecture of board for all four sensors.
 
* GPS and Compass: Understanding the module schematics, connections, and datasheets of GPS and compass.
 
* GPS and Compass: Understanding the module schematics, connections, and datasheets of GPS and compass.
* Communication Bridge Controller: Refer previous projects and get an overview of ‘Communication Bridge Controller’.  
+
* Communication Bridge Controller: Refer previous projects and get an overview of ‘Communication Bridge Controller’.
**                                Deciding the Bluetooth module and place orders based on the requirements.
+
* Deciding the Bluetooth module and place orders based on the requirements.
* Android: Android development environment setup and basic Android application development  
+
* Android: Android development environment setup and basic Android application development
* Master: CAN bus test interface with the sensor.  
+
* Master: CAN bus test interface with the sensor.
 +
 
 
| Completed
 
| Completed
 
|-
 
|-
Line 102: Line 105:
 
| 10/19/2017
 
| 10/19/2017
 
|
 
|
* Motor: Observe the PWM waveforms for DC and servo motors on the Oscilloscope.
+
* Motor: Get Motor running based on observation of the PWM waveforms for DC and servo motors on the Oscilloscope.
 
* Sensor: Generate DBC structure and acceptance filter for a sensor, send the distance of an obstacle if found over the CAN bus
 
* Sensor: Generate DBC structure and acceptance filter for a sensor, send the distance of an obstacle if found over the CAN bus
**       Interface multiple sensors and experiment with the angles of the sensors to have minimum interference.
+
** Interface multiple sensors and experiment with the angles of the sensors to have minimum interference.
* GPS and Compass: Interface GPS and Compass to SJOne board using UART and I2C protocol respectively.
+
* Communication Bridge Controller: Understanding RFCOMM protocol for Bluetooth communication and Bluetooth hardware.
* Communication Bridge Controller:Understanding RFCOMM protocol for Bluetooth communication and Bluetooth hardware.  
+
** Configure Bluetooth module using Bluetooth terminal.
**                               Configure Bluetooth module using Bluetooth terminal.
 
 
* Android: Study of enabling of Bluetooth on android environment and create basic application to controlling Bluetooth of mobile.
 
* Android: Study of enabling of Bluetooth on android environment and create basic application to controlling Bluetooth of mobile.
* Master: Finalizing the PCB design and general hardware model layout.                             
+
* Master: Finalizing the PCB design and general hardware model layout.
 +
                              
 
| Completed
 
| Completed
 
|-
 
|-
Line 116: Line 119:
 
| 10/26/2017
 
| 10/26/2017
 
|
 
|
* Motor: Research on PWM frequency requirements for DC motors.
+
* Motor: Get Motor to move Left, Right, Forward and Reverse.
* Sensor: Develop an algorithm to trigger all the sensors sequentially i.e., MIDDLE, LEFT, RIGHT and BACK
+
* Sensor: Develop an algorithm to trigger all the sensors sequentially i.e., MIDDLE, LEFT, RIGHT and BACK.
* GPS and Compass: Until Android app is developed and ready to send correct data, parse raw values and calibrate GPS and compass modules.
 
 
* Communication Bridge Controller: Interfacing Bluetooth module with SJOne board and test the working of the module.
 
* Communication Bridge Controller: Interfacing Bluetooth module with SJOne board and test the working of the module.
* Android: Establish basic communication between SJOne and mobile application
+
* Android: Establish basic communication between SJOne and mobile application.
 
* Master: Brainstorming on CAN message details like ID, priority, etc.
 
* Master: Brainstorming on CAN message details like ID, priority, etc.
| Partial
+
 
 +
|Completed
 
|-
 
|-
 
! scope="row"| 6
 
! scope="row"| 6
Line 128: Line 131:
 
| 11/2/2017
 
| 11/2/2017
 
|
 
|
 +
* Motor: Get Motor to move Left, Right, Forward and Reverse based on command given by Master
 
* Sensor: Stress test the sensors under different temperatures.
 
* Sensor: Stress test the sensors under different temperatures.
**       Interface the sensors to RC Car and take real-time readings on a moving car
+
** Interface the sensors to RC Car and take real-time readings on a moving car  
* GPS and Compass: Integrating GPS module with the compass and calibrating them with SJOne board as per the values obtained.
+
* GPS and Compass: Interface GPS and Compass to SJOne board using UART and I2C protocol respectively and collect data from GPS
* Communication Bridge Controller: Bidirectional communication between SJOne board and android application.
+
* Communication Bridge Controller & Android: Bidirectional communication between SJOne board and android application.
* Android: Add google map to application and get location data at different position
+
* Master: Interfacing with Motor Module.
* Master: Integrating the main module with the Bluetooth module.
+
 
| Partial
+
| Completed
 
|-
 
|-
 
! scope="row"| 7
 
! scope="row"| 7
Line 141: Line 145:
 
|
 
|
 
* Sensor: Test the obstacle detection algorithm with various obstacles like hard flat surfaces, curved surface etc.
 
* Sensor: Test the obstacle detection algorithm with various obstacles like hard flat surfaces, curved surface etc.
**       Interface sensors with head lights to indicate the direction to be taken
+
** Interface sensors with LEDS to indicate the direction to be taken
* GPS and Compass: Develop an algorithm to set the direction of the car depending upon the destination coordinates.
+
* GPS and Compass: Integrating GPS module with the compass and calibrating them with SJOne board as per the values obtained. Send Latitude and Longitude of current position of car on CAN Bus.
 
* Communication Bridge Controller: Interfacing Bluetooth module with the CAN.
 
* Communication Bridge Controller: Interfacing Bluetooth module with the CAN.
* Android: Get important data from Can which are required for Android application
+
* Android: Get important data from Can which are required for Android application with the help of Bluetooth module.
* Master: Integrating the main module with the GPS module.
+
* Motor & Master: Develop basic obstacle avoidance algorithm and according to that send move command to motor.
 +
 
 
| To Do
 
| To Do
 
|-
 
|-
Line 152: Line 157:
 
| 11/16/2017
 
| 11/16/2017
 
|
 
|
* Motor: Interface the motors with the master controller.
+
* Sensor: Interface RPM sensor and add DBC file to communicate with master module.
* GPS and Compass: Test the algorithm as per the destination coordinates.
 
 
* Communication Bridge Controller: Interfacing GPS module using CAN bus.
 
* Communication Bridge Controller: Interfacing GPS module using CAN bus.
* Android: Implement Logic to find the shortest path by using different position marker on google map  
+
* Android: Add google map to application and get location data at different position and Implement Logic to find the shortest path by using different position marker on google map
* Master: Commencement of testing and debugging the system.  
+
* Motor, GPS and Compass & Master: Develop algorithm to calculate motor angle based to move car based on GPS current position and given next position.
 +
 
 
| To Do
 
| To Do
 
|-
 
|-
Line 163: Line 168:
 
| 11/23/2017
 
| 11/23/2017
 
|
 
|
* Motor: Interfacing of Sensors with motors and testing obstacle avoidance.
+
* Car: Get Destination and Routing Path from android app. Develop Algorithm to move car on given routing path with all obstacle avoidance.
* GPS and Compass: Interface Geo controller with the Master controller by establishing CAN communication. Send latitude, longitude, calculated angle on CAN bus.
 
* Communication Bridge Controller: Integration of Master with CAN bus.
 
 
* Android: Communication between Android application and Master node to pass GPS coordinates and routing details
 
* Android: Communication between Android application and Master node to pass GPS coordinates and routing details
* Master: Testing and debugging the system more rigorously.
+
 
 
| To Do
 
| To Do
 
|-
 
|-
Line 174: Line 177:
 
| 11/30/2017
 
| 11/30/2017
 
|
 
|
* Motor: Integrating motors with RC Car controllers as one system. Testing, debugging and optimization.
+
* Integrating RC Car controllers as one system. Testing, debugging and optimization.
* GPS and Compass: Interface Geo controller with Android App to transfer current position and destination and test/debug the code.
+
 
* Communication Bridge Controller: Final Testing for the communication.
 
* Android: Testing and Bug fixing
 
* Master: Testing and debugging the system after the updates from each module.
 
 
| To Do
 
| To Do
 
|-
 
|-

Revision as of 20:48, 31 October 2017

Project Title

Alpha - Implement a self driving car via Android App

Git Link - ALPHA
Git Users:

  • SushmaSJSU
  • ShubhamKulkarni93
  • Anirudh1313
  • SuchetaCiyer
  • SnehaSharma
  • DoyalPatel
  • rajvisharia
  • jigar29
  • kthnptl
  • chhavi17

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

  • Master Module
    • Jigar Agarwal
    • Sucheta Iyer
  • Motor Module
    • Shubham Kulkarni
    • Raj Visharia
  • GPS/Compass Module
    • Krishna Sai Anirudh Katamreddy
    • Raj Visharia
    • Sushma Macha
  • Sensors
    • Sushma Macha
    • Sneha Sharma
  • Communication Bridge Module
    • Kathan Patel
    • Chhavi Mehta
  • Android Module
    • Doyal Patel
    • Sneha Sharma
  • Testing
    • Doyal Patel
    • Jigar Agarwal
    • Sucheta Iyer

Schedule

Week# Start Date End Date Task Status
1 09/15/2017 09/16/2017
  • Read previous projects, gather information and discuss among the group members.
  • Distribute modules to each team member.
Completed
2 09/17/2017 10/3/2017
  • Set up individual Git accounts and did individual commits on a GIT file.
  • Create project report template on Wiki.
  • Finalize the scope of each individual modules.
  • Study the datasheet and prepare the high-level design.
  • Order RC Car (appropriate height and suspension), rechargeable batteries, sensors, GPS and compass module.
  • Understand the high-level design of interfacing the sensors with the board.
Completed
3 10/4/2017 10/12/2017
  • Motor: Test DC and servo motors using RC Transmitter and Receiver.
  • Sensor: Interface individual sensor and observe the sensor readings under different conditions.
    • Determine pins and architecture of board for all four sensors.
  • GPS and Compass: Understanding the module schematics, connections, and datasheets of GPS and compass.
  • Communication Bridge Controller: Refer previous projects and get an overview of ‘Communication Bridge Controller’.
  • Deciding the Bluetooth module and place orders based on the requirements.
  • Android: Android development environment setup and basic Android application development
  • Master: CAN bus test interface with the sensor.
Completed
4 10/12/2017 10/19/2017
  • Motor: Get Motor running based on observation of the PWM waveforms for DC and servo motors on the Oscilloscope.
  • Sensor: Generate DBC structure and acceptance filter for a sensor, send the distance of an obstacle if found over the CAN bus
    • Interface multiple sensors and experiment with the angles of the sensors to have minimum interference.
  • Communication Bridge Controller: Understanding RFCOMM protocol for Bluetooth communication and Bluetooth hardware.
    • Configure Bluetooth module using Bluetooth terminal.
  • Android: Study of enabling of Bluetooth on android environment and create basic application to controlling Bluetooth of mobile.
  • Master: Finalizing the PCB design and general hardware model layout.
Completed
5 10/19/2017 10/26/2017
  • Motor: Get Motor to move Left, Right, Forward and Reverse.
  • Sensor: Develop an algorithm to trigger all the sensors sequentially i.e., MIDDLE, LEFT, RIGHT and BACK.
  • Communication Bridge Controller: Interfacing Bluetooth module with SJOne board and test the working of the module.
  • Android: Establish basic communication between SJOne and mobile application.
  • Master: Brainstorming on CAN message details like ID, priority, etc.
Completed
6 10/26/2017 11/2/2017
  • Motor: Get Motor to move Left, Right, Forward and Reverse based on command given by Master
  • Sensor: Stress test the sensors under different temperatures.
    • Interface the sensors to RC Car and take real-time readings on a moving car
  • GPS and Compass: Interface GPS and Compass to SJOne board using UART and I2C protocol respectively and collect data from GPS
  • Communication Bridge Controller & Android: Bidirectional communication between SJOne board and android application.
  • Master: Interfacing with Motor Module.
Completed
7 11/2/2017 11/9/2017
  • Sensor: Test the obstacle detection algorithm with various obstacles like hard flat surfaces, curved surface etc.
    • Interface sensors with LEDS to indicate the direction to be taken
  • GPS and Compass: Integrating GPS module with the compass and calibrating them with SJOne board as per the values obtained. Send Latitude and Longitude of current position of car on CAN Bus.
  • Communication Bridge Controller: Interfacing Bluetooth module with the CAN.
  • Android: Get important data from Can which are required for Android application with the help of Bluetooth module.
  • Motor & Master: Develop basic obstacle avoidance algorithm and according to that send move command to motor.
To Do
8 11/9/2017 11/16/2017
  • Sensor: Interface RPM sensor and add DBC file to communicate with master module.
  • Communication Bridge Controller: Interfacing GPS module using CAN bus.
  • Android: Add google map to application and get location data at different position and Implement Logic to find the shortest path by using different position marker on google map
  • Motor, GPS and Compass & Master: Develop algorithm to calculate motor angle based to move car based on GPS current position and given next position.
To Do
9 11/16/2017 11/23/2017
  • Car: Get Destination and Routing Path from android app. Develop Algorithm to move car on given routing path with all obstacle avoidance.
  • Android: Communication between Android application and Master node to pass GPS coordinates and routing details
To Do
10 11/23/2017 11/30/2017
  • Integrating RC Car controllers as one system. Testing, debugging and optimization.
To Do
11 11/30/2017 12/7/2017
  • Completion of the final Wiki page and the report.
To Do
**************Final Demonstration.*************** To Do

Parts List & Cost

Item# Part Desciption Vendor Datasheet Qty Cost
1 RC Car 1
2 CAN Transceivers MCP2551-I/P Microchip [1] MCP2551-I/P Datasheet 8 Free Samples
3 Sonar Sensor Amazon [2] Maxbotix EZ1 MB 1010 Datasheet 4 $24.95
4 Headlights
5 NiMH Battery
6 Charger for NiMH/NiCd Battery
7 Character LCD Display

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.