A Single Octave 32 kHz Auditory Output Device By: Erick Ruiz and Jeffrey Rollman Research Problems: -Can a PSoC device be programmed to allow for auditory.

Slides:



Advertisements
Similar presentations
MICROPROCESSORS AND MICROCONTROLLERS
Advertisements

Chapter 7 – Managing Windows XP. Control Panel The main tool for configuring your system. Most of the tools to configure the system come with the normal.
MP3 Files for Tape Groups Cassette Tapes ● Limited capacity ● Bulky ● Hard to position ● Difficult to rewind ● Difficult to organize ● Must turn tape over.
Lab7: Introduction to Arduino
Electrical and Computer Engineering MIDI Note Number Display UGA Presentation and Demo ECE 353 Lab B.
LOGSYS Development Environment of Embedded Systems Tamás Raikovich Béla Fehér Péter Laczkó Budapest University of Technology and Economics Department of.
University Of Vaasa Telecommunications Engineering Automation Seminar Signal Generator By Tibebu Sime 13 th December 2011.
Improvement of Audio Capture in Handheld Devices through Digital Filtering Problem Microphones in handheld devices are of low quality to reduce cost. This.
Data Acquisition Risanuri Hidayat.
2008 UCSD COSMOS PROGRAM EMBEDDED COMPUTER SYSTEMS LAB July, 2008 DR. CHOON KIM
SYED SYAHRIL TRADITIONAL MUSICAL INSTRUMENT SIMULATOR FOR GUITAR1.
Motor Control Lab Using Altera Nano FPGA
Data Acquisition Systems ACES Presentation Brad Ellison March 11, 2003.
Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab Project performed by: Safi Seid-Ahmad Emile.
ECE Department: University of Massachusetts, Amherst Lab 1: Introduction to NIOS II Hardware Development.
Introduction.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Traffic Light Controller By: Candace Lee And Nayeon Kim Instructors: Rajesh Gupta, Choon Kim, Shirley Miranda, Bridget Benson, Arash Arafee Cluster 1:
Detailed Design Review Project P13363 Members: Justine Converse (IE) James Cover (CE) Alexander Eschbach (EE) Jason Hang (ME) Ashley Trode (EE) Guide:
Traffic Light Synchronization by: Avneesh Kohli, Eric Harmatz, and Govil Gupta.
Statement of Purpose: To program an incremental counter using the PSoC Designer 5.0, Imagecraft, the programming language C, the PSoCEval USB CY3214 circuit.
Working with Drivers and Printers Lesson 6. Skills Matrix Technology SkillObjective DomainObjective # Understanding Drivers and Devices Install and configure.
EMBEDDED WEB SERVER. CONTENT: 1.ABSTRACT 2.INTRODUCTION TO EMBEDDED SYSTEMS 3.INTRODUCTION TO EMBEDDED WEB SERVER 4.BLOCK DIAGRAM 5.POER SUPPLY 6.COMPONENT.
Tilt Controlled Vehicle Hardware In this project, I utilized two CY3209-ExpressEVK kits and one CY3214 PSoCEval USB kit. Software The source code for the.
Dean Brock, Rebecca Bruce and Susan Reiser, CCSC SE 2009 Using Arduino Material taken from Todbot blog Bionic Arduino Todbot blog Bionic ArduinoTodbot.
Driver Station MVRT 2009 – 2010 Season. Add information Breadboard Classmate PC USB Hub Joysticks Stop Button.
Viking Pump Flow Manager - Phase 2 Senior Design May
Lab 8 – C# Programming Adding two numbers CSCI 6303 – Principles of I.T. Dr. Abraham Fall 2012.
Parts of a Computer.
P13363 Touch Sensitive Piano Keys Justine Converse (ISE) James Cover (CE) Alexander Eschbach (EE) Jason Hang (ME) Ashley Trode (EE)
EE 446 Project Assignment Top Design Sensor Components Pin Assignment and Configuration Completed Physical Setup Project Tasks.
Software Programmed in C 1. lightCycle: Function that cycles the lights when the CapSense is activated, cycles lights from Red to Green. 2. If, else: Determines.
Teacher/Mentor Institute Using easyC Joel Kirkland July 30-31, 2015.
Cluster 1: Adventures in Embedded Computer Systems July 2008 Electrical Brain Stimulation Using Modulation of Pulse Width and Frequency of Light-Emitting.
Introduction to Robo Pro
Department of Communication Engineering, NCTU
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
Jerk the Bear In order to explore the possiblities of the integration of capacitative sensors in consumer products, we implemented capsense technology.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
Digital Temperature Gauge Project Proposal ECE 4330 Patricia Kaminski System Overview Hardware Design Software Design Testing.
A High Speed USB Digital Pattern Generator and User Interface to Operate a Wireless Implantable Neural Microstimulating System Jim Simpson, Frankie Myers,
A Single Octave 32 kHz Auditory Output Device. By: Erick Ruiz Jeffrey Rollman UCSD COSMOS Cluster 1-Adventures in Embedded Computer Systems August 1,
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
Copyright © 2007 by Pearson Education 1 UNIT 6A COMBINATIONAL CIRCUIT DESIGN WITH VHDL by Gregory L. Moss Click hyperlink below to select: Tutorial for.
Embedded C- Language Lets Learn fundamentals !!. An Embedded system is combination of computer hardware and software, and perhaps additional mechanical.
ISA CLICK CONTROL #38 – FALL 2014 ERIC BRUNNGRABER DRAKE ISABIRYE.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
STEP-1 START PROTEUS Click on START button and you will get “ Proteus 7 professional “  Install Lab Center Proteus in the PC.  After Successful installation.
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
Power Distribution Copyright F. Canavero, R. Fantino Licensed to HDT - High Design Technology.
Application Case Study Christmas Lights Controller
Lets Learn fundamentals !!
Overview What is Arduino? What is it used for? How to get started
Programmable Hardware: Hardware or Software?
Sound Card A sound card (also referred to as an audio card) is a peripheral device that attaches to the ISA or PCI slot on a motherboard to enable the.
Sound Card A sound card (also referred to as an audio card) is a peripheral device that attaches to the ISA or PCI slot on a motherboard to enable the.
The first change to your project files that is needed is to change the device to the correct FPGA. This is done by going to the Assignments tab on the.
Overview What is Arduino? What is it used for? How to get started
RAILWAY TRACK SNAP NOTIFICATION
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
fischertechnik® RoboPro Software for Gateway To Technology® RoboPro
Introduction to robotics
Internet-of-Things (IoT)
An Introduction to Software Architecture
Founded in Silicon Valley in 1984
Touch Sensitive Piano Keys
Traffic Light Synchronization
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
♪ Embedded System Design: Synthesizing Music Using Programmable Logic
AN INEXPENSIVE ROBOTIC KIT FOR CHILDREN EDUCATION
Presentation transcript:

A Single Octave 32 kHz Auditory Output Device By: Erick Ruiz and Jeffrey Rollman Research Problems: -Can a PSoC device be programmed to allow for auditory output? -Is it possible to create a workable external CapSensing device that can overcome issues associated with accuracy, signal loss and wiring difficulties? -How can reliable pin connections be maintained with the large number of pins needed? Abstract: The PSoC (Programmable System on Chip) device is a highly adaptable circuit board that can be programmed to allow for complete usage of the various onboard components. A PSoC device can be programmed for auditory output if it has the right components installed. The CY8C FLXI PSoC board contains a buzzer which allows for use of the board as an auditory output device. Additionally, the board includes a CapSense (Capacitive Sensor) component. This CapSense component includes touch sensitive buttons along with a slider which enable the input end of the project. Utilizing a CY3214 device, an octave of a piano keyboard can be simulated. The base of the program was written in C programming language on Cypress Semiconductor’s PSoC Designer 5 software. Initially, the program was written to work with only one board, allowing one full octave. However, with some modification, the C code can be modified successfully to allow two boards to connect and utilize both CapSense components. In addition, with even further development and more research, the board was able to be connected to external CapSense buttons that would serve as keyboards for the full octave to be outputted and also including a “whammy” slider for whammy effect on notes. With much testing and debugging, the device output was successful, with the CapSense components utilized to allow for a single full octave, including sharp and flat notes. Since the board was apt for that kind of customization, we tested it to see if an amplifier would have sustained. The amplifier sustained and the output was significantly cleaner. The board, with further programming, has the capability to play full songs with the amplifier. This application of the PSoC device is very promising for future embedded systems design as it demonstrates the feasibility of user friendly entertainment devices with flexible inputs and outputs. The PSoC is a revolutionary device that if used for specific uses, may surpass the dominance of multi-purpose personal computers. UCSD COSMOS 2008 Cluster 1: Adventures in Embedded Computer Systems August 2, 2008 Hypotheses: -PSoC Designer 5.0 can be used to program a digital entertainment device -An external CapSensing device can be created on Plexiglas acrylic -Input from CapSense can create an output of varying sounds from PSoC circuit board Hardware Used: -PSoC CY3214 circuit board -Auditory amplifier -Copper electric tape -Assorted wires and capacitors -Acrylic Plexiglas boards -MiniProg programming device Software Used: -Cypress Semiconductor’s PSoC Designer 5.0 (C programming language) -Cypress Semiconductor’s PSoC Programmer -A Windows computer Acknowledgements: Thank you to the following: -Professors: Rajesh Gupta Choon Kim -Teacher Fellow: Shirley Miranda -T.A.s: Arash Arfaee Bridget Benson -COSMOS staff Purpose of Project: -Create a digital entertainment device using the PSoC circuit board -Create a user friendly interface for device operation - Ultimate Motivation : PSoC circuit board is relatively low cost and can serve as a universal platform for future consumer devices Conclusion: The PSoC board was successfully able to support CapSense buttons and an 8-bit Pulse Width Modulator (Auditory Output.) The PSoC CY EVAL board was able to support two sliders and had enough space for two more buttons. This board is not suitable for more than one octave at a time. The external CapSense buttons had significant noise and are extremely sensitive to each other and length. Some of the CapSense buttons had to be assigned to different port’s pins in order to have them all working. The number of components and the number of CapSense buttons were inversely proportional to each other; the more components placed, the less could be used for CapSense buttons. The pins were assigned logically to position the wires so they would not touch each other or else interference occurred. The wires were then soldered to the copper tape and the copper tape was attached to the eight-inch acrylic sheet. The acrylic sheet is non conductive, thus allowing for capacitive sensing to work. This board sustained all the external CapSense buttons and the auditory output. The completed CapSense keyboard coupled with PSoC CY3214 circuit board. Source Code: Sample variables: int freq; int time_val; int out_freq; struct noteNames{ int C4; int C4Sharp; int D4; Notes Function: int playNote(int freq, int time) {int out_freq = 32000/freq; int time_val = 32000/time; return out_freq; } char frequency; Sample for Initialization: LCD_1_Start(); M8C_EnableGInt; CSD_1_Start(); LCD_1_Position(0,0); LCD_1_PrCString("Note: "); CSD_1_InitializeBaselines() ;//init baseline (start up scanning sensors) CSD_1_SetDefaultFingerThresholds() ; Sample for Notes’ Frequency: struct noteNames notes; notes.C4=261.63; notes.C4Sharp=277.18; notes.D4=293.66; notes.D4Sharp=311.13; notes.E4=329.63; Sample for Sharp Note: if(CSD_1_bIsSensorActive(2) && CSD_1_bIsSensorActive(0)) { frequency = playNote(notes.C4Sharp,100); PWM8_1_WritePeriod(frequency); PWM8_1_WritePulseWidth(20);//|------C4# | PWM8_1_Start(); LCD_1_Position(0,7); LCD_1_PrCString("C#"); } Sample for a note: //Notes Middle C (C4) 1 higher Octave C (C5) else if(CSD_1_bIsSensorActive(2)) { frequency = playNote(notes.C4,100); PWM8_1_WritePeriod(frequency); PWM8_1_WritePulseWidth(20);//|------C | PWM8_1_Start(); LCD_1_Position(0,7); LCD_1_PrCString("C "); } else if(CSD_1_bIsSensorActive(3)) { frequency = playNote(notes.D4,100); PWM8_1_WritePeriod(frequency); PWM8_1_WritePulseWidth(20);//|------D | PWM8_1_Start(); LCD_1_Position(0,7); LCD_1_PrCString("D "); } 1.Open PSoC Designer 5 and create new Chip Level Project and select the chip CY8C LFXI in the catalog. Be sure to select C as the Main file. 2.Go to User Modules on the left side of the main page: Capsense  CSD  CS D with PRS16  right- click  place  Ok. 3.Change the Properties of CSD: Scanning Speed: fast, Resolution: 9. 4.Right-Click CSD  CSD Wizard  fix your settings according to your necessities of your board. i.e.: 2 buttons, 1 slider: then drag and drop the port and pin number on the boxes. 5.Add buzzer: user modules  PWMs  PWM8  place  righ t-click PWM8 then fix global properties and PWM8 properties for your board. 6.Get your configuration files: Build  Generate Configuration files for all. 7.On Workspace Explorer go to the last folder and click on the + then the + on the Source Files and open Main.C. 8.Edit the Main.C and add the C Program. 9.Build  Generate/Build all Projects then Program your board with PSoC Programmer. Be sure to have IMAGECRAFT set in Tools  Options. In Programmer be sure you have selected Family 24X94 then in Device choose CY8C LFXI. Then file load “yourproject.hex” and then click Program. 10.Lightly touch the Capsense button and listen for the buzzer to go off. Procedures: Possible Further Applications: A CapSense electric guitar can be created after over- coming wiring issues. An early prototype of the CapSense device The final CapSense keyboard with PSoC circuit board