Controlling video trough potentiometer connected to arduino

Thingman's icon

Hi,

Im new to the maxmsp world but i've a probably not so complicated issue. I want to control a video by vizzie with an potentiometer which is connected to my arduino uno. I have downloaded and installed maxuino to make this connection, but somehow there is no interaction between the potentiometer(on A2) and max msp anyhow. I've uploaded the firmata to the arduino, Does anybody can tell me how i should run the osc route? Anyone who can help me?

Many thanks in advance,

Joost

Medd's icon

Works a charm.

EDIT: sorry, classic case of 'not reading the post properly' there. If you connect the outlet of the Maxuino subpatcher to a [print] object once you've set up your potentiometer, you should be able to see the message it outputs and give [route] or [OSC-route] the suitable arguments

You will need to send a message (detailed in the help file) to the Maxuino subpatcher first in order to 'turn on' the pin you're using too.

Medd's icon

Because I feel so bad for misreading your original post:

Max Patch
Copy patch and select New From Clipboard in Max.

Thingman's icon

Hi thanks for the quick respond. I can see what you mean, but i can't turn on the pin im using(A2). In the maxuino.help.maxpat file I cannot doubleclick on the "maxuino-gui" button.

Thingman's icon

Could it also be that it doesnt work on arduino Uno?

Medd's icon

Here's an old post about the Uno: http://www.maxuino.org/archives/83

Also, if you're unable to open the Maxuino GUI, make sure that the entire maxuino-009 folder is in your searchpath.

Thingman's icon

Thanks dickmedd, i think I might have a problem with the serial ports actually. My arduino is on COM4 but suddenly disappears every now and then. Randomly it seems. Also a problem with uploading to my arduino sometimes; that it suddenly is not able to because it says that the COM4 is in use... Really strange

Thingman's icon

By the way, I looked at your website; your doing some really inspiring stuff man!