F15: Smart Car
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.
Project Title
Smart Car
Abstract
A smart car with three wheels will be designed to have the capability of following high contrast lines. Options for the lines include using black Sharpie, black duct tape, and white duct tape. Afterwards, it will send back a CSV file format with 0s and 1s. 1s denote that the car was traveling in the area of the map. Using a peripheral compass, the car will also be able to draw a map of the route that it took.
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
- Steven Hwu
- B.S. Computer Engineering
- Helen Tsui
- B.S. Computer Engineering
Schedule
Show a simple table or figures that show your scheduled as planned before you started working on the project. Then in another table column, write down the actual schedule so that readers can see the planned vs. actual goals. The point of the schedule is for readers to assess how to pace themselves if they are doing a similar project.
Week# | Date | Task | Actual |
---|---|---|---|
1 | 10/23 | Complete project abstract | Complete |
2 | 10/30 | Gather parts | Incomplete |
3 | 11/06 | Program compass | Complete |
4 | 11/13 | Program LED matrix | Complete |
5 | 11/20 | Program wireless functionality | Complete |
6 | 11/27 | Build car | Complete |
7 | 12/04 | Put all the pieces together | Complete |
8 | 12/11 | Testing | Complete |
Parts List & Cost
- Servos (2)
- Motors (2)
- LED matrix array $24.95
- Array of sensors
Parts List & Cost
Quantity | Description | Price |
---|---|---|
2 | SJ-One development board | $80 ea |
1 | Cardboard | $0 ea |
1 | White duct tape | $4.52 ea |
1 | Omniwheel | $4.47 |
1 | Compass | $ |
2 | Motors | $80~ |
2 | LED matrix | $24.95 ea |
2 | Photo transistors | $1.2 ea |
2 | LEDs | $24.95 ea |
_______ | ||
Estimated total | $ |
Design & Implementation
Hardware Design
Discuss your hardware design here. Show detailed schematics, and the interface here.
Compass
The compass uses SPI as the communication protocol. x, y, and z were able to be read from the compass depending on its orientation
LED Matrix
SJOne
The SJOne the microprocessor used for this project. The compass and LED matrix were interfaced with the SJOne board. The compass used I2C while the LED matrix used SPI. The wireless functionality of the board was also utilized to in order to send information from one board to another.
Hardware Interface
Communication protocols used:
- I2C - HMC5883L Compass
- SPI - LED matrix
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:
Issue 1
Wireless communication and LED Matrix The LED matrix that was used was programmed using SPI0. However, it turns out that SPI0 is shared with the wireless communication API. To fix the issue, the LED matrix was reprogrammed on SPI1.
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.