tscales
May 30th, 2004, 02:11 PM
Since I have figured out that I can't transmit RF, I am trying to build a serial cable to connect from my PC to my Projector and control it that way. I admit, freely, that I am clueless. I will try to represent what I am trying to do here and see if anyone can help me. The documentation describes the pinout of the serial connector (6 pin female DIN) as:
http://www.scalesfamily.com/rs232_pin.gif
Then it describes the Connection settings as 19200,8,1,No stop bits.
So far so good. I went into Girder and setup the Generic Serial Driver with matching parameters (but don't know what to put in Handshake).
So I cobbled together a cable. Seemed like I should cross TX and RX. Is that right? I am assuming (maybe wrong), that the picture above is the female connector. So, I connected the bottom two pins to ground on the serial port (which I think is the upper left hole on the female DB-9). I connected the top right wire (TX) to RX on the female DB-9 -- which I think is the fourth hole on the top row. I connected the second on the right column (RX) to TX on the female DB-9 (third hole on the top row of the female DB-9).
Does that make ANY sense for my wiring?
I then setup a command and told it to use escape codes. The string I typed in was:
/ef/be/10/00/05/3f/c0/11/11/00/01/08
which comes from the documentation:
Control Commands List -- 0xefbe
Address Code (BYTE) -- 0x10
Size of the Payload (WORD) -- 0x0005
CRC16 for the entire packet (WORD) - 0x3fc0
MsG ID (WORD) -- 0x1111
MsG size (WORD) -- 0x0001
Command code (BYTE) -- 0x08
Attached it to the B button on my Firefly and saved everything. Pressed B and Girder said it sent a command over serial.
Nothing happened. So, it is likely either my cable, or my understanding of the Serial driver and commands.
I am hopeful that someone can point me in the right direction. I can get Girder to do pretty much everything else I need.
Thanks,
Tom
http://www.scalesfamily.com/rs232_pin.gif
Then it describes the Connection settings as 19200,8,1,No stop bits.
So far so good. I went into Girder and setup the Generic Serial Driver with matching parameters (but don't know what to put in Handshake).
So I cobbled together a cable. Seemed like I should cross TX and RX. Is that right? I am assuming (maybe wrong), that the picture above is the female connector. So, I connected the bottom two pins to ground on the serial port (which I think is the upper left hole on the female DB-9). I connected the top right wire (TX) to RX on the female DB-9 -- which I think is the fourth hole on the top row. I connected the second on the right column (RX) to TX on the female DB-9 (third hole on the top row of the female DB-9).
Does that make ANY sense for my wiring?
I then setup a command and told it to use escape codes. The string I typed in was:
/ef/be/10/00/05/3f/c0/11/11/00/01/08
which comes from the documentation:
Control Commands List -- 0xefbe
Address Code (BYTE) -- 0x10
Size of the Payload (WORD) -- 0x0005
CRC16 for the entire packet (WORD) - 0x3fc0
MsG ID (WORD) -- 0x1111
MsG size (WORD) -- 0x0001
Command code (BYTE) -- 0x08
Attached it to the B button on my Firefly and saved everything. Pressed B and Girder said it sent a command over serial.
Nothing happened. So, it is likely either my cable, or my understanding of the Serial driver and commands.
I am hopeful that someone can point me in the right direction. I can get Girder to do pretty much everything else I need.
Thanks,
Tom