ITunes Arduino Controller (Mac)




Introduction: ITunes Arduino Controller (Mac)

Make a simple controller for iTunes with Arduino and AppleScript.

With this code the Arduino uses three pushbuttons and a rotary encoder to control prev/next song, play/pause and volume, but you can easily add more buttons or touch sensors to control other functions.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: What You Need

2x pushbuttons

1x rotary encoder (with pushbutton)

1x LED

1x 1K resistor

2x 220nf caps

1x Arduino

1x protoboard

Jumper cables

You will need the free software CoolTerm to read data sent by the Arduino with the AppleScript.

Step 2: Circuit

Step 3:

1- Open the arduino code and download it to the Arduino.

2- Install CoolTerm

3- Open CoolTerm, click Options, click Re-Scan Serial Ports, set everything as in the image.

The port can be different, it will be something like usbmodem, which is the Arduino.

When you finish the configuration click OK and then click Connect.

4- Open the AppleScript in the Script Editor. To run it click the Play button.

5- Now you can use the controller.

Automation Contest

Participated in the
Automation Contest

DIY Audio and Music Contest

Participated in the
DIY Audio and Music Contest

Be the First to Share


    • Backyard Contest

      Backyard Contest
    • Silly Hats Speed Challenge

      Silly Hats Speed Challenge
    • Finish It Already Speed Challenge

      Finish It Already Speed Challenge



    3 years ago

    What model of rotary encoder did you use?