Musical Gloves Work group: Razan Qraini, PowerPoint Presentation, PPT - DocSlides

Musical Gloves Work group: Razan Qraini, PowerPoint Presentation, PPT - DocSlides

2018-12-22 7K 7 0 0

Description

Dalal. . Mughrabi. Supervisors: . Dr.Raed. . Alqadi. , . Inst.Haya. . Sammanah. What is Musical Gloves?. This pair of Electronic Piano Gloves allows you to play music with your fingertips without touching the piano. Just slip the gloves on and you can then start playing cool music on the piano b.... ID: 744923

Embed code:

Download this presentation



DownloadNote - The PPT/PDF document "Musical Gloves Work group: Razan Qraini," is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentations text content in Musical Gloves Work group: Razan Qraini,

Slide1

Musical Gloves

Work group: Razan Qraini, Dalal MughrabiSupervisors: Dr.Raed Alqadi, Inst.Haya Sammanah

Slide2

What is Musical Gloves?

This pair of Electronic Piano Gloves allows you to play music with your fingertips without touching the piano. Just slip the gloves on and you can then start playing cool music on the piano box from a distance. Each finger tip represents different music note. A fun, low cost and alternative to a real piano or keyboard.

Slide3

Motivation

Make playing piano easier, funnier and cooler.Build a cheap and portable piano box.Build a modern piano box that allows you to play music in one room and hear it from the other room by using bluetooth.

Slide4

Problem Faced

Hall Effect sensors were our number one challenge because they arrived too late.The size of the piano box is small, so components are very close together and it was difficult to keep a distance between wires.We need a fixed 5v voltage source, it can be provided by batteries but the problem is it drain so fast.We bought an analog hall effect sensors. But after testing them and measuring the output voltage, we found out that they work as a digital sensors (The output is either logic 0 or logic 1).Other problems appear with boot loader software program.The PIC sending data with noise to the Bluetooth module so the application keep stop working.

Slide5

Features

1. Playing Piano without touching2. Playing Piano from android mobile.3. Increase/decrease the volume

Slide6

Methodology

We use PIC-C for the microcontroller programming.We use the eclipse for android programming.

Slide7

System Description

Our system consist of these main parts:piano box which contains on the top, the piano buttons, on each button there is a Hall Effect sensor.The microcontroller which is programmed so that it can process these sensors values and passes it to the speaker or Bluetooth module and to play the sound of each specified note.The glove with small magnets on each finger; this glove is worn by user to play music above the piano box.

Slide8

System’s Hardware Part

Components of project:Hall Effect sensors.Amplifier LM324 Microcontroller PIC18F46202Voltage Regulators.Bluetooth Module RN-42

Slide9

1. Hall Effect Sensor

Slide10

2.LM324 Amplifier

Slide11

3.Microcontroller PIC18F4620

Slide12

4.Voltage Regulator

At this project we used two voltage regulators:9v to 5v regulator: Used with microcontroller and Hall Effect Sensor.5v to 3.3v: Used for the bluetooth module circuit.

Slide13

5.Bluetooth Module RN-42

Slide14

7.The speaker

Slide15

Microcontroller Programming

Slide16

Notes and Octaves

Musical notes are simply sound waves of particular frequencies. Each note is played for certain duration and there is a certain time gap between two successive notesMusical notes can be generated using square waves of the note frequencies.

Slide17

Notes and Octaves

Slide18

Generating audio tones in PICC

We used this function:generate_tone(long frequency, long duration) with frequency and duration as parameter.so it generates a square wave signal on the appropriate pin, this function calculate the period of each note by using the equation:Period = (Duration / Frequency)as long as this period it not equal to zero it will play the sounds by using the delay function; do_delay(

int

ms_delay

,

int

num_ms

,

int

us_delay

,

int

num_us

)

Slide19

Flow chart

Slide20

Bluetooth Interface with PIC:

The microcontroller is required to interface with Bluetooth via UART interface. We use the

printf

()

,

this function is a library routines ,

it calls a routine which places characters of the

printf

statement in the UART buffer to get it transmitted from there to another Bluetooth device (in our case the mobile Bluetooth).

Slide21

Android Programming

Slide22

Android

ProgrammingNow at this project we use the four major tasks necessary to communicate using Bluetooth: setting up Bluetooth, finding devices that are either paired or available in the local area, connecting devices, and transferring data between devices.

Slide23

Android Programming

Classes and interfaces we used to create Bluetooth connections:1. Bluetooth Permissions2. Setting up Bluetooth3. Finding Devices4. Connecting Devices5. Managing a Connection

>> At this project we will receive the data from PIC's Bluetooth using

mBluetoothSPPConnection.read

()

Slide24

Flow Chart

Slide25

To the Demo ….


About DocSlides
DocSlides allows users to easily upload and share presentations, PDF documents, and images.Share your documents with the world , watch,share and upload any time you want. How can you benefit from using DocSlides? DocSlides consists documents from individuals and organizations on topics ranging from technology and business to travel, health, and education. Find and search for what interests you, and learn from people and more. You can also download DocSlides to read or reference later.