Public projects 2

PhaseMod Drone Synth (w/ Arduino Nano & Mozzi)

Project showcase by Daniel Sinderson

  • 4,653 views
  • 6 comments
  • 17 respects

Lo-Fi Arduino Nano Synth Modules

Project in progress by Daniel Sinderson

  • 7,325 views
  • 40 comments
  • 16 respects

Toolbox 2


Respected projects 1

Lo-Fi Arduino Nano Synth Modules

Project in progress by Daniel Sinderson

  • 7,325 views
  • 40 comments
  • 16 respects

  • PhaseMod Drone Synth (w/ Arduino Nano & Mozzi) 3 months ago

    Hi, I'm glad you're trying it out!

    The input on D3 is for an external trigger. It's an optional input in the code so that you could trigger the internal envelope with a 0-5V trigger from a different piece of hardware. It can safely be ignored.

  • Lo-Fi Arduino Nano Synth Modules 4 months ago

    Hi and thanks! Sorry to hear that you're getting noise though. The most likely culprit is the PWM frequencies which will be 7.8KHz or 3.9KHz depending on the output (which is irritatingly high pitched in either case).

    Which values did you use for the low-pass filter on the outputs? I made a mistake when uploading the schematics so the filter values of 47nF and 470 ohm won't filter the PWM as set in the code (fc is ~7204Hz with these values). The updated filter values are 0.1uF and 1K ohm (for an fc of about 1591Hz). I made a note in the project but I should really get around to uploading new schematics. This is my bad.

    If you've already soldered things in place, it might be worth seeing what kind of signal you get with a higher PWM frequency before you start desoldering. Go to the setup() function in the code and replace this

    TCCR0B = TCCR0B & B11111000 | B00000010; // set PWM freq on pin 5/6 to ~7.8kHz
    TCCR1B = TCCR1B & B11111000 | B00000010; // set PWM freq on pin 9/10 to ~3.9kHz
    TCCR2B = TCCR2B & B11111000 | B00000010; // set PWM freq on pin 3/11 to ~3.9kHz

    with this

    TCCR0B = TCCR0B & B11111000 | B00000001; // set PWM freq on pin 5/6 to ~62kHz
    TCCR1B = TCCR1B & B11111000 | B00000001; // set PWM freq on pin 9/10 to ~31kHz
    TCCR2B = TCCR2B & B11111000 | B00000001; // set PWM freq on pin 3/11 to ~31kHz

    If neither of these things work just let me know. Good luck!

  • Lo-Fi Arduino Nano Synth Modules 5 months ago

    Got it. Yea, the libraries are
    1. AceButton v1.4.2
    2. Encoder v1.2 (and yea, it's the PJRC Paul Stoffregan one)
    3. Adafruit_NeoPixel

    I'll have to add all of this in the main text of the project. Thanks for sticking with it!

Add projectSign up / Login