Shop OBEX P1 Docs P2 Docs Learn Events
Parallax Servo Controller Interface — Parallax Forums

Parallax Servo Controller Interface

homesch00lkidhomesch00lkid Posts: 20
edited 2005-03-25 18:54 in Robotics
Is there any way to communicate with the Parallax Servo Controller over the I2C bus? We are trying to interface it with the Acroname Brainstem GP 1.0 while the serial port is used for PC communications.

Comments

  • allanlane5allanlane5 Posts: 3,815
    edited 2005-03-25 18:54
    You can use any pin on the BS2 for serial purposes, especially to a +5 volt serial device like the PSC.

    So:
    PSC_Pin CON 2

    SEROUT PSC_Pin, xxxx, [noparse][[/noparse]"!SC", ...]

    You can use SEROUT and SERIN on the same pin, according to the PSC docs.·

    And ANY BS2 pin can be the 'PSC-Pin' above.· This example used pin 2.


    Post Edited (allanlane5) : 3/25/2005 7:01:05 PM GMT
Sign In or Register to comment.