A12 - Output Devices

This proyect is inspired in this arduino midi stepper synth project from Jonathan Kayne

It works by sending a 440 Hz square wave (using a the tone command) to create a created an A440 pitch. The speed is in microseconds so it converts the note frerquencies to a period.

http://fab.academany.org/2018/labs/fablabaalto/students/solomon-embafrash/exercise11.html

It also uses an array of pitchValues with it´s corresponding MIDI note Value.

Calibrating the tone

Playing the Midi in a Keyboard

I use Anvil Studio to connect the Arduino to the stepper for playing the midi sounds

Anvil

I´m wating to go to the Fablab to make my PCB Board. Anvil

Select the input Anvil Anvil Anvil Anvil Anvil Anvil Anvil Anvil Anvil

Since the first time I heard the 3d printers sounds I love the melody tha shape creates.

I found some videos of nema midi synts and i think it´s a nice project be cause i always wantewed to merge programming with music.

Group assignment


Im using a CNC Shield for operate the motors, the first thing it´s to check the comunication with the motor.

For this I open the Arduino IDE and upload the grlb Shield

You can download the library of Arduino in https://github.com/gnea/grbl

MIDI

http://www.tobias-erichsen.de/software.html

Drivers

http://www.tobias-erichsen.de/software/virtualmidi/virtualmidi-sdk.html

https://www.youtube.com/watch?v=IZ1b1aF9lpg

https://newt.phys.unsw.edu.au/jw/notes.html

tables of note names, frequencies, midi numbers and piano keys

[https://newt.phys.unsw.edu.au/music/note/]:

https://hackaday.io/project/173791-stepper-synth

https://coolsoft.altervista.org/en/midimapper#download

Virtual Piano

https://vmpk.sourceforge.io/

Measure the power consumption of an output device Document your work (in a group or individually) Individual assignment

Add an output device to a microcontroller board you've designed and program it to do something Learning outcomes

  • [ ]Demonstrate workflows used in controlling an output device(s) with MCU board you have designed

Have you?

  • [ ] Linked to the group assignment page
  • [ ] Documented how you determined power consumption of an output device with your group
  • [ ] Documented what you learned from interfacing output device(s) to microcontroller and controlling the device(s)
  • [ ] Described your design and fabrication process or linked to previous examples.
  • [ ] Explained the programming process/es you used
  • [ ] Outlined problems and how you fixed them
  • [ ] Included original design files and code
  • [ ] Included a ‘hero shot/video’ of your board

FAQ What is the point of the group excercise? Answer: Different output devices need different amounts of energy to function. You need to be able to choose suitable power source for your projects.

Is it ok to use the LED in the hello board as an output device for this assignment? Answer: No, you need to do more.