Controlling video trough potentiometer connected to arduino

Mar 26, 2012 at 9:27pm

Controlling video trough potentiometer connected to arduino

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

#62610
Mar 26, 2012 at 9:44pm

http://www.maxuino.org/

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.

#226106
Mar 26, 2012 at 10:05pm

Because I feel so bad for misreading your original post:

– Pasted Max Patch, click to expand. –
#226107
Mar 27, 2012 at 8:43am

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.

#226108
Mar 27, 2012 at 9:34am

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

#226109
Mar 27, 2012 at 10:07am

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.

#226110
Mar 27, 2012 at 9:00pm

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

#226111
Mar 27, 2012 at 9:20pm

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

#226112

You must be logged in to reply to this topic.