How to connect to a Class II router using a mobile-phone data cable specifically for Solwise & Safecom routers



Similar documents
The $25 Son of a cheap timer This is not suitable for a beginner. You must have soldering skills in order to build this kit.

SYSTEM 4C. C R H Electronics Design

INDEX. Trademarks All name and product s trademarks mentioned below are the property of their respective companies.

Bluetooth HC-06 with serial port module Easy guide

RS232/DB9 An RS232 to TTL Level Converter

Current Cost Data Cable User Guide. Installing and configuring the data cable

FTDI VCP DRIVER (free) (WIN/MAC/LINUX)

USB to RS-422/485 Serial Adapter

Serial Communications

PM1122 INT DIGITAL INTERFACE REMOTE

Advanced Data Capture and Control Systems

LDG DTS-4/4R Desktop Coaxial Switch / Remote

Keep it Simple Timing

Config software for D2 systems USER S MANUAL

ECEN 1400, Introduction to Analog and Digital Electronics

PhidgetInterfaceKit 8/8/8

How to setup a serial Bluetooth adapter Master Guide

Orbit PCI Mk 2 Network Card. User Manual. Part No Issue 4

2-Port RS232/422/485 Combo Serial to USB2.0 Adapter (w/ Metal Case and Screw Lock Mechanism) Installation Guide

WinLIN Setup and Operation:

AUTOMATIC CALL RECORDER JAMECO PART NO

User Guide Reflow Toaster Oven Controller

Programming and Using the Courier V.Everything Modem for Remote Operation of DDF6000

GLOLAB Universal Telephone Hold

Taurus Super-S3 LCM. Dual-Bay RAID Storage Enclosure for two 3.5-inch Serial ATA Hard Drives. User Manual March 31, 2014 v1.2

8 Channel Status Input Panel model SIP-8

WAMLocal. Wireless Asset Monitoring - Local Food Safety Software. Software Installation and User Guide BA/WAM-L-F

By: John W. Raffensperger, Jr. Revision: 0.1 Date: March 14, 2008

XBee USB Adapter Board (#32400)

Building A Computer: A Beginners Guide

CM705B - Universal Expander Module CM707B - Plug On Zone Expander Security Systems

DK40 Datasheet & Hardware manual Version 2

Technical Manual. For use with Caller ID signaling types: Belcore 202, British Telecom, & ETSI

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Microprocessor Project Laboratory

User manual Compact Web PLC WP240 series IEC-line

BMD16N-SD. version 1.2

Bluetooth to Serial Adapter

ECR Shelf System Installation Guide Centralized Rack Mount Call Recording

LED Wiring and Connections

16-Port RS232 to USB2.0 High Speed Multi Serial Adapter (w/ Metal Case) Installation Guide

Troubleshooting Tips Lifestyle SA-2 & SA-3 Amplifier. Troubleshooting Tips

BUILDING INSTRUCTIONS

Plena Voice Alarm System Firmware update

Technical description MX-1 VB Edge

SYSTEM 45. C R H Electronics Design

TP- 051 GPS RECEIVER

Micrio WS1 Replacement Wind Speed Sensor and WC1 Replacement Wind Compass Sensor for Raymarine ST50 and ST60 Wind Instruments. Rev 4.

Using the Communication Ports on the DG-700 and DG-500 Digital Pressure Gauges

Cover Page. Factory Radio Other Documents Available For This Vehicle:

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

IMMS-CCC. IMMS-CCC Hardwire Central Interface. Installation Instructions

I Click on a link tab to jump to that page. Cover Page

mdm-mp3 minidirector with MP3 Player

LocoNet, the Digitrax Difference

Current Monitoring Kit QUICK START GUIDE

RN-WIFLY-EVAL-UM. WiFly Evaluation Kit Roving Networks. All rights reserved. RN-WIFLY-EVAL-UM Version 1.32r 10/9/2012 USER MANUAL

Current Monitoring Kit

Installation manual. Version

Triac Printed Circuit Board Replacement

GT3B Hack Kit Install Instructions Written By Austin Hutchison

EXPLORE 4-Leg Teaming Table with Screen Share Assembly Instructions

CHAPTER 11: Flip Flops

Kit Watt Audio Amplifier

To perform Ethernet setup and communication verification, first perform RS232 setup and communication verification:

SCREENLOGIC INTERFACE WIRELESS CONNECTION KIT

ENET-710. ENET Ethernet Module ENET-710 JAN / 06 FOUNDATION

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

RS232 Board datasheet

Communication with BushingGard using computer USB port

Making a DB to RJ45 adapter.

I Click on a link tab to jump to that page. Cover Page

Networkfleet 3500 Product Line Installation Guide

WICE-SPI Hardware Operation Manual

Taurus - RAID. Dual-Bay Storage Enclosure for 3.5 Serial ATA Hard Drives. User Manual

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

Tutorials Drawing a 555 timer circuit

AR-721U/721K/661U User s Guide

PA-80 USB Interface. Installation and Operating Manual. 1. Installation Manual 2. Driver Software installation 3. Operating Manual 4.

The basic set up for your K2 to run PSK31 By Glenn Maclean WA7SPY

Digital Photo Bank / Portable HDD Pan Ocean E350 User Manual

AC-115 Compact Networked Single Door Controller. Installation and User Manual

OWNERS MANUAL. WattsVIEW. Power Monitor Model: DC WattsVIEWTM. Models: DC Serial DC-1000 USB DC-25000

How To Use A 1232 On A 1236 On A Computer Or A Cell Phone

VOICE RECORDING SYSTEM ISDN PRI / BRI

Time needed: ~3h for lid replacement only. Add 1h for operation harness in lid and ~2h more for installing drive unit and cable harness in trunk.

Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall Work in teams of two!

PLC training panel (Twido version)

Power Supplies. Overview. Measuring Electricity. Understanding Electricity. Two Types of Current. Powering the PC

I Click on a link tab to jump to that page

Cumbria Designs T-1. SSB/CW Filter kit (4.9152MHz) User Manual

ABB Drives. User s Manual HTL Encoder Interface FEN-31

Installation Manual for D0700 ISDN Analogue Converter

BMV-602 Data Link Manual

Assembly and User Guide

Aquadyne TechTip TITLE: TROUBLESHOOTING PC COM PORT AND MODEM PRODUCTS AFFECTED SYMPTOMS POSSIBLE CAUSES

Capacitive Touch Sensor Project:

Running the R4 Software on a USB Port

WHO ANSWERED FIRST? FIND OUT WITH THIS QUIZ BUZZER KIT

RAMPS 1.4 Assembly Guide

Installing the drivers for the Current Cost Data Cable

Transcription:

USB to router s serial port How to connect to a Class II router using a mobile-phone data cable specifically for Solwise & Safecom routers by Neo at RouterTech.Org Introduction Routers based on the AR7RD/AR7WRD chipset have connections on their circuit boards (PCBs) to connect serial cables to. This can provide direct access to the router s OS and facilitate the repair using software such as PCTool. Much information on making and connecting serial cables can already be found on the Internet. This guide aims to provide more specific, detailed and illustrated instructions on using a DKU-5 cable. The routers require a 3.3v CMOS voltage, but PC RS232 serial adaptors typically use +/- 12v. This proves a problem since the PC s serial voltage would overload the router and this is likely to damage both PC and router. How do you overcome this problem? Well there are several ways to work around it. Certain converters exist to convert between the 3.3v and 12v logics for example the MAX3232 chip (IC). You may be able to use the MAX3222 chip instead, but not the MAX232 chip which uses 5.5v Transistor-Transistor Logic (TTL) voltage. You can construct a simple circuit around this chip or buy the circuit and chip in kit form. Additionally the kits can usually purchased pre-built. The problem with constructing circuits around the MAX32xx chips is that the inexperienced may have difficulty and the cost of the chips (and the rest of the circuit) can be high compared to mobile phone cables. The use of a mobile phone cable simplifies things greatly. These cables incorporate the logic converter circuit and are terminated with USB connectors, making it very easy to connect to a PC and reducing the amount of work to get them to interface with a router. The DKU-5 cable (now being superseded by the CA-42 and CA-53) is an ideal choice since it is widely available and low in price. The exact phone connector (on the opposite end to the USB connector) is irrelevant the business end is where the USB connector is (you will notice the plug is larger than an ordinary USB plug). This guide is aimed at the novice level so the more technical readers should be able to breeze through this guide very quickly.

Getting started The DKU-5 kit (assuming it has been purchased new ) comes with an instruction booklet, CD and the cable itself. The cable has a label on the USB connector marked Mobile Action MS-DKU-5 At this point it is a good idea to connect the cable to your PC to see if it works. Insert the CD into your CD drive and then insert the cable. Hopefully Windows will detect the DKU-5 and use the driver from the CD. The Device Manager (Start Menu -> Settings -> Control Panel -> System -> Hardware tab -> Device Manager) should display an entry under Ports called NOKIA DKU-5 (COMx), where x is a number. The precise COM port number may vary on your system. If you have problems installing the cable, you can download the driver for the DKU-5 from the Guides section of the www.neolics.com website (where this guide can also be found). For anyone interested, the current consumption reported by Windows for the cable is 440mA (close the maximum permitted).

The phone-connector needs to be removed so the cable can be cut towards that end, as indicated below: Once cut, the sheath and shielding can be cut back allowing the individual wires can be splayed

Down to the wire While most cables will probably use the same colouring for the wires, this cannot be guaranteed (the manufacturers may choose their own colouring). To identify which wire is which you need to use a multimeter. This needs to be performed while the cable is plugged in to the PC. Use the multimeter on the voltage setting above 3 volts (in the writer s case this was the 20 volt setting). To start with place the black probe in contact with the wire you think is the ground - typically this is the white wire. Then measure the voltage from each of the other wires in turn. You may find it is easier to probe the wires by inserting them into a terminal block (as shown above). You will know when the black probe is on the ground wire because all the voltages will be positive. Therefore you must keep repeating the measurements (moving the black probe) until all the measurements are positive. When measured with respect to the white wire these are results I got: Wire White Red Blue Green Voltage / V n/a 0.15 2.34 0.49 The two highest voltages will correspond to the data wires (transmit TX and receive RX). This can be confirmed by confirmed by connecting a 100 Ohm resistor between them and then using HyperTerminal. Assuming a resistor is connected between the data wires (blue and green in the author s case) and assuming the cable is plugged in to the PC, run HyperTerminal in Windows (Start Menu -> Programs -> Accessories -> Communications -> HyperTerminal). Type in a name for the connection and click on OK

Select the COM port that relates to the DKU-5: Enter the properties for the connection: The SAR-600ER requires 38,400 bit per second, 8 data bits, parity = none, 1 stop bit and hardware flow control, so that is what the write used (even though at this stage the router was not connected). To find out what requirements your router has for serial comms, look at the output from the /proc/ticfg/env command (see http://www.routertech.org/kb.php?mode=article&k=35 for full instructions on how to apply this command). The results of the command should have lines like the following: modetty0 modetty1 38400,n,8,1,hw 38400,n,8,1,hw These show the requirements in the format: Bits per second, parity, data bits, stop bit(s), flow control If all goes well, Hyperterminal should display Connected in the bottom left of the window: And if you type something in, you should see it displayed (the data is being sent and received). Based on the information on the Net, the highest voltage (blue wire) is the transmit (TX) and the second highest (green wire) is the receive (RX). The lowest (red wire) is not used so it can be ignored and trimmed down so that it doesn t get in the way.

Serial connection Once you have determined which wire is which, you can connect up the wires to the serial port of the router. The serial port on the router has four pins and is situated on the lower right of the PCB: Solwise: Safecom: To connect to the serial pins you will need a cable with a suitable connector (spare floppy drive cables etc) or you can make one yourself. The order of the pins for the Solwise 600ER and 600EW is shown in the illustration to the left. The PCBs have a 1 printed next to pin 1 and that seems to always be the power pin. In the writer s case this means that the white wire would connect to pin 4 (ground), the blue wire would connect to pin 3 (RX) and the green wire would connect to pin 2 (TX).

For the Safecom SART2-4115 the order is as follows: If you decide to make your own then you will need: 1 x PCB Latch Housing 3-way (0.1 series socket housing) code BX97F from Maplins. 1 x strip of 10 0.1in socket terminals code YW25C from Maplins. The latch housing is the plastic connector, while the socket terminals are small metal fittings that are crimped and soldered on to the wires. The socket terminals slot in to the latch housing and lock in to place. To crimp on a terminal, insert the wire in to the terminal and use a crimping tool or pair of pliers to bend the little tabs around the wire to hold it in place. The above photo shows 2 socket terminals; one is crimped on to the white wire. After the wires are crimped, ideally you should solder the terminals to provide a more secure and effective electrical joint. Below, the three wires with the terminals are inserted in to the latch housing. A small tab on each terminal clicks in to the small recesses (far right) when the terminals are fully inserted. For neatness, the length of exposed wires should be much shorter than that shown. It is possible to remove a terminal by depressing the tab through the recess (with something like a paperclip) and pulling gently on the wire this may provide sufficient flexibility to swap round wires during the testing phase.

The wires from the DKU-5 can be connected directly to the latch housing (as above), however if you want to test the connection before you commit to that, you may prefer to use other wires. An ideal way of testing the arrangement is to use a breadboard. This makes it very easy to change the way the wires are hooked up if you make a mistake. The photo below shows the home-made cable (four wires) attached to the router s serial port: And the photo below shows a breadboard being used to connect up the wires from the serial port with the wires from the DKU-5: You will notice that thicker mono-core wires have been temporarily attached to the DKU-5 wires. Without these it would be very difficult to insert the thin multi-core wires of the DKU-5 directly in to the breadboard sockets.

Also, an LED and (ballast) resistor were used to indicate when the circuit was powered up (this would also confirm if the ground and power pins were correctly identified). If you wish to do this, you will need a 4-way connector (instead of a 3-way one) to make use of the power pin. Whether you made your own serial connector or re-used an existing one, you can now check to see if the TX and RX are the right way round by doing the following: 1. Start HyperTerminal (as explained earlier) at this point HyperTerminal may complain that it is unable to open the COM. 2. Insert the USB plug into your PC s socket (and wait a few seconds for Windows to discover the DKU-5). 3. Connect the latch connector to the router s serial port. 4. Power up the router. You should start to see some text appear in the HyperTerminal window (something like the above). If not, try clicking on the connect button in HyperTerminal a few times, as the router is booting up. If you do not see any text appearing and HyperTerminal cannot connect, then you may have the TX and RX the wrong way round. Try swapping them over to see if that improves things, as some routers have the TX and RX switched over. When you are happy that circuit works, then you can make the connections more permanent by soldering or whatever you find the most convenient.

Here are some diagrams showing the overall wiring arrangements, showing the socket terminals and latch housings for a direct connection: Below shows the serial cable at a later stage, connected to a powered-up router: A diode is connected across the ground and power wires in the opposite direction to the LED. This is to prevent the LED being damaged in the event that the connector is connected the wrong way round on the router. If you are using the cable to assist a repair, then you will want to press a key in the HyperTerminal window (when the router says to press any key to abort the OS load). When you do this, depending on the model of router you have, the router s LED will stay RED: While the LED is red, you should be able to use PCTool etc. to repair the router.

Appendix Notes on opening up a router. Most of the screws on routers tend to be obscured, but traditionally they will all be accessible from the underside. On the Solwise SAR-600ER and Solwise SAR-600EW, the rubber feet will need to be peeled/prised off to reveal 3 of the 5 screws. Another screw is hidden under the label. To find out the precise location, you should firmly rub the label with a finger, feeling for a slight indentation. If you press firmly enough you will create a dip in the label over the screw hole, and the indentation will be visible: Then you will be able to puncture the label with the screw driver to remove the screw.

Links Apart from the forum at www.routertech.org, which has a wealth of information on this and related subjects, the following links may also prove useful: http://www.nslu2-linux.org/wiki/howto/addaserialport http://www.tlarson.com/guides/dslhack/serial - Actiontec serial cable http://ar7.wikispaces.com/serial+console http://ar7-debrick.mysite.orange.co.uk/ - biro s website