|
how I made my serial cable
I recently developed a custom serial communication program using Embedded Visual Basic to automate setup of some fiber to the home "Gateways".
I had the same problem with serial communication using the Dell Axim serial sync cables and a null modem cable. Mainly, it didn't work.
There were some messages I found using Google searches that contained some good info, others were saying that powering up in a certain sequence worked for them.
Since my app, had to work first time every time no matter how things were turned on, I worked very hard to come up with a cable that does work.
The main problem is that the serial sync cable needs power for the chip in the cable and it normally gets it from the host computer. Once you provide that power, it works every time.
I have since taken my plans and had a cable made by Black Box that has the correct wiring along with a 9v battery terminal and holder attached to the Axim end. So custom cabling is available from them at ~ $25 per cable.
Note the voltage coming from a computer serial port is just shy of 12v and according to several messages the chip needs just over 5v to be active, so I figured split the difference.
To build your own it's just a null modem pins 2,3 on Axim end switched with 3,2 on other end. Pin 5 is straight thru to the other end. And apply power to lines 5 +ve, 4 -ve on the Axim end.
I actually got fancier and connected the -ve to pin 4 and then the +ve down to the other end and connect to pin 7 and then put a jumper in the far end from pin 8 back to pin 5. This allows the custom cable to be plugged into the Axim serial sync without the power supplied and as soon it is plugged in (at least in my application) pins 7,8 are jumpered in the DCE device and that gives the Axim cable the connection and power it needs. I used two male 9 pin connectors, one hood, a 9volt connector and battery, a length of 4 conductor cable and as a container for the battery I used a square plastic container that used to hold tooth floss, with a little tape on the top to ensure it stays closed the Axim sync cable screwed into the other end and although it not the best looking it's quite robust for a prototype.
I hope this looks ok on this forum, here is the wiring diagram for my cable, check with a ohm meter for your app if 7-8 is jumpered on modem,gps, etc otherwise just apply power to 4,5 on Axim end. Disconnect cables to save power after use.
DCE end ||| Axim end
2 -------- 3
3 -------- 2
&n bsp; 4 -ve 9v
5 -+------ 5
8 -| jumper to 5
7 -------- -ve 9v
I hope this helps somebody.
Regards,
Dave Joyce
|