Bit-banging Ethernet on an ATTiny85 @CNLohr
Bit-banging Ethernet on an ATTiny85  @CNLohr
Uploaded August 2014 | Updated November 2026, 2 days ago
NOTE: I have done significantly better. Check out my half-duplex project here!!! youtube.com/watch?v=m4f4OzEyueg

NOTE: As has been graciously pointed out by some users at HackADay, Someone has already done this, about TEN YEARS AGO! http://www.cesko.host.sk/IgorPlugUDP/IgorPlug-UDP%20%28AVR%29_eng.htm

So, I found a really terrible way of getting my ATTiny85 to send ethernet packets. No, like REALLY terrible. If you aren't cringing when you watch this video, you're not an engineer.

NOTE: The reason this is so dangerous is because some POE switches are wired to be "always on" on the 48V rail. That means if you ground your AVR, it will have 48V going into its inputs which may end VERY badly both for the AVR and potentially even be hazardous to any nearby humans.

An AVR runs at 20 MHz, you can output a port one time every clock cycle. By doing that you can create differential signaling at 10 MHz, which is perfect for 10Base-T Ethernet!

I am sure this violates the 802.3 standard six ways to sunday.

Check out my repo on github: github.com/cnlohr/ethertiny
Bit-banging Ethernet on an ATTiny85Lets get some work done! LibSurvive #8I got tantalum caps from the wrong sourceReverse Engineering the HTC Vive.Pylotron: ESP8266 Multiplayer First Person Shooter(FULL) Adding wifi to a desk lamp with the Wi07C (ESP8266)My 100 Watt LED FlashlightMaking your own C programs for the ESP8266How I do my projects - Part 2 - Producing the PCB2. Bit-Banged USB Stack from ScratchWhat is ColorChord?Cheap LED Strip lighting for our warehouse.
CNLohr |

Bit-banging Ethernet on an ATTiny85

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER