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 Robust digital output protection

Generally you can protect against most kind of harmful events with a TVS placed on the output, with a value slightly higher than your expected signal voltage so roughly 6V. The only thing the idea...

posted 1y ago by Lundin‭

Answer
#1: Initial revision by user avatar Lundin‭ · 2025-07-22T11:49:35Z (about 1 year ago)
Generally you can protect against most kind of harmful events with a TVS placed on the output, with a value slightly higher than your expected signal voltage so roughly 6V.

The only thing the idea of building this yourself with BJTs got going for is somewhat fast switching but <100Hz is slow. A generic buffer IC with 3.3V on one side and 5V on the other would work about the same and if you can find a fairly modern one it ought to have ESD protection. Maybe there is one which can drive 50mA even? You can also check out "analog switches" - fast switching parts usually designed for lower voltages.

Another solution is to get pre-made "smart MOSFET driver" which is essentially a MOSFET that can supply lots of current while remaining rugged and protected against all kinds of harm: shorts, ESD, polarity flips etc. The automotive industry use them for relay replacement so the main thing is that they can source a lot of current (which you don't need). I'm not sure if there are any that can work with relatively low voltages - they are designed for 5V gate voltage, but a standard buffer IC between the MCU and the driver would fix that.

This is best answered by browsing the stock of a suitable IC manufacturer. Infineon has a lot to pick from for these kind of parts so maybe check https://www.infineon.com/products/power/gate-driver-ics. Renesas, ST, Onsemi etc should have similar products.