Offline
Jr. Member
Karma: 0
Posts: 83
|
 |
« on: September 24, 2012, 03:11:31 pm » |
Hi guys, i have made usb to uart coverter with ft232rl but a had few problems abouth it. first capacitor C3 stared smoking a burning after connecting to pc  . then i realised that pin 4,5 on IC are connected together. could this be reason why the cap died? anyway after desoldering this cap and disconnected those pins, i conncted this circuit to PC and drivers installed, It made new port (COM7) and it seemed like it's working. when i connected it to the arduino on my breadboard i couldn't upload sketch. after compiling it reseted arduino but it showed error and didn't upload. Is there anything wrong with schematic or something else? Can someone help?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 42
|
 |
« Reply #1 on: September 25, 2012, 06:44:44 am » |
Is your rx going to tx, and tx to rx. Sorry couldn't pull your schematic up on my phone, but thought this could be the case. This causes the driver to download ok, but wont be able to upload. Also, do you have the dtr pin to the reset line? It might not be automatically reseting to upload.
|
|
|
|
« Last Edit: September 25, 2012, 06:58:09 am by Houser636 »
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Online
Brattain Member
Karma: 240
Posts: 16427
Available for Design & Build services
|
 |
« Reply #2 on: September 25, 2012, 07:50:03 am » |
Check your pin connections against the deumilanove schematic at the Hardware page. If memory serves, you need Reset pulled High and Test connected to Gnd. There may be other input pins that need addressing also.
|
|
|
|
|
Logged
|
|
|
|
|
Southern California
Offline
Sr. Member
Karma: 4
Posts: 466
I like blinky lights
|
 |
« Reply #3 on: September 26, 2012, 03:14:41 pm » |
As Crossroads says, check your pins.
It looks like you're trying to power your circuit from USB. I recommend reviewing FTDI's "USB bus powered configuration" example from the FT232rl's datasheet.
A quick glance at your schematic shows a couple of potential problems:
You have VCC on USB pin 2 and ground on USB pin 3. That may be a nonstandard pinout of your USB socket but typically VCC is USB pin 1 and ground is USB pin 4.
You have a 10uf cap between 3v3 out and ground; the FTDI reference says it should be 0.1uf.
The FTDI reference says TEST should be tied to ground; you've left it floating.
Finally, the FTDI reference says you can leave RESET floating (as you've done) but the Arduino boards that use the FT232rl have it connected to VCC. I'm not sure what the implication of that is; I've never made a USB powered circuit that uses the FT232RL (all my designs with that chip have been self powered).
I hope this helps. Good luck!
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 83
|
 |
« Reply #4 on: September 27, 2012, 09:43:40 am » |
thanks for replies. its working  . just rx and tx was connected wrong. thanks for help anyway.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 83
|
 |
« Reply #5 on: October 05, 2012, 01:57:46 pm » |
(all my designs with that chip have been self powered).
my design is working but it doesnt upload everytime. first upload error second too and third success. would you be so nice and send me your schematic, please?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Online
Brattain Member
Karma: 240
Posts: 16427
Available for Design & Build services
|
 |
« Reply #6 on: October 05, 2012, 02:02:44 pm » |
@miros, Download the Duemilanove schematic from the Hardware page and use the FT232 design there. http://arduino.cc/en/Main/ArduinoBoardDuemilanoveOr this one even, same thing for just the FT232 http://arduino.cc/en/Main/MiniUSB
|
|
|
|
« Last Edit: October 05, 2012, 02:06:46 pm by CrossRoads »
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Online
Brattain Member
Karma: 240
Posts: 16427
Available for Design & Build services
|
 |
« Reply #7 on: October 05, 2012, 02:09:58 pm » |
Do you also have 100nF cap between FT232 DTR and '328 reset? Do you have 10K reset pullup resistor to +5? Do you have a diode acros that resistor like current Uno's use (anode to reset, cathode to +5)?
|
|
|
|
|
Logged
|
|
|
|
|
Southern California
Offline
Sr. Member
Karma: 4
Posts: 466
I like blinky lights
|
 |
« Reply #8 on: October 05, 2012, 04:33:07 pm » |
my design is working but it doesnt upload everytime. first upload error second too and third success. When I first started working with the bare FT232 I had this problem too... Do you have a diode acros that resistor like current Uno's use (anode to reset, cathode to +5) ...but I've never seen the problem since I added a diode. So hopefully that will fix your problem as well.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 83
|
 |
« Reply #9 on: October 06, 2012, 10:41:01 am » |
thanks i will try and post results later.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 83
|
 |
« Reply #10 on: January 27, 2013, 05:26:54 am » |
Do you have a diode acros that resistor like current Uno's use (anode to reset, cathode to +5)?
anode to reset on atmega or on ft232?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Online
Brattain Member
Karma: 240
Posts: 16427
Available for Design & Build services
|
 |
« Reply #11 on: January 27, 2013, 11:42:48 am » |
Across the atmega's reset resistor. Description is backwards tho - anode on reset pin, cathode to +5. Any spikes on the reset pin get dissipated to +5, and prevent the part from thinking it is going into high voltage programming mode. See section 3.
|
|
|
|
|
Logged
|
|
|
|
|
|