Results 1 to 7 of 7

Thread: SSC-32 issues...it works with the lynxmotion terminal but not with anything I make :-(

  1. SSC-32 issues...it works with the lynxmotion terminal but not with anything I make :-(

    So My robot is almost done, finished routing all the parts and what not. But now I've reached a road block: My ssc-32 will only make the servos move if I use the lynxmotion terminal program. I've tried on my own in C++, realbasic and then several times with just sending a txt file via the command prompt. every time I send something the led blinks, which means its getting the string, but it wont read it or move the servo to the position I want it to. Some samples of the string I've been sending are

    #0 P1500 <cr>

    and then

    #0 P2000 <cr>

    And I even tried

    "#0 P2000 <cr>"

    to see if the "" would help and still nothing. The board only seems to want to work with that lynxmotion program. I have checked the jumpers several times and I know it isnt an issue with my setup because I can make servos move with the terminal app. Help please :-D

  2. #2
    Join Date
    Apr 2008
    Location
    Sacramento, CA, USA Area
    Posts
    5,341
    Rep Power
    178

    Re: SSC-32 issues...it works with the lynxmotion terminal but not with anything I make :-(

    Have you checked your baudrate/parity/start-stop bits/flow control?

    The SSC32 can be run over a broad baudrate selection, but it needs both sides setup first.

    Check page 2 of the manual, "Shorting Bar Jumpers and Connectors at a glance", third row.

    Also, are you explicitly sending a carriage return (0d13 or 0x0D or 015, NOT explicitly "<cr>") at the end of the string?

    In C++, you'd terminate with a "\r" NOT a "\n", ie a carriage return <cr>, not a new-line <lf>
    I Void Warranties´┐Ż

  3. Re: SSC-32 issues...it works with the lynxmotion terminal but not with anything I make :-(

    Oh I've been returing with "<cr>" am I not supposed to? :-P shows how much I know. And yes I have checked the Baud rate and stop bits and flow control. Ill try the carriage return change then. which one would I use for realbasic?

  4. Re: SSC-32 issues...it works with the lynxmotion terminal but not with anything I make :-(

    I GOT IT TO WORK! HURRAY! Thank you Adrenalynn! I just had to add Chr(13) instead of <cr> (silly me)

  5. #5
    Join Date
    Apr 2008
    Location
    Sacramento, CA, USA Area
    Posts
    5,341
    Rep Power
    178

    Re: SSC-32 issues...it works with the lynxmotion terminal but not with anything I make :-(

    Cheer!

    You could also be tricky and save yourself some work.

    Dim cr as String
    cr=EndOfLine.Macintosh

    Then instead of having to do a "command" + Chr(13) you could do a "command" + cr

    The "EndOfLine.Macintosh" is important because a windows EOL (End of Line) is decimal 13 + 10. The other predefine is "EndOfLine.Unix" which is decimal 10.

    I'm not RealFamiliar with RealBASIC these days, so there may be changes I'm not familiar with. I'd be more helpful with C++, C, C#, VB. I think I haven't touched RealBASIC since it was xbasic about ten years ago...

    [edit]
    Actually, now that I think about it, I believe RealBASIC has a TextOutputStream class. Within it, it has a "WriteLine" Method. The method would automatically insert a defined delimiter at the end of a line. You might want to search the docs for WriteLine and TextOutputStream
    Last edited by Adrenalynn; 07-18-2008 at 01:12 PM.
    I Void Warranties´┐Ż

  6. #6
    robot maker Guest

    Re: SSC-32 issues...it works with the lynxmotion terminal but not with anything I make :-(

    might need some help on day on programming still learning ,have almost all programming software there is,given to me by some friends of mine and from work
    visual c++6.0 like the most,only one i dont have is picbasic pro,i like it because it has x10 control built in,and heard easy to learn,have c# ,wiring because i have the board and same software for ardurio board, visual basic 6.0 ,winavr,labview pro,liberty basic,visual c++ 2005,micro studio and basic stamp ,propellor and a few others only i need to get is lisp ai software learning the book now,but it $1000 ,but my neice can get it from school lot cheaper,so in few month or less going to get it
    some of software was a free download and

    Quote Originally Posted by Adrenalynn View Post
    Cheer!

    You could also be tricky and save yourself some work.

    Dim cr as String
    cr=EndOfLine.Macintosh

    Then instead of having to do a "command" + Chr(13) you could do a "command" + cr

    The "EndOfLine.Macintosh" is important because a windows EOL (End of Line) is decimal 13 + 10. The other predefine is "EndOfLine.Unix" which is decimal 10.

    I'm not RealFamiliar with RealBASIC these days, so there may be changes I'm not familiar with. I'd be more helpful with C++, C, C#, VB. I think I haven't touched RealBASIC since it was xbasic about ten years ago...

    [edit]
    Actually, now that I think about it, I believe RealBASIC has a TextOutputStream class. Within it, it has a "WriteLine" Method. The method would automatically insert a defined delimiter at the end of a line. You might want to search the docs for WriteLine and TextOutputStream

  7. #7
    robot maker Guest

    Re: SSC-32 issues...it works with the lynxmotion terminal but not with anything I make :-(

    also what i like better then ssc-32 is servocenter 3.1,they have usb and rs232 and 14 bit resolution for 16,384 postions ,but only 16 servo,s but good for most projects and can also add as many you need,i mostly buy the chip and add usb board to it

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Kondo web page translated.
    By Droid Works in forum Humanoids, Walkers & Crawlers
    Replies: 4
    Last Post: 10-06-2007, 05:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •