|
| 1 | + |
| 2 | +#+TITLE: Pyrant Documentation |
| 3 | +#+AUTHOR: Dharshan Rammohan & Vishakh Kumar |
| 4 | + |
| 5 | +# Local Variables: |
| 6 | +# eval: (esf/execute-startup-block) |
| 7 | +# End: |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | +#+CALL: (esf/execute-startup-block) |
| 12 | + |
| 13 | +** Custom org-mode features for this file |
| 14 | +#+NAME: startup |
| 15 | +#+BEGIN_LISP :noweb yes |
| 16 | +(defun esf/execute-startup-block () |
| 17 | + |
| 18 | + <<set_org_todo_keywords>> |
| 19 | + <<set_org_keyword_faces>> |
| 20 | +) |
| 21 | +#+END_LISP |
| 22 | + |
| 23 | +#+RESULTS: startup |
| 24 | +: esf/execute-startup-block |
| 25 | + |
| 26 | +*** Set custom Org-mode headline tags |
| 27 | + #+NAME: set_org_todo_keywords |
| 28 | + #+BEGIN_SRC emacs-lisp |
| 29 | + ;; Set custom org-mode headline tags |
| 30 | + (setq org-todo-keywords '( |
| 31 | + (type "Vi-TODO" |
| 32 | + "Dharsh-TODO" |
| 33 | + "ASK-Trey" |
| 34 | + |
| 35 | + "Vi-CURRENT(!)" |
| 36 | + "Dharsh-CURRENT(!)" |
| 37 | + |
| 38 | + "|" |
| 39 | + |
| 40 | + "Vi-Owner(!)" |
| 41 | + "Dharsh-Owner(!)") |
| 42 | + ) |
| 43 | + ) |
| 44 | + #+END_SRC |
| 45 | + |
| 46 | + #+RESULTS: set_org_todo_keywords |
| 47 | + | type | Vi-TODO | Dharsh-TODO | ASK-Trey | Vi-CURRENT(!) | Dharsh-CURRENT(!) | | | Vi-Owner(!) | Dharsh-Owner(!) | |
| 48 | + |
| 49 | +*** Set colors for headline tags |
| 50 | + #+NAME: set_org_keyword_faces |
| 51 | + #+BEGIN_SRC emacs-lisp |
| 52 | + ;; Set colors for headline tags |
| 53 | + (setq org-todo-keyword-faces |
| 54 | + '( |
| 55 | + |
| 56 | + ;; Todo Items |
| 57 | + ("Vi-TODO" . (:foreground "white" :background "blue" ) ) |
| 58 | + ("Dharsh-TODO" . (:foreground "black" :background "yellow" ) ) |
| 59 | + ("ASK-Trey" . (:foreground "red" :weight bold ) ) |
| 60 | + |
| 61 | + ;; In-progress Items |
| 62 | + ("Vi-CURRENT" . (:foreground "blue" :background "black" :weight bold ) ) |
| 63 | + ("Dharsh-CURRENT" . (:foreground "blue" :background "black" :weight bold ) ) |
| 64 | + |
| 65 | + ;; Finished items that are owned by |
| 66 | + ("Vi-Owner" . (:foreground "Green" :weight bold ) ) |
| 67 | + ("Dharsh-Owner" . (:foreground "Green" :weight bold ) ) |
| 68 | + |
| 69 | + ) |
| 70 | + ) |
| 71 | + #+END_SRC |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | +* Tasks |
| 76 | + |
| 77 | +** Hardware |
| 78 | + |
| 79 | +*** Vi-TODO Flight Logic Controller |
| 80 | +**** Vi-TODO Connect the arduino pins to raspberry pi pins for SPI interface |
| 81 | +**** Vi-TODO Arduino |
| 82 | +***** Vi-TODO Place two motor controller, one arduino mini & one IMU unit on a prototyping board |
| 83 | +***** Vi-TODO Solder into place and use cables for pin management |
| 84 | +***** Vi-TODO IMU unit |
| 85 | +****** Vi-TODO Solder IMU to header pin |
| 86 | +****** Vi-TODO Connect IMU pins to Arduino pins through I2C interface |
| 87 | +**** Vi-TODO Raspberry Pi |
| 88 | +***** Vi-TODO Connect cameras to board |
| 89 | +** Dharsh-TODO Simulink |
| 90 | +*** Vi-Owner Added RASPlib library |
| 91 | +*** Vi-Owner Implemented feedback-input comparator |
| 92 | +*** Vi-Owner mux-ed and demux-d input and made subsystem |
| 93 | +*** Dharsh-TODO Integrate Motor controllers |
| 94 | +**** Dharsh-TODO Add .c files to Matlab |
| 95 | +**** Dharsh-TODO Add motor controller blocks to a subsystem and define input/output |
| 96 | + Note: Making this a seperate subsystem will make it easier to switch to a hexacopter motor control. |
| 97 | +**** ASK-Trey Make a PID subsystem that accepts position based input. |
| 98 | +*** Vi-TODO Building process |
| 99 | +**** Vi-TODO Build c files and avr to arduino mini. |
| 100 | +**** Vi-TODO Document in a bash script for easy use. |
| 101 | +** Dharsh-TODO Controller logic |
| 102 | +*** Dharsh-Owner Implement gyrometer, accelerometer & magnetometer PID controller |
| 103 | + Note: Philip (IEEE) mentioned that it would take far too long for the drones to come to a stop and hover and would not be appropiate for a swarm of controller |
| 104 | + Recommends switching to a position based PID controller |
| 105 | +*** ASK-Trey Ask Trey about position based controller |
| 106 | +**** Dharsh-TODO Implement position based controller in Simulink |
| 107 | + Note: Pretend that the Raspberry Pi is sending signals but actually use the keyboard for mocking. |
| 108 | +** Vi-TODO OpenCV Software |
| 109 | +*** Vi-TODO Implement the video combination thing and connect to Simulink |
| 110 | +*** Vi-TODO Fill in this section |
| 111 | +** Vi-TODO Drone Frame |
| 112 | +*** Vi-TODO Place components on plywood |
| 113 | +*** Vi-TODO Design drone shape |
| 114 | +**** Vi-TODO Try to make thin frames with multiple overlays |
| 115 | +Effectively, make it thin and increase strength on thin frames by two planks. Go Deformable Bodies! |
| 116 | +*** Vi-TODO Laser-cut at the invention studio |
| 117 | + |
| 118 | + |
| 119 | +* Inventory |
| 120 | + |
| 121 | +|----------+------------------------------+---------+---------+--------------------------------------| |
| 122 | +| Quantity | Item | Damaged | Require | Status | |
| 123 | +|----------+------------------------------+---------+---------+--------------------------------------| |
| 124 | +| 5 | batteries | | 2 | | |
| 125 | +| 4 | micro sd cards | | 2 | | |
| 126 | +| 3 | micro sd card adapters | | 2 | | |
| 127 | +| 4 | arduino minis | | 2 | | |
| 128 | +| 2 | raspberry pi 0's | | 2 | | |
| 129 | +| 1 | fully cloaked raspberry pi 0 | | 0 | | |
| 130 | +| 1 | card reader | | 1 | | |
| 131 | +| 2 | IMUs - MPU965 | | 2 | | |
| 132 | +| 20 | Motors | | 8 | | |
| 133 | +| 0 | Propellors | | 8 | Amazon Delivery under way (Dharshan) | |
| 134 | +| 2 | Plywood | | 1 | | |
| 135 | +| 8 | Motor Controller | | 4 | | |
| 136 | +| | | | | | |
| 137 | +|----------+------------------------------+---------+---------+--------------------------------------| |
| 138 | + |
| 139 | +** Battery |
| 140 | + - Capacity: 500 mAh |
| 141 | + - Voltage: 3.7V |
| 142 | + |
| 143 | +** Raspberry Pi |
| 144 | + |
| 145 | + - [[https://www.raspberrypi.org/documentation/hardware/raspberrypi/][Spec sheet Link]] |
| 146 | + |
| 147 | +** Arduino Pro Mini |
| 148 | + |
| 149 | + [[http://www.robotpark.com/Arduino-Pro-Mini-328-En][- Spec sheet Link]] |
| 150 | + |
| 151 | +** Motor |
| 152 | + |
| 153 | + - No spec sheet available |
| 154 | + - KV Rating |
| 155 | + |
| 156 | +** Dharsh-TODO Propellers |
| 157 | + |
| 158 | + - No spec sheet available |
| 159 | + |
| 160 | +** IMU |
| 161 | + |
| 162 | + - [[https://github.com/NelisW/myOpenHab/blob/master/docs/707-MPU-9250-9265%20IMU.md][Github Link]] |
| 163 | + - [[http://www.invensense.com/wp-content/uploads/2015/02/PS-MPU-9250A-01-v1.1.pdf][Spec sheet]] |
| 164 | + |
| 165 | + - Brief Description |
| 166 | + #+BEGIN_TEXT |
| 167 | + MPU-9250 module( 3 axis accelerator, 3 axis gyro and 3 axis magnetometer) |
| 168 | + Chip: MPU9250; Power voltage: 3~5V |
| 169 | + Communication mode: I2C / SPI; Gyro range: +/-250, +/-500, +/-1000, +/-2000dps |
| 170 | + Accelerator range: +/-2G, +/-4G, +/-8G, +/-16G |
| 171 | + Magnetometer range: +/-4800uF |
| 172 | + Pin spacing:2.54mm |
| 173 | + Size: 15mm*25mm (approx) |
| 174 | + #+END_TEXT |
| 175 | + |
| 176 | + |
| 177 | + |
| 178 | + |
0 commit comments