1 / 25

Peripheral Interpreter consisting of Analyzers 'N Operators

Peripheral Interpreter consisting of Analyzers 'N Operators. P.I.A.N.O. P.I.A.N.O. Project Team. Team Members Course Instructor   Curtis Hayes                 Dr. Serpen  Matthew Huie         Eric Lauber                   Faculty Advisor  Wesley Vollmar             Dr. Molyet.

dawson
Download Presentation

Peripheral Interpreter consisting of Analyzers 'N Operators

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Peripheral Interpreter consisting of Analyzers 'N Operators P.I.A.N.O.

  2. P.I.A.N.O. Project Team Team MembersCourse Instructor   Curtis Hayes                 Dr. Serpen Matthew Huie         Eric Lauber                   Faculty Advisor Wesley Vollmar             Dr. Molyet

  3. Background (Problem) • Player pianos are expensive • Obtrusive internal modifications of piano • Musicians are expensive • Musicians may not know and be ready to perform all genres of songs

  4. Background (Solution) • Play the piano autonomously via computer software • Do not modify or damage the piano • Be contained and unobtrusive • Use modular design to be scalable • Be cost effective and easy to use

  5. Background (cont.) • Uses existing technologies • PWM (Pulse Width Modulation) • MIDI (Musical Instrument Digital Interface) • Use knowledge gained through University education • Computer Programming • Electrical Hardware Design

  6. Driving Circuitry • Actuators • Dual Ledex Solenoids • Together pull up to1.3A @ 28V • Switched Electronic Control • PWM to create DynamicVariation and Human-Like Playback (Honors) • Use different PWM duty cycles to reduce heating losses • Power Supply (28V)

  7. Pulse Width Modulation

  8. Pulse Width Modulation

  9. Master/Slave Architecture • Serial Bus • One Master, Multiple Slaves

  10. Arduino Overview • ATMEGA328 • On-board • Microprocessor • 328K Memory • I/O • PWM • Analog Inputs •  Programmed in C • void setup() • void loop()

  11. Hardware Block Diagram • Serial Communication • DIP Addressing • PWM to solenoid drivers

  12. Hardware Slave Schematic

  13. Software - Input Parsing • Reads in a single track MIDI file • Pulls out relevant information • Notes • Delays • End of Song • Throws away meta-data, except tempo changes • Stores into database • Must be done very carefully to prevent corruption of the data.

  14. Software - Output Control Signals • Read in command signals from database in array • Calculate "tick" time • Run timing delays • Output command signal on serial port • Repeat • Fast enough to simulate chords

  15. Software - Serial Communication • Using a Universal Serial Bus (USB) to RS232R (TTL logic levl) converter • Software uses the built in .NET Serial Port object • Can be written to like any file object

  16. Software - Graphical User Interface • Simple, clean style • Similar to most other media players • Custom buttons to customize       our system • Functions separated on       different windows • Custom icon to identify the       program

  17. Software - Database • System.Data.SQLite ADO.NET provider  • http://www.sqlite.org/ •  "Most widely deployed SQL database engine in the world" • Used in systems such as Mozilla Firefox • All data stored in one single file • Simple Transaction SQL commands • Requires only file path to access

  18. Software - Database Repair • Two Redundant backups stored • Created at system close • Can repair corrupted database at error • Protects against data loss

  19. Software - Import / Export • Wes Vollmar's Honors portion of the project • Ability to export and share database contents • Replace or append to current playlist • Gives system mobility                                         -    -    -    -    

  20. Future • Scale up to full sized piano • Invest into more key modules • Mass produce using printed circuit boards (PCBs) • Communicate with other MIDI devices • Add other music file functionality

  21. Conclusion • One octave self playing piano • Software controlled • Solenoid key striking modules • Easy maintenance and repair • Self contained 

  22. QUESTIONS?

  23. References • Atmel - ATMega328P • http://www.atmel.com/dyn/products/product_card.asp?PN=ATmega328P#dataSheets • Ledex 191172-001 • http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&catalogId=10001&productId=1919203 • Texas Instruments - DRV102 • http://focus.ti.com/docs/prod/folders/print/drv102.html

More Related