# Applications And Implications - Week 17 ---- ## Assignments > **Applications And Implications** > > **individual assignment** > > - Propose a final project masterpiece that integrates the range of units covered. > > - Your project should incorporate: > > - 2D and 3D design > - Additive and subtractive fabrication processes > - Electronics design and production > - Embedded microcontroller interfacing and programming > - System integration and packaging. > > - Where possible, you should make rather than buy the parts of your project. > - Projects can be separate or joint, but need to show individual mastery of the skills, and be independently operable. ## Individual Assignment ### Questions #### What will it do? 1. Modular Midi Keyboard - sends midi signal via USB to a connected pc for each key a different note - hold note as long as key is pressed - have a modular system to extend the octaves 2. Falling notes display (OPTIONAL) - shows the notes sequentially for each key that needs to be pressed when in a song to learn, how to play it #### Who has done what beforehand? [Implementation with blender and a display/beamer](https://www.youtube.com/watch?v=8OH3lqxHIqw) [MIDI Visualisation](https://github.com/kosua20/MIDIVisualizer) [Synthesia Open Source](https://github.com/linthesia/linthesia) [MIDI Keyboard with Arduino](https://www.reddit.com/r/WeAreTheMusicMakers/comments/fz2mn9/here_you_have_it_a_midi_keyboard_you_can_build/) #### What will you design? - Keys and mechanics - Housing for the controller - Holder/Housing for the keys - PCB for - key presses - reading the keys presses - modular connectors and USB connection to PC #### What materials and components will be used? **Housing and Keys** - PLA or PETG for the housing and keys - Wood for the cover and connection of the modules - Screws to connect modules with wood and PCBs - conductive foam **PCB** - attiny for reading the key presses - resistors and capacitors - XIAO ESP32 #### Where will they come from? Your preferred vendor or hardware store for the housing materials and for the electrical components e.g.: [Reichelt](https://www.reichelt.de/) [Mouser](https://www.mouser.de/) Or the PCB maybe produced here: [JLCPCB](https://jlcpcb.com/) And for fallback: [Ebay](https://ebay.de) #### How much will they cost? See in the final BOM #### What parts and systems will be made? - Keys - Housing for Keys and controller - Cover for the components - PCBs: - Keys - reading the keys - USB-C/MIDI #### What processes will be used? - 3D Printing - Keys, Housing for keys and controller - Laser Cutting - for the cover of the components - Milling/Etching (OPTIONAL) - PCBs #### What questions need to be answered? - Getting Key presses with conductive foam possible? - Communication with attiny via serial working? #### How will it be evaluated? 1. MIDI Keyboard - mechanics feel like commercial ones - midi interface works like expected - modular and extendable with snap-fits and connectors 2. Falling Notes display - upload a midi files which is played and displayed correctly - reacts on pressing the keys at the right time #### What tasks have been completed? - 3D Modelling of the mechanics - tested midi interface - tested conductive foam #### What tasks remain? - Design and Produce PCB - Test integration - Write code so connect attiny and XIAO #### What has worked? What hasn't? - MIDI device worked, but not that responsive -> code needs improvement - I2C for communication not easy #### What questions need to be resolved? - I2C communication with the modules needs to be fixed/get working #### What will happen when? See [Project Development](../assignments/project_development.md) #### What have you learned? - project planing is complicated - at the begin, you underestimate everything - cutting down features initially planed is (almost) always done - making and especially sticking to a plan is hard ### Bill Of Materials (BOM) | Item | Quantity | Price | Where to buy | |------|----------|-------|--------------| |XIAO ESP32 | 1 | - | [reichelt](https://www.reichelt.de/de/de/shop/suche/xiao%20esp32?GROUPINDEX=0&search=xiao+esp32)| |Resistors| 2 | - | [reichelt](https://www.reichelt.de/de/de/shop/suche/smd%20wiederstand?GROUPINDEX=0&search=smd+wiederstand)| |Capacitors| 1?| - | [reichelt](https://www.reichelt.de/de/de/shop/suche/smd%20kondensator?GROUPINDEX=0&search=smd+kondensator)| |attiny|1?| - | [reichelt](https://www.reichelt.de/de/de/shop/suche/attiny?GROUPINDEX=0&search=attiny)| |PCBs|-|-|[JLCPCB](https://jlcpcb.com/)| |USB-C Cable| 1 | - | [reichelt](https://www.reichelt.de/de/de/shop/suche/usb%20c%20kabel?GROUPINDEX=0&search=usb+c+kabel)| |Conductive Foam| 1 | - | [reichelt](https://www.reichelt.de/de/de/shop/suche/leitender%20schaum?GROUPINDEX=0&search=leitender+schaum)| |Pin connector| 6 | - | mouser| |magnets|12|-|[reichelt](https://www.reichelt.de/de/de/shop/produkt/magnet_4mm_staerke_2mm-151644)| | screws| 16 | - | [reichelt](https://www.reichelt.de/de/de/shop/suche/schrauben?GROUPINDEX=0&search=schrauben)| :::{note} Quantity is for one module :::