Pages: [1]   Go Down
Author Topic: CP2102 USB to UART Bridge and Pro MINI......DTR does not work  (Read 243 times)
0 Members and 1 Guest are viewing this topic.
France
Offline Offline
Jr. Member
**
Karma: 1
Posts: 85
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi
I've got a CP2102 USB to UART Bridge and a Pro MINI.
They both have DTR pin.
The CP2102 USB to UART Bridge
http://cgi.ebay.fr/ws/eBayISAPI.dll?ViewItem&item=400565980256&ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649
The Pro Mini I'm using.
http://webdca.com/abd/images/dr-pro-mini-knockoff-backside.jpg

But it won't upload sketches if I don't press the reset button.
I've no idea if DTR works on the CP2102 USB to UART Bridge.

But for sure I can't get it working on the Pro Mini.
If I'm right, it should reboot when I pull down DTR to ground as it does when I do pull down RESET to ground.
But it doesn't.
I thought of a bad 0.1uF capacitor between RESET and DTR, but shorting RESET to ground trough an external 0.1uF capacitor doesn't reboot either.

I've read a lot of things about DTR, but it seems it's been hacked from the serial port to be used to reset the Arduino.
So my question is : Does it have just to be grounded or does it have to be applied a specific signal to make DTR working ?
How can I troubleshoot the problem ?

I found this that might and seems to be interesting but my english and electronic skills are to weak to understand.
http://electronics.stackexchange.com/questions/61537/what-is-the-cap-for-in-arduino-reset-circuit


Thanks for your help.
« Last Edit: April 08, 2014, 03:18:33 pm by hary » Logged

France
Offline Offline
Jr. Member
**
Karma: 1
Posts: 85
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok, it works now !

1 - First, DTR has to be pulled HIGH before pulling it low OF COURSE !
So to "manually reboot the ProMini trough DTR, I first had to pull it HIGH with a 10KOhm resistor
2 - The on-board capacitor seems to be a little bet low and it doesn't work all the time. So adding a 2nd 0.1uF capacitor in parallel with the original one make it working any time I pull DTR down.

So, that way, I could verify that my ProMini DTR pin was "manually" able to work. That was the first point at least.

But it still wouldn't work with the "CP2102 USB to UART Bridge".

The thing is that the "CP2102 USB to UART Bridge" is on 3.3V and my ProMini on 5V (The ProMini has an on-board K50 regulator, I checked it). And of course connected together, the DTR pins were hold HIGH at 3.3V, not the 5V requested for a proper pulse.

Fortunately, my  5V ProMini seems to be able to work fine on 3.3V. So I fed it on 3.3V instead of 5V so the DTR pulse would be a nice straightforward .3.V HIGH to LOW level but it WORKED fine any time this way !!!

Any remark welcome.
Logged

Pages: [1]   Go Up
Jump to: