Offline
Newbie
Karma: 0
Posts: 48
|
 |
« on: March 14, 2012, 06:36:23 pm » |
Hi Guys, Bought an arduino pro mini the other day and it arrived today. I intended to stick wires in , not realising it didnt have USB conversion in place. So now I'm stuck :S . I would love to buy the cables pre made but I live in the UK and the price for the cable is £26 after P&P and VAT. The breadboard on sparksfun is similar since I'm not in the US it is a whopping £10 just to get the cable shipped! So I'm left to make it myself. Now over here , I had a look on ebay for the arduino converters and , unsurprisingly , they are not there. So looked for USB to TTL connectors , hoping to find something on that , woohoo , found something! Mainly Asian manufacturers but a few UK distributors. Before I buy one though (I'm looking at something like this http://www.ebay.co.uk/itm/USB-2-0-TTL-UART-6PIN-CP2102-Module-Serial-Connector-Converter-Adaptor-Cable-/290681214240?pt=UK_Computing_CablesConnectors_RL&hash=item43adf35520) I notice there are only 5 pins. So my question is: With these 5 pins , How do I connect those to the 6 on the arduino? Presumably one is duplicated?As in: http://www.uchobby.com/wp-content/uploads/2009/10/CA42_mod.jpgfound on http://www.uchobby.com/index.php/2009/10/04/diy-usb-to-serial-cable-for-3/Can't follow that guide to the word since the cable he is talking about isn't in any UK ebay shops. But I DO notice the cable has 5 outputs to the connection to the arduino. I do see on the pin diagram on the ebay product , some of the outs match up with holes on the arduino where the 6 pin connector would go. Thanks in Advance  Jim EDIT: I meant £10 for the shipping alone , daylight robbery I tell you! But I can get an interface like we are talking about here shipped to the UK free?
|
|
|
|
« Last Edit: March 15, 2012, 03:45:26 am by jimbo8098 »
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15320
Measurement changes behavior
|
 |
« Reply #1 on: March 14, 2012, 06:47:50 pm » |
The pins probably don't match up directly to your pro mini, but the below serial converter module is very inexpensive and easy to modify to even be able to activate the auto-reset function if you wish. Note the bottom right hand picture, it shows solder pads for the typical serial control signals. Just wire a small .1mfd from the DTR pad to the base of the pin labled RST. Then cut the trace on the PCB that is going to that same RST pin. Now all you have to do is wire the ground, TXD, RCD, RST to the approprate connections to your pro mini board and you should be good to go. You can even power your pro mini via this USB module by wiring the +5vdc pin to your board. http://www.ebay.com/itm/370532286388?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #2 on: March 14, 2012, 07:42:28 pm » |
Awesome  What do you mean by .1mfd? I have no idea hehe. I'm not sure which one is the bottom right on your screen since I'm using a tiny 1024x768 screen but I assume you mean this one: http://i.ebayimg.com/00/$%28KGrHqV,%21h8E2JUonrT8BNzMFb4KW%21%7E%7E_1.JPG I've attached what I can guess , Usually standards for live/gnd in UK is red and black respectively. Is that maintained in US circuitry? Is Vcc the live wire here mabey? Jim
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #3 on: March 15, 2012, 02:45:08 pm » |
Anyone?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Online
Brattain Member
Karma: 249
Posts: 16571
Available for Design & Build services
|
 |
« Reply #4 on: March 15, 2012, 03:42:06 pm » |
Need to connect up power too. programmed 5V to Promini VCC
0.1uFd cap (also referred to as 100 nF) I think Promini already has a cap between its DTR pin and reset pin. Check the promini schematic on the Arduino Harware page.
|
|
|
|
« Last Edit: March 15, 2012, 03:45:24 pm by CrossRoads »
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #5 on: March 15, 2012, 04:31:48 pm » |
Thanks CrossRoads  I thought thats what lefty meant by 0.1uFd , it was the d that threw me  So I give 5V to the Vcc Pin. Heres the schematics for the arduino pro mini: http://arduino.cc/en/uploads/Main/Arduino-Pro-Mini-schematic.pdfThere is a cap on the DTR pin , 0.1nF I also see in the schematics the black is a GND and the green is DTR. Where does the RST one go to? I take it this one is the DTR?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Online
Brattain Member
Karma: 249
Posts: 16571
Available for Design & Build services
|
 |
« Reply #6 on: March 16, 2012, 12:56:50 am » |
Prolific RST (now rewired as DTR) goes to Promini DTR pin (labeled GRN and connected to left side of C2)
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #7 on: March 16, 2012, 03:59:46 am » |
Ok , cool , so its like this then? (attached) Just trying to make it simpler for other noobs like me  Jim
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #8 on: March 16, 2012, 06:32:55 am » |
Wow , that pic uploaded pretty nastily... Reuploaded. Jim EDIT: that went well... Uploaded to imageshack , working there: http://img12.imageshack.us/img12/663/arduino2.jpg
|
|
|
|
« Last Edit: March 16, 2012, 06:36:37 am by jimbo8098 »
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Online
Brattain Member
Karma: 249
Posts: 16571
Available for Design & Build services
|
 |
« Reply #9 on: March 16, 2012, 05:00:37 pm » |
Yes. Pic might go better if cropped/resized to finish up around 800x600.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #10 on: March 16, 2012, 06:42:14 pm » |
Awesome!  Thanks for your help guys  Now we play the waiting game for the adaptor to arrive... fingers are crossed heh Jim
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #11 on: March 28, 2012, 07:32:11 am » |
I finally came! Happy Days!
Shall try the method outlined here tonight...
EDIT: Whoopsy daisy , I meant It came lol
|
|
|
|
« Last Edit: April 02, 2012, 02:45:22 am by jimbo8098 »
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #12 on: March 28, 2012, 05:13:00 pm » |
Ok so I kinda got it going. Snipped the trace on the board then soldered up a pseudo header very badly and , when I chonnected it up , the light on the arduino came on solid , the green one flashing , a good sign methinks! however , the connection is so bad I cant do anything lol.
I have ordered a breadboard and header pins lol
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #13 on: March 30, 2012, 02:53:13 am » |
Spent some time tidying up my novice soldering and got the arduino to come on! IT'S ALIVE! I tried to upload the blink test and got out of sync error. The red light was on but there was a green one that seemed to have a loose connection , most likely on my board, but when i move the arduino on my homemade headers (made of an untwisted spring lol) , it will come on and off as I move it. I got it to stay in place and the green light was flashing quickly. I tried to transfer the sketch then but I dont think it worked. Either way , I stuck a green led accross port 13 and gnd and it flashed in some cases so can I assume it is working and to ignore the out of sync or is it just a feature of the board to send a clock signal over 13 , kind of like the other green flasing led next to the reset button?
EDIT: I did also notice in device manager , the yellow exclamation mark was showing , the one when it couldn't find any drivers for the device. Could that be it maybe?
|
|
|
|
« Last Edit: March 30, 2012, 02:56:40 am by jimbo8098 »
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #14 on: April 02, 2012, 02:51:33 am » |
Managed to get it "working" on the breadboard using some header pins. Now the red light always shows but the green one doesn't. The arduino is solid on the terminals so it can't be a dodgy connection. I've not bricked it have I? I managed to get it to do the blink test as I was saying so I don't think it is dead but I still get the "out of sync" error. Is this the real life or is it just fantasy?
|
|
|
|
|
Logged
|
|
|
|
|
|