Difference between revisions of "Digital Theremin Violin (DTV)"

From Lofaro Lab Wiki
Jump to: navigation, search
(System Architecture)
(Digital Theremin Violin)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:Violin.jpg]]
+
[[File:Violin.jpg|border|500px|right]]
  
== Digital Theremin Violin ~ Spring 2017 ~ ==
+
== Digital Theremin Violin==
  
 
=== Introduction ===
 
=== Introduction ===
Line 11: Line 11:
 
:All associated files and source code can be found [https://github.com/GideonMAnderson/Digital-Theremin-Violin Here]
 
:All associated files and source code can be found [https://github.com/GideonMAnderson/Digital-Theremin-Violin Here]
  
:Microcomputer Code [https://github.com/GideonMAnderson/Digital-Theremin-Violin/blob/master/DTV%20Microcomputer.c Here]
+
====Microcomputer====
 +
::*:Code [https://github.com/GideonMAnderson/Digital-Theremin-Violin/blob/master/DTV%20Microcomputer.c Here]
 +
 
 
::*:before this you MUST install and create Port Audio library.
 
::*:before this you MUST install and create Port Audio library.
  
 
::*:This '''must''' be compiled using the following gcc command '''"gcc DTV.c libportaudio.a -lrt -lm -lasound -pthread -lwiringPi -o sine5"'''
 
::*:This '''must''' be compiled using the following gcc command '''"gcc DTV.c libportaudio.a -lrt -lm -lasound -pthread -lwiringPi -o sine5"'''
  
:Microcontroller Code [https://github.com/GideonMAnderson/Digital-Theremin-Violin/blob/master/DTV%20Microcontroller.ino Here]
+
====Microcontroller====
 +
::*:Code [https://github.com/GideonMAnderson/Digital-Theremin-Violin/blob/master/DTV%20Microcontroller.ino Here]
 +
 
 
::*:This '''must''' be ran onto the ATmega32u4 prior to setting the rest of the system up.
 
::*:This '''must''' be ran onto the ATmega32u4 prior to setting the rest of the system up.
  
:Amplitude Modulation Circuit Files  
+
====Amplitude Modulation====
 +
::*:Circuit Files  
 +
 
 
::*:'''''NOTE: Never verified AM Circuit PCB worked'''''
 
::*:'''''NOTE: Never verified AM Circuit PCB worked'''''
  
:Capacitive Touch Interface Circuit Files
+
====Capacitive Touch Interface====
 +
::*:Circuit Files
 +
 
 
::*:'''NOTE:''' The outputs of this circuit '''MUST''' all be hooked to a resistor (''we used 100kΩ'') the other side of the resistor connecting to your sensing pin of ATmega32u4.
 
::*:'''NOTE:''' The outputs of this circuit '''MUST''' all be hooked to a resistor (''we used 100kΩ'') the other side of the resistor connecting to your sensing pin of ATmega32u4.
  
:3D CAD Design Files [https://github.com/GideonMAnderson/Digital-Theremin-Violin/tree/3D-Design Here]
+
====3D CAD Design====
 +
::*:Design Files [https://github.com/GideonMAnderson/Digital-Theremin-Violin/tree/3D-Design Here]
 +
 
 
::*:The .MakerBot, .ipt, and .iam files
 
::*:The .MakerBot, .ipt, and .iam files
  
 
::*:The source code files are also in this directory for some reason?
 
::*:The source code files are also in this directory for some reason?
 +
 
=== Technical Section ===
 
=== Technical Section ===
  
Line 39: Line 50:
 
==== System Descriptions ====
 
==== System Descriptions ====
  
:# Microcontroller:
+
# Microcontroller:
::#*The microcontroller (ATmega32u4) is the device that polled the capacitive touch interface and sends the polled information to the microcomputer. It also monitors the potentiometer, wave-modification knobs and sends that information along with the previous.
+
#*The microcontroller ('''ATmega32u4''') is the device that polled the capacitive touch interface and sends the polled information to the microcomputer. It also monitors the potentiometer, wave-modification knobs and sends that information along with the previous.
 
+
#Microcomputer:
:#Microcomputer:
+
#*The microcomputer is the device that will take in via '''Serial UART''' information fed from the microcontroller. With this information will '''generate''' via C code a custom, unique waveform. It will then send this '''Analog''' signal via 3.5mm audio jack to our amplitude modulator.
::#*The microcomputer is the device that will take in via Serial UART information fed from the microcontroller. With this information will generate via C code a custom, unique waveform. It will then send this Analog signal via 3.5mm audio jack to our amplitude modulator.
+
#Balanced Modulator('''MC1496''')
 
+
#*'''Majority''' of the AM Circuit
:#Balanced Modulator(MC1496)
+
#*The MC1496 balanced modulator is coupled with a circuit in order to properly modulate the signal we are trying to achieve. This circuit takes in the generated '''analog''' signal from the microcomputer and the '''analog''' signal from the bow/coil circuit, the carrier and envelope respectively. The chip then modulates the signal accordingly.
::#*Majority of the AM Circuit
+
#LM741
::#*The MC1496 balanced modulator is coupled with a circuit in order to properly modulate the signal we are trying to achieve. This chip takes in the generated analog signal from the microcomputer and the analog signal from the bow/coil circuit, the carrier and envelope respectively. The chip then modulates the signal accordingly.
+
#*The LM741 '''amplifier''' is responsible for amplifying the internal '''analog''' signal resulting from the microcomputer. Amplifying this internal signal relays throughout the system and provides a louder system output.
 
+
:#LM741
+
::#*The LM741 amplifier is responsible for amplifying the internal analog signal resulting from the microcomputer. Amplifying this internal signal relays throughout the system and provides a louder system output.
+
  
 
=== Team ===
 
=== Team ===

Latest revision as of 16:52, 5 May 2017

Violin.jpg

Digital Theremin Violin

Introduction

The Digital Theremin Violin is an instrument that will be combining the classical elegance of the violin and structure with a modern day, completely electric, masterpiece of the theremin. Several inputs varying from a capacitive touch interface, waveform modification and other sound knobs, and a bow constructed of magnets. The instrument will take the previous inputs and create a one of a kind sound.

Code and Source Files

All associated files and source code can be found Here

Microcomputer

  • before this you MUST install and create Port Audio library.
  • This must be compiled using the following gcc command "gcc DTV.c libportaudio.a -lrt -lm -lasound -pthread -lwiringPi -o sine5"

Microcontroller

  • This must be ran onto the ATmega32u4 prior to setting the rest of the system up.

Amplitude Modulation

  • Circuit Files
  • NOTE: Never verified AM Circuit PCB worked

Capacitive Touch Interface

  • Circuit Files
  • NOTE: The outputs of this circuit MUST all be hooked to a resistor (we used 100kΩ) the other side of the resistor connecting to your sensing pin of ATmega32u4.

3D CAD Design

  • The .MakerBot, .ipt, and .iam files
  • The source code files are also in this directory for some reason?

Technical Section

This section is meant to give a little clarification as to what and how our system works.

System Architecture

System architecture.jpg

System Descriptions

  1. Microcontroller:
    • The microcontroller (ATmega32u4) is the device that polled the capacitive touch interface and sends the polled information to the microcomputer. It also monitors the potentiometer, wave-modification knobs and sends that information along with the previous.
  2. Microcomputer:
    • The microcomputer is the device that will take in via Serial UART information fed from the microcontroller. With this information will generate via C code a custom, unique waveform. It will then send this Analog signal via 3.5mm audio jack to our amplitude modulator.
  3. Balanced Modulator(MC1496)
    • Majority of the AM Circuit
    • The MC1496 balanced modulator is coupled with a circuit in order to properly modulate the signal we are trying to achieve. This circuit takes in the generated analog signal from the microcomputer and the analog signal from the bow/coil circuit, the carrier and envelope respectively. The chip then modulates the signal accordingly.
  4. LM741
    • The LM741 amplifier is responsible for amplifying the internal analog signal resulting from the microcomputer. Amplifying this internal signal relays throughout the system and provides a louder system output.

Team

Team.jpg

From left to right:
  • Taimur Sohrab
  • Kishn Parbadia
  • Ayman Alhandali
  • Dr. Daniel Lofaro
  • Gideon Anderson
  • Rafael Gomes

Not pictured: Conner Eveker