Go Down

Topic: Make your Arduino USB for only 1 dollar! (Read 14720 times) previous topic - next topic

Manawyrm

Dec 20, 2009, 01:51 pm Last Edit: Dec 20, 2009, 07:28 pm by tobi31061 Reason: 1
Hello, Arduino Community.
First sorry for my bad english...

I found a way to add an USB port to any 5 volt arduino:

You have to buy a Nokia DKU-5 datacable USB, you can find it on e*ay for only 1 dollar or euro.

It has to be this one:


You only have to cut the PopPort on the Cable and Connect 5v gnd rx tx to your arduino.

Greets tobi31061

EDIT:
Here are the working drivers for the TI Chip:
http://segaemu.bplaced.net/DISK1.rar

bill2009


Manawyrm

NP. And i also found a cheap way to connect my calculator to my pc with this cable. ;D

westfw

Also works with CA-42 type cables (about the same price.  Less than $3 shipped.)  There is a nice tutorial here:
http://www.uchobby.com/index.php/2009/10/04/diy-usb-to-serial-cable-for-3/

The CA-42 seems to be based on the Prolific USB/Serial chip rather than the TI, and the prolific seems to have a larger userbase and be supported on more platforms.  (I've yet to find Mac support for either the DKU-5 or other devices containing a TI USB/Serial chip.  Sigh.)

BenF

#4
Dec 22, 2009, 08:56 am Last Edit: Dec 22, 2009, 08:57 am by borref Reason: 1
Quote
I found a way to add an USB port to any 5 volt arduino:

There appears to be a confusing mix of 5V/3V3 versions of these cables (or at least Google suggests this is the case). How did you wire it for 5V Arduino's (pin number/color on DKU-5 connector)?

I've converted a couple CA-42 type cables and they work ok for Rx/Tx and 5V USB bus power (no DTR/RTS for auto-reset however) . This required prying open the USB connector and soldering a wire directlly onto an SMD pin which is tricky. Perhaps your find is eaiser to convert. The prolific chip used in the CA-42 was indeed a 5V tolerant chip and I wonder if this is so for the DKU-5 as well.

1315matthew

Hello everyone

I'm just posting this one message so I'll be allowed to post links and images.

Matt

1315matthew

#6
Dec 22, 2009, 06:46 pm Last Edit: Dec 22, 2009, 06:47 pm by 1315matthew Reason: 1
After reading this thread I picked up a DKU-5 cable from

http://cgi.ebay.co.uk/DKU-5-USB-DATA-CABLE-For-NOKIA-7250-3220-6100-6610-6820_W0QQitemZ230411003139QQcmdZViewItemQQptZUK_MobilePhones_MobilePhoneAccesories_MobilePhoneDataCables_JN?hash=item35a590e503

It has a prolific PL-2303 and a 3 core wire.

orange = GND
blue = RX
red = TX

I've tested it with my 5 volt board and it works fine.





Matt

Manawyrm

Very nice to hear that this worked for you, but btw, my multimeter is broken i have problems with checking out the lines....

do somebody now the pins?
it has
brown orange green yellow red

n00b

Quote
After reading this thread I picked up a DKU-5 cable from

http://cgi.ebay.co.uk/DKU-5-USB-DATA-CABLE-For-NOKIA-7250-3220-6100-6610-6820_W0...

It has a prolific PL-2303 and a 3 core wire.

orange = GND
blue = RX
red = TX

I've tested it with my 5 volt board and it works fine.


Ordered my one from the same place, came in the same box, but has 5 core wire.

Black: GND
Blue:    TX
White:  RX
Green:  VCC

Ps what order should theses be soldered to a 6 pin header?

Im guessing

1: GND
2:
3: VCC
4: TX
5: RX
6:

BenF

The "modified" FTDI cable (as used by SparkFun and others) is wired as follows:

1: GND - GND
2:
3: VCC - VCC
4: Pin 2 on MCU (AtMega RXD)
5: Pin 3 on MCU (AtMega TXD)
6: DTR to RESET on MCU

1 is referred to as the "black wire" and 6 as the "green wire" in some references (e.g. on Pro Mini boards).

n00b

#10
Jan 20, 2010, 11:01 am Last Edit: Jan 20, 2010, 11:02 am by n00b Reason: 1
Quote
DTR to RESET on MCU


so..........

A: How do you determine what wire is the RESET on a DKU-5?
B: What are the ramifications of using the 3 core cable with just VCC/TX/RX?

BenF

A: How do you determine what wire is the RESET on a DKU-5?
You trace the wire back to the chip and check against the chip's datasheet (or Google for relevant sources). There apperars to be as many variations on this cable however as there are suppliers.

B: What are the ramifications of using the 3 core cable with just VCC/TX/RX?  
I doubt you will ever find such a cable. The 3 wire GND/RX/TX however will enable Arduino to USB serial communication, but without auto-reset or power from USB.

westfw

Quote
B: What are the ramifications of using the 3 core cable with just VCC/TX/RX?  
I doubt you will ever find such a cable. The 3 wire GND/RX/TX however will enable Arduino to USB serial communication, but without auto-reset or power from USB.

For people who are too new to remember, no auto-reset means that when attempting to upload a sketch to the arduino, you have to manually push the "RESET" button at nearly the same time you hit the "upload" button.  It's not a big deal...

All of the CA-42 cables I've seen seem to be of the 3-wire variety.

n00b

#13
Jan 20, 2010, 08:26 pm Last Edit: Jan 20, 2010, 08:31 pm by n00b Reason: 1
Done a little research on the pin out of the Nokia Pop-port, so if anyone is lucky enough to get the 5 wire DKU-5 (like me :) ), grab your multimeter, strip the wires to the DKU-5 header, and use the diode setting to find out what colour wire correspond to what header pin.






TchnclFl

There's a nice tutorial out there somewhere for the same thing :P.

Quote
I doubt you will ever find such a cable. The 3 wire GND/RX/TX however will enable Arduino to USB serial communication, but without auto-reset or power from USB.


I just did the same thing with a CA-42 cable (very similar to DKU-5), and there were only those three wires.  I had to run a third down the length of the cable for +5V Vcc, but it works great now :).

Go Up