17.1. Applications And Implications - Week 17


17.1.1. 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.

17.1.2. Individual Assignment

17.1.2.1. 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

MIDI Visualisation

Synthesia Open Source

MIDI Keyboard with Arduino

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 Mouser

Or the PCB maybe produced here:

JLCPCB

And for fallback:

Ebay

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

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

17.1.2.2. Bill Of Materials (BOM)

Item

Quantity

Price

Where to buy

XIAO ESP32

1

-

reichelt

Resistors

2

-

reichelt

Capacitors

1?

-

reichelt

attiny

1?

-

reichelt

PCBs

-

-

JLCPCB

USB-C Cable

1

-

reichelt

Conductive Foam

1

-

reichelt

Pin connector

6

-

mouser

magnets

12

-

reichelt

screws

16

-

reichelt

Note

Quantity is for one module