Making Max/Ableton talk Firmata/Arduino

Getting Started with Maxuino Video Tutorials!

Posted: March 24th, 2014 | Author: | Filed under: Tutorials, Updates | 14 Comments »

At long last we are following up on the heels of the M4L videos and now adding a video series designed to get you going with Maxuino. The 4 part series takes you thru loading Firmata to using the Maxuino GUI. We hope people will find these helpful! More to come, specifically tutorials on stepper motors, i2c, the great new save functionality, and more. Let us know if there is a particular topic you want to see us explain via video.
See the series here on Vimeo or on the Maxuino Videos Page.

14 Comments on “Getting Started with Maxuino Video Tutorials!”

  1. 1 Brent Dixon said at 4:14 am on April 18th, 2014:

    Love these tutorials, so helpful. Thank you!

    Can you share an example of a patch that uses Maxuino? I’m still not sure how to integrate this with a new patch. For example, with Arduino2Max you just create an [r a3] object to receive data from analog pin 3. How does this work for Maxuino?

  2. 2 maxuino said at 3:55 pm on April 18th, 2014:

    We are very intrigued by your suggestions and working out how to craft the sort of send and receives you describe. Stay tuned and thanks for the feedback!

  3. 3 Brent Dixon said at 9:23 pm on April 18th, 2014:

    Awesome! I guess my more immediate question is how to create a patch that interfaces with Maxuino? The tutorials were great at showing how to set up Maxuino, and use it to directly to control the Arduino. But how does that translate into use with other patches? Thanks for making such a great tool.

  4. 4 Amit Fernandes said at 6:19 am on June 3rd, 2014:

    Also please make a tutorial of using Maxuino with shift registers ICs like 74HC595!

    Is it even possible? I ordered a few of the IC’s and will try to edit arduino_test file to try to figure it out.

    Thanks so much for Maxuino!

  5. 5 maxuino said at 2:43 am on June 5th, 2014:

    Brent, much like the different patches in the Maxuino.maxhelp you just need to add a Maxuino object and then send it the various send and recieves as demonstrated. I understand the core of what you are asking, which is a tutorial that starts from nothing and adds to a regular patch – I will whip that up after my current trip in July, but I encourage you to give cutting and pasting from the help file what you need.

  6. 6 maxuino said at 2:45 am on June 5th, 2014:

    Amit, I will try, tho as Firmata is not tuned to use shift registers and we rely on Firmata for the base abilities of Maxuino, any work with shift regiosters and max would be limited by clocking pulses sent over the serial connection rather than being hardware based and so might be slow and buggy.

  7. 7 ben said at 7:14 pm on February 13th, 2015:

    So is the idea that you use Cycling74’s Max (with the MSP and Jitter plugins) to control an Arduino that’s running Firmata?

    MaxuinoB017 is the application that runs on the Max environment? What do CNMAT’s Max/MSP/Jitter externals do?

    Also, how does Ableton Live fit into all this? Can you open Maxuino in Ableton and connect to an Arduino without any special Ableton hardware?

    Is there any comparison between Maxuino and openFrameworksArduino , netlabtoolkit, SystemModeler, FlowCode, etc?

    Sorry for so many questions, I’m just getting started but I’m looking for a way to create audio/video effects using hardware connected to a PC!

  8. 8 maxuino said at 2:29 am on February 17th, 2015:

    Ben, to answer some of these great questions:
    – you have the basic idea, a brigde from Max to Arduino (running firmata. It allows those who do max to skip the need to write their own arduino code to get started in hardware.
    – the maxuino patches run in the max environment and use some of the CNMAT externals to help with translating OSC commands as an option for mass commands to maxuino
    – the M4L object is tailored for the Live environment so you can connect to your arduino over usb and start playing with leds, sensors and motors using signals from inside Live, no extra hardware needed.
    – Maxuino is a tool similar to all of those, the big difference being that it operates in the Max environment and so is an enabler for those that use this toolset. There is no reason many of these options could do the things you are asking about, it comes down to your tools of choice.

  9. 9 Fridtjof said at 11:56 am on March 11th, 2015:

    I am trying to get my Ping))) range sensor from Parallax to connect to Max/msp and control an effect on an image. I am (unfortunately) very new to both arduino and Max, and so far I’ve had no luck with the Maxuino patches.
    Any help out there?


  10. 10 Steven said at 2:20 pm on March 22nd, 2015:

    Hi, I’m trying to use Maxuino to control 5 servos through the Adafruit servo shield that uses i2c communication. I’ve poked around here and on the Firmata site without luck. Could you please point me in the right direction?

  11. 11 maxuino said at 5:36 pm on March 22nd, 2015:

    it is a bit of a tricky task in this case. While Firmata can do i2c, there are a few things going on in this library you would also need to account for.
    In general, the idea is that you are “porting” the adafruit library to .js to use in a js object in max. then you would use maxuino to transmit those i2c commands to the arduino which then speaks directly to the adafruit board.
    Max-> .js version of the adafruit library -> maxuino -> firmata -> the adafruit sheild.
    To be frank, if it was me, I would not use maxuino and firmata and instead just write my own quick protocol to send simple commands to the arduino “[1,45]” might mean “[set servo #1, to a 45 degree angle]” – then you just need to make a basic decoder/translater on the arduino side and sending something like that from max to a serial object is very easy.
    This is assuming you just want to send from Max to the arduino/servos…if you have more complex 2-way communication needs, it gets tougher.
    I hope that helps?

  12. 12 maxuino said at 5:38 pm on March 22nd, 2015:

    Fridtjof, yes those sensors are a bit complex because you need to use a library to drive them from what I remember, you cannot just plug them in and get an analog signal in return. Since you need Firmata for Maxuino and it doesnt include a library for that sensor, it isnt compatible without some customization.

  13. 13 Maxuino with I2C ? said at 12:16 am on September 20th, 2015:

    I need some help with this project…. i’m trying to read data from a Adafruit Breakout board wich consist of a L3GD20 gyroscope and a LSM303 accelerometer/magnetometer connected to an Arduino Uno board, which shows info in the arduino’s serial monitor, but i haven’t found any information about the I2C protocol working with Max/MSP, so i was wandering if some of you have any info about this. I’ve tried the Maxuino approach but i haven’t had any success

    Thanks to anyone that can help i any way

  14. 14 Joseph said at 1:45 am on January 9th, 2016:

    Quick Question: I get sending messages to Maxuino to establish pin modes. I send these messages to make digital pins 2 and 3 as inputs. But I also need to make them INPUT_PULLUP which is easily done in the GUI as seen in this screenshot: . But how do I automate this with a message?

Leave a Reply