touch to sing - george mason universityece.gmu.edu/~jkaps/courses/ece511-f13/project/group-04... ·...

13
MICROPROCESSORS PROJECT TOUCH TO SING Carried out by Aniruddha Harish (G00858537) Ankit Gala (G00852236) Jaswant Katragadda (G00862743) Prashanth Prakash (G00858562) Volgenau School of Engineering, ECE Dept ECE 511 1

Upload: buidang

Post on 19-Apr-2018

218 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: TOUCH TO SING - George Mason Universityece.gmu.edu/~jkaps/courses/ece511-f13/project/Group-04... · Generating PWM from msp430 for DC motor. * ... • 4V 50 rpm Geared DC Motor •

MICROPROCESSORS

PROJECT

TOUCH TO SING

Carried out by

• Aniruddha Harish (G00858537)

• Ankit Gala (G00852236)

• Jaswant Katragadda (G00862743)

• Prashanth Prakash (G00858562)

Volgenau School of Engineering, ECE Dept ECE 511 1

Page 2: TOUCH TO SING - George Mason Universityece.gmu.edu/~jkaps/courses/ece511-f13/project/Group-04... · Generating PWM from msp430 for DC motor. * ... • 4V 50 rpm Geared DC Motor •

MOTIVATION

• Children generally tend to get attracted to bright

colors and unique sounds and this has a lot of

advantages.

• Keeping these things in mind we thought of designing

a crawler that sings rhymes when a child touches it.

Volgenau School of Engineering, ECE Dept ECE 511 2

Touch to Sing

Page 3: TOUCH TO SING - George Mason Universityece.gmu.edu/~jkaps/courses/ece511-f13/project/Group-04... · Generating PWM from msp430 for DC motor. * ... • 4V 50 rpm Geared DC Motor •

3

Touch to Sing

M

S

P

4

3

0

DC MOTOR

IR SENSOR

SD CARD CIRCUIT

M

S

P

4

3

0

CAPACITIVE

TOUCH

BOOSTER PACK

Volgenau School of Engineering, ECE Dept. ECE 511

(P1.7)

L293D (P2.1) (P2.2)

(P2.4) (P2.4)

BLOCK DIAGRAM Touch to Sing

Page 4: TOUCH TO SING - George Mason Universityece.gmu.edu/~jkaps/courses/ece511-f13/project/Group-04... · Generating PWM from msp430 for DC motor. * ... • 4V 50 rpm Geared DC Motor •

Volgenau School of Engineering, ECE Dept. 4

Components Used

* Hexapod Crawler

* MSP 430 Launchpad

* H-Bridge

* Geared DC Motor

* IR Sensor

* Capacitive Touch Booster Pack

(430BOOST-SENSE1)

* Batteries

* Jumper Wires

* Micro-SD Card

*Mp3 Trigger.

Touch to Sing

ECE 511

Page 5: TOUCH TO SING - George Mason Universityece.gmu.edu/~jkaps/courses/ece511-f13/project/Group-04... · Generating PWM from msp430 for DC motor. * ... • 4V 50 rpm Geared DC Motor •

Volgenau School of Engineering, ECE Dept 5

* Generating PWM from msp430 for DC motor.

* Configuring ADC for IR sensors.

* Capacitive Software Libraries.

* Configuring UART for MP3.

Page 6: TOUCH TO SING - George Mason Universityece.gmu.edu/~jkaps/courses/ece511-f13/project/Group-04... · Generating PWM from msp430 for DC motor. * ... • 4V 50 rpm Geared DC Motor •

START

MOVE FORWARD

OBSTACL

E

TOUCH

SING

REVERSE

MOVE RIGHT

Yes

No

5 Volgenau School of Engineering, ECE Dept. ECE 511

Touch to Sing How it Works ?

Yes

No

Page 7: TOUCH TO SING - George Mason Universityece.gmu.edu/~jkaps/courses/ece511-f13/project/Group-04... · Generating PWM from msp430 for DC motor. * ... • 4V 50 rpm Geared DC Motor •

Volgenau School of Engineering, ECE Dept. 7

• 4V 50 rpm Geared DC Motor

• Generating PWM to control and

steer the device.

• PWM using Timer A.

• L293D dual H bridge motor

driver.

Geared DC Motor Touch to Sing

ECE 511

Page 8: TOUCH TO SING - George Mason Universityece.gmu.edu/~jkaps/courses/ece511-f13/project/Group-04... · Generating PWM from msp430 for DC motor. * ... • 4V 50 rpm Geared DC Motor •

Volgenau School of Engineering, ECE Dept. 8

MSP 430 CAPACITIVE TOUCH BOOSTER PACK

(430BOOST-SENSE1)

Touch to Sing

ECE 511

*The Capacitive Touch Booster Pack is a plug

in board for the MSP430 Value Line

Launchpad development kit.

*The Capacitive Touch Booster Pack features

several capacitive touch elements including a

scroll wheel, button and proximity sensor.

*Also, on-board are 9 LEDs that provide

instant feedback as users interact with the

capacitive touch elements

* Includes a

preprogrammed MSP430G2452IN20 with demo

application

*Fully supported by the MSP430 Capacitive

Touch Sense Library

Page 9: TOUCH TO SING - George Mason Universityece.gmu.edu/~jkaps/courses/ece511-f13/project/Group-04... · Generating PWM from msp430 for DC motor. * ... • 4V 50 rpm Geared DC Motor •

Volgenau School of Engineering, ECE Dept ECE 511 9

Touch to Sing

IR SENSOR

Sharp Analogue Infra-Red Range Finding System

(AERS)

• This is the IR sensor used to check the

proximity of the object or any obstacle.

• This is a distance measuring sensor unit, It has

integrated combination of PSD,IRED and signal

processing circuit.

• Distance measuring range : 20 to 150cm

• Analog output type

• Consumption current : 33 mA

• Supply voltage : 4.5 to 5.5 V

Device Specifications

Page 10: TOUCH TO SING - George Mason Universityece.gmu.edu/~jkaps/courses/ece511-f13/project/Group-04... · Generating PWM from msp430 for DC motor. * ... • 4V 50 rpm Geared DC Motor •

Volgenau School of Engineering, ECE Dept 10

*

Page 11: TOUCH TO SING - George Mason Universityece.gmu.edu/~jkaps/courses/ece511-f13/project/Group-04... · Generating PWM from msp430 for DC motor. * ... • 4V 50 rpm Geared DC Motor •

Volgenau School of Engineering, ECE Dept 11

*

*Store MP3 files on uSD card using the naming convention –

001 filename.mp3.

* Store the initialization file on the uSD.

* Touch pad pressed Using UART communication,

send a trigger from the MSP.( single file used).

*Once the file starts playing, based on the length of the file,

a delay loop is started and upon reaching ‘0’, the motor

starts again.

Page 12: TOUCH TO SING - George Mason Universityece.gmu.edu/~jkaps/courses/ece511-f13/project/Group-04... · Generating PWM from msp430 for DC motor. * ... • 4V 50 rpm Geared DC Motor •

Volgenau School of Engineering, ECE Dept 12

* DC motors PWM.

* IR sensor ADC module.

* Touch Pad module.

* MP3 trigger circuit.

Page 13: TOUCH TO SING - George Mason Universityece.gmu.edu/~jkaps/courses/ece511-f13/project/Group-04... · Generating PWM from msp430 for DC motor. * ... • 4V 50 rpm Geared DC Motor •