Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

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:

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?
 


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 ?
 

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.
 

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.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top