Difference between revisions of "F12: Self-Driving GPS Following Car"
Line 82: | Line 82: | ||
</td> | </td> | ||
<td> | <td> | ||
− | * Proximity sensors | + | * Proximity sensors completed |
* Compass direction in progress | * Compass direction in progress | ||
− | * Motor controllers | + | * Motor controllers completed |
* Send / receive data using XBee modules done | * Send / receive data using XBee modules done | ||
</td> | </td> | ||
Line 98: | Line 98: | ||
</td> | </td> | ||
<td> | <td> | ||
− | * | + | * In progress |
</td> | </td> | ||
</tr> | </tr> | ||
Line 111: | Line 111: | ||
</td> | </td> | ||
<td> | <td> | ||
− | * | + | * In progress |
</td> | </td> | ||
</tr> | </tr> | ||
Line 145: | Line 145: | ||
== Parts List & Cost == | == Parts List & Cost == | ||
Give a simple list of the cost of your project broken down by components. Do not write long stories here. | Give a simple list of the cost of your project broken down by components. Do not write long stories here. | ||
+ | <table class="wikitable"> | ||
+ | <th>Parts</th> <th>Quantity</th> <th>Cost</th> <th>Link</th> | ||
+ | |||
+ | <tr> | ||
+ | <td> <center> | ||
+ | RC Car - | ||
+ | <BR/>Beetle RC Car | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | 2 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | $25 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | Previously owned | ||
+ | </center> | ||
+ | |||
+ | |||
+ | <tr> | ||
+ | <td> <center> | ||
+ | GPS - | ||
+ | <BR/>GlobalSat ET-318 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | 2 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | $37.21 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | [http://www.globalsat.com.tw/globalsat_admin/new_file_download.php?Pact=FileDownLoad&Pval=3550 GPS DataSheet] | ||
+ | </center> | ||
+ | |||
+ | <tr> | ||
+ | <td> <center> | ||
+ | XBee Module - | ||
+ | <BR/>XBee 1mW Chip Antenna | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | 2 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | $24.95 | ||
+ | </center> | ||
+ | <td><center> | ||
+ | [https://sjvalley.com/shop/index.php?page=shop.product_details&category_id=4&flypage=flypage.tpl&product_id=18&option=com_virtuemart&Itemid=63&vmcchk=1&Itemid=63 Xbee Module] | ||
+ | </center> | ||
+ | |||
+ | <tr> | ||
+ | <td> <center> | ||
+ | Motor Controller - | ||
+ | <BR/> 5A Motor Controller | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | 2 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | $17.99 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | [https://www.sjvalley.com/shop/index.php?page=shop.product_details&category_id=2&flypage=flypage.tpl&product_id=13&option=com_virtuemart&Itemid=63 Motor Controller] | ||
+ | </center> | ||
+ | |||
+ | <tr> | ||
+ | <td> <center> | ||
+ | Compass - | ||
+ | <BR/> LSM303DLM | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | 1 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | $14.95 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | [http://www.pololu.com/catalog/product/1273 Compass] | ||
+ | </center> | ||
+ | |||
+ | <tr> | ||
+ | <td> <center> | ||
+ | Sonar Range Finder - | ||
+ | <BR/>LV-MaxSonar-EZ4 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | 2 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | $26.95 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | [http://www.pololu.com/catalog/product/794 Sonar Range Finder] | ||
+ | </center> | ||
+ | |||
+ | <tr> | ||
+ | <td> <center> | ||
+ | Ultrasonic Range Finder - SRF08 | ||
+ | <BR/>SRF08 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | 1 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | ~$50 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | [http://www.robot-electronics.co.uk/htm/srf08tech.shtml Ultrasonic Range Finder] | ||
+ | </center> | ||
+ | |||
+ | <tr> | ||
+ | <td> <center> | ||
+ | Microcontroller - | ||
+ | <BR/>2012 SJ One Board | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | 1 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | ~$120 | ||
+ | </center> | ||
+ | <td> <center> | ||
+ | [http://www.socialledge.com/sjsu/index.php?title=2012_SJ_One_Board SJ One Board] | ||
+ | </center> | ||
+ | |||
+ | </table> | ||
== Design & Implementation == | == Design & Implementation == |
Revision as of 00:56, 18 November 2012
Contents
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.
Self-Driving GPS Following Car
Abstract
The objective of this project is for an autonomous vehicle to follow a lead car. The leading car is controlled manually using a remote and sends its GPS coordinates to the following car over ZigBee. The following car will move toward the received GPS coordinates while using proximity sensors to avoid obstacles.
Introduction and Features
- Read the GPS coordinates of the leading RC car and the following self-driving car
- Use XBee modules to send and receive GPS coordinates of the leading car to the following car
- Compute the bearing necessary for the following car to reach the leading car
- Read the bearing of the following car using a compass
- Navigate the following car to the received GPS coordinates while avoiding obstacles
Team Members and Responsibilities
- Elias Barboza
- PWM driver, motor controllers, and obstacle avoidance
- Caleb Chow
- Read direction from compass, read GPS data, and move toward GPS coordinates
- Stephen Lu
- Read data from proximity sensors, develop curve-fit function, and move toward GPS coordinates
Schedule
Week Number | Scheduled Items | Actual |
---|---|---|
Week 1: Design
|
|
|
Week 2: Construction
|
|
|
Week 3: Drivers
|
|
|
Week 4: Coding
|
|
|
Week 5: Coding
|
|
|
Week 6: Testing
|
|
|
Week 7: Finalization
|
|
|
Parts List & Cost
Give a simple list of the cost of your project broken down by components. Do not write long stories here.
Parts | Quantity | Cost | Link |
---|---|---|---|
RC Car -
| 2 | $25 | Previously owned
|
GPS -
| 2 | $37.21 | |
XBee Module -
| 2 | $24.95 | |
Motor Controller -
| 2 | $17.99 | |
Compass -
| 1 | $14.95 | |
Sonar Range Finder -
| 2 | $26.95 | |
Ultrasonic Range Finder - SRF08
| 1 | ~$50 | |
Microcontroller -
| 1 | ~$120 | |
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:
Wifi Connection Issues
Many wifi connection issues were encountered. To solve this problem, a dedicated task was created to re-connect to wifi if the connection was ever lost.
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
Send me your zipped source code and I will upload this to SourceForge and link it for you.
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.