Это видео недоступно.
Сожалеем об этом.
Using Wired Ethernet on the ESP8266
HTML-код
- Опубликовано: 31 мар 2016
- It's pronounced E S peethernet. It's a way to communicate with ESP8266's via 10BASE-T Ethernet instead of via the wifi interface. This project is still in its infancy but it works. Somehow, it works! Check out the hackaday article: hackaday.com/20...
Github link for the web interface: cnlohr.github.i...
Github project link: github.com/cnlo...
Patreon: / cnlohr
"Hmm, too much noise. Filter it to attenuate? Nah, I'll just whop on an antenna and radiate it!" Absolute hilarious genious.
Omg I laughed so hard xD
That was pretty cool putting an antenna to radiate the bad frequencies away. Yes, a capacitor would be better in a commercial project but finding that little kludge worked was so funny. Electronics is so fun!
haha yeah!
When you plugged a wire into the breadboard and packet loss went down, I couldn't stop laughing.
As soon as I saw that circuit board I knew it was CNLohr. ^^
Gets a Like for the wire-antenna solution. Definitely best part of the show. :D
Sweet!
Samy Kamkar But Most Of All Samy Is My Hero... Sorry I Just Had To.
Jesus, this is easily the most hacky solution I've seen in a while! LOVE IT! :)
This seems like a great router for when there's just a random port to plug into but no ssid that is open.
Does this mean that we can use any WiFi smart switch sonoff, Philips etc and hard wire it to the network to prevent drop out etc?
Please glue the focus shut ...
Did you write all that code yourself, or did the guys in the background help you :D?
Also: How long did it take you to write this?
Edit: The thing with the antenna that gets rid of signal disruption seems a little odd :D( Is it really not a really really good april fools prank?)
+K1ngjulien_ I believe I coded everything myself, except for the FCS CRC that I can remember. I also borrowed bits and pieces of Sprite TM's I2S code, but that's largely mine now. I also use jQuery on the webpage.
This whole video is legitimate. I actually did everything. The ONLY part that is April fools is where I say the ESP8266 has an Ethernet module.
I love it! I want to build a commercial product on the second option lol.
Seriously though, great job!
Please don't. It would be 𝓽𝓮𝓻𝓻𝓲𝓫𝓵𝓮
Amazing job! it is really awesome what you do with esp8266!
Very Cool! I love messing around down at layer 1.
Man thats cool(the maximum jank contraption). It would be nice if you could share the schematic and code
"...it's radiated into the atmosphere where it's somebody else's problem to deal with"
oh honey...
It's a joke. It's very little power.
This is what we can call it awesome work so congrats. i really like to hear your advice about what is recommended way to made a device that has wired Ethernet with builtin web server for control and manage some outputs and inputs devices ?
Wait, why wouldn't you want to use an FTDI chip in a commercial product? Am I missing something?
Please elaborate. :)
Because FTDI is a terrible kludge. The parts have more stringent requirements than most of their competitors not that you should use any of that anyway. ADDITIONALLY if you use an FTDI branded chip in your design and there was confusion in the sources, you run a high risk of having a product that will be deliberately bricked by FTDI. If it has an FTDI stamp on the top throw it in the trash.
@@CNLohr So you have a problem with generic UART to USB interfaces or anything more particular to this design?
Because in anything low volume and/or low throughput I think having this trivial/standard way to interface is just better than the hassle trying to make a custom usb interface.
Hello bro
First of all thank you for giving us such a beautiful and informative video.
I had some questions about ESP8266 NodeMCU v3. If I want to make a repeater with it. So my question is
1 / What will be the maximum range of NodeMCU repeater?
2 / What is the maximum data speed of NodeMCU WiFi?
3 / NodeMCU repeater maximum number of people can use together?
Sorry your comment was in the spam bucket. I do not recommend you make a project with this. It would be a lot of work and be janky. Your range would depend on your environment. I've done ESP8266 range tests at up to 1km, but realistically 100 feet or so is what you should expect less in urban or high RF areas, or going through walls. (2) About 5mbits/s. (3) 4 people.
You sir, are a God.
Thank you so much for sharing this knowledge
Can u make a ethernet Sonoff switch? that's secure for sniffer neighbors!
So...what about making of WiFi access point? It would be awesome to have just tiny board with RJ45 connector, powered by PoE, hanging behind wardrobe on UTP cable and spreading data to whole room.
That may be possible! I just don't know how to intercept the IP packets :(
Yay!
When I saw your projects, I'm pretty sure you can solve that in few minutes. To be honest, I thought that simple forwarding of data flow would work some way. When you have ethernet to serial and WiFi to serial converter, first thing that comes to my mind is to simply connect serial interfaces and check what will happen (and analyze if it even does something, or where it fails).
I don't understand what you are saying...
This is exactly what I have been looking for! I have an idea to capture utility usage (power and water) and transporting the data to the utility companies as a service. To pull this off I need to connect the ESP to the Ethernet port on the ONT devices that are typically mounted to the side of homes by communication companies.....I will pull the code and see if I can get it to compile. Fingers crossed!!!
If you need help, feel free to open issues over at github.
I'm impressed, what is that little blue red terminal you use for your feedback?
github: cnping
So bit-banged ethernet is faster than the native WiFi connection, at least in terms of websockets? For comparison, what refresh rate does your websockets code score on an official arduino ethernet shield, or a beaglebone black?
+Gordon McLellan It is comparable to the wifi connection, just more predictable timing, you don't have peaks. Either the packet comes in in 1 ms, or it doesn't at all. I've never tested it on those devices... BUT... It "feels" slighly faster than even an ENC424j600 based controller solution.
soo.. is this real?
+Tim Jadeglans Yes, the ESP can talk 10BASE-T Ethernet. The fools is that it does not have a controller. It talks ethernet using software.
CNLohr put this in the desription of the video.
What's the difference between the NodeMCU board and the ESP8266? The node just looks like it's a breakout for the ESP? Is that at all correct?
+bdot02 The NodeMCU board is a breakout for the ESP8266 ESP-12E, however, it does not have a line driver (ISL3177) and so the ESP is acting as the line driver as well.
Ah so the board isn't janky, just the setup. I'm just curious since I've been playing around with arduino and wanna start learning the ESP8266. Your channel is very helpful.
Correct. NodeMCU boards are great! Just not for Ethernet :-p
+CNLohr out of curiosity do you have any 'getting started with' sort of videos for the ESP? Or are there any guides you'd recommend? I'm coming from Arduino and would appreciate some sort of hello world tutorial.
Check out "Making your own C programs for the ESP8266"
Just excellent.
You may call it Jank, I call it fun. I especially love the minimalist extension at the end of the video.
Isn't there any other microcontroller rather than ESP that is already ethernet based? (which is easy to use like ESP)?
Not really, and even less that would include wifi!
5:09: I paused this video and start to picking up my phone.
can it be used with Blynk?
Who's the guy with the Oculus in the background?
+chbrules Adam - he's in some of my other youtube videos.
I think just playing with it.
It looked like the wire antenna was acting as an improvised stub.
it is
hi , can it do jobs like wifi connecting when we connect it to router?
Not well!
What HMD is wearing the collegue in the background?
+Martin Konečný It looks like Oculus CV1, but I'm not sure about this.
What about usin the last hack solution with MQTT protocol and QoS = 1 to ignore the packetloss? :)
I have just never found a use for MQTT, it is just another layer! UDP is where it's at!
Great project but.... no tripod?
lol.... btw you have a node mcu there.... would it be wise to fetch i2s direct from the esp? I want to use your ws2812 driver stuff :-D
+Tim Solinski (MrFaul) You basically are fetching it right from the ESP when you hook into the RX pin.
That is my intention :-) build a massiv ceiling lamp with ws2812 stripes and was to lazy to build a controller for it so it is sitting for about 2 - 3 years in a corner now xD time to finish it... one question those two bin files on git hub are those functional builds for flashing it?
Yep! They accept packets via UDP port 7777 I believe.
cool
And thx for it and colorchord
I have my sights set on colorchord next! :)
Hi; how this project makes the most sense, is with the arduino connecting via wifi, and providing that connection via ethernet to an ethernet-only device. I have a need for that right now, I am searching for a solution for my Pioneer AVR. What a device like this needs though, is for the ethernet port to receive an IP from the same subnet as the wifi. So the software needs to pass the likes of DHCP through to the ethernet client.. in fact it needs to pass all broadcast traffic back and forth to accomodate the likes of airplay, DLNA and bonjour etc.
Could this project do that?
nooooooo. Don't do this for that. This was mostly as a proof of concept. It takes a lot of tweaking to get this to work and a lot of custom code to send specific packets.
Oh well. It did seem miraculous, for a wee ESP-01 to handle all that..!
IT DOES! It's just a little janky. If you are an advanced maker, this project is definitely something you can do. It's just not as simple as "make this circuit and it'll work every time easily."
can you make a wired lan router using this?
You could! I didn't but you absolutely can!
@@CNLohr How can you make one? Is it possible to make a video about it some day as a guide? Thanks.
Nice! Is it possible to add an RJ45 connector to a sonoff device? So you can control it via Ethernet not wireless.
though impractical, and probably janky, the answer is technically yes.
CNLohr great! Can you point me to a resource that has done it?
Only the resources I have available here and on the github link in description. No one else is crazy enough to do much with it.
so how fast is this? 1Kbps?
Much faster. I think I was getting ~150 kBps when first working with it. Probably could go much faster than that!
thanx so it is as fast as 802.11n
no! no! Much much slower!
CNLohr
ok just noticed you said K, I though M ;D
hahah 1Kbps yeah yeah! (sarcasm)
So... I could also "read" packets? and then send them over wifi to my laptop? (uisng a Star LAN Tap )
yep. Would need to be a little different, and could only tap a 10 MBit network, but yes.
Thx, the ESP can only talk 10Mbit? I remember Scott explaining me it will downgrade 1Gbit nets on a Con ive been to. It will be a proof of concept I gues. if I realy want to "wirelessly sniff/spy" Im better off with devices(with PHY) you explained in the videos.
Indeed... But, of interest to you may be the ESP32 which has a MAC built in, so you can talk 100MBit ethernet.
I see your love for the ESP8266 and its pricetag ;)
I found this interesting but the unfocusing and jumpy video was really getting on my nerves. I am looking for a device like this that can eventually control external relays in coordination with my HVAC thermostat (Basically controlling the operation of my HVAC).
This totally can. It gives 3.3v output signals that can go directly into logic-level mosfets for high current applications.
I am learning electronics so I'll have to research what mosfets are. In my app, I am working with 24VAC power and the relays are 5VDC activated. Just don't know how this wireless device interjects the signal to the relay. Am I missing something? Maybe that header I see in blue has at least 3 pins I can use as GPIO?
This looks alot different that what I have seen on ebay... www.ebay.com/itm/321970765761
Aah, those are the ESP-01 modules... the ones I use are ESP-12-F modules now. The outputs cannot drive relays directly, but with the help of a mosfet, you'll be set!
P.s. Yes, several GPIOs are available on the ESP-12-F's
I checked one out and now I can see where a header can be added to give you access to a GPIO. The older model was frying my brain. Still don't know enough about electronics and mosfets but I can take your word on it.
It just works!
can we use ESP8266 as a wifi router through this technique ?
theoretically, but it would be awful!
but why ?
is it speed ?
complexity ?
r anything else
The ethernet on this system is janky. It won't work over really long runs and might not work to all switches. That and I don't think there's an easy way of telling the wifi subsystem that this device is the default gateway and to use it as such.
i want it to respond to my ridiculous package...
Wait wait wait, so actually that is possible to make a “bridge” Ethernet - lowpan lowpan - Ethernet :D
Sure, but it would be really hard to use.
Really irritating with unstable zooming of camera
What about a Bluetooth interface?
The ESP32's got one!
Acknowledged, but the ESP-07S is cheaper (that $5 price difference matters for some, myself included), more widely available, FCC-approved (are any ESP32 boards approved? I know the chip is...), and has an external antenna port. So how about a Bluetooth interface? :-D I've asked in the forum, no response yet.
April 1st?
+d0c13dff943c5b67f411732304b6f46f The original title was "Ethernet driver found in the ESP8266" Which was the april fools joke.
Wow. Just wow.
Raw Packet interception + wireshark or aircrack-ng or other packet analyzers = hmmmmmmm
But it is a April 1 release...so...hmmmmm
If this is too much work for you, you can get raw 802.11 packets from just about any wifi USB dongle, too. Look up "monitor mode"
I fell like you are turning into a computer
Thanks!
So what about starting by cannibalizing a 2$ ebay ENC28J60 ethernet module, would that reduce the jank factor or would it just break your code ?
Also can I program my doo-dad in the arduino ide and like, just #include you code when I need to send random ethernet packets ? or do I need to use IDE you used during development ?
No. An ENC28J60 is WORSE than this! ENC28J60's ARE JUST AWFUL. NO ONE should be using them. The enc424j600 is at least reasonable, but it makes me sick that people think that a 28j60 is a legitimate chip to do anything with.
Wow, did someone hack your account to post this kind of hate speech? ... If not: Since they are described as rather popular on hackaday, and even mentioned in your very own espthernet article on there, would you perhaps mind elaborating on your rant a bit more objectively? Thanks.
There's so many things wrong with the enc28j60, such limited space, lacking on the memory indexing modes, can't handle half-duplex correctly. I really don't understand why it became the standard when a chip that mostly works is available, the 424j600
Probably because it is slightly cheaper (like the guide) ! Also compared with I2S Ethernet emulation, surely you jest that the enc28j60 is worse ? At least it has a PHY !
This thing totes works with a line driver. That counts, right?
Wicked!
amazing! :)
Hi whatever you were doing and explaining is interesting and out of my level 😀😂🤣🤣 but I want to know one thing can we make a normal usb printer to a wifi printer with this small powerful beast 'ESP8266'? and if yes then how? might be your next video on this would be a million views video! 😱😱
1
------- th of a
1200 second???
+will11m This is fake! At 6:57 you can see some of the Perl code that actually does the work.
Wauw!
What the fuck do you actually use the damn thing for????