max > servo controller SSC-32


    Jun 01 2007 | 3:23 pm
    hi,
    I

    • Jun 01 2007 | 4:21 pm
      i don't have SSC card or my own code at hand, but i think this should
      work. Basically, you have to trigger cr (carriage return, ascii 13) by
      hand, using "trigger 13" object. don't forget to put it on the left of
      spell, so that it triggers after spell outputs ascii codes.
      max v2;
    • Jun 01 2007 | 5:34 pm
      thanx, for your answer.
      but still just the green light blinks.
      I wonder why it should be so difficult: when I save the patch and reopen it, I get a $ instead of #. (may be the characters are not possible to send).
      the servos and the controller work with PD patch (see picture), so that I can send OSC, but I wanna make one patch in max/msp(including video tracking)
      I also have installed "prolific usb2rs232(PL2303_1.0.8.pkg)", but maybe there
    • Jun 02 2007 | 7:51 am
      i'm picking my computer, card, etc from the exhibition space today, so
      by the evening you should get small working patch.
      but, as far as i can see, serial object is not assigned to the right
      serial port. try sending message "print" to serial object. in the max
      window, you should see all available serial ports. try to guess which
      one is the right one, and use it in serial object instead of b. if
      this doesn't work, try other letters (by alphabetical order) , like c,
      d, e......
      also, check baudrate settings, parity, stopbit, etc
      good luck
      klif
    • Jun 02 2007 | 9:44 pm
      here's a basic patch. you'll have to change serial object argument to
      match your serial port, and also check that baud settings in serial
      object and SSC card are the same (on a card, you change baud setting
      via jumpers).
      sometimes there is a problem with # sign after saving max patch, if
      it's used in message boxes. i guess this is because max uses same
      symbol for assigning arguments to patchers. one of the possible
      solutions is to use sprintf object to format messages (instead $1 in
      message box, you use %ld in sprintf object).
      klif
      max v2;
    • Jun 03 2007 | 1:32 pm
      juhuuu!
      thank you so much for your help and patch.
      it was the sprintf, to translate # and P!
      great. it works now ;)
      andrea
    • Jun 03 2007 | 6:28 pm
      great!
      good luck with your project!