PROGRAMMING LANGUAGE CEM AYGUN 2010514008 VOICE CONTROLLED LED LIGHT.

Slides:



Advertisements
Similar presentations
How to hook up a Projector to a Laptop
Advertisements

EMS1EP Lecture 4 Intro to Programming Dr. Robert Ross.
Lab7: Introduction to Arduino
Ad Hoc and Sensor Networks4/1 Ad Hoc and Sensor Networks Exercise 4 Sensor Network programming.
Most-to-Least Legible Color Combinations for Viewing on Slide Shows Color and contrast are very important tools in communication. They can be used to enhance.
Runway & Taxiway Markings
Intro to Programming and Microcontrollers. Activity Group into pairs and sit back-to-back. Pick one person who is going to draw. The other person will.
ArTe Arduino Letizia Jaccheri Pisa February 2010.
Enforcing Mutual Exclusion Message Passing. Peterson’s Algorithm for Processes P0 and P1 void P0() { while( true ) { flag[ 0 ] = false; /* remainder */
EEC-693/793 Applied Computer Vision with Depth Cameras
ICT in Teaching and Learning Klepinina Olga and Students Of Kirov Teachers’ Training College Kirov, 2010.
ARDUINO PROGRAMMING Working with the Arduino microcontroller.
Working with Arduino: Lesson #1: Getting Acquainted with the Kit EGN1007.
Arduino Part 2 Topics: Serial Communication Programming Constructs: functions, loops and conditionals Digital Input.
There are 3 switches downstairs, each corresponding to one of the light bulbs upstairs. How can you figure out which light switch goes to which light.
McGraw-Hill© 2007 The McGraw-Hill Companies, Inc. All rights reserved. 1-1.
Computer Programming and Basic Software Engineering 9 Building Graphical User Interface Working with Unmanaged Code.
Available at: – Operate the Tumbler using a Jumper Pin Operate the Tumbler using the jumper pin.
Rujchai Ung-arunyawee Department of Computer Engineering Khon Kaen University.
Available at: Lesson 3.6 – Program Line Follower in Autonomous Mode Program Line Follower in Autonomous Mode.
AMMAR HAJ HAMAD IZZAT AL KUKHON SUPERVISOR : DR. LUAI MALHIS Self-Driven Car.
Shutter Timing and Flash Synchronization System Joel Hoffa Shaun Pontsler November 10, 2005 Advisor: Professor Herr.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 27 - Phone Book Application Introducing Multimedia.
A real teacher or a computer? Klepinina Olga and Students Of Kirov Teachers’ Training College Kirov, 2012.
Voki. You must have an account The fun begins… Step 1: Create a Voki…
Code-Switching Insights and strategies for assessing and teaching reading in minority classrooms Rachel Swords Interventionist.
Board Activity Find your seat on the seating chart Login – Remember your login is your first initial your last name and the last three numbers of your.
Image Downloading Instructions General Instructions.
Communication derives from the Latin word ''communis'' that means ''in common''.
 Define the term Podcast  Identify ways they are used  Identify parts of a podcast  Listening Activity  Creating your First Podcast  Locate podcasts.
Tracking Changes in MS Word. Track Changes Allows you to keep track of the changes you make to a document Extremely helpful when more than one person.
Solar Animal Light HTSA – pc of LED (White/amber/color changing) Material: plastic & poly resin 1*AA size rechargeable NI-CD battery (600MA 1.2V)
Six Traits of Writing One of the Welcome to Welcome to.
Wall Encounter By Made easy by Dwayne Abuel.
Getting Images from TouchlessLib. Download, unzip.
SIMON Presented By: Amanda Buczkowski James Jenkins Fadi Hanna.
Speech Recognition Yonglei Tao. Voice-Activated GPS.
ECE 4330 Project Proposal 2 “Blackout” LED Game by Nick Hermanson.
PROGRAMMING LANGUAGES FINAL PROJECT FATIH SÜRER Serial Communication with MSP430.
 The MSP430 is a mixed-signal microcontroller family from Texas Instruments. Built around a 16-bit CPU, the MSP430 is designed for low cost and, specifically,
Billy Overton Getting back to software.
Introduction to the DE0 Board Prof. Taeweon Suh Computer Science & Engineering Korea University COSE221, COMP211 Computer Logic Design.
I Turn To You. How can I know what to believe How can I tell Who to trust in what I need How can I know what to believe How can I tell Who to trust in.
Testbed Coding In this activity you will code different challenges for the Testbed. For each challenge a sample program is shown. Use what this sample.
ICTWays workshop “Creativity and imagination in the classroom: Arduino and its application samples” LLP PT-COMENIUS-CNW
Testbed Coding In this activity you will code different challenges for the Testbed. For each challenge a sample program is shown. Use what this sample.
Signals, pavement markings, and proper turns QUIZ
European Robotic LABoratory
UTA010 : Engineering Design – II
Speech – Hlasové ovládání
EEC-693/793 Applied Computer Vision with Depth Cameras
COMP211 Computer Logic Design Introduction to the DE2 Board
EEC-693/793 Applied Computer Vision with Depth Cameras
Building Raspberry Pi Controllers with Python
Module 3 My English book.
Introduction to Arduino Microcontrollers
Introduction to Arduinos
MUTENESS ASSİSTMENT 1)WHY CHOICE ? 2)ABOUT DESİGN 3)WHICH CODES USING
Working with Arduino: Lesson #1: Getting Acquainted with the Kit
Boolean Bingo!.
EEC-693/793 Applied Computer Vision with Depth Cameras
Extension: LCM 3 Three lights, red, yellow and green, are controlled by switches.  At the start, the three lights are switched on simultaneously.  The.
English Language Norms: Interacting in Meaningful Ways
EEC-693/793 Applied Computer Vision with Depth Cameras
Lab 1. Introduction to the DE2 Board
Lecture 5 Binary Operation Boolean Logic. Binary Operations Addition Subtraction Multiplication Division.
EEC-693/793 Applied Computer Vision with Depth Cameras
Lecture 4. Introduction to the DE2 Board
Oregon Robotics Tournament and Outreach Program
CHAPTER FOUR VARIABLES AND CONSTANTS
Presentation transcript:

PROGRAMMING LANGUAGE CEM AYGUN VOICE CONTROLLED LED LIGHT

 The aim of this project is changing the led state by means of voice.I used red,white and yellow leds. PURPOSE

 My codes consist of two main parts which are serial port and speech recognition.I used serial port to provide communication between C# and MSP430 CODES

comboBox1.DataSource = SerialPort.GetPortNames(); serialPort1.PortName = comboBox1.Text; serialPort1.Open(); serialPort1.BaudRate = 9600; textBox2.Text=Convert.ToString(serialPort1.BaudRate); serialPort1.Close(); SERIAL PORT USING

1)The language of your computer should be English or any supported language. 2)Your microphone should function properly 3)If you want to switch your camputer language as English.You can download Vistalizator from 4)Adding libraries and namespaces: -System.Speech; - using System.Speech.Synthesis; -using System.Speech.Recognition; REQUIREMENTS TO USE SPEECH FEATURE

GLOBAL VARIABLES: SpeechRecognitionEngine speechrecognizer=new SpeechRecognitionEngine(new System.Globalization.CultureInfo("en-US")); SpeechSynthesizer voice = new SpeechSynthesizer(); LOAD GRAMMAR METHOD: Choices choices = new Choices(); choices.Add("red", "white", "white off", "yellow", "cem", "aygun", "red off", "yellow off"); GrammarBuilder grammarBuilder = new GrammarBuilder(choices); Grammar grammar = new Grammar(grammarBuilder); speechrecognizer.LoadGrammar(grammar); SPEECH CLASS

speechrecognizer.SpeechDetected += new EventHandler (sestaniniyor); speechrecognizer.SpeechRecognitionRejected += new EventHandler (sestanimlanamadi); speechrecognizer.SpeechRecognized += new EventHandler (sestanindi); speechrecognizer.SetInputToDefaultAudioDevice(); speechrecognizer.RecognizeAsync(RecognizeMode.Single); CONTINUE

private void sestanindi(object sender, SpeechRecognizedEventArgs tanima) { if (tanima.Result.Text == "yellow") { panel3.Visible = true; panel3.BackColor =Color.Yellow; serialPort1.Write("Y"); voice.Speak("yellow turns on"); } CONTINUE if (tanima.Result.Text == "yellow off") { panel3.Visible = false; serialPort1.Write("y"); voice.Speak("yellow turns off"); }

private void sestanimlanamadi(object sender, SpeechRecognitionRejectedEventArgs e) { textBox1.Text = "Ses Tanima İslemi Basarisiz. "; } CONTINUE

- us/library/office/hh361683(v=office.14).aspx - ardiuno-using-visual.html - REFERANCES

ANY QUESTIONS??

THANK YOU FOR LISTENING!