TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I made an Ethernet transceiver from logic gates

460 pointsby ynoxinulover 2 years ago

20 comments

PostOnceover 2 years ago
It&#x27;s worth your while to buy another domain. You could keep the .tk running.<p>Some sites shadowban .tk, Reddit probably still does. Search engines probably downrank it. That&#x27;s because it&#x27;s free and has been used for a lot of spammy stuff.<p>This makes it harder for people to share and harder for people to find. That might just put a damper on your hobby, but it might also mean you won&#x27;t get random emails about jobs you might want. (If you&#x27;re interested in that.)<p>I only mention it because I learned that the hard way many years ago.
评论 #34037245 未加载
评论 #34037326 未加载
评论 #34036456 未加载
greenyodaover 2 years ago
This is a wonderful project! I&#x27;m old enough to remember the days when Ethernet adapters for commercial computers were made of individual logic gates. The Ethernet adapter in the VAX 11&#x2F;750 I used in the early 80&#x27;s was two large Unibus boards full of TTL logic: <a href="http:&#x2F;&#x2F;gunkies.org&#x2F;wiki&#x2F;Digital_Ethernet_UNIBUS_Network_Adapter" rel="nofollow">http:&#x2F;&#x2F;gunkies.org&#x2F;wiki&#x2F;Digital_Ethernet_UNIBUS_Network_Adap...</a>
评论 #34038640 未加载
评论 #34038511 未加载
评论 #34038222 未加载
0xmarcinover 2 years ago
What a mervell of retro-computing. I think the author should definitely contact Ben Eater, as this is an excellent material for the next video.<p>Aside from this, Arduino shields for Ethernet are available for quite some time, but they often contain the more advanced chip than the atmega328p itself. Here OTOH the author builds from the ground up. Simply amazing!<p>That being said, I think most of the ppl that are serious about their arduino networking will use CAN as their network of choice (<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;CAN_bus" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;CAN_bus</a>).
bjt2n3904over 2 years ago
Oh wow.<p>I had thought this was, &quot;I simulated it in a high level HDL and synthesized it to gates&quot;.<p>No, this is... I built it with physical chips. Brilliant build and write-up!<p>Edit: This is beautiful for a second reason... The lack of regard for doing things &quot;correctly&quot;. The ugly clock circuit is horrifically unreliable... But just reliable enough for it to still work.<p>It reminds me of Muntzing.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Muntzing" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Muntzing</a>
mikewarotover 2 years ago
So all I need are link pulses to fake the other end of an Ethernet connection to keep it alive?<p>This makes building a data diode much simpler than I thought it needed to be. Thanks!
评论 #34037352 未加载
bogomipzover 2 years ago
Wow, this is fantastic! I had a couple of questions. The author states:<p>&gt;&quot;According to the 10BASE-T spec, each frame starts with a fixed synchronization sequence of 64 bits, first 62 of which are alternating ones and zeroes and the last two are ones.&quot;<p>I believe the intention of the &quot;preamble&quot; is to provide clocking and synchronization for the circuit so that it knows where to find the start frame delimiter and subsequent fields. Is that correct?<p>My other question is at what point does the circuit drop frames that are not intended for it? Does that happen in layer 1 or layer 2? I realize this happens less in modern switched Ethernet networks but it is still possible for a host to get an Ethernet frame for where the destination MAC address does not match any of those burned-in addresses on the Ethernet adapter. Does the transceiver always read the entire Ethernet frame even when the destination MAC address field it reads is incorrect? The maximum Ethernet frame size is 1518 bytes which seems like a lot of data read if the MAC address is not valid for the host.
评论 #34040628 未加载
评论 #34039843 未加载
评论 #34081309 未加载
psychphysicover 2 years ago
I love this stuff, well over my head but amazing read and so grateful for the scope captures!
userbinatorover 2 years ago
<i>However, some hardware I have sometimes produced longer preambles</i><p>How long were they, and did they happen to coincide with short frames? It&#x27;s been a <i>long</i> time since I&#x27;ve worked with 10M Ethernet PHY but I vaguely remember some non-standard implementations would lengthen the preamble instead of padding the &quot;tail&quot; of the frame.
评论 #34036416 未加载
评论 #34047530 未加载
omezeover 2 years ago
Its been way too long since I touched a breadboard, but what software was the post using to simulate this? I would expect that the requirement for ~ns precision (microwave frequencies) would involve a lot more tedious calculations for designing the circuit.
评论 #34036269 未加载
jtlienwisover 2 years ago
Look on Hackaday for &quot;Why do you need to use decoupling caps&quot;. I am not seeing any talk of decoupling caps in any of this persons writeups. Maybe they are there and I am just not seeing them. It used to be when designing with LS ttl you needed one per chip to make sure switching noise did not get onto your power supply rails. Otherwise, a great project for learning.
评论 #34038361 未加载
评论 #34038252 未加载
55555over 2 years ago
Wow the tech talent in Tokelau is insane!
Evidloover 2 years ago
A mistake: you refer to C9 in the monostable section, but it should be C5
评论 #34036924 未加载
评论 #34036423 未加载
testermelonover 2 years ago
This is sick. I also read their post about the making a discrete computer and didn’t expect them to be also writing a compiler from scratch. Something I’ve only been dreaming about.
alexnewmanover 2 years ago
classic hackernews. We need more of these
ameliusover 2 years ago
From Wikipedia:<p>&gt; Manchester code was used in early Ethernet physical layer standards<p>So, not in later standards?
评论 #34037097 未加载
birdyroosterover 2 years ago
I love these people bc they do all the esoteric stuff so that I don’t have to.
mgsouthover 2 years ago
Cool! Have you submitted to Hackaday?
systems_glitchover 2 years ago
Nice work! Now do thicknet :P
charcircuitover 2 years ago
What is the benefit of using all of these different components over using an FPGA?
评论 #34036438 未加载
评论 #34036481 未加载
verisimiover 2 years ago
How is this fairly nerdy piece, that no one has commented on, top of hn? What am I missing?
评论 #34036366 未加载
评论 #34038794 未加载
评论 #34036246 未加载
评论 #34037450 未加载
评论 #34036252 未加载