Pages: [1]   Go Down
Author Topic: reset pin pull up ? if yes , only 3.3V?  (Read 1222 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 53
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hello all,

I have question regarding arduino due reset circuit, i have checked schematic, but still not clear for me.
Question is if Arduino reset pin can be pulled up by external resistor? and if yes, I guess it should be only 3V3?

Because I have one puss button used for "software reset" by MCP23017 which is running at 5V, I would like to make jumper option for direct connection between pushbutton and arduino reset.
But that push button has pull up resistor to 5V because of MCP23017.

Any advice helpful, thanks in advance. Miro
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 631
Posts: 34473
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

As a general rule you do not apply a voltage greater than the power rail to any device.
So no do not pull it up to 5V.
Logged

White River Junction, Vermont USA
Offline Offline
Full Member
***
Karma: 5
Posts: 106
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

zmatek,

The DUE has a 100k resistor pull-up to 3.3V on the reset line.  The reset input is Active-Low.

There are marginal, silly, circuit tricks to get it to work.  However, I would still would not recommend applying an external active-low reset signal that already has it's own pull-up to 5V.

If the external circuit's pullup is very big, then it 'probably' wouldn't do any damage.. But it's still a foul, and bad form.  Add proper voltage translation, and don't look back.

For a kinder/friendly version of the schematic, look here:
http://forum.arduino.cc/index.php/topic,146574.0.html

-Chris
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 53
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

it is clear, no pullup resistor needed, because It has built in an internal.
I still need to merge 5V logic with arduino reset pin, so just rectifier diode could do the job.
Please take a look on attached schematic draft, does it seems ok to you guys?


* DSC_0710.JPG (551.48 KB, 3264x1836 - viewed 44 times.)
Logged

White River Junction, Vermont USA
Offline Offline
Full Member
***
Karma: 5
Posts: 106
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

zmatek,

IMO, I'd characterize that as a 'silly circuit trick'.

Be wary of the forward voltage of the diode (is it a schottky?).

-Chris
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 53
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

no it is not, should be?
But I did not realize, that reset voltage would be going forward through diode...so I updated "silly circuit".
See attachment, does it seems better now?


* DSC_0711.JPG (573.11 KB, 3264x1836 - viewed 20 times.)
Logged

White River Junction, Vermont USA
Offline Offline
Full Member
***
Karma: 5
Posts: 106
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The "forward voltage" of the diode must be less than the requirements for the "low voltage threshold" on the reset input.

The forward voltage on any-old-diode may be near a 1 volt (~0.7V).  A Schottky will be less (often ~0.3V).  However, Schottky's can have a higher "leakage current" that sometimes you need to deal with.

See attached picture.

-Chris






* Capture.PNG (29.37 KB, 670x794 - viewed 44 times.)
« Last Edit: February 14, 2014, 04:45:30 pm by chriskner » Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 53
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I see, diode keep voltage level equal to forward voltage....
Does schematic you posted work well with Due?
Means is voltage treshold low enough?
It would be pretty useful for my app,however I can see pullup in the circuit you posted.
Qurstion is also, is that pull up resistor essential? If yes, desired value would be 10k?

Thanks a lot in advance for your help. Miro
Logged

White River Junction, Vermont USA
Offline Offline
Full Member
***
Karma: 5
Posts: 106
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I see, diode keep voltage level equal to forward voltage....
Yes.
Quote
Does schematic you posted work well with Due?
Means is voltage treshold low enough?
I don't know. 
You would need to look at the datasheet for the SAM3 micro on the DUE, as well as the ATMEGA16U2 chip (because the reset line runs there as well - see attached schematic) for the reset pins specs.  I believe that in addition to the on-board 100k pull-up on the DUE pcb, the Sam3X has an internal 15k pull-up on this line as well.  I do not know the internal setup, or requirements, for the ATMEGA chip.
Quote
It would be pretty useful for my app,however I can('t) see pullup in the circuit you posted.
Question is also, is that pull up resistor essential? If yes, desired value would be 10k?
On the DUE side, you would not need to add any additional pull-ups, because they already exist on the DUE's pcb.
In any case, ~10k-15k is a typical pull-up value in this role.
As far as I can tell, you won't hurt anything on the DUE; and it will either work, or not work...

Good luck,

-Chris


* Capture.PNG (37.45 KB, 593x444 - viewed 33 times.)
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 53
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

actually I want to use WDT ( MCP1316M ) it is an open-collector and operating up to 7V supply.

I prepared draft circuit for my application, I have to interface WDT with MCP23017 pin expander which has 5V supply.
My arduino is DUE so 3.3V logic. I choosed MCP1316M, and it should be ok for 3.3V logic, because it has 2.9V trip-point for supply voltage drop.
MCP will be used for "software reset" activated by push button, when jumper closed, puss button will initiate Arduino "hard reset".
Does is seems correct to you now?

BTW: I guess reset pin pull-up resistor is needed because of possible current leak in open-collector transistor.
So Is used to eliminate undesired reset?

Thank you in advance for your help. Miro


* DSC_0715.JPG (665.3 KB, 3264x1836 - viewed 33 times.)
« Last Edit: February 15, 2014, 08:13:55 am by zmatek » Logged

Pages: [1]   Go Up
Jump to: