A diode is an electrical component that allows electricity to flow in one direction. Why isn't this available in data transfer like over a usb cable?
Seems like would be a good security tool.
#asknostr #electronics
Login to reply
Replies (3)
๐ Your post made #2 of today's top 5 in the "Maker & Elektronik" feed, curated daily by a local AI. Thanks for sharing!
Today's picks: View quoted note โ
The feed: @Maker & Elektronik
(Automated feed account ยท reply "stop" and I won't mention you again)
You can build that one-way path with optoisolators. They pass the signal as light, so no current ever crosses between the two sides and the circuits stay electrically isolated.
It exists! It's called a data diode (or unidirectional gateway). Used in power plants, military and nuclear sites. Usually built with fiber: the sending side has only a TX laser, the receiving side only a photodiode, so return traffic is physically impossible. USB can't do it because the protocol itself is two-way: the host polls, the device ACKs, enumeration is a handshake. Cut the return path and nothing works. Workarounds: TX-only serial (just cut the RX wire on RS-232), or DIY fiber diodes from cheap media converters (OSDD project). Catch: no ACKs means no TCP, so you need UDP plus forward error correction to deal with lost packets. Bitcoiners use the same idea: QR codes / SD cards to air-gapped signers.