Digital Theremin with LED

Slides:



Advertisements
Similar presentations
EMS1EP Lecture 8 Pulse Width Modulation (PWM)
Advertisements

EMS1EP Lecture 9 Analog to Digital Conversion (ADC) Dr. Robert Ross.
Georgia Tech Digital Back-end µHRG interface Curtis Mayberry School of Electrical and Computer Engineering Georgia Institute of Technology January 13 th,
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Proximity Sensor Theremin Khoa Nguyen Walter Hudson Dennis Gilbert G. Hewage Thushara.
Auto-Chromatic Instrument Tuner Erin Smith Advisor: Dr. James Irwin Date: November 20th, 2000.
EE396 Project Micromouse Team: Ocha. Team Members Kanoa Jou (Programmer) Ryan Sato (Hardware) KiWoon Ahn (Recorder) Alan Do (Programmer)
Digital Theremin Nicolas Lauzon Albert Ma Celia Valel Farooq Ahmad Alesya Bajoria Tim Church EE 552 High Level ASIC Design Using CAD Tools.
Guitar Effects Processor Critical Design Review October, 07, 2003 Groups Members: Adam Bernstein Hosam Ghaith Jasenko Alagic Matthew Iyer Yousef Alyousef.
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.
1 Applied Control Systems Technology. 2 Pin configuration Applied Control Systems.
ECE 477 DESIGN REVIEW TEAM 2  FALL 2011 Members: Bo Yuan, Yimin Xiao, Yang Yang, Jintao Zhang.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
Department of Electrical and Computer Engineering Theremi n THEREMIN.
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
Auto-chromatic Musical Instrument Tuner Craig Janus and Robert Schmanski Advisor: Dr. James Irwin.
Department of Electrical and Computer Engineering Theremi n THEREMIN.
By: Devon Schmidt & Kyle Da Rif Instructor: Stanislaw Legowski Senior Design 2012/2013.
Automatic Guitar Tuner Group #10 Dariusz Prokopczak & Stephan Erickson ECE 445 Sr. Design December 9, 2014.
Sound Source Location Stand Group 72: Hiroshi Fujii Chase Zhou Bill Wang TA: Katherine O’Kane.
Electric Air Ukulele Ivan Setiawan (setiawa2) Satyo Iswara (iswara2) ECE 445 Senior Design Spring 2012 Team #32 TA: Jane Tu.
Lecture Notes / PPT UNIT III
Interactive LED Staircase Modules Group 38 Mike Udelhofen ECE 445 April 26, 2012.
ECE445 Presentation Smart Umbrella Group 35 : Dominic Antonacci, Jonathan Buie, Martin Miller TA: Cara Yang.
Arduino based Automatic Temperature Controlled Fan Speed Regulator.
Drum Tutor Lite Yuanheng Yan Xun Yu Zhen Qin ECE 445 Senior Project Group 43 December 3,2015.
Emotional Intelligence Vivian Tseng, Matt Palmer, Jonathan Fouk Group #41.
16 Step Analog/Digital Synthesizer
Application Case Study Christmas Lights Controller
Fan Assembly Driven by Magnetic Fields
MECH 373 Instrumentation and Measurements
Group 29 JUN SUNG LEE, JAE HYUN KANG
Obstacle avoiding robot { pixel }
Scrolling LCD using Arduino.
AUTOMATIC TEMPERATURE CONTROLLED FAN USING 8051
Arduino Based Industrial appliances control system by decoding dual tone multi frequency signals on GSM / CDMA network. Submitted by:
ARDUINO BASED AUTOMATIC TEMPERATURE BASED FAN SPEED CONTROLLER
Home automation using Arduino & ‘PIR sensor’
ECE 445 Smart Window Responding System
PROPELLER DISPLAY OF MESSAGE BY VIRTUAL LEDS
PRE-PROGRAMMED DIGITAL SCROLLING MESSAGE
ULTRASONIC DISTANCE METER USING 8051
Automatic human detector garbage can.
Textbook Detection System With Radio-Frequency Identification
SCADA for Remote Industrial Plant
ECE Computer Engineering Design Project
Monitoring Robot Prepared by: Hanin Mizyed ,Abdalla Melhem
Analog/Digital Hybrid synthesizer
DIGITAL CALCULATOR USING 8051
Project guide B. SUBBULAKSHMI M. E Assistant Professor C. A. R
Modular Analog Synthesizer
‘SONAR’ using Arduino & ultrasonic distance sensor
High Performance Low Cost Low Lost Wireless DC Motor Speed Control
RF Range detection and alert system team 26
Team #5: Nisa Chuchawat, Robert Whalen, Zhendong (Mike) Yang
Directional Driver Hazard Advisory System
Laser Harp Team: Peter Crinklaw Qiushi Jiang Edwin Rodriguez.
Portable Battleship Display
Group #8: Adam Belkhadir Alex Dutrow John Tran
Introduction to Microprocessors and Microcontrollers
ECE 445 Senior Design, Spring 2018
Self-Adjusting Jacket ECE 445 SP2017
General Licensing Class
ECE Computer Engineering Design Project
Team 70: Air Guitar Gloves
Data Acquisition (DAQ)
Electrical traditional Chinese Instrument - Xun
UNIT 5 Analog signals.
Applications of Basic Electronics Components
Phased Speaker Array : Phase of Our Lives
Presentation transcript:

Digital Theremin with LED Group #71 ECE 445 Team: Phong Che, Juan Chapa, Chawakorn Wichulada April 28, 2017

What is a Theremin? Invented in 1928 by Leon Theremin Electronic instrument that generates pitches without physical contact from user Antennas act as capacitors that change volume and pitch

Problems with Original Theremin Very difficult to play a precise pitch Distance and volume readings vary depending on external factors such as humidity and temperature

Goals What we do different: LED display to help user by displaying each note played Primary volume control using the foot Generates different sounds using different pitches and waveforms Kill switch to allow stutter effect

Our Digital Theremin LEDs Kill Switch Waveform Switches Sensor

System Overview (Block Diagram)

System Schematic

Sensor and Microcontroller

LED Display

Square to Sawtooth Converters

Square to Sine Converters

Power Module Power is supplied by a 9V DC transformer A Linear Regulator transistor was used to supply a steady voltage The Linear Regulator converts the 9V to 3.3V. Sensors required 5V Hex Inverters required 7V One of the challenges we faced was not getting consistent power for the sensors Voltages are accurate within 2% of desired voltage

Sensor Module Two infrared sensor to measure distance from heat source Detect motion ranges of 10 to 80 cm +/- 8% Update period is 38 ms +/- 10%. Output a voltage in corresponding to distance. Voltage is process by the ADC (analog digital converter) Ref: https://www.pololu.com/product/136#lightbox-picture0J149;main-pictures

Read the output voltage of the sensor by using multimeter Testing Sensor Reading Read the output voltage of the sensor by using multimeter

Original Plan: 12-bit ADC: TLC2543C Alternate channel input to process one sensor’s data at a time. An arduino to test ADC using SPI (Serial Peripheral Interface) Output: A digital value representation of voltage Problems: Send byte packet twice per sensor data Resolution is 16 bits when 12 bits required for MIDI Delay of 5ms per conversion instead of 3ms +/- 5% Solution: Implement ADC inside micro controller

Control Module We use LPC1114FN28/102 as the microcontroller An internal A/D converter converts the inputs to digital value Around per channel 2.44 μs +/- 5% It takes inputs from the sensors (Analog voltage 0 V to 3.3 V) Determine the period of square waves (delay before switching its state (HIGH/LOW))

Layout of Microcontroller Ref: https://www.pakronics.com.au/products/lpc1114fn28-arm-cortex-m0-based-32-bit-mcu-dip-ss310010024 Ref: http://www.mouser.com/ds/2/302/LPC111X-841342.pdf

Programmer Connection Ref:http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/lpc-cortex-m-mcus/lpc1100-cortex-m0-plus-m0/lpcxpresso-board-for-lpc11u24:OM13066

Setup ADC Enable power to ADC hardware Enable clock to ADC hardware Setup pins that will be used for ADC inputs Enable Burst mode Allow the hardware to convert in background

What about reading the sensor value from ADC?

The Read value is not linear function logarithmic scale can help make it more linear

LED Module 12 Notes representation of an octave 5 Red LEDs for Sharp note 7 Green LEDs for Normal note Prioritize notes played by high pitch sensor Visible 3+/- 5% meters away Ref: http://takelessons.com/blog/piano-theory-for-all-musicians

Selecting LEDs A 1-16 Decoder and inverters to select a LED 4 bit select used and output by microcontroller A lookup table was used to determine which note played Note 1 - 12 from left to right

Algorithm for Generating Square Waves while true do counter = counter + 1 if counter > Read_value then Flip state of the pin (HIGH / LOW) Output to LED decoder based on Read_value counter = 0 end if end while

This is what the output looks like

Waveform Module Consists of two square to sine converters (one for each note being played) Consists of two square to sawtooth converters (one for each note being played) Square Wave comes from microcontroller output Outputs are clean and audible

Square

Sine

Sawtooth

Volume Control The foot pedal applies varying resistance Resistance is adjusted with the use of a potentiometer The more resistance the lower the audio output Resistance measure using multimeter

Potentiometer Data

Possible Improvement Incorporate and test low pitch sensor Adding 5V linear voltage regulator for sensor Further tune and test algorithm like tuning an instrument Examine waveform circuit to improve wave modifier

Thank You We would like to say Thank You to all the staffs: Professors and TA (especially Jose) for feedback and advice.

Questions