MozziByte

138

2

MozziByte is an audio shield for the Arduino Pro Micro microcontroller.

This small, cheap and robust platform allows designers, artists, musicians, makers and students to rapidly prototype and create innovative and imaginative sonic products, sound art installations, boutique synthesisers and sound toys.

The MozziByte plugs the Arduino into an audio amp for instant sonic gratification using the Mozzi synth library.

Or explore sonic ideas by adding sensors, switches and knobs on the breadboard, so the sounds respond to light, force, acceleration, or anything else that can be sensed.

For inspiration check out the Gallery on the Mozzi site.

Step 1: Ingredients

Step 2: Insert the Arduino Into the MozziByte

  1. Insert the pins of the Arduino Pro-micro into the socket strips on the MozziByte.
    • The USB connector on the Arduino sits above at the white battery connector on the MozziByte. Check the alignment by making sure that pin AO goes into socket AO. Take care not to bend the pins when inserting into the sockets.
  2. Connect the USB cable to the Arduino.
  3. Plug the earphone jack into the audio socket on the MozziByte.

Step 3: Arduino Web Editor

  1. Install the Arduino Web Plugin.
  2. Register an account on the Arduino Web Editor, and then Login
  3. Connect the Arduinoto your Computer using the USB cable
  4. Blink the LED on the Arduino
    • Click on Examples->01.Basics and choose the Blink example to load it into the Editor.
    • ADD THIS LINE to the Blink example code above the setup() routine (see image).
      #define LED_BUILTIN 17 // address of the LED on Arduino Pro-micro

    • Under the Tools menu click on Board and selectPro-micro, or if its not there then Leonardo

    • Press the tick button to compile the code for the Pro-micro.

    • Under the Tools menu click on Port and select the USB port that your Arduino is connected to.

    • Press the arrow>to upload the code into the Arduino.
    • The two red LEDs will blink as the code uploads.
    • One LED will continue to blink, once every second.
    • More info on using the Arduino Web Editor.
  5. Change the speed of blinking
    • look at the loop() routine in the code.
    • change delay(1000) to delay(100). This makes the LED blink 10x faster- every 100ms..
    • change how long the LED stays on by changing the duration of the the other delay function to 100ms too. Now it will blink very quickly !

Step 4: Mozzi Synth Library

  1. Download the Mozzi Synth Library for Arduino from https://sensorium.github.io/Mozzi/download/. Choose the YELLOW button which links the latest development version on GitHub. Click the GREEN button that says Clone or Download, then click on DOWNLOAD ZIP. The Mozzi-master.zip file will appear in your Downloads folder.
  2. Import Mozzi into the Arduino Web Editor. First click on Libraries, then press the up arrow button to import the Mozzi-master.zip file. Now click the Custom Library tab to see Mozzi and a folder of Examples.
  3. Lights, Action, Sound. In Mozzi Examples clickon the 01.Basics folder and select the Sinewave example to load it into the editor. Click the arrow > to upload the code into the Arduino. Put on your earphones and you should hear a sound :) Its just a boring sinewave tone which is as annoying as a mosquito buzzing around your head in the dark.
  4. Change the pitch of that whining MozziByte sound by changing the frequency in the setup() routine (see image).

Step 5: Play :)

You can listen to demos of Mozzi synthesis algorithms online

Play with these demos which you can find in the Mozzi Synthesis folder

  • FMSynth
  • PacketSynth
  • Resonant
  • ReverbTank
  • Sample
  • etc.

Try playing around with various parameters to change the sounds.

Step 6: Next Steps

The next (upcoming) MozziByte Instructable will show you how to add knobs and sensors to create your own interactive sound toy.

Share

    Recommendations

    • Tape Contest

      Tape Contest
    • Trash to Treasure

      Trash to Treasure
    • Arduino Contest 2019

      Arduino Contest 2019

    2 Discussions

    0
    None
    randofo

    24 days ago

    Nice board. I see that you link to some examples on your site, but you should share some here as well to show people who might not click through what can be made with this.

    1 reply
    0
    None
    MozziByterandofo

    Reply 24 days ago

    Many thanks for the feedback, I will embed some gallery examples, and a couple more videos to help explain things better.
    Just getting the hang of the editor and layout etc. so its work in progress and your suggestions are very helpful....