by PaulP » Mon Feb 26, 2007 4:53 pm
by PaulP
Mon Feb 26, 2007 4:53 pm
shsan or whoever is watching this thread...
I have received my bluesmirf and like shsan, gone thru the moves, data looked inverted so passed thru an inverter both ways. Data looks clean but does nothing for robot...
So i pulled apart the usb dongle that comes with the KHR....
It contains an FTDI FT232BL chip....
Info is here
http://www.alphamicro.net/components/pr ... id~474.asp
Datasheet is here
http://www.ftdichip.com/Documents/DataS ... 232b18.pdf
Indeed it is a USB RS232 Uart but its typical configuration is for RS485 line driving...
The RCB Manual does not label the pins as TX and RX, it labels them as GND and Signal lines. This is typical of RS485...
Unfortunately the voltages are not. Usually on RS485 (if i remember right) one is usually high and the other low and they switch over as bits are sent.
One other possibility is that the RCB3 may not have a UART, in which case it is common to have a data line and an enable line.
When the enable is in one state it will transmit from the PC to the RCB, in the other state from the RCB to the PC.
This would explain what you were seeing shsan when you said it appeared to be sending and receiving at the same time. Its not actually its just using the same line to send but the PC UART isnt clever enough to know so it thinks its rxing. Most applications that use RS485 line drivers know to ignore the RX when you are TXing..
The components around the 3 pins output in the dongle are too small for me to identify though the labels indicate a couple of 'R' components which is usually resistors and a 'Q' component. Arent they usually Transistors?
Has the KHR-1HV or the KHR-2HV ever been supplied with a 9 pin serial lead rather than the USB one because if anyone has one, it could contain the clues we need.
For the moment I am stumped. I have proven the BlueSmirf right thru to a 9 pin input back to my PC so I am confident that works. I even double inverted the data to prove the inverters were'nt causing any lag.. Its not the Smirf its the RCB i'm fairly sure...
If someone can help it would be awesome...
shsan or whoever is watching this thread...
I have received my bluesmirf and like shsan, gone thru the moves, data looked inverted so passed thru an inverter both ways. Data looks clean but does nothing for robot...
So i pulled apart the usb dongle that comes with the KHR....
It contains an FTDI FT232BL chip....
Info is here
http://www.alphamicro.net/components/pr ... id~474.asp
Datasheet is here
http://www.ftdichip.com/Documents/DataS ... 232b18.pdf
Indeed it is a USB RS232 Uart but its typical configuration is for RS485 line driving...
The RCB Manual does not label the pins as TX and RX, it labels them as GND and Signal lines. This is typical of RS485...
Unfortunately the voltages are not. Usually on RS485 (if i remember right) one is usually high and the other low and they switch over as bits are sent.
One other possibility is that the RCB3 may not have a UART, in which case it is common to have a data line and an enable line.
When the enable is in one state it will transmit from the PC to the RCB, in the other state from the RCB to the PC.
This would explain what you were seeing shsan when you said it appeared to be sending and receiving at the same time. Its not actually its just using the same line to send but the PC UART isnt clever enough to know so it thinks its rxing. Most applications that use RS485 line drivers know to ignore the RX when you are TXing..
The components around the 3 pins output in the dongle are too small for me to identify though the labels indicate a couple of 'R' components which is usually resistors and a 'Q' component. Arent they usually Transistors?
Has the KHR-1HV or the KHR-2HV ever been supplied with a 9 pin serial lead rather than the USB one because if anyone has one, it could contain the clues we need.
For the moment I am stumped. I have proven the BlueSmirf right thru to a 9 pin input back to my PC so I am confident that works. I even double inverted the data to prove the inverters were'nt causing any lag.. Its not the Smirf its the RCB i'm fairly sure...
If someone can help it would be awesome...