24
By, Craig Parth Santosh

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

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

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

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

• 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

• 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

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
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
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

- - - - - - - - - - - - - - - -

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

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

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

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

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

• 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

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
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
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
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
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
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
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
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

• 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

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
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