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

Comments on 1-wire interface overvoltage protection

Post

1-wire interface overvoltage protection

+3
−0

I'm designing a robust 1-wire output for an IoT board.

The interface should be able to withstand high voltage. Mainly the same voltage level as the board power supply. That's 12V to 36V DC.

The protection is intended for the board only, not the devices connected to it.

Consider the protection must be able to withstand permanent voltage.

This is what I came up with.

I'm not going to use UART as TX and RX lines. I'll do it by software, I separated the direction because it's easier to provide a stronger protection. I'm not sure how to merge the two lines.

The OUT label is where the 1-wire goes out of the board. RX and TX are the two lines that go directly to microcontroller.

R18 is the 1-wire pullup.
D5 protects protects the 3.3V line from the high-voltage that might apply on the line.
Mosfet VDS should be able to withstand the high-voltage. The mosfet circuitry is used to overcome the high resistance of R23 when the microcontroller wants to transmit data to the line.

Will that work?

Circuit

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

R17 maybe a bit large, maybe okay. R18 should be sized to the application - speed and bus capacitance... (1 comment)
R17 maybe a bit large, maybe okay. R18 should be sized to the application - speed and bus capacitance...
Pete W‭ wrote about 2 months ago · edited about 2 months ago

In saying "robust", is this in some way a field-wired system hooked up by potentially careless people (including oneself on a friday afternoon =P)? That would bring in scenarios of reverse power, and absence of ground connection, both of which are quite annoying.

Is ESD a consideration?