Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

comparators - pull up or not ?

Status
Not open for further replies.

rompelstilchen

Full Member level 2
Joined
May 22, 2010
Messages
122
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
fdsf
Activity points
2,308
hello

I ordered LMV358IDR comparators to drive FDN340P transistors like on the following schematic

https://www.arduino.cc/en/uploads/Main/arduino-uno-schematic.pdf

but I find it ackward that there is no pullup resistor, I read many times a comparator needed one

- does it ?
- since the comparator appears to be powered by 5V USB, if there is no USB plugged in, is it's output low by default, so the FET is open letting any VIN supply go through ? how can I be sure of this ?

regards
 
Last edited:

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
47,280
Helped
13,995
Reputation
28,243
Reaction score
12,646
Trophy points
1,393
Location
Bochum, Germany
Activity points
275,239
LMV358 are rail-to-rail OPs, not comparators, but can be of course used as comparators as well. The output is push-pull, no pull-ups required or useful.

The OP can work for the application, but I wonder why you don't use single channel LMV321?
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
17,832
Helped
4,010
Reputation
8,020
Reaction score
3,906
Trophy points
113
Activity points
117,933

rompelstilchen

Full Member level 2
Joined
May 22, 2010
Messages
122
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
fdsf
Activity points
2,308
actualy I have 2 usb connectors, one for a teensy , one for an arduino

they dont have any USB power switching

and indeed I should have ordered 321

can you answer my 2nd question too?

appreciate your help

- - - Updated - - -

it's the official arduino schematic, so I'll reproduce it

but I was wondering what about no USB power -> no power for the comparator -> what is the state of the FET transistor ?
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
47,280
Helped
13,995
Reputation
28,243
Reaction score
12,646
Trophy points
1,393
Location
Bochum, Germany
Activity points
275,239
The comparator is powered by +5V node, derived from Vin and Vusb. In so far I don't understand the question.

You should pay attention to the MOSFET direction. It's main function is block reverse feeding the USB from VIN. It switches off if Vin > 6.6V, not strictly the expected safe behavior of an USB client according to USB standard.
 

rompelstilchen

Full Member level 2
Joined
May 22, 2010
Messages
122
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
fdsf
Activity points
2,308
if USB (through mosfet) and VIN (through VREG) both produce 5V and reach the same 5V point in the schematic

then a simple diode would do the trick, right ?
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top