Shop OBEX P1 Docs P2 Docs Learn Events
parallax servo controller, code? - Page 2 — Parallax Forums

parallax servo controller, code?

2»

Comments

  • PARPAR Posts: 285
    edited 2006-03-08 01:44
    magi said...
    I have now changed the transmitter to send 2400 baud, 8 data bits, 2 stop bits and no parity bit.
    So I for now downt need to send SBR.

    I have a IF232
    http://www.equinox-tech.com/test/details.asp?ID=102
    and I will try to use it between rs232 and PSC.

    Maybe it fix the problem. [noparse]:)[/noparse]
    OK, assuming that the IF232 produces the right signal levels (I couldn't locate the device's specs or user manual), then·given the connector shown on http://elmicro.com/de/ifmodule.html#stecker, maybe Jon could indicate how you can acquire the circuit·information you need to wire/connect the two: Jon stated, "While not in our documentation, we have made that circuit available for those [noparse][[/noparse]advanced] customers who want to build it." ?

    PAR

    Maybe this is the circuit which Jon was referring to: http://forums.parallax.com/attachment.php?attachmentid=40285

    Post Edited (PAR) : 3/8/2006 2:14:03 AM GMT
  • magimagi Posts: 35
    edited 2006-03-08 02:14
    I have probably a stupid question.
    Am I to connect the transmitter to the 9 pinns in the RS232 of IF232 or
    the 10 pinns on the circuit board of the IF232?

    I guess its the transmitter to the 10 pinns on the circuit board.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Please start United Religions , UR , for gods sake.. [noparse]:)[/noparse]

    Post Edited (magi) : 3/8/2006 2:50:15 AM GMT
  • PARPAR Posts: 285
    edited 2006-03-08 04:31
    magi said...
    I have now changed the transmitter to send 2400 baud, 8 data bits, 2 stop bits and no parity bit.
    But it didnt help eighter.
    If the PSC is like (most?, all?) other Parallax things, it'll need one stop bit, not two.
    PAR
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2006-03-08 05:29
    Two stop bits will do no harm.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • magimagi Posts: 35
    edited 2006-03-09 01:49
    Hi.

    I have now dubble checked everything with competent people and I am afraid I have broke the PSC.

    The red light is on but the green light is not reacting to sent code.
    The servo go to moddle position when turned on.
    It works with Mini SSC so it must be either IF232 or PSC.
    Can I test it in some way with multimeter?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Please start United Religions , UR , for gods sake.. [noparse]:)[/noparse]

    Post Edited (magi) : 3/9/2006 1:57:55 PM GMT
  • magimagi Posts: 35
    edited 2006-03-09 15:13
    Hi everybody.

    My PSC works perfect now.

    It was my fault.

    But without your wounderful help I wouldnt make it.

    Thanks a million...... [noparse]:)[/noparse]

    Regards Magi

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Please start United Religions , UR , for gods sake.. [noparse]:)[/noparse]

    Post Edited (magi) : 3/10/2006 2:43:19 AM GMT
  • PARPAR Posts: 285
    edited 2006-03-11 01:47
    magi said...
    Hi everybody.

    My PSC works perfect now.
    It was my fault.

    But without your wounderful help I wouldnt make it.
    Thanks a million...... [noparse]:)[/noparse]
    Regards Magi
    Well then. please tell us what problem we should have been trying to solve ?!

    I.e., what _was_ the real problem?

    PAR
  • magimagi Posts: 35
    edited 2006-03-11 12:19
    Well the send and reciever wires were to change place from RS232 to IF232.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Please start United Religions , UR , for gods sake.. [noparse]:)[/noparse]
  • magimagi Posts: 35
    edited 2006-03-21 10:21
    Hello again.

    I am trying to recieve data from the PSC but it doesnt seem to work as I thought.

    Can somebody tell me what I do wrong?

    I send this to activate PSC to send back data:

    parent.ram_bbb.location.href = http://192.168.0.169/axis-cgi/com/serial.cgi?write=2153435253500c0d;

    and it seem to work. But I dont seem to be able to recieve data from the PSC.
    I send this to try to recieve data:

    parent.ram_bbb.location.href = http://192.168.0.169/axis-cgi/com/serial.cgi?read=3&timeout=5000;

    but the timeout is timing out all five seconds so it seems like it doesnt recieve data.

    Can somebody give me a hint?

    Regards Magi

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Please start United Religions , UR , for gods sake.. [noparse]:)[/noparse]

    Post Edited (magi) : 3/21/2006 11:04:26 AM GMT
  • magimagi Posts: 35
    edited 2006-03-23 11:51
    Hello.

    I try also to get back data from the PSC but the manual dont say how to connect it to an RS232.
    I use a IF232 between and can send data to the PSC by connecting pin RXD to I/O, but I was warned to connect data back to RS232
    becouse I have to connect I/O on PSC to both RXD and TXD.
    http://elmicro.com/de/ifmodule.html#stecker
    But someone said that if I used a 1 kohm between RXD and I/O I could then connect I/O to RXD.

    Is this ok?

    Regards Magi

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Please start United Religions , UR , for gods sake.. [noparse]:)[/noparse]
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-03-23 17:26
    The codes you are sending are not for a BASIC Stamp, therefore it is unlikely you will find many people that can help you.· CGI is not supported by Parallax.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
Sign In or Register to comment.