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

From Lofaro Lab Wiki
Jump to: navigation, search
(Digital Theremin Violin)
 
(33 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 ===
  
          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.
+
: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.
  
          The team should research to determine the best possible way to effectively implement a capacitive touch interface, how to best interface the bow with the instrument, how to effectively transmit the data to and from devices, finally how to fully implement this into a working prototype. This project has several phases that will be outlined in the Approach section of this document. The final product being a prototyped instrument capable of producing sound at variable wavelengths, frequencies, and forms.
+
=== Code and Source Files ===
+
          Being tasked with a multi-stage process, our team is tasked with research and development of several electronic systems. Repetitive testing will ensure that the final product will be able to continuously produce the waveform the user selects to produce.
+
  
 +
:All associated files and source code can be found [https://github.com/GideonMAnderson/Digital-Theremin-Violin Here]
  
=== Code and Source Files ===
+
====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.
 +
 
 +
::*: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]
 +
 
 +
::*: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====
 +
::*:Design Files [https://github.com/GideonMAnderson/Digital-Theremin-Violin/tree/3D-Design Here]
 +
 
 +
::*: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 ====
 +
 
 +
[[File:system architecture.jpg]]
  
All associated files and source code can be found @ [https://github.com/GideonMAnderson/Digital-Theremin-Violin]
+
==== System Descriptions ====
  
Microcomputer : Code [https://github.com/GideonMAnderson/Digital-Theremin-Violin/blob/master/DTV%20Microcomputer.c]
+
# 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.
 +
#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.
 +
#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.
 +
#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.
  
        ** This must be compiled using the following gcc command "gcc DTV.c libportaudio.a -lrt -lm -lasound -pthread -lwiringPi -o sine5" **
+
=== Team ===
  
            before this you MUST install and create Port Audio library.
+
[[File:Team.jpg]]
  
Microcontroller Code : [https://github.com/GideonMAnderson/Digital-Theremin-Violin/blob/master/DTV%20Microcontroller.ino]
+
:From left to right:
 +
:* Taimur Sohrab
 +
:* Kishn Parbadia
 +
:* Ayman Alhandali
 +
:* Dr. Daniel Lofaro
 +
:* Gideon Anderson
 +
:* Rafael Gomes
  
        ** This must be ran onto the ATmega32u4 prior to setting the rest of the system up. **
+
Not pictured: Conner Eveker

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