analogue1.JPG (74202Bytes)
digital1.JPG (58157Bytes)
analogue_Pins1_0.JPG (38448Bytes)
analogue_Pins_4_0.JPG (35661Bytes)
JST_pins_1.JPG (32781Bytes)
JST_pins_7_0.JPG (48798Bytes)
JST_pins_8_0.JPG (37290Bytes)
analogue_Pins_2b.JPG (40786Bytes)
Everything like printers and stuff have connectors in them that I will show you how to make them your own. I am only going to show you common stuff like servo connectors and JST (used in a lot of stuff) connectors. I will try to leave this article open so that others can add to it.
I will start with the cable for a Sharp infrared range sensor that came in a robot kit from “LetsMakeRobots.com” that was missing. Solarbotics.com no longer ships the cable with the sensor. The sensor does fit the Arduino Analogue cable but the wires are in the wrong places:
The sensor is JST 1-Signal(Blue), 2-Ground, 3-+Volts –to- 1-Ground, 2-Signal, 3-+Volts
The Arduino Analogue JST 1-Signal(Blue), 2-Ground, 3-+Volts –to- 1-Signal, 2-Ground, 3-+Volts
The Arduino Digital JST 1-Signal(Green), 2-+Volts, 3-Ground –to- 1-Signal, 2-+Volts, 3-ground
A standard servo is the same as the digital cable
Computer boards are Analogue 1-Ground, 2-Signal, 3-+Volts
Digital 1-Signal, 2-+Volts, 3-Ground (Servo)
See the pictures To correct the analogue cable pop out the Ground and Signal wires of the black connector and swap them to match what the Sensor needs. Be very careful not to bend the locking Tabs too much or they will break off or not lock any more. A little heat from a soldering gun tip or small heat gun fixes the tabs so that they will lock correctly. Just hold the locking tab down so the connector is held in place when you apply the heat. The locking tabs are very small, but made of fairly tough plastic.
I used to have a connector tool. It looks like a small screwdriver except it is a hollow tube and the front half is half open. This works by slipping between the wire and the connector blocks the locking tabs so you can get the connector out. Anything thin like a pin can block the locking tabs too. It does not take too much to play with connectors and make your ideas come together.
I found that the JST connectors are made of tough fiber-ish plastic that does not work well with grinders or files. I used a Dremel sanding drum to get the Arduino analogue cable JST end to fit into the sensor connector. It was too tight.
Soldering wires onto connector you have to be careful to not get solder on the locking parts of the connector. I cut off the insulation crimps and then ground everything down until it fit into the connector sleeve. I only soldered onto where the insulation crimps were not where the wire was crimped down. It is too hard to open the wire crimps. You can if you want to.
Look at the pictures and post comments.
The rest of the pictures are in my Blog "Missing cable for the IR ranger...