Bit-banging Ethernet on an ATTiny85
NOTE: I have done significantly better. Check out my half-duplex project here!!! https://www.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: https://github.com/cnlohr/ethertiny
Видео Bit-banging Ethernet on an ATTiny85 канала CNLohr
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: https://github.com/cnlohr/ethertiny
Видео Bit-banging Ethernet on an ATTiny85 канала CNLohr
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Half-Duplex Ethernet with just an ATTiny85](https://i.ytimg.com/vi/m4f4OzEyueg/default.jpg)
![Broadcasting Analog TV on an ESP8266!](https://i.ytimg.com/vi/SSiRkpgwVKY/default.jpg)
![I2C Bit-Banged without Microcontroller!](https://i.ytimg.com/vi/8ZYMrcHm91s/default.jpg)
![ATTiny85 four-component megaphone.](https://i.ytimg.com/vi/__ECzxnvEg8/default.jpg)
![PCBs done quick.](https://i.ytimg.com/vi/2eRdbvGXkio/default.jpg)
![Arduino Tutorial: ATTiny85 board A First Look and review.](https://i.ytimg.com/vi/fOBGdSYi318/default.jpg)
![World's Smallest Minecraft Server](https://i.ytimg.com/vi/YNrFOClrzTA/default.jpg)
![Using Wired Ethernet on the ESP8266](https://i.ytimg.com/vi/XKnyAYKP434/default.jpg)
![AVR Non-Contact Temperature Projector](https://i.ytimg.com/vi/YWJOpnQS1_s/default.jpg)
![Cheap and Easy WiFi (IoT) Tutorial Part 1 - ESP8266 Setup/Intro](https://i.ytimg.com/vi/qU76yWHeQuw/default.jpg)
![How to use the Pin Change Interrupt on ATtiny85](https://i.ytimg.com/vi/0aAwKT0YWJU/default.jpg)
![#13 Automated Battery Tester with an Attiny85 and an OLED (Tutorial)](https://i.ytimg.com/vi/mKPKQm0uPBQ/default.jpg)
![EEVacademy #4 - I²C (I2C) Bit Banging](https://i.ytimg.com/vi/fm13tIe5wSc/default.jpg)
![Programming an ATtiny85/45 with an Arduino UNO (Getting started)](https://i.ytimg.com/vi/i9WOwDrpRKs/default.jpg)
![world's smallest arduino attiny85](https://i.ytimg.com/vi/CLnlCaeZR30/default.jpg)
![AVR Code Piplining: To do what may seem impossible.](https://i.ytimg.com/vi/Y5ldIov4JmM/default.jpg)
![PCBs of Projects Past](https://i.ytimg.com/vi/cJF5Q9F8tm0/default.jpg)
![Electronic Basics #3: Programming an Attiny+Homemade Arduino Shield](https://i.ytimg.com/vi/9LjfkjwMqXI/default.jpg)
![Level Up Your Arduino Code: External Interrupts](https://i.ytimg.com/vi/J61_PKyWjxU/default.jpg)