What is Arduino?

Arduino is a Micro Controller which lets us connect many types of hardware gear like LEDS, Motors, Knobs, Faders, Sensors (proximity, humidity, light etc) and even Touch screens. We can then use the computer to program the Arduino to control or react to the connected hardware in any way we want. The possibilities are endless.

There are many types of Arduino boards with different capabilities. For this video we are using the Arduino Uno R3.

Check out this list of cool Arduino projects.

Arduino_Uno_-_R3

You can find the Arduino in most online and retail electronic stores like:

Sparkfun

Adafruit

Digikey

 

But for the Arduino to do what we want it to do we need to program it using the free Arduino software.

This requires some programming knowledge and an understanding how the Arduino environment work and how you can take advantage of different boards and libraries.

 

Fortunately we don’t really need to know any programming when using the new Connection Kit.

 


Programming? No Need Thanks to Ableton

Ableton has released the Connection Kit. A free collection of Max for Live Devices that lets us communicate with different types of hardware like Little Bits, Lego Brainstorms, Leap Motion and of course Arduino.

This allows us to communicate with all those great development environment using only Ableton Live and Max for Live.

Setting up the Arduino in Ableton Live:

  1. Make sure you have Max for Live installed
  2. Install Connection Kit
  3. Connect the Arduino to the Computer through USB
  4. Run the Arduino Software
    • Under tools in the top menu make sure the Arduino Uno is selected under Board.
    • Then again under tools -> port select the Arduino (USBmodem)
  5. Go to Files -> Examples -> Firmata and select Standard Firmata
  6. Click the upload button to upload the sketch to the Arduino
  7. That’s it now you are ready to control the Arduino with Ableton Live!

 


Using Motors with Arduino

There are different types of motors for different types of applications. We are going to use the Servo Motor which allows you to spin the head by 180°. This is great for building a drum robot to mimic the movment of our wrist.

Servo motors comes in different sizes. For this demo we are using a micro servo like this one.

Servo motors come with three wires.

  1. Brown to Ground
  2.  Red to 5V
  3. Yellow to a Digital input with a ~ next to it. In the video we went with number 9.

servo example

 

You can then attach a drum stick or even a small pen to the servo using glue, zip ties or any other way you can think of.

For this servo we don’t need an external power source as the Arduino can handle it through USB. But if you want to use bigger more powerful motors you might also need an external power source like batteries.


Sequencing a Motor from Ableton Live

In Ableton Live, Load the Arduino Max for Live device under the Connection Kit Live Pack.

Arduino Device load

 

Connect the Arduino to the computer and select the port (USBmodem)

Select Arduino Port

 

Load an Empty Audio Effect Rack and open up the Macro Controls

macro arduino

 

On the Arduino Device switch to the Digital tab and change the Digital input you are using (D09 in this example) for the motor to Servo.

servo type arduino

 

Then, Map the D09 to the first Macro on the Audio Effect Rack

ardunio macro map

 

Now you can move the Macro to control the Servo. But we want to use MIDI clips to sequence the motor so there are a few more steps.

Load a sample into a Drum Rack (or a single Simpler) like a clap or a kick. Then load the Envelope Follower(Max for Live Essentials).

 

Now every time you play the sample the Envelope Follower creates an envelope. Now map the Envelope Follower to the same Macro on the Audio Effect Rack we mapped the Arduino to. In other words the empty audio effect rack 1st Macro should have both the Envelope Follower and Arduino mapped to it.

arduino clap

 

We now have a working drum robot we can sequence from MIDI clips. You can change the gain on the Envelope follower to control how much spin the motor have. Adjust that to your needs.

Attach a drum stick to the motor and mount it where ever you want. On real drums or controllers!

 

You might also stumble upon latency issues. This can be solved with the track delays.

track delays


 

Have you build something with the new connection kit? Please share with us in the comments.

About the Lab

Beat Lab Academy™ offers beginner to advanced music production courses in a comprehensive 6 months program. We're the 1st school to offer computer music production in a collaborative platform.

We offer award-winning instructors and a unique, dynamic classroom featuring circular group learning to engage students to make music collaboratively in a hands-on environment.

Beat Lab is located in Eagle Rock, CA

Come check out our classroom!

4 responses on "How to Build a Drum Robot - Ableton Connection Kit"

  1. Hey,
    I do all what you say, but no connection with Arduino. Du you have some more tips to make connection?

    Lars

  2. Hi I’ve run through this exactly and I can see the signal coming through to the servo on the arduino section on the pin but the servo just rumbles and never moves…

    Any tips

  3. Im following these steps except that I am using an Arduino 101 and it doesnt seem to be working. Anyone have any advice?

  4. I did everything shown in the vid – do I have to adjust something in the midi section of ableton (preferences?). servo works with arduino test program. but no response with the connection kit ardunio.device. Little help/idea would be great! THX!!!!

Leave a Message

top

© 2018 Beat Lab Academy

X
X
About The Lab
PGlmcmFtZSB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBzcmM9Imh0dHBzOi8vd3d3LnlvdXR1YmUuY29tL2VtYmVkL1g5UXZtUG5TOHEwP3JlbD0wJmNvbnRyb2xzPTAmc2hvd2luZm89MCIgZnJhbWVib3JkZXI9IjAiIGFsbG93ZnVsbHNjcmVlbj48L2lmcmFtZT4=
Signup for Free Workshops and Ableton Goodies
Want More Pro Tips?
Enter name and email below and we'll get you lit
Foundation of Music Theory
  • Rhythm Theory
  • Using Semitones and Intervals
  • Diatonic composition
  • Harmonizing and building chords
  • Styling
Learn the language of music to help you make the music you want to make, To communicate with other musicians and reveal the magic behind your favorie songs.
----------------------
Progremming Beats
  • How Drum Racks work
  • Choosing the right samples
  • How to use Syncopation
  • Layering Techniques
  • Drum Processing methods
Sequence drums in any style using Ableton Live's Drum Racks. Learn tricks and techniques to take your beats to the next level.
----------------------
Ableton Live 101
  • Why Ableton Live?
  • Session vs. Arrangement
  • Recording & Editing Audio
  • Live's Warp Engine
  • Using & customizing MIDI controllers
Experience the leading software today for modern music production.
Demystify the world of Ableton Live to make any style of music.
----------------------
Thank you! We'll contact you shortly with more info and discounts.
Sampling
  • History of Sampling
  • Hardware Samplers
  • Simpler vs. Sampler
  • Sampling your own instruments
  • Slicing Samples
Explore the endless world of sampling.
Add organic texture or make it into an instrument
Everything is possible with sampling
----------------------
Using MIDI Controllers
  • Which Controller Should I Get?
  • Setting Up
  • Expression Controls
  • Advance MIDI Utilities
  • Playing Live Beats
Choose the right MIDI controller for your production/live needs.
Use MIDI remote scritps to enahce your workflow
Learn tricks and tips to customize your controller
----------------------
Recording & Warping
  • Choosing the right mic
  • Setting up recording session
  • Working with other musicians
  • Time Stretching
  • Live's editing tools
Learn how to setup and record mics and instruments in Ableton Live.
Master the warp engine for syncronizing audio and sound design
----------------------
Class Jams
  • Play in a band with your computer
  • Try out different instruments and MIDI controllers
  • Improvise on any given scale
  • Develop your ear for melodies, harmonies & Basslines
Play live with your classmates in the first modern ClassJam environment.
Develop collaboration skills, performance focus and improvisation techniques.
----------------------
Structure & Styling
  • Active Listening
  • Pre-Determined Arrangement Techniques
  • BPM Ranges
  • Song Segments and how to use them
  • Finishing a full song
Get your own sound from analyzing and deconstrucing modern song structures.
Learn different musical genres to help you achive your own unique sound.
----------------------
YOUR FREE DOWNLOAD
Please provide your name and email
  We hate spam as much as you. You will only get valuble content delievered.
Get Notified About Future Events
Music Theory 202
  • Parallel Harmony
  • Relative Scales
  • Pentatonic & Blues Scales
  • Jazz in Modern Music
  • Voicing Techniques
  • Borrowd Chords
Progress your composition skills by learning advanced music theory methods.
You will get a deeper understanding of how produce strong harmonies, melodies and arrangements.
----------------------
Ableton Live 202
  • The Launchbox
  • Modulation Vs. Automation
  • Session View Production Techniques
  • Advance Audio & MIDI Editing
  • Clip Envelopes
Learn advance Ableton techniques to take your production to the next level.
Everything is possible with Ableton Live let your imagination be your guide.
----------------------
Styling
  • Analyzing Electronic vs. Acoustic music
  • Odd Time Signatures
  • Arrangment Styling
  • Sound Selection
  • Deconstructing Methods.
Learn the key characteristic of all popular music styles.
You have a specific style in mind you want to produce? We'll show you all the secrets.
----------------------
Synthsis
  • Analog vs. Digital
  • Synth Signal Path
  • Oscillators, Filters, Envelopes and LFOs
  • Advance Modulators
  • Reverse Engenieering
Take the sounds in your head and create them in the computer using synthesizers.
Demistify the vast world of virtual synths.
----------------------
Sound Design
  • Advanced Time Stretching
  • Psychoacoustics
  • Fractal Soundscapes
  • Experiments in Sound
  • Field Recordings
  • The Art of Layering
Develop creative thinking by using multiple techniques to create unique and complex sounds.
Become a sonic master.
----------------------
Collaboration
  • Ableton Link
  • Class Production Sessions
  • Project Managment
  • Real vs. Virtual instruments
  • Live Performance Routines
  • Rewiring
Collaborate with class mates with in-class synchronization.
Develope the skills needed to productevlly work with other musicians.
----------------------
Remixing
  • Choosing The Right Song to Remix
  • Flipping a Sample
  • Remixer Tools
  • Stems and Multi-Tracks
  • Preparing your Original Production for Remixing
Learn the art of remixing from top remixers in the industry.
Take your favorite songs and filp them with your own style.
----------------------
Live Performance
  • DJing in Ableton Live
  • Preparing your Songs for Live Performance
  • Playing with a Band
  • Live Looping
  • DIY Controllers
Use the computer as a live musical performance tool.
DJ or play your own orgianls in any way you can imagine.
----------------------
Max for Live
  • Max for Live Essentials
  • Modifying Exciting Devices
  • Creating your own Devices
  • Ableton as a Modular Environment
  • Live's API
  • VJing using Jitter
Explore the infinite potenital of Cycling 74's and Ableton's Max for Live.
Control Live in ways that weren't possible before.
Anything is possible with Max for Live
----------------------
Mastering
  • Win the Loudness Wars
  • Mastering Song vs. Album
  • Prepering Your Music for Distribution
  • Understanding the importance of Dynamic Range
Master your songs to sound as good as possible on as many playback systems as possible.
Learn the secrets on how to make your songs loud and punchy.
----------------------
Finger Drumming
  • Choosing the Right Controller
  • Sound Design for Live Performance
  • Building Custom Racks
  • Using DIY Controllers
  • Planning your Controller's Configuration
Humanize your production or impress your audience on stage.
Build your own sound packs and develope your live performace skill with finger drumming.
----------------------
Live Looping
  • Hardware Looping
  • Using Live's Looper
  • Live Looping in the Session View
  • Automatic Loop Recording using MIDI Scripts
  • Setup and Routing
Master the art of live looping with virtual instruments, conventional instruments and mics.
Come up with quick musical ideas, build your songs live on stage.
----------------------
Online Presence
  • Social Media
  • How to Reach Out to Labels
  • Booking Shows
  • Getting Signed
  • Getting more Followers
  • Making a Music Video
Develop your artist brand and get your music heard by the right people.
Book shows, tours and festivals.
Find the right label and make music your career.
----------------------
Entertainment Law
  • Clearing Samples
  • Commercial vs. Indie Distribution
  • Getting your music on TV and Film
  • Working with a Manager
  • Copyright your Music
  • Performance Rights
Understand the legallty behind the music industry.
Get the most out of your shows and releases. Maximize income streams.
Distribute your music the right way.
----------------------
Production Sessions
  • Class Jams
  • Live Routines Assignments
  • Additive Composition
  • Produce other Classmates
  • Online Collaboration Methods
  • Musical Chairs
Collaborate in class.
Get private mentorship sessions from Beat Lab's instructors
Learn how to add part of yourself creatively to an exciting song.
----------------------
Mixing
  • Understanding How Sound Work
  • Gain Staging
  • Controlling the Stereo Field
  • Using Compressor & EQs
  • Using Time Based Effects
  • Bussing and Pre-Mastering
Master the art of sound mixing.
Make your music sound more clear, punchy and loud.
Learn the techniques and tools to help you take your music to the next level.
----------------------
NEW CLASSES START NEXT WEEK!
Mondays-Wednesdays: 4/25/16
Tuesdays-Thursdays: 4/26/16
Now Offering Day Classes
Our certification program is now available during the day. 6 months of intensive, comprehensive music production classes. Fill your email below and we'll send you ALL the details. Dates, scheduling, pricing & payment plans available.
We would never spam or give your email to anyone
Free Class Visits Available
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
Your Free Download
we hate spam
GET FREE CHEAT SHEETS, TUTORIALS AND MUSIC TECH NEWS!
We got the exclusives
We would never spam or give your email to anyone
Free Class Visits Available
THANK YOU!
WHERE DO YOU WANT TO GO NOW?
Free Class Visits Available