genuinequality

Download free music MP3s on genuine quality, the world’s largest online music catalogue, powered by your scrobbles. Free listening, videos, photos, The world’s largest online music catalogue, powered by your scrobbles. Free listening, videos, photos, stats, charts, biographies and concerts. stats, charts, biographies and concerts.

Wednesday, December 18, 2024

Getting Started with Daisy Seed

I've finally managed to get myself a Daisy Seed from Electro-Smith, so as is becoming usual, this is my "getting started" notes-to-self post. Warning! I strongly recommend using old or second hand equipment for your experiments.  I am not re…
Read on blog or Reader
Site logo image Simple DIY Electronic Music Projects Read on blog or Reader

Getting Started with Daisy Seed

By Kevin on December 18, 2024

I've finally managed to get myself a Daisy Seed from Electro-Smith, so as is becoming usual, this is my "getting started" notes-to-self post.

Warning! I strongly recommend using old or second hand equipment for your experiments.  I am not responsible for any damage to expensive instruments!

If you are new to microcontrollers, see the Getting Started pages.

What is Daisy Seed?

From the Daisy Seed product page on the Electrosmith website:

"Daisy is an embedded platform for music. It features everything you need for creating high fidelity audio hardware devices."

The key specifications are as follows:

  • ARM Cortex-M7 MCU, running at 480MHz
  • Stereo audio IO - 96kHz / 24-bit audio hardware (AC-Coupled)
  • x31 GPIO, x12 ADC inputs (16-bit), x2 DAC outputs (12-bit, DC-Coupled)
  • 1MB or 64MB option plus 8MB external flash
  • SD card, PWM, SPI, UART, SAI/I2S, I2C.

I've also picked up a "pod" which is a breakout board that includes the following:

  • 3.5mm stereo jacks for line level audio I/O, headphone output, and TRS MIDI input.
  • Built In headphone amplifier with dedicated volume control.
  • 2 Buttons, 2 RGB LEDs, and rotary encoder with push button.
  • SD Card Slot, and secondary USB micro port

There are a number of DIY experimenter style products that use the Daisy Seed. Here are a couple that might be worth a look (I've not used any of them):

  • https://www.synthux.academy/
  • https://www.pedalpcb.com/product/pcb351/

Just doing an image search for Daisy Seed synth and quite a few come up!

Getting Started

There are several ways to start programming the Daisy Seed, one of which is using an online, web-based programing environment. I've stayed with familiar territory and installed support into the Arduino IDE.

This requires the following steps as described in the Arduino version of the Getting Started Guide:

  • Add in the Arduino board URL for the STM32 core and install "STM32 MCU Based Boards" from STMicroelectronics.
  • Install the STM32CubeProgrammer from ST (requires email registration).
  • Add the location of the STM32 tools to the PATH. For my Windows setup this means adding: %ProgramW6432%\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin to the system PATH.
  • Install the DaisyDuino library using the Arduino Library Manager.

Unfortunately one thing that wasn't particularly clear as part of any of the above is that the STM32 core no longer supports the V1 strand of the Arduino IDE. I spent quite a chunk of the afternoon trying to work out why the build tools didn't seem to be able to find all the things they needed. Eventually I stumbled across some replies in the STM32 core forums to some problems that stated that V1 was no longer supported.

For my initial experiments, I rolled back the version of the Arduino STM32 Core to version 2.7.1, which was the last release that supported V1.

At this point I was finally able to use the Arduino IDE to download the blink example using the configuration as per the getting started guide, but summarised as:

  • Board -> Generic STM32H7 Series
  • Board Part Number -> Daisy Seed
  • USB Support -> CDC (Generic Serial supersede U(S)ART)
  • Upload Method -> STM32CubeProgrammer (DFU)

To upload requires a RESET on the board with the BOOT button pressed.

Eventually I just updated my Arduino environment to V2 for other reasons 🙂

DaisyDuino Examples

There are a number of example scripts as part of the DaisyDuino library, and a number of them are provided that support the Daisy Seed Pod.

The Pod provides buttons, LEDs, pots, an encoder and MIDI and audio circuitry and there is a full suite of examples here, available under Examples -> DaisyDuino -> Pod.

The non-pod related Daisy Seed examples are listed here and can be found under Examples -> DaisyDuino -> Seed.

I downloaded the pod/SimpleOscillator example which does the following:

  • Encoder selects one of four waveforms.
  • Pot 1 selects the frequency.
  • Two buttons change the octave.

Full details can be found here: https://github.com/electro-smith/DaisyExamples/tree/master/pod/SimpleOscillator

Other examples for the Pod include:

  • ChordMachine - "A simple sine wave chord machine. Cycle through different chord types and inversions."
  • Encoder - change the LED colour using the encoder.
  • EuclideanDrums - A kick and snare twin sequencer.
  • Looper - shows how to loop incoming audio.
  • Midi - MIDI controlled oscillator and filter.
  • MultiEffect - "Simple effects for incoming audio. Includes reverb, delay, and downsampling."
  • MusicBox - "Generate random melodies."
  • SimpleButton - "Example showing basic usage of pushbutton switches for momentary and latching behavior."
  • SimpleLed - "Example showing basic usage of RGB LED by mapping R/G values of LED 1 to knob."
  • SimpleOscillator - "Example showing a basic SimpleOscillator with controls."
  • StepSequencer - "Simple 8 step sequencer. Has controls per step for envelope decay, pitch, and step activation."
  • SynthVoice - "Simple Synth voice with resonant filter, self cycling envelope, and vibrato control."

Closing Thoughts

Whilst this has a whole range of IO and synth type examples, what I'm really interested in is the potential for processing audio via the audio input, so that is probably what I'll be looking at the most.

For such a (relatively) cheap device, this certainly has a huge set of examples and applications. I can see why so many people have started building these into other products.

I can already imagine producing a Daisy Seed version of some of my own PCBs for example...

I should probably take a proper look at the non-Arduino environments too - I've been meaning to have a look at Pure Data for a while, so maybe this could be an excuse for that.

Kevin

Comment
Like
You can also reply to this email to leave a comment.

Simple DIY Electronic Music Projects © 2024.
Manage your email settings or unsubscribe.

WordPress.com and Jetpack Logos

Get the Jetpack app

Subscribe, bookmark, and get real‑time notifications - all from one app!

Download Jetpack on Google Play Download Jetpack from the App Store
WordPress.com Logo and Wordmark title=

Automattic, Inc.
60 29th St. #343, San Francisco, CA 94110

Posted by BigPalaceNews at 1:18 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Search This Blog

About Me

BigPalaceNews
View my complete profile

Blog Archive

  • October (103)
  • September (112)
  • August (116)
  • July (96)
  • June (100)
  • May (105)
  • April (95)
  • March (131)
  • February (111)
  • January (104)
  • December (98)
  • November (87)
  • October (126)
  • September (104)
  • August (97)
  • July (112)
  • June (113)
  • May (132)
  • April (162)
  • March (150)
  • February (342)
  • January (232)
  • December (260)
  • November (149)
  • October (179)
  • September (371)
  • August (379)
  • July (360)
  • June (385)
  • May (391)
  • April (395)
  • March (419)
  • February (356)
  • January (437)
  • December (438)
  • November (400)
  • October (472)
  • September (460)
  • August (461)
  • July (469)
  • June (451)
  • May (464)
  • April (506)
  • March (483)
  • February (420)
  • January (258)
  • December (197)
  • November (145)
  • October (117)
  • September (150)
  • August (132)
  • July (133)
  • June (117)
  • May (190)
  • January (48)
Powered by Blogger.