Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

60%
+1 −0
Q&A Controlling the Low power mode of Buck Boost converter using a Microcontroller

Read the datasheet and do the math. On page 3 of the datasheet we find that the guaranteed high and low threshold voltages for the PS/SYNC input are 1.4 and 0.4 V, and its maximum input current is...

posted 6d ago by Olin Lathrop‭

Answer
#1: Initial revision by user avatar Olin Lathrop‭ · 2024-11-08T15:45:33Z (6 days ago)
Read the datasheet and do the math.

On page 3 of the datasheet we find that the guaranteed high and low threshold voltages for the PS/SYNC input are 1.4 and 0.4 V, and its maximum input current is 100 nA.

First, let's analyze your circuit letting the input float high.  Your lowest power input voltage is 3.0 V, which is 1.6 V above the min guaranteed logic high threshold.  The 1 M&Omega; pullup will therefore source at least 1.6 &micro;A.  Subtracting the pin input leakage current leaves 1.5 &micro;A of headroom.  I didn't look up the maximum leakage of a 2N2222 transistor with its base held at the same voltage as its emitter, but as long as it's somewhat less than 1.5 &micro;A you are OK from a DC analysis point of view.  Whether there is sufficient margin to hold the pin high in a noisy environment is something you will have to decide.  A small capacitance to ground could help with that.

Now let's check your circuit driving the PS/SYNC pin low.  We can see just from inspection that the base current thru R2 is well more than enough to turn on Q1 to sink a few &micro;A, so that's fine.  R3 guarantees Q1 is off even when the microcontroller output is high impedance.  I would put R3 on the right side of R2 (directly on the base of Q1) for better noise immunity, but your circuit should work as is.

The above is assuming you are only driving PS/SYNC for the PS function, not the SYNC function.  Your circuit is way too slow for the SYNC function.