by, craig parth santoshengineering.nyu.edu/mechatronics/projects/me7836... · 2015-03-02 ·...
TRANSCRIPT
![Page 1: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/1.jpg)
By,CraigParthSantosh
![Page 2: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/2.jpg)
• The objective of this project is to build a user interface to interact with the external world
• We used a 4X4 matrix of LDRs to achieve this
• In this project we are using this interface to play audio files from an sd card
• can be used for other applications as well
![Page 3: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/3.jpg)
• In machine learning, pattern recognition is the assignment of a label toa given input
• Pattern recognition algorithms generally aim to provide a reasonable answer for all possible inputs
• Pattern recognition is studied in many fields, including psychology,psychiatry, cognitive science, traffic flow and computer science.
![Page 4: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/4.jpg)
A photo resistor or light-dependent resistor (LDR) or photocell isa light controlled variable resistor. The resistance of the photo resistor decreases with increase in incident light intensity.
![Page 5: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/5.jpg)
![Page 6: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/6.jpg)
![Page 7: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/7.jpg)
- - - - - - - - - - - - - - - -
Fill the above array with the sensor index that crossed the threshold limitin the order they occurred.
Multiply each element of this array with 2 power iWhere i is the index of array.
Sum of these products gives us a number for every pattern that is made using these 4X4 matrix of sensors.
This number is used as one of the control inputs.
The other control input is the first element of the array. (In conjunction)
![Page 8: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/8.jpg)
49
26
151
59
185
70
37297
18775
![Page 9: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/9.jpg)
Pattern Value
Row1 (lr) 49
Row2 (lr) 109
Row3 (lr) 169
Row4 (lr) 229
Row1 (rl) 26
Row2 (rl) 86
Row3 (rl) 146
Row4 (rl) 206
![Page 10: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/10.jpg)
Pattern Value
Column 1 (tb) 151
Column 2 (tb) 166
Column 3 (tb) 181
Column 4 (tb) 196
Column 1 (bt) 59
Column 2 (bt) 74
Column 3 (bt) 89
Column 4 (bt) 104
![Page 11: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/11.jpg)
Pattern Value
Small square (cw) 240
Small square (ccw) 222
Big square (cw) 37297
Big square (ccw) 18775
Circle (cw) 2552
Circle (ccw) 2192
Diagonal (\tb) 185
Diagonal (\bt) 70
Diagonal (/tb) 170
Diagonal (/bt) 94
![Page 12: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/12.jpg)
• Cog0 runs the main program for pattern recognition and control
• 2 rows are taken care by different cogs
• SD card is using one cog
• wavplay is using 2 cogs
• Total seven cogs are being used in this project
![Page 13: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/13.jpg)
We had 16 of these on board
![Page 14: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/14.jpg)
![Page 15: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/15.jpg)
![Page 16: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/16.jpg)
![Page 17: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/17.jpg)
![Page 18: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/18.jpg)
![Page 19: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/19.jpg)
![Page 20: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/20.jpg)
![Page 21: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/21.jpg)
• We can combine this project along with our arduino project in such a way that propeller does the pattern recognition and transmits this information over the UART interface and the arduino can use these command to control the bot movements
• Can be used as a keypad for a calculator
![Page 22: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/22.jpg)
S.No Item Quantity Cost
1. LDR 16 5.5$
2. PROPELLER BOE 1 130$
3. RESISTORS &CAPACITORS
16 2$
4. SD CARD 1 4.95$
5. PCB 1 2$
6. OTHERS ----- 5$
TOTAL 149.45$
![Page 23: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/23.jpg)
![Page 24: By, Craig Parth Santoshengineering.nyu.edu/mechatronics/projects/ME7836... · 2015-03-02 · Santosh •The objective of this project is to build a user interface to interact with](https://reader034.vdocuments.site/reader034/viewer/2022050601/5fa8979376996e7c9e418f94/html5/thumbnails/24.jpg)