Difference between revisions of "F17: Optimus"
Proj user5 (talk | contribs) (→Schedule) |
Proj user5 (talk | contribs) (→Schedule) |
||
Line 223: | Line 223: | ||
** <font color="red">Implemented basic motor feedback using hall sensor (RPM sensor); tested working on ramps<br></font> | ** <font color="red">Implemented basic motor feedback using hall sensor (RPM sensor); tested working on ramps<br></font> | ||
** <font color="red">Steer left and right on reverse now follows natural order; Could not finish literal reverse-left and reverse-right implementation; Moved this task forward; Had to test and implement motor feedback this week<br></font> | ** <font color="red">Steer left and right on reverse now follows natural order; Could not finish literal reverse-left and reverse-right implementation; Moved this task forward; Had to test and implement motor feedback this week<br></font> | ||
− | + | | | |
+ | * | ||
+ | | | ||
+ | ** <font color="green">Defined the BLE Controller messages to android in JSON message structure and message generation-intervals (classify on-demand advertisements and periodic advertisements)<br></font> | ||
+ | ** <font color="green">On Demand Advertisement- Current Marker Location <br></font> | ||
+ | ** <font color="green">Draggable Destination Marker for final destination and intermittent checkpoint transmission to GEO from Android via BLE<br></font> | ||
+ | <font color="green"> Marking the checkpoints with HUE_BLUE color to do better tracking of the navigation.<br></font> | ||
+ | ** <font color="green">Added multi state BT options and Added restrictions on buttons like NAV usage dependency on BT Connection, Powerup button dependency on NAV setup before actually powering the car.<br></font> | ||
+ | | | ||
+ | * | ||
| Ontrack | | Ontrack | ||
|- | |- | ||
Line 259: | Line 268: | ||
** <font color="green">[Android I/O:] Implement display of Sensor Obstacle Information on a RADAR map<br></font> | ** <font color="green">[Android I/O:] Implement display of Sensor Obstacle Information on a RADAR map<br></font> | ||
** <font color="green">[Android I/O:] Dynamically update car's Current location on the map's route path <br></font> | ** <font color="green">[Android I/O:] Dynamically update car's Current location on the map's route path <br></font> | ||
+ | ** <font color="green">[Android I/O:] BT Auto Connection and Pairing implemented <br></font> | ||
** <font color="green">[Android I/O:] Health information from BLE Controller, namely battery, GPS lock status, and motor speed shall be updated <br></font> | ** <font color="green">[Android I/O:] Health information from BLE Controller, namely battery, GPS lock status, and motor speed shall be updated <br></font> | ||
+ | ** <font color="green">[Android I/O:] BT Auto connect implementation and re-connection on disconnection.<br></font> | ||
** <font color="teal">Test achievable target speeds with different possible obstacle heights and forms possible, and ground conditions<br></font> | ** <font color="teal">Test achievable target speeds with different possible obstacle heights and forms possible, and ground conditions<br></font> | ||
| | | |
Revision as of 03:49, 6 December 2017
Contents
[hide]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
- Master controller, QA
- Revathy
- Kripanand Jha
- GPS Controller
- Sneha
- Sarvesh
- Android App, Bluetooth/App Interface
- Parimal
- Motor Controller
- Rajul
- Unnikrishnan
- PCB Design
- Rajul
Schedule
Legend:
Major Feature milestone , CAN Master Controller , Sensor & IO Controller , Android Controller, Motor Controller , Geo , Testing, Ble controller, Team Goal
Week# | Date | Planned Task | Actual | Status | |||
---|---|---|---|---|---|---|---|
1 | 9/23/2017 |
|
|
Complete. | |||
2 | 9/30/2017 |
|
|
Complete | |||
3 | 10/14/2017 |
|
|
Complete | |||
4 | 10/21/2017 |
|
|
complete | |||
5 | 10/28/2017 |
|
|
Complete | |||
6 | 11/07/2017 |
|
|
|
Marking the checkpoints with HUE_BLUE color to do better tracking of the navigation.
|
|
Ontrack |
7 | 11/14/2017 |
|
|
|
Planned. | ||
8 | 11/21/2017 |
|
|
|
Planned. | ||
9 | 11/28/2017 |
|
|
Planned. | |||
10 | 12/5/2017 |
|
|
Planned | |||
11 | 12/12/2017 |
|
|
Parts List & Cost
Give a simple list of the cost of your project broken down by components. Do not write long stories here.
Item# | Part Description | Vendor | Qty | Cost |
---|---|---|---|---|
1 | SJ One Board (LPC 1758) | From Preet | 6 | $480 |
2 | [1] | Prof. Kaikai Liu provided | 1 | $0 |
3 | Accelerometer/Magnetometer LSM303 | Adafruit | 2 | $40.00 |
4 | Bluetooth Module | Sparkfun | 1 | $34.95 |
5 | CAN Transceivers | From ebay. | 15 | $51 |
6 | Battery Pack | From Sheldon Hobbist | 1 | $49.99 |
7 | RP Lidar | 5 | $400 | |
8 | LED $ Digit Display | From Preet | 1 | $0 |
9 | GPS Module | From Adafruit | 1 | $43.34 |
10 | General Components | From Amazon | - | $ |
11 | RPM Sensor | From traxxas | 1 | $20 |
12 | PCB | 1 | $10.66 | |
13 | Acrylic Board | From Amazon | 1 | $12.53 |
14 | PCAN dongle | From Preet | 1 | $0 |
15 | Power Bank | From Amazon | 1 | $41.50 |
16 | PCB Manufacturing | From PCB Way | 5 | $70 |
CAN Communication
System Nodes : MASTER , MOTOR , BLE , SENSOR , GEO
SNo. | Message ID | Message from Source Node | Receivers |
---|---|---|---|
Master Controller Message | |||
1 | 2 | System Start command to start motor | Motor |
2 | 17 | Target Speed-Steer Signal to Motor | Motor |
3 | 194 | Telemetry Message to Display it on Android | BLE |
Sensor Controller Message | |||
4 | 3 | Lidar Detections of obstacles in 360 degree grouped as sectors | Master,BLE |
5 | 36 | Heartbeat | Master |
Geo Controller Message | |||
4 | 195 | Compass, Destination Reached flag, Checkpoint id signals | Master,BLE |
5 | 4 | Turning Angle | Master,BLE |
5 | 4 | Heartbeat | Master |
Bluetooth Bridge Controller Message | |||
4 | 38 | Heartbeat | Master |
5 | 213 | Checkpoint Count from AndroidApp | Geo |
5 | 214 | Checkpoints(Lat,Long) from Android App | Geo |
DBC File
https://gitlab.com/optimus_prime/optimus/blob/master/_can_dbc/243.dbc
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 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.
Discuss your hardware design here. Show detailed schematics, and the interface here.
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
Testing the car out on the grounds was the prime responsibility of the team. Individual modules like Sensor (LiDAR), Motor (The ESC and Servo), GPS & Compass, the android application and the Bluetooth bridge were tested by respective team members. But, the most important problems are being found with the Testing we do with the integrated whole.
Include sub-sections that list out a problem and solution, such as:
Unit Test Cases
Discuss the major unit test cases.
Technical Challenges
Drive (Motor) Controller
ESC Calibration
We messed up the callibration on the ESC. "XL 5 had a long press option to calibrate the ESC, where the ESC shall: a) After long press, glow green and start taking PWM signals for neutral (1.5). b) Glow green once again where we shall feed in PWM signals for Forward (2ms). b) Glow green twice again where we shall feed in PWM signals for Reverse (1ms)." -We wrote code to calibrate using EXT-INT (EINT3) over P0.1 - switch to calibrate the ESC this way!
ESC Reverse
"The ESC was not activating reverse if we directly - as in the datasheet (no formal datasheet - only XL 5 forums - talked about 1ms pulse width at 50Hz for reverse). We figured out that Reverse is actually 3 steps: a) goNeutral() b) goReverse() c) goNeutral() d) goReverse()
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.