Controlling video trough potentiometer connected to arduino
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,
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.
Because I feel so bad for misreading your original post:
----------begin_max5_patcher---------- 413.3ocuTFzaBBCEG+L7onom1RTGsFTytsrS6zN3wEyRAdBcAd0PqYtY769f VHpSNfyoGnj2q+4892e7R256QiTa.Mk7H4Mhm2VeOOap5DdMwdzBwl3bg1Ji FqJJ.zPG31y.aL17yALgXxjZxRYo1PtKNSfo.QCwppcv0EQPIYopjrRhMg22 VkpPIlCFaKX6SpVaZyFzjcoBMnn.rM8oRoHusHqDl3LIl9dIDabGI1jvQACH LdP8qwAr5W0AjEskqLMxo0JY+B6.QxDa2TQeLbJ8.enkea8AiOJnN6Ne+5kA 8DkH7YUIOgjkUmZf7.+LfC+u.moV1vY1ia3onwUeyWq.mdJcP0SWPY70GJuN +4gMfQfhbU5sgNrYtgA1kfG90GOUZVKQUmPg2ITXW.TBciLS5AS5hGr+QdT. ZsHENAHtgjWPMgSX2Hr3tkY1X2fy4ikvdvE6GRyk3uu01Zq57GCKsZcYbaaa FFI6cVBnMRTXjJ7.MiORSlLIAvCuCtPlrRIQSiEHK57GWecDqGNheacTXOrD 6BrTUvN+evlB7RG -----------end_max5_patcher-----------
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.
Could it also be that it doesnt work on arduino Uno?
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.
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
By the way, I looked at your website; your doing some really inspiring stuff man!