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

50%
+1 −1
Q&A Robust digital output protection

I am working on a digital output concept that I would like to have the following characteristics: Output voltage: 5V Controllable by the uC from 3.3V power supply I would like to be able to sw...

2 answers  ·  posted 1y ago by 2kind‭  ·  last activity 1y ago by Lundin‭

Question ESD digital-output
#3: Post edited by user avatar 2kind‭ · 2025-07-17T14:39:42Z (about 1 year ago)
added picture, clarified requirements
  • I am working on a digital output concept that I would like to have the following characteristics:
  • * Output voltage swing: 0 to 5V
  • * Controllable by the uC from 3.3V power supply
  • * I would like to be able to switch the output at <100Hz
  • * I would like output to be current limited to a certain current threshold (assume <200mA)
  • * I want output resistance from it to be "low" (ie. don't want adding additional resistance in series to limit the current)
  • * bonus, it would be nice that the output wouldn't budge (get damaged) when stressed a bit with either ESD event of 8kV or +-12V wrong wiring connection (there is another 12V and -12V rail on the unit). Unit doesn't need to function properly in this case, it just can't get damaged.
  • I currently have something like:
  • [![schematic view](https://electrical.codidact.com/uploads/7u73wkmj682invws877itjawa361)](https://electrical.codidact.com/uploads/7u73wkmj682invws877itjawa361)
  • In this case V1, powering the digital output, would be current limited through current limit switch set up to 200mA. R2 simulates the ~100mA load.
  • How would concept for my idea look like?
  • I am working on a digital output concept that I would like to have the following characteristics:
  • * Output voltage: 5V
  • * Controllable by the uC from 3.3V power supply
  • * I would like to be able to switch the output at <100Hz
  • * I don't need more than 50mA of output current drive
  • * Bonus, it would be nice that the output wouldn't budge (get damaged) when stressed a bit with either ESD event of 8kV or +-12V wrong wiring connection. Unit doesn't need to function properly in this case, it just can't get damaged.
  • I currently have something like:
  • ![High side pnp switch](https://electrical.codidact.com/uploads/usqd7zo3kelrron6a1jhrhmvi3x4)
  • How does this look like?
#2: Post edited by user avatar Velvet‭ · 2025-06-13T14:11:22Z (over 1 year ago)
make image clickable so that it can be viewd in full-size; workaroud suggested by trichoplax‭ here: https://meta.codidact.com/posts/294143/294144#answer-294144
Robust digital output protection
  • I am working on a digital output concept that I would like to have the following characteristics:
  • * Output voltage swing: 0 to 5V
  • * Controllable by the uC from 3.3V power supply
  • * I would like to be able to switch the output at <100Hz
  • * I would like output to be current limited to a certain current threshold(assume <200mA)
  • * I want output resistance from it to be "low"(ie. don't want adding additional resistance in series to limit the current)
  • * bonus, it would be nice that the output wouldn't budge(get damaged) when stressed a bit with either ESD event of 8kV or +-12V wrong wiring connection(there is another 12 and -12 rail on the unit). Unit doesn't need to function properly in this case, it just can't get damaged.
  • I currently have something like:
  • ![schematic view](https://electrical.codidact.com/uploads/7u73wkmj682invws877itjawa361)
  • In this case V1, powering the digital output, would be current limited through current limit switch set up to 200mA. R2 simulates the ~100mA load.
  • How would concept for my idea look like?
  • I am working on a digital output concept that I would like to have the following characteristics:
  • * Output voltage swing: 0 to 5V
  • * Controllable by the uC from 3.3V power supply
  • * I would like to be able to switch the output at <100Hz
  • * I would like output to be current limited to a certain current threshold (assume <200mA)
  • * I want output resistance from it to be "low" (ie. don't want adding additional resistance in series to limit the current)
  • * bonus, it would be nice that the output wouldn't budge (get damaged) when stressed a bit with either ESD event of 8kV or +-12V wrong wiring connection (there is another 12V and -12V rail on the unit). Unit doesn't need to function properly in this case, it just can't get damaged.
  • I currently have something like:
  • [![schematic view](https://electrical.codidact.com/uploads/7u73wkmj682invws877itjawa361)](https://electrical.codidact.com/uploads/7u73wkmj682invws877itjawa361)
  • In this case V1, powering the digital output, would be current limited through current limit switch set up to 200mA. R2 simulates the ~100mA load.
  • How would concept for my idea look like?
#1: Initial revision by user avatar 2kind‭ · 2025-06-12T20:09:29Z (over 1 year ago)
Robust digital output protection
I am working on a digital output concept that I would like to have the following characteristics:


 * Output voltage swing: 0 to 5V
* Controllable by the uC from 3.3V power supply
* I would like to be able to switch the output at <100Hz
* I would like output to be current limited to a certain current threshold(assume <200mA)
* I want output resistance from it to be "low"(ie. don't want adding additional resistance in series to limit the current)
* bonus, it would be nice that the output wouldn't budge(get damaged) when stressed a bit with either ESD event of 8kV or +-12V wrong wiring connection(there is another 12 and -12 rail on the unit). Unit doesn't need to function properly in this case, it just can't get damaged.

I currently have something like:
![schematic view](https://electrical.codidact.com/uploads/7u73wkmj682invws877itjawa361)

In this case V1, powering the digital output, would be current limited through current limit switch set up to 200mA. R2 simulates the ~100mA load.

How would concept for my idea look like?