Add this program to your computer: nirsoft.net/utils/wireless_network_watcher.html And look for Raspberry Pi Foundation. So there is NO need to hookup to HDMI as mentioned at 12:48
The ethernet module uses the SPI interface/bus, he never explains this. Also, be sure to add an AS1117 (3.3v to 5v booster breakout board) so that the board can draw a bit more micro-amps, it really needs about 200 micro-amps to work consistently at load. Will it work at 3.3v, yes, but if you push the module, it will error out. The AS1117 uses 5v in, GND, and out is 3.3v... but the 3.3v it returns has a higher micro-amp capacity then the 3.3v direct from the Pi GPIO 3.3v pin.
MAC address is permanent to the device. IP address can change. Also you can configure your router to assign a specific IP address to your Raspberry Pi (or adapter) using the MAC address of our device.
Indeed. But this device gets a random MAC address every time the Pi boots, if you don't create one yourself. Normally a MAC address is a manufacturer + device ID, but this device just does not have one.
Hey! Lots of great info and thanks for the video! I'm trying to recycle an extra Pi zero I have lying around the house as an LTE modem. I'm thinking it's possible with a USB LTE dongle and an installation of OpenWRT. I was hoping to use this device to give the pi zero Ethernet without impeding on the existing USB port. Is a Mac address necessary to connect this directly to an Android device with a USB to Ethernet adapter? Would config of the pi be any different with OpenWRT installed?
I ordered one. Only 4$ shipped. Need it to run mtr traces to a server from my network. Hopefully this device doesn't introduce any latency or off numbers.
Thank you thank you thank you. This is excellent and works 100% perfect with a Raspberry Pi Zero W. I found the INT signal necessary to make it work. Thanks also for explaining how to set the mac address.
Is it possible to connect two of these to a RPI3? I am designing some Telephone equipment that will run TDM over Ethernet interface, So 10mbps is not an issue. I am wondering if I should invest any time with this solution or just use a USB Ethernet Adapter?
Do you think it would be possible to desolder the RJ45 on that? I know its crazy but what I really need is access to the ethernet output, not the jack itself.
Not the fastest thing. Unfortunately it doesn't work for my use case. Interesting nonetheless. I get my full network speed over usb. This ethernet adapter I only get 4Mbps max. Running cat on my trace log file takes a good 20 seconds over ethernet, on usb its maybe 5 seconds max.
Interesting question. I don't see why it would not be possible. Do you have a specific project in mind? Because I think in most cases it is probably easier and cheaper to just add a few more Raspberry Pi's to your project for redundancy instead of creating (only) ethernet redundancy.
Bas van der Sluis if you would like to help me. we can break the industrial market with such revolutionary idea. about zero redundant links. instead of using those 10000$ fpga dev kits
yes i do have project in mind, (raspberry pi3 + (2 Eth interfaces using gpio) to make (HSR or PRP). But .. i don't know how it is possible to be achieved, is it possible to go down to the frame level with Raspberry PI?
Thank you sir your information helped a lot .... I was making a server and didn't wanted to waste the only usb port .... I did tried usb splitters but it dosen't work
u can set the micro usb port to apear as an ethernet adapter to any system that is a usb host. If you are running a linux router (ddwrt or openwrt...possibly some normal router firmware) or windows pc you can just plug it in and it and share ethernet. I connection mine to my router and told the router to bridge the interface to lan main when connected. Main advantage I can see for spi ethernet would be on like a pi 2 or 3 that one is using to run cameras they stream over ethernet. pi ethernet shares usb bus so you quickly run out of bandwidth. on a single core pi I think u will max the cpu before you run into shared usb bandwidth issues
Yes, but the Pi3 has an ethernet-adapter on board, so it's only useful for cases which require multiple ethernet adapters. Keep in mind that this ENC28J60 is a 10mbit adapter (and even half-duplex in this case), so it's fairly low speed. If your project needs multiple adapters, you would probably be better off with a usb ethernet adapter, since the Pi3 has 4 usb-sockets.
No. 10 mbps is max. when using the gpio-ports. If you want multiple fast ports, you could try two USB ethernet adapters. The PI has USB2-ports, so the theoretical maximum would then be 480 mbps.
@@basvandersluis5662 but afaik usb2 bandwidth is way behind gigabit ethernet. I know the rpi3 (both A and B) have shields to add two ethernet ports but dont know if those would be gigabit or just 10/100
Correct. USB 2 is max. 480 mbps where gigabit is 1000 mbps (or should it be 1024mbps ;). afaik the ethernet of the rpi 2 and 3 use the same controller as the usb ports, so the theoretical max. speed is still 480 mbps. I don't know about the shields, but the shields are using the gpio-pins...
Ja, dat denk ik wel. De Pi4 heeft echter genoeg USB-poorten en ethernet aan boord om het zonder deze oplossing te fixen. Een USB-ethernet dongle is veel sneller dan dit ding.
@@basvandersluis5662 Sorry voor de late reactie (werk) Dongles zijn mijn ding niet en er is geen dual Gb-Eth aansluiting is als addon verkrijgbaar voor de Pi4 en wil er heel graag een FW/router van maken. Dus zat er aan te denken om een HAT te maken voor de Pi4 met een 1Gb RJ45 met behulp van jouw bouw wijze, ik weet dat de bus van de USB gedeeld word met de onboard RJ45 doch weet niet of dat dit ook van toepassing is op de GPIO. Als je enig advies heb of inspiratie heb gekregen om dit zelf te doen ik zou je zeer erkentelijk zijn voor bouw advies.
@@pahtriac Pfoe.. Ik weet niet of de GPIO-poorten voldoende snel zijn om een beetje knappe snelheid te halen. Het ding wat ik gebruikt heb haalde max. 10 mbit. Heb je een specifieke reden om zelf een router te bouwen? Ik heb hier zelf een relatief goedkope router in gebruik die Gigabit haalt op z'n WAN-poort en heb de DNS en DHCP-functies uitgeschakeld welke ik laat doen door een Raspberry Pi 2 met Pihole. Het enige wat mijn router nu nog doet is routen en meer niet. Losse acces-points in huis verzorgen de wifi.
@@basvandersluis5662 ik had een oud dual cpu moederbord met 2 100Mb netwerk kaarten aan de muur op zolder geschroeft. W2K + Sambar server en een FW dit werk deden. Doch jaar geleden is die overleden. dus ben weer overgestapt naar de Ziggo router :( De vrouw was er niet happy mee dat ik een ander slachtoffer (^^) aan de muur wilde gaan schroeven. dus keek ik naar andere opties, ik hoorde dat Ubuntu 64 SE voor de Pi4 uit was gekomen dus wilde ik daar mee gaan experimenteren. doch een dual Eth voor de Pi4 is blijkbaar een struikelblokje als je niet van dongles houd
True true why not just add a USB? Hub. But USB hub with power supply include it with the hub so it has extra power because you're well aware USB for connected us BS you just get one with its own power supply, there are about 15 dollars for a nice win 5 to 10 of them. Cause they all have their own power supply can still use your ethernet that you want to use thats faster and still have mouse and all that
Greetings from India, Thank you soo much for showing a wonderful teaching stuff, Can you please tell me can we attach 10/100/1000Gbits Ethernet Module, if yes, and you know about that device name please mention here ...
Thanks. I don't think that the GPIO ports are fast enough for 100 or even 1000 Mbit ethernet. If you want faster, you can go for a USB Ethernet module, but that is theoretically limited to 480 Mbit (max USB2.0 speed), but the Pi is probably not fast enough to reach that. Anyway, it's faster than the 10Mbit half duplex module of this video. :)
Yes, I have found it very reliable. I've had open connections for days, using this unit. Never have I had any network issues because of this unit. The only thing which caused the Raspberry to hang was drawing to much power from other GPIO pins.
Thank you for the reply. Where did you end up purchasing yours from? I need a couple hundred of these, and I have found Alibaba to be the cheapest, but the boards may look slightly different. How do I pick the best one? Average price on Alibaba is $2.25 USD when bought in bulk.
I bought mine from eBay. If you need that much, I would buy a couple of these units from different sites and sellers and see which one is best and then order the large amount.
I am not a systems administrator, but my guess would be setting up a ping to a server in the local network. Let it run for a couple of days (or hours) and check the amount of packet loss. Also, I think that stressing the CPU a couple of times while doing this ping is a good idea, because the CPU is mainly responsible for the GPIO pins.
Have you tried Ethernet on the pi pico RP2040 ?
people like you enrich the internet, thank you
Hi Bas, any change of getting this done on a pi pico?
I have a question. Since it is a ENC28J60 have you ever did a banwidth test to see what it does?
Add this program to your computer: nirsoft.net/utils/wireless_network_watcher.html
And look for Raspberry Pi Foundation. So there is NO need to hookup to HDMI as mentioned at 12:48
Thanks for the tip!
Glad to help!
The ethernet module uses the SPI interface/bus, he never explains this. Also, be sure to add an AS1117 (3.3v to 5v booster breakout board) so that the board can draw a bit more micro-amps, it really needs about 200 micro-amps to work consistently at load. Will it work at 3.3v, yes, but if you push the module, it will error out. The AS1117 uses 5v in, GND, and out is 3.3v... but the 3.3v it returns has a higher micro-amp capacity then the 3.3v direct from the Pi GPIO 3.3v pin.
MAC address is permanent to the device. IP address can change. Also you can configure your router to assign a specific IP address to your Raspberry Pi (or adapter) using the MAC address of our device.
Indeed. But this device gets a random MAC address every time the Pi boots, if you don't create one yourself. Normally a MAC address is a manufacturer + device ID, but this device just does not have one.
For ENC28J60 the software has to provide a MAC so if you don't provide one, it will get random MAC address.
Can I use 2 of these modules with the pi zero?
Hey! Lots of great info and thanks for the video!
I'm trying to recycle an extra Pi zero I have lying around the house as an LTE modem. I'm thinking it's possible with a USB LTE dongle and an installation of OpenWRT. I was hoping to use this device to give the pi zero Ethernet without impeding on the existing USB port.
Is a Mac address necessary to connect this directly to an Android device with a USB to Ethernet adapter? Would config of the pi be any different with OpenWRT installed?
The enc28j60 is not so difficult to connect with the available module to load.
Supposedly also possible to use W5500, but a lot harder
Hi, do you happen to have instructions for W5200? not working for me. I have dtoverlay=W5200 in /boot/config.txt.
I ordered one. Only 4$ shipped. Need it to run mtr traces to a server from my network. Hopefully this device doesn't introduce any latency or off numbers.
Thank you thank you thank you.
This is excellent and works 100% perfect with a Raspberry Pi Zero W. I found the INT signal necessary to make it work. Thanks also for explaining how to set the mac address.
Super, toen ik dit zag heb ik een Raspberry Pi Zero gekocht en ENC28J60 had ik nog liggen. MQTT draait, thanx!!!
Is it possible to connect two of these to a RPI3? I am designing some Telephone equipment that will run TDM over Ethernet interface, So 10mbps is not an issue.
I am wondering if I should invest any time with this solution or just use a USB Ethernet Adapter?
Excellent Bas. Thank you!
I've been wanting to do this and your vid makes it easy to do.
Cheers.
You're welcome!
U can buy and micro USB Ethernet adaptor that already has 3 additional USB ports attached to it for about 4 to 9 US dollars
Can this be done for the raspberry pi 3b and 3b+?
Could you elaborate on the 10bit vs 110bit differences? If I want to boot VIA ethernet, would the other be better?
Do you think it would be possible to desolder the RJ45 on that? I know its crazy but what I really need is access to the ethernet output, not the jack itself.
It is possible. The metal frame is soldered with two pins on the side, and the 8 pins are soldered though the board. So, no SMD-connections.
Not the fastest thing. Unfortunately it doesn't work for my use case. Interesting nonetheless. I get my full network speed over usb. This ethernet adapter I only get 4Mbps max. Running cat on my trace log file takes a good 20 seconds over ethernet, on usb its maybe 5 seconds max.
i would like to ask, can we build HSR/PRP,,, or industrial standard using GPIO of the raspberry pi?
Interesting question. I don't see why it would not be possible. Do you have a specific project in mind? Because I think in most cases it is probably easier and cheaper to just add a few more Raspberry Pi's to your project for redundancy instead of creating (only) ethernet redundancy.
Bas van der Sluis if you would like to help me. we can break the industrial market with such revolutionary idea. about zero redundant links. instead of using those 10000$ fpga dev kits
yes i do have project in mind, (raspberry pi3 + (2 Eth interfaces using gpio) to make (HSR or PRP). But .. i don't know how it is possible to be achieved, is it possible to go down to the frame level with Raspberry PI?
Thank you sir your information helped a lot .... I was making a server and didn't wanted to waste the only usb port .... I did tried usb splitters but it dosen't work
Why not you could if you use the USB hub? Gigabit Ethernet. Because I have no available USB ports, but you would.
u can set the micro usb port to apear as an ethernet adapter to any system that is a usb host. If you are running a linux router (ddwrt or openwrt...possibly some normal router firmware) or windows pc you can just plug it in and it and share ethernet. I connection mine to my router and told the router to bridge the interface to lan main when connected. Main advantage I can see for spi ethernet would be on like a pi 2 or 3 that one is using to run cameras they stream over ethernet. pi ethernet shares usb bus so you quickly run out of bandwidth. on a single core pi I think u will max the cpu before you run into shared usb bandwidth issues
Would this work with a normal Pi3 as well ?
Yes, but the Pi3 has an ethernet-adapter on board, so it's only useful for cases which require multiple ethernet adapters. Keep in mind that this ENC28J60 is a 10mbit adapter (and even half-duplex in this case), so it's fairly low speed. If your project needs multiple adapters, you would probably be better off with a usb ethernet adapter, since the Pi3 has 4 usb-sockets.
@@basvandersluis5662 Is it faster than wifi for Rpi0W
Could the zero support 2 ports with gigabit ethernet? or thats beyond its specs?
No. 10 mbps is max. when using the gpio-ports. If you want multiple fast ports, you could try two USB ethernet adapters. The PI has USB2-ports, so the theoretical maximum would then be 480 mbps.
@@basvandersluis5662 but afaik usb2 bandwidth is way behind gigabit ethernet. I know the rpi3 (both A and B) have shields to add two ethernet ports but dont know if those would be gigabit or just 10/100
Correct. USB 2 is max. 480 mbps where gigabit is 1000 mbps (or should it be 1024mbps ;). afaik the ethernet of the rpi 2 and 3 use the same controller as the usb ports, so the theoretical max. speed is still 480 mbps. I don't know about the shields, but the shields are using the gpio-pins...
@@basvandersluis5662 oh dang, got lied on the gigabit...
Hi, I’m kinda new to RPI’s,
I have that same module for LAN, and I got a mini buck converter.
Could you do a video on how to make it PoE?
Great video!
Thank you very much, my friend, it really helped me. Very well explained.
Werkt dit ook op de Pi 4?
Ja, dat denk ik wel. De Pi4 heeft echter genoeg USB-poorten en ethernet aan boord om het zonder deze oplossing te fixen. Een USB-ethernet dongle is veel sneller dan dit ding.
@@basvandersluis5662 Sorry voor de late reactie (werk) Dongles zijn mijn ding niet en er is geen dual Gb-Eth aansluiting is als addon verkrijgbaar voor de Pi4 en wil er heel graag een FW/router van maken. Dus zat er aan te denken om een HAT te maken voor de Pi4 met een 1Gb RJ45 met behulp van jouw bouw wijze, ik weet dat de bus van de USB gedeeld word met de onboard RJ45 doch weet niet of dat dit ook van toepassing is op de GPIO. Als je enig advies heb of inspiratie heb gekregen om dit zelf te doen ik zou je zeer erkentelijk zijn voor bouw advies.
@@pahtriac Pfoe.. Ik weet niet of de GPIO-poorten voldoende snel zijn om een beetje knappe snelheid te halen. Het ding wat ik gebruikt heb haalde max. 10 mbit. Heb je een specifieke reden om zelf een router te bouwen? Ik heb hier zelf een relatief goedkope router in gebruik die Gigabit haalt op z'n WAN-poort en heb de DNS en DHCP-functies uitgeschakeld welke ik laat doen door een Raspberry Pi 2 met Pihole. Het enige wat mijn router nu nog doet is routen en meer niet. Losse acces-points in huis verzorgen de wifi.
@@basvandersluis5662 ik had een oud dual cpu moederbord met 2 100Mb netwerk kaarten aan de muur op zolder geschroeft. W2K + Sambar server en een FW dit werk deden. Doch jaar geleden is die overleden. dus ben weer overgestapt naar de Ziggo router :( De vrouw was er niet happy mee dat ik een ander slachtoffer (^^) aan de muur wilde gaan schroeven. dus keek ik naar andere opties, ik hoorde dat Ubuntu 64 SE voor de Pi4 uit was gekomen dus wilde ik daar mee gaan experimenteren. doch een dual Eth voor de Pi4 is blijkbaar een struikelblokje als je niet van dongles houd
Nice guide man,
Is it still running?
Just curious as to how reliable the hardware is!
Actually yes. It is currently being used as a temperature sensor and it's pushing the temperatures to an api every minute.
This video is very helpful. Thank you. Works well with compute module.
hi, you're using a pi0 or a pi0W?
It doesn't really matter, but the Pi I used in the video was a non-W version.
@@basvandersluis5662 thanks
Can I use on micro SD card USB 2.0 to SATA DVD player without operative system? Only programs that start up dvdn find usb etc???
Thank you for sharing this information.
Thank You Sooooooooo much you made my Day. very Clear Demonstration
True true why not just add a USB? Hub. But USB hub with power supply include it with the hub so it has extra power because you're well aware USB for connected us BS you just get one with its own power supply, there are about 15 dollars for a nice win 5 to 10 of them. Cause they all have their own power supply can still use your ethernet that you want to use thats faster and still have mouse and all that
Could you add this to a pi 3 to get a secondary Ethernet port?
Yes, but a cheap usb ethernet adapter is the best choice for the Pi 3, if you want a secondary adapter.
Greetings from India, Thank you soo much for showing a wonderful teaching stuff, Can you please tell me can we attach 10/100/1000Gbits Ethernet Module, if yes, and you know about that device name please mention here ...
Thanks. I don't think that the GPIO ports are fast enough for 100 or even 1000 Mbit ethernet. If you want faster, you can go for a USB Ethernet module, but that is theoretically limited to 480 Mbit (max USB2.0 speed), but the Pi is probably not fast enough to reach that. Anyway, it's faster than the 10Mbit half duplex module of this video. :)
in GPIO pins can we attach USB3.0 ?
is it reliable?
Yes, I have found it very reliable. I've had open connections for days, using this unit. Never have I had any network issues because of this unit. The only thing which caused the Raspberry to hang was drawing to much power from other GPIO pins.
Thank you for the reply. Where did you end up purchasing yours from? I need a couple hundred of these, and I have found Alibaba to be the cheapest, but the boards may look slightly different. How do I pick the best one? Average price on Alibaba is $2.25 USD when bought in bulk.
I bought mine from eBay. If you need that much, I would buy a couple of these units from different sites and sellers and see which one is best and then order the large amount.
Bas van der Sluis what would be the best way to setup a test to check reliability?
I am not a systems administrator, but my guess would be setting up a ping to a server in the local network. Let it run for a couple of days (or hours) and check the amount of packet loss. Also, I think that stressing the CPU a couple of times while doing this ping is a good idea, because the CPU is mainly responsible for the GPIO pins.
thank you!
Are you Cptn Duck?
Nope.
Cptn Dutch more likely.
good video thanks :D
Nice Video, a lot of stuff explained ,but also a bit too long.