geekhack
geekhack Projects => Making Stuff Together! => Topic started by: phenotrophil100 on Mon, 05 October 2020, 11:59:55
-
I bought dt225 serial version .
Please help me find out the protocol by which it works.
There are only 6 pins on the board for connecting the cable.
[attach=1]
[attach=2]
-
Taking a multimeter in my hands and ringing the db9 connector
with connectors on the other end of the wire, I found:
[attach=1]
So in the wire itself is broken (brown wire) - SHD .
Anyway i want to catch data with arduino.
Help please people who know solution.
-
I may be wrong but SHD could mean shield, which wouldn't be connected to a pin.
Also moved this thread to MST! so hopefully more techy people will see it :)
-
I may be wrong but SHD could mean shield, which wouldn't be connected to a pin.
Also moved this thread to MST! so hopefully more techy people will see it :)
Ha-ha, thx for moving , idk in which branch should write this topic ;)
-
It was designed to plug into a standard RS232 (serial) port. The pinout has to be standard, also, else it wouldn't work. The pinout of a standard RS232 connector (http://www.usconverters.com/index.php?main_page=page&id=61) should work for you. This will tell you which pin carries the data from the trackball encoders.
The format of the data is the next problem. For that you really need an oscilloscope to see how the data flow changes when the ball rotation changes in direction or speed.
-
It was designed to plug into a standard RS232 (serial) port. The pinout has to be standard, also, else it wouldn't work. The pinout of a standard RS232 connector (http://www.usconverters.com/index.php?main_page=page&id=61) should work for you. This will tell you which pin carries the data from the trackball encoders.
The format of the data is the next problem. For that you really need an oscilloscope to see how the data flow changes when the ball rotation changes in direction or speed.
Can't I just get by with a packet sniffer?
-
A packet sniffer expects the data to be in TCP/IP packets. I don't know how this trackball sends data & it might be in packets. If true, you're in. But if the trackball uses some other kind of communication - pulse width modulation, for instance - then the packet sniffer won't understand what it sees.
-
wireshark or putty may be able to help you with reading the data but from what i have read a usb to serial adapter should be all you need to use a serial mouse on windows, i have not tried myself so i dunno about linux but i would hazard a guess that it would work the same. as for the cable if only shield is broken it should not cause you too many issues, it is a fairly low speed device.