(488) Is Power over Ethernet (POE) on the ESP32 any good? (New TTGO and Olimex boards available)

แชร์
ฝัง

ความคิดเห็น •

  • @whc2001
    @whc2001 5 หลายเดือนก่อน +75

    I don't think the sticker is about 48VDC as it reads ESD, which stands for Electro-static Discharge. It's more like a warning that don't touch the board before you discharge yourself or you risk damaging the ESD sensitive components.

    • @longinus665
      @longinus665 5 หลายเดือนก่อน +1

      Yeah, on the documentation they talk about some very ESD sensitive components.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน +1

      Thank you for clarification!

  • @TiSapph
    @TiSapph 5 หลายเดือนก่อน +41

    The Olimex ESP32-PoE has an annoying issue: it constantly draws 10mA from the PoE (500mW!) and gets really hot.
    The reason is that this is the minimum required current to keep the PoE active (device detection). However it doesn't need to draw this all the time, the PoE standard allows for short pulses of current draw to keep the PoE active.
    A workaround is to desolder one resistor, but then you cant use sleep mode without the PoE being shut off by your switch due to the small power draw.
    Also it has micro-USB. I cannot wait for everything to finally transition to USB-C.

    • @dv5809
      @dv5809 5 หลายเดือนก่อน +4

      If you keep buying micro-USB crap they will never switch, because micro-USB connector is a few cents cheaper.

    • @TD-er
      @TD-er 5 หลายเดือนก่อน

      @@dv5809 This Olimex board design is already a few years old and to change to USB-C you need a PCB board redesign. I can imagine that's not worth the effort as they probably (my assumption, or should I say "wish") will make a new board with one of those SPI Ethernet chips like the W5500 and using some ESP32-S3 or C3.
      Those SPI Ethernet chips take a lot less pins from the ESP.

  • @ericakeret4517
    @ericakeret4517 5 หลายเดือนก่อน +14

    Greetings from a former DEC Switzerland employee :-)

  • @pete3897
    @pete3897 5 หลายเดือนก่อน +10

    I recommend a look at the Silicognition WESP32 - very well engineered product

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Thank you for the tip!

  • @ruanbotha1337
    @ruanbotha1337 5 หลายเดือนก่อน +5

    I am using a ESP32 Module with a Ethernet Wing (W5500). Programming is not to difficult (standard ESP32 fashion) and for POE one can use a POE splitter. But an all in one module sounds promising.

    • @TecSanento
      @TecSanento 5 หลายเดือนก่อน +1

      Do you use lwip integration for the kernel (raw packet mode) or the tcp stack (hardware offloading) of the module?

  • @drmocm
    @drmocm 5 หลายเดือนก่อน +3

    I have been using an Olimex ESP32 POE board for my OpenMQTTGateway to connect to Xiaomi BLE thermometers for over 2 years and don`t have any problems. I like to use wired connections for bridges like that and the POE makes it more convenient since I already use POE switches for cameras.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Thank you for sharing your experience!

  • @gabest4
    @gabest4 5 หลายเดือนก่อน +6

    10:10 Wifi/Bluetooth cannot be used together with the ADC2 pins. I think GPIO14 is your problem. Unless you have already tried without the temperature sensor, in that case I don't know.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Good point! As said: I did not investigate further.

  • @tubeDude48
    @tubeDude48 5 หลายเดือนก่อน +6

    I've always used the T-568B standard here in the US.

    • @michaelcummings7246
      @michaelcummings7246 5 หลายเดือนก่อน

      The A standard was only used in office phones originally and when they developed for ethernet they choose B so the two types of equipment didn't get confused if hooked up to wrong system and/or cause possible damage. Many newer office phone system use POE instead now to allow simpler wiring that can used for either.

    • @villehietala9677
      @villehietala9677 5 หลายเดือนก่อน +1

      I've been running ethernet cabling here in Finland for 25 years and everything has been done with an A-scheme. Except one large customer that wanted everything to be B for several years, until they gave up.
      Patch cables seem to always be with B-coloring thought, which screws up everything. Rj45 is used so much with other things than ethernet and we electricians need to cut ready made patch cables to connect other end to screw terminals etc. Basically every time a new guy connects such a device, we have to go back and change orange and green pairs with each other.
      I'm glad that the gigabit crossover isn't really a thing in real world, so blue and brown are mostly right at the first go.

    • @michaelcummings7246
      @michaelcummings7246 5 หลายเดือนก่อน +1

      @@villehietala9677 that's interesting since I'm pretty sure in the standards it says that B should be used but it's been years since I've read any of them or made a cable for that matter😉. Just did a quick search and found that the TIA/EIA 568-A was standardized in 1995 but replaced in 2002 with B. The only time A would be used is in a crossover cable as that reverses the pairs. Up thru 100BASE-TX only 2 pair are used one for TX and one for RX but starting with 1000BASE-T all four pair are used. The switch to MDI-X was added to hardware so crossover cables were no longer needed but also had the benefit that were various national standards messed up by using A instead of B they didn't need to make special equipment just for those countries😉.

  • @Maaniic
    @Maaniic 5 หลายเดือนก่อน +3

    I would say that CAt 5 and 5e would have shielding sometimes as you could get STP(Shielded) and FTP(Foiled) cables.
    And for some applications I would not count out the good old RS485, it is very nice to connect alot of low bandwith control equipment with more modern trancievers that can have 64-250 nodes per segment.
    And a new(2019) standard for this is T1L that that runs Ethernet over a single twisted pair in a bus fashion at 10 Mbit.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      I agree, T1L would be a good thing for most of our applications. However, the old Ethernet cables are more versatile, particularly if you wire your home.

  • @ilyaw124
    @ilyaw124 5 หลายเดือนก่อน +6

    Cat 5e supports 2.5Gb and Cat 6 support 5Gb speed according new standard 802.3bz-2016

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Thanks for clarification!

  • @Sierra-Whisky
    @Sierra-Whisky 5 หลายเดือนก่อน +3

    I've been using an Olimex ESP32-POE-ISO for almost a year now. It's powered by Power over Ethernet and I use it in my garden for grabbing sensor data from several bluetooth sensors and send it to Home Assistant by using the BT proxy function in Esphome. It works flawlessly and this way I didn't have to make wifi avalable in my garden.
    I first tried it by placing a regular ESP32 inside next to a door or behind a window but unfortunately this was not reliable enough and some sensors were even completely out of reach. (Because of thick walls and metallic coatings in my windows) With the ESP32-POE-ISO my entire is easily covered for the purpose.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Indeed a very good idea! I moire and more switch to Zigbee sensors for a similar reason...

  • @Electronieks
    @Electronieks 5 หลายเดือนก่อน +2

    You are my favorite andreas spiess channel

  • @christopherguy1217
    @christopherguy1217 5 หลายเดือนก่อน

    Great video, wired Ethernet on an ESP32 is a great idea and POE makes this the perfect solution.

  • @AJB2K3
    @AJB2K3 5 หลายเดือนก่อน +3

    Always interesting and useful.

  • @luciusthe
    @luciusthe 5 หลายเดือนก่อน

    Cat7 recommendation is a safe one - if you are about to pull new cables though your house, to be used for various devices (including PC-s, newer TV-s etc).
    However if you are pulling cables for ESP32-s than CAT5.e really is more than enough (because it's good for up to 1 Gbps)... and is a much cheaper option too. Also easier to crimp.
    Thanks for a review !

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Thanks for the clarification!

  • @1x1johnny
    @1x1johnny 5 หลายเดือนก่อน +1

    @6:50 i want to know more about the Power over Internet 😅😅😅 Great Video, as always btw!

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      :-)) My mistake!

  • @JanDahl
    @JanDahl 5 หลายเดือนก่อน

    This week, I decided I wanted to make a small embedded network tester (ping, DHCP, etc.) perfect timing!

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Cool! PoE for sure enhances its usability.

    • @JanDahl
      @JanDahl 5 หลายเดือนก่อน

      @@AndreasSpiess, ended up ordering an M5Dial + PoESP32 and a Lilygo T-POE-Pro, let's see where it leads :)

  • @avejst
    @avejst 5 หลายเดือนก่อน

    Great find as always
    Thanks for sharing your big knowledge :-)

  • @Heisenberg2097
    @Heisenberg2097 5 หลายเดือนก่อน

    I want to ask a question to the audience of this great channel! In this, and not only this, video there is evidence that swiss people do not only exist of swiss cheese and clockwork precision...

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      You are right. With only cheese we wold not survive. Expensive clocks like Rolex help more in this regard…

    • @Heisenberg2097
      @Heisenberg2097 5 หลายเดือนก่อน

      ​@@AndreasSpiess You would survive with only cheese. Try eating your Rolex...

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      @@Heisenberg2097 That is why they invented money back in the day, I think

  • @hypercube33
    @hypercube33 5 หลายเดือนก่อน

    T568B was designed to handle CAT3 / ATT Phone wiring (the RJ11 plugs fit into an RJ45) so for the USA its the standard cable.
    Cat-5E is generally rated the same as Cat6 as well and can generally carry 10Gbe no problem.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Thank you for your additional information!

  • @deanbell5164
    @deanbell5164 5 หลายเดือนก่อน

    I have been using the W5500-EVB-Pico for a number of years now, lots of I/O pins and the RP2040 :)

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      How do you program it?

    • @deanbell5164
      @deanbell5164 5 หลายเดือนก่อน

      Arduino IDE ...
      #ifndef ARDUINO_WIZNET_5500_EVB_PICO
      #error This file is for Board:"WIZNET_5500_EVB_PICO" only
      #endif
      I have some examples if you want?

  • @aonomus
    @aonomus 5 หลายเดือนก่อน

    I recently deployed an ESP32-POE (Olimex) with WLED, 4 output channels for LEDS, and a I2S ADC for line level audio input. My only struggle was finding enough 'raw' GPIO, and I needed to desolder a few 0201 SMT resistors from the I2C lines that I didn't need. Would be nice if it was a solder jumper or something easier to 'clear'.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Maybe somebody from Olimex reads the comments ?

  • @hoctrimededebutry8655
    @hoctrimededebutry8655 5 หลายเดือนก่อน

    It is a useful and interesting subject 👍Many information and as usual, clearly explaining . Thanks/Danke a lot !!

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Glad you liked it!

  • @bertblankenstein3738
    @bertblankenstein3738 5 หลายเดือนก่อน

    Thank you. I will look at the boards but probably hold off. I have some stuff that is connected with wifi (it isn't perfect, wifi drops out sometimes) today, and i guess that works well enough for now. I ended up with some 2.0mm header cables a while ago. 2.5mm is much easier.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Indeed, wires have less complexity. Still, they can fail if the router goes down.

  • @GameDesignerJDG
    @GameDesignerJDG 3 หลายเดือนก่อน +1

    I recommend cat 6a over cat 7 for three reasons:
    1. Cable runs can be longer (6a is 100 m max rated, cat 7 is 30 m max rated) which could become a problem if you're not careful with the length of your cable runs.
    2. cat 7 requires shielding, which can be hard to deal with without specialized tools, whereas cat 6a only requires foil which can be cut by anything, realistically. It can also come shielded if your area has high emf interference.
    3. cat 6a is cheaper. Why spend more for the same network speed
    Edit: Oh, and 4. cat 7 has a new standard that isn't the RJ-45.

    • @AndreasSpiess
      @AndreasSpiess  3 หลายเดือนก่อน

      Thank you for the additional info! Some other commenters even wrote that there is no CAT7 standard...

  • @TD-er
    @TD-er 5 หลายเดือนก่อน +3

    Just make sure to not use "shielded" Ethernet cables.
    Most of these boards are not isolated from their Ethernet shield and thus there is a direct connection to the chassis of the switch.
    Also when using PoE, keep in mind not all use isolated PoE, so when you connect the board to a PoE switch and also to the PC for debugging, you may end up frying the board, your PC or your PoE switch.

    • @ligius3
      @ligius3 5 หลายเดือนก่อน

      Wait, don't all PCs and most if not all routers use isolated Ethernet?

    • @TD-er
      @TD-er 5 หลายเดือนก่อน +1

      @@ligius3 Yep, but many ESP boards with Ethernet don't and thus you have a direct connection with the chassis of the switch/router which may be connected to some other PC which isn't connected to a power outlet with earth pin and thus if you use the more expensive shielded Ethernet cables, you may have quite a high voltage offset on the GND pin of your ESP board.
      If you then connect this to your PC (e.g. via USB to serial chip as some Ethernet boards also don't have USB) or logic analyser, you can for sure fry electronics.
      So that's why I strongly advice against using shielded Ethernet cables to connect your ESP boards.
      Some PoE Ethernet boards do not have isolation on the PoE circuit.
      For example Olimex has boards with and without isolation on the PoE circuit. This is clearly labelled in the name with "ISO".

    • @ligius3
      @ligius3 5 หลายเดือนก่อน

      Yes, just saw now the schematic and description for the Olimex board and it does not have a tranformer. Some ETH chips I think include a transformer inside but not the specific Microchip one. But I agree that the shield might be at a different potential, but compared to what, to ground? It still needs a path, so two connections, so not sure how the current would flow. The PoE injector probably has an isolated supply. Ethernet doesn't have a ground pin, so not sure where the voltage will flow from the shield.

    • @TD-er
      @TD-er 5 หลายเดือนก่อน +1

      @@ligius3 I think you're mixing up a few things here...
      In the RJ45 socket, there are some transformer coils for the signal wires (well in nearly all but the really cheap ones) so the signals are almost allways isolated or at least on the other side at your switch.
      However for PoE, there is some center pin for each pair which carry the PoE voltages.
      The PoE circuit to tun this 48 - 57V into some more managable lower voltage can also be isolated. For example the Olimex PoE-ISO board has such an isolation for the PoE.
      N.B. when powering your board via PoE, the data lines should absolutely be isolated or else you will fry your Ethernet chip.
      But those are often just isolated in the RJ45 socket.
      Now the shield of the RJ45 socket.
      This should only be connected to the GND of the board via some 1M resistor and maybe some capacitor too.
      However on quite a few ESP32 Ethernet boards, this shield (thus the metal frame of the RJ45 socket) is directly connected to GND of the ESP board.
      So if you connect this shield with a shielded network cable (thus metal shield wrapped around the RJ45 connector), then you will make a direct connection to the chassis of the switch.
      And if this switch is connected via a shielded cable to another PC which isn't properly connected to the Earth pin, you will introduce a voltage offset of +/- 110 - 120 V from this other PC.
      This is like when you get shocked when touching a PC case.
      So you may introduce quite a voltage level offset between your ESP board and whatever equipment you have at your desk.
      Remember "this other PC" can be located in another room, connected to different phase, etc.
      This is why I always advice not to use shielded Ethernet cables when connecting ESP boards. At least not when you also need to connect other stuff to it, like some debugging tool, a PC or sensors which can be touched.

    • @ligius3
      @ligius3 5 หลายเดือนก่อน

      @@TD-er Thanks for the clarification, it makes more sense now.

  • @tomaski.
    @tomaski. 4 หลายเดือนก่อน

    @4:06 the T-568A standard is nowadays almost obsolete and AFAIK is only used in some old corporate and/or government buildings for it's compatibility with landline telephony. Nowadays I think every ethernet cable sold is crimped according to the T-568B. Fun fact: some switches will detect and resolve (to some extent) crimping errors (I know Unifi does)

    • @AndreasSpiess
      @AndreasSpiess  4 หลายเดือนก่อน

      Thank you for the additional info. I did not know.

  • @misckicirina
    @misckicirina 5 หลายเดือนก่อน +2

    Nice video, but it seems identical to your video #365. Would be nice to make an updated one with the new Olimex ESP32-POE2 board.

    • @AkosLukacs42
      @AkosLukacs42 5 หลายเดือนก่อน +1

      Yepp, it's in the description. Usual summer stuff front Andreas, explained a year or two ago: during summer views are lower, and he is on a holiday too, so mostly recycled videos.

    • @Marvin-of3rt
      @Marvin-of3rt 5 หลายเดือนก่อน

      @@AkosLukacs42 What's the purpose of this?

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      @Marvin-of3rt It was proposed by viewers because not all saw all my videos (you see it if you read the comments).

  • @dfgaJK
    @dfgaJK 5 หลายเดือนก่อน

    The aspect I am most curious about is power consumption.
    I have run cat5 to each light switch for future smart home augmentation (I want the relays to be wired in a cross-over configuration so all the lights work as normal even if the relays fail to switch). I am currently deciding on what to put in the switch boxes (in theory I could just use the 8 cat5 wires to the relay and current sensing and then do all the smart stuff at the hub). Or I could use RS485 and 240vac-3.3vdc transformers in the wall switch boxes. Or POE ESP32 in each wall switch box.
    Ultimately I want the system to use as little power as possible. What is the best option to achive this?
    1. a transformer in each box
    2. 48vdc POE
    3. direct remote relay actuation (48v relay?) (how could I do remote current sensing (for switch state sensing), over cat5 conductors)

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      An ESP32 consumes less than 100mA@3.3V without PoE. So three of them consume one watt. I would save elsewhere unless you need a lot of them.

    • @dfgaJK
      @dfgaJK 5 หลายเดือนก่อน +1

      @@AndreasSpiess I do need lots of them. The aim is to keep household parasitic power draw to a minimum from the outset. (I turn stuff off at the wall at night to reduce standby waste😊)
      I don't want to be redoing it all once in 10 years once there's 100s of devices.
      The problem is efficiently getting

  •  5 หลายเดือนก่อน

    Ethernet power usage is tipically proportional to the number of pairs used. For some devices where I can't disable gigabit (or it is complex) I just make sure to use cables with only 2 pairs. In one device I lowered temperature by 5 kelvin.
    For today standards even 2 pairs (100Mb/s) uses a lot of energy.
    Single pair ethernet (SPE) is coming out now, and will reduce power consumption, and also allow for PoE and Multidrop. I think soon (in geology scale) SPE and Fiber will cover all uses.

    • @AndreasSpiess
      @AndreasSpiess  4 หลายเดือนก่อน

      Good point. I did not know!

  • @SuspiciousAra
    @SuspiciousAra 4 หลายเดือนก่อน

    Shielded and/or foiled UTP cable is more important than category in this case. I would not use crimped cables, no matter the application. Use keystone modules instead and always connect the shielding to the ground or you just got yourself a big antenna :)

    • @AndreasSpiess
      @AndreasSpiess  4 หลายเดือนก่อน

      Thank you for sharing your experience!

  • @bastiannenke9613
    @bastiannenke9613 5 หลายเดือนก่อน

    After I recently got rid of my old Poe switch and transitioned to mikrotik, I'm currently transitioning a lot of stuff to passive poe. Benefit is that it runs from a 24V lifepo battery with a lot less conversion steps. At the moment my Nas is still on a conventional UPS but will also transition soon.
    Fun fact: a lot of hardware stores here already transitioned to cat 8 for shielded cables. Considering their usual markup, it's not even that expensive. I think the difference from cat 7 to 8 is mostly the plug but I'm not entirely sure. Must be small enough that it's not worth having both in stock.
    Wonder when we'll get an esp that supports fiber optics ;)

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน +1

      All my network stuff is from Mikrotik, too. But I do not particularly like the passive PoE because it is not widely used. I use if for their Access Points, though.

    • @bastiannenke9613
      @bastiannenke9613 5 หลายเดือนก่อน

      @@AndreasSpiess some of their models also support active poe. (Switches as well as the APs) Both clearly have some benefits, I'm happy with them. Recently discovered the power behind the 28° antennas in the sxtsq AC. Impressive for that price point.
      Also cheaply acquired one 60ghz ap, hope a second one also cheaply pops up soon. Your video showed me I need to test it for my stuff too.

  • @bartowl
    @bartowl 5 หลายเดือนก่อน

    I use TTGO poe board with esphome without any problems. Truly eth circuitry consumes a lot of important pins but on the other hand I have a way more stable BLE stack as it does not have to share radio with WiFi. Using the same sketch with BLE over WiFi lead to frequent reboots via watchdog and generally poor stability. I use it to monitor my offgrid (inverter via uart + victron charge controller via blue and jk-bms also via BLE). It sends enormous amount of telemetry and over eth it finally got stable. Plus I can power it from offgrid :)

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Indeed, WiFi and BLE over the same radio is not easy. Your proposal is much better!

  • @ghlscitel6714
    @ghlscitel6714 4 หลายเดือนก่อน

    What do you think about single-pair ethernet, e.g. with the SPI connected Phy LAN8650B1-E/LMX?
    Power over the cable should be possible too.

    • @AndreasSpiess
      @AndreasSpiess  4 หลายเดือนก่อน

      So far I did not see it used by Makers. I never tried it.

    • @ghlscitel6714
      @ghlscitel6714 4 หลายเดือนก่อน

      @@AndreasSpiess Would such a board be of interest if I designed one? How do you estimate its chances?
      Consider the following: The board connects to a pair of wires (Klingeldraht).. It could either connect to one switch port or connect to a bus with CSMA/CD protocol. So it would be a fancy alternative to a field bus solution.

    • @AndreasSpiess
      @AndreasSpiess  3 หลายเดือนก่อน

      @@ghlscitel6714 I do not know how big the market is. But as always, it is hard to find customers, even if they have this particular problem. Many people these days go the "standard" CATx way for their homes.
      But you can try and sell it via Tindie or so.

  • @PhG1961
    @PhG1961 5 หลายเดือนก่อน

    Interesting and impressive!

  • @fiveangle
    @fiveangle 5 หลายเดือนก่อน

    Dido you try to see if it supports half-duplex so that only 4 pins should be needed (and if the standard SCL/SDA pins could be left free) ?

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      No, I did not try that.

  • @jeffro.
    @jeffro. 5 หลายเดือนก่อน

    I'd like to try an ESP32 board with Ethernet & POE capability!
    I have a specific application where i need an RFID reader that is connected via an Ethernet cable with POE.
    Currently, I'm planning to use a different chip, as i have a board from Sparkfun that already integrates the RFID chip with a controller, and has Ethernet capability.
    But my home security system will use RP2040 chips for the sensors, and ESP32 for the console. Plus, i use esp32 for so many other things, there are times when Ethernet would be useful and preferred.
    But i guess cost of the boards should be considered as well.
    And whether it not there are enough free pins for the application!
    (Why do they use 8 i/o pins if they're already using i2c?)
    Thanks for the update!
    👌👍🤪

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      This is why I still use the Arduino IDE: I can use different MCUs for different purposes...

  • @techydude
    @techydude 5 หลายเดือนก่อน

    The ESD sticker is a warning applicable to the entire PCB; there is nothing inherently more ESD-vulnerable about POE circuitry than anything else on the PCB.
    In ESPhome, Ethernet and Bluetooth works perfectly well simultaneously. I have one of those Olimex PoE ESP32 boards running just the basic ESPhome platform with Bluetooth Proxy enabled, nothing else, works perfectly. Connected to a high gain 2.4GHz antenna I can open my garage & gate with a Shelly Bluetooth Button from down the road (so long as Home Assistant also sees me as within range).

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Thank you for sharing your experience with Bluetooth. Good to know!

  • @MeisterQ
    @MeisterQ 5 หลายเดือนก่อน

    I did some testing on Ethernet for ESP32. I created like 6 or 7 versions of my own PCB untill i found my solution.
    There are many problems like the clock from the crystal is on GPIO0. So you have a 50:50 change to hit the boot mode while resetting.
    A solution for this is to power the crystal by GPIO (which is in standard layout) and delay it afew seconds after boot.
    The LAN8720 is nice, cheap but old. A newer version is the W5500 which using SPI. So you only need 4 Pins of the ESP32. But the current ESP IDF on Arduino IDE does some problems with some librarys.
    My solution is to expand the pinout with an mcp23017 which gives me 16 IOs.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน +1

      Thank you for sharing your experience!

  • @davechatting
    @davechatting 5 หลายเดือนก่อน

    Interesting! Presumably one could make a magic Wake on LAN packet on the ESP? I'm wondering about this for a network based switch for a PC server

    • @TecSanento
      @TecSanento 5 หลายเดือนก่อน +1

      Yes it's pretty easy. There are example sketches available

    • @davechatting
      @davechatting 5 หลายเดือนก่อน

      @@TecSanento Great - thanks!

  • @ziomalZparafii
    @ziomalZparafii 5 หลายเดือนก่อน

    5:13 whoa, quite surprising - I still use only 5e as it was much cheaper, almost no of my devices were 1Gbps and also I recall cat6 had shielding that required a specific device? But that last part I would have to recheck.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      You are right, I should have mentioned the use case. I meant, that I would not use CAT5 cables for a new installation in my home.

  • @gorak9000
    @gorak9000 5 หลายเดือนก่อน

    I had a project I wanted to do a few years ago with a wired ethernet ESP32, and none existed, or they weren't really common. Ended up going with completely different hardware that was beaglebone black based, which also has wired ethernet.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Indeed, the Linux boards offer Ethernet for a long time.

  • @BaronOfDaker
    @BaronOfDaker 5 หลายเดือนก่อน +1

    FYI, any cable labelled Cat7 does not follow IEEE and EIA specs and is not officially recognized as 'category 7'. It departs from the industry standard, has no real definition, and should not be used in any production environment because manufacturers can literally relabel Cat5 as Cat7 if they want, there are no rules. You almost certainly don't need anything more than Cat6 for any application, but if you feel you do, go with Cat8.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Thank you for the clarification!

  • @johnlaurencepoole6408
    @johnlaurencepoole6408 5 หลายเดือนก่อน

    If you are going to assemble your own cables, I highly recommend investing in the "Crescent Wiss 5" Electrician Scissors - 175E " ~$16 USD as Amazon. Not only will the scissors cut the wires nicely and cleanly at 90 degrees, each blade has a scalloped ridge where you can pull the wires over to cause the curly-qued wire to straighten out and be stiff --- that makes it so much easier to feed the wires into the plastic housings which takes practices and can be very frustrating unless you have clean cuts all at the same length and stiff. Secondly, if you use outdoor rated cable (for PoE surveillance cameras), beware and you may be best served purchasing a wife assembly kit which includes the plastic housings specified for that particular type of cable. Lastly, I would stick with named brand connectors.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Thank you for your tips! Unfortunately, I did not find a supplier for Crescent Wiss in Europe. They only list US and Canadian suppliers :-(

  • @donsfromnz6515
    @donsfromnz6515 5 หลายเดือนก่อน

    In industrial applications, the Ethernet cable uses only 2 pairs, and the cables are only 4 wires with a shield. I wonder if a POE circuit can be designed for the ESP32 Dev boards that also only use 4 wires? to allow more IO.

    • @mateuszschyboll2310
      @mateuszschyboll2310 5 หลายเดือนก่อน

      The ESP32 is not wired directly to the ETH port, the ETH controller chip uses that much pins so it doesn't metter how much pins your ETH cable uses.

    • @sanjikaneki6226
      @sanjikaneki6226 5 หลายเดือนก่อน

      it can

    • @gorak9000
      @gorak9000 5 หลายเดือนก่อน +2

      gigabit ethernet uses all 4 pairs, and PoE works fine on gig ethernet (where some of the pairs are used for both power and data simultaneously). You therefore could do the same with 10/100 that only uses 2 pairs, and also use those pairs for power as well, but you'd have to roll your own boards, as using pins 1-2 and 3-6 (the two pairs used for 10/100 ethernet) for PoE is non-standard

  • @paulhimle
    @paulhimle 5 หลายเดือนก่อน +1

    Once Single Pair Ethernet (SPE) gets some more traction, I’d use that.

    • @BerndFelsche
      @BerndFelsche 5 หลายเดือนก่อน +1

      SPE with PODL seems like a very good choice for IP to the edge, especially T1L which can reach 1000 meters with a single pair of wires. At only 10Mbps but that is often enough for data collection and remote actuation.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Good point. Unfortunately, it seems to be rarely used in the Maker arena.

  • @Toxicity1987
    @Toxicity1987 5 หลายเดือนก่อน +4

    Funny that you showed some CAT-7 RJ45 Plugs. According to the standard, there are no Cat7 RJ45 Plugs. You always downgrade your Cat 7 Wiring to Cat 6a by using RJ45 Plugs.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Good to know. Thanks!

  • @D-Khaz
    @D-Khaz 5 หลายเดือนก่อน

    POE++ would be cool as you could have a smart device that uses up to the limit of the ++ spec (think POE power fans, displays, lights, etc)

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      I am not shure if it would be an overkill for most applications and just would increase cost.

  • @MikesTropicalTech
    @MikesTropicalTech 5 หลายเดือนก่อน

    I'm starting a new ESP32 WROVER project and I have to cross off all the pins I can't use because they're dedicated to something. Leaves me only about 12 GPIO pins...

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน +1

      I even made a video and an Excel sheet with this info...

  • @keyem4504
    @keyem4504 5 หลายเดือนก่อน

    I'm using the Lilygo board for one of my projects. It's kind of not will thought out.
    The exposed pins, as you said, are a strange collection and it does not expose 5V, which would have been nice.
    Furthermore, I'm experiencing periodic boot problems. No idea why. That's the most annoying problem. If anybody knows how to solve that, let me know.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Indeed, infrequent reboots are very anoying and not easy to find.

    • @keyem4504
      @keyem4504 5 หลายเดือนก่อน

      @@AndreasSpiess I guess I wasn't clear in what I meant. It's not that the board reboots by itself. My problem is that it doesn't start properly after a reboot. It somehow seems to have problems to boot from flash sometimes. Most of the time removing power helps, but not all the time. This makes every OTA update a gamble...

  • @qwer.ty.
    @qwer.ty. 5 หลายเดือนก่อน

    3:28 more like a 8p8c connector right?

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Yes, a sort of. You can google the differences if you are interested.

  • @PersonXes
    @PersonXes 5 หลายเดือนก่อน

    Another tip regarding the ethernet cables: if you're installing them in your walls or somehow mounting them permanently: use solid wires.
    Otherwise use stranded wires.

  • @thegrumpytexan
    @thegrumpytexan 4 หลายเดือนก่อน

    Could a LoRa chip be added and turned into a PoE powered Meshtastic node?

    • @AndreasSpiess
      @AndreasSpiess  4 หลายเดือนก่อน

      I do not think that this is supported by the Meshtastic project.

  • @adriandebear9900
    @adriandebear9900 5 หลายเดือนก่อน +6

    Unfortunately in the Australian state of NSW, it's illegal to install any cabling that transfers data or camera feeds unless you are a licenced electrician, So it's WiFi for us

    • @bastiannenke9613
      @bastiannenke9613 5 หลายเดือนก่อน +1

      Is there a good reasoning for it or is it just the result of lobbying?
      Wouldn't that mean you'd need a electrician to install individually addressable LEDs on your porch? Sounds stupid

    • @woldemunster9244
      @woldemunster9244 5 หลายเดือนก่อน +1

      What about using RJ-45 for power and/or HDMI?
      I can only imagine what would happen if you just install the cables without connectors, so that they exist but are not functional and after building inspection(?) you just connect them?

    • @woldemunster9244
      @woldemunster9244 5 หลายเดือนก่อน +5

      I thought Finland is a nanny state, but holy crap that is insane, my tinfoil is itching, do they want the ability to jam civil communications?
      I've installed my first RJ-45 networks when i was 15yr old and had to learn those old skool "crossed" connection types and all....

    • @originalmianos
      @originalmianos 5 หลายเดือนก่อน +2

      There is no nanny state like NSW Australia. There are laws for everything here.

    • @ragohy
      @ragohy 5 หลายเดือนก่อน +2

      ... that is only one branch of the so-called "(western) free world" 🤨

  • @chriskroon649
    @chriskroon649 5 หลายเดือนก่อน

    Would it be possible to use a ethernet esp32 to use it as gateway to transfer esp-now iot device messages to a mqtt broker in the network

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      I am not sure. Maybe you check the „Farm Data Rely“ project. He uses ESP now and Ethernet if I remember right. I do not use ESP now

  • @Salfke
    @Salfke 4 หลายเดือนก่อน

    6 Pins left is not a lot. I'm using the WT32ETH boards. Only downside no POE but a lot of Pins left to use

    • @AndreasSpiess
      @AndreasSpiess  4 หลายเดือนก่อน

      Also a good choice!

  • @platin2148
    @platin2148 5 หลายเดือนก่อน

    How do they get Ethernet on a newer ESP32 or is this only the base version? Well the SPI to ethernet stuff is sadly only fast ethernet. But they only use SPI MISO/MOSI
    Are there better chips for the newer ESP's with more speed well yes I know it's crazy how much it can already transfer.
    Hmm aren't there High Rose, Telegärtner and Western Connectors? Well I'm not to sure about that plastic flap stuff, I use a Telegärtner Ali knock off.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      I cannot answer your questions with one exceptions: Most (or all) new ESP32s do not natively support Ethernet anymore. I use standard ESP32s for that purpose.

    • @platin2148
      @platin2148 5 หลายเดือนก่อน

      @@AndreasSpiess Ahh so no adapters in your case. I wanted to use the S3 version as it has more pins + better BT/PSRAM support.
      And then it's possible to wait to the ESP32-P4 for new Ethernet Applications..

    • @platin2148
      @platin2148 3 หลายเดือนก่อน

      Got the P4 already quite an amazing pice of tech. But it seems i have some issues with the LCD controller for the extra display i bought.

  • @arva1kes
    @arva1kes 5 หลายเดือนก่อน +2

    i don't think you can compare 150mbit wifi vs 100mbit cable as 150mbit wifi is single duplex and has overhead. Even on perfect conditions it would be max of 100mbit, whichi I would not think you could ever achieve on esp. Ethernet is full duplex making the total bandwith 200mbit. So it's not a bit better, it's alot better.

  • @casperghst42
    @casperghst42 5 หลายเดือนก่อน

    I suspect that BL will not work as it is using the same chip as wireless which is not used. Try to tall back to wifi and see what happens. I'd like to have the option to use wifi if there is no connected ethernet.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน +1

      There are other comments that say that BLE and WiFi work but less stable than BLE and Ethernet.

    • @casperghst42
      @casperghst42 5 หลายเดือนก่อน

      @@AndreasSpiess oh, that was not what I meant, but if the same chip is used for both Wifi and BLE, then maybe if you do not enable Wifi then BLE might not get activated. Just a thought. As for stability, I have two esp32 modules running the ble proxy (esphome) and they were working perfectly, then I upgraded esphome and I now see drop outs with some of my ble modules. I suspect that the problems I see is down to coding and not hardware - but you touch an interesting subject.

  • @YOSEFPE
    @YOSEFPE 2 หลายเดือนก่อน

    Is there any useful application for ESP32 that actually need ethernet ?
    BTW i have many RPI that i control it with RS232 to old pc that convert it to ETH (with IP2COM sw) , slow (115200) but cheep and do the job fine.

    • @AndreasSpiess
      @AndreasSpiess  2 หลายเดือนก่อน

      I use a LoRa iGate connected to Ethernet, for example. And I know that people with modern cabling in their homes prefer ethernet over WiFi for their sensors.

  • @mrigankamaji8405
    @mrigankamaji8405 5 หลายเดือนก่อน

    Hi sir, currently I am working with esp32 and zmpt101b sensor module. zmpt101b working fine but when I try to connect wifi (wifi.began) then zmpt101b showing zero values. Please help me

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Maybe you connected it to the wrong ESP32 pins. WiFi uses one ADC (watch my video about the usable pins of an ESP32)

  • @tenminutetokyo2643
    @tenminutetokyo2643 5 หลายเดือนก่อน +5

    DEC!

  • @chrisurman6192
    @chrisurman6192 5 หลายเดือนก่อน

    What are some good resources for a student looking to get into ESP32?

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      I would start with a project useful for you. That is how I learn.

  • @piuselectronics5707
    @piuselectronics5707 2 หลายเดือนก่อน

    Most esp32 wont connect to 5ghz networks, does this also apply to ethernet

    • @AndreasSpiess
      @AndreasSpiess  2 หลายเดือนก่อน

      No ESP32 will connect to 5GHz because they do not support it. Ethernet is not wireless, so no GHz apply.

  • @ukaszKuki
    @ukaszKuki หลายเดือนก่อน

    I use W5500, and I'm looking for PoE with this chip :)

  • @Prophes0r
    @Prophes0r 4 หลายเดือนก่อน +1

    Cat6a isn't really a "compromise", the way you think it is.
    There is no 8p8c Cat7 ethernet standard. Using 8p8c with an 8p8c connector is out of spec.
    The reason you see plenty of cat7 being sold for ethernet use, is simply because the seller can make more money by upselling people to cables with a higher number on them.
    If you need 10Gbit, use Cat6a. If you need shielding, use shielded Cat6a with grounded jacks.
    Anyone trying to sell you Cat7 for ethernet is cheating you.

    • @AndreasSpiess
      @AndreasSpiess  4 หลายเดือนก่อน +1

      Thanks for the info. I was not aware of this.

    • @Prophes0r
      @Prophes0r 4 หลายเดือนก่อน

      @@AndreasSpiess I forgot to provide a reference. Rather than linking to the IEC standard itself, here is a link to the Wikipedia page explaining that section. If you would like to read the actual standards doc they provide a link.
      en.wikipedia.org/wiki/ISO/IEC_11801#Class_F

  • @piuselectronics5707
    @piuselectronics5707 2 หลายเดือนก่อน

    Can Wifi and ethernet work simultaneously?

    • @AndreasSpiess
      @AndreasSpiess  2 หลายเดือนก่อน

      I never tried it.

  • @marcinostrowski960
    @marcinostrowski960 5 หลายเดือนก่อน

    i prefer Ethernet because if you budling iot on some critical infrastructure 9/10 is going to have good connection and stable
    wifi 3g and 4g is really susceptible for weather if is rain wifi is useless and cant be use in critical infrastructure and for iot devices

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      I agree. But sometimes WiFi is very convenient…

  • @yapayzeka
    @yapayzeka 5 หลายเดือนก่อน

    3:37 cable pattern

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน +1

      ???

    • @yapayzeka
      @yapayzeka 5 หลายเดือนก่อน

      @@AndreasSpiess just bookmarked the important spot for myself

  • @benary5620
    @benary5620 4 หลายเดือนก่อน

    Hallo Andreas, der `CRS112-8G-4S-IN` ist mittlerweile wohl "discontinued". Wenn Du Dir heute einen neuen Router kaufen würdest, welches Modell würdest Du nehmen (OPNsense bzw. notfalls pfsense)?

    • @AndreasSpiess
      @AndreasSpiess  4 หลายเดือนก่อน

      Ich habe jetzt einen Mikrotik RB5009UPr+S+IN und bin sehr zufrieden (ich verwende viel PoE)

  • @salh2665
    @salh2665 5 หลายเดือนก่อน

    ❤❤❤❤🎉

  • @mako3010
    @mako3010 5 หลายเดือนก่อน

    Do no purchase something with a sticker for protecting it medium voltage railing, especially when that board doesn't even have a UART serial chip on built in.

  • @TecSanento
    @TecSanento 5 หลายเดือนก่อน

    I hate all those poe boards that won't provide Any external power to drive LEDs or actuators.... A 12V 1A could do a lot of useful things :/? And cheap poe breakout boards do that - couldn't they use that Ic as well?

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน +1

      All depends on the use case. Most of my PoE bords do not need a lot of power. So I do not want to spend money for a better chip or a bigger board...

  • @sulcusulnaris
    @sulcusulnaris 5 หลายเดือนก่อน

    I prefer the cable version.

  • @debelix
    @debelix 5 หลายเดือนก่อน

    I always prefer wired connection over wireless

  • @billyjoe3309
    @billyjoe3309 5 หลายเดือนก่อน

    Wireless, over the new WiFi 11 protocol.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      ???

    • @billyjoe3309
      @billyjoe3309 5 หลายเดือนก่อน

      @@AndreasSpiess Sorry you are only on WiFi 5 or 6? I'm from the future.

  • @osmanosman5978
    @osmanosman5978 5 หลายเดือนก่อน

    Wait a seconds! Guy with swiss accent familiar with NIVA!? Lada NIVA!?

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Yes. I drove one in Kamerun when I worked for the Red Cross.

  • @randomguy7253
    @randomguy7253 5 หลายเดือนก่อน

    I would suggest to not crimp your own cables, it is a major source of problems and instability. I have all the tools and haven't crimped one for about 20 years, patch cables are cheap. Instead, get some installation-type ethernet cable and the appropriate keystone jacks, those can be fitted without any crimping tool.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      I agree if you get the right length. Sometimes I have to crimp because the connector does not fit the hole.

  • @ddmo22
    @ddmo22 5 หลายเดือนก่อน

    Wy repost? Video is old!!!

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      During summer break viewers proposed that. I do this for several years.

  • @vadik1001
    @vadik1001 5 หลายเดือนก่อน

    no f-n way, is that a yellow "Niva" ?

  • @33_njindo72
    @33_njindo72 5 หลายเดือนก่อน

    educational purposes 😂😂😂🧑‍💻

  • @ugetridofit
    @ugetridofit 5 หลายเดือนก่อน

    I wish people would get off using Arduino when it comes to the ESP32 and all its variants. You all are seriously limiting yourself compared to using ESP-IDF

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      You are right, here are limitations using the Arduino IDE. But you have also all the libraries and projects available...

  • @ytfp
    @ytfp 5 หลายเดือนก่อน +1

    I fail to see the point of an esp on such a board. Since blueooth does not work, i suspect wifi will also not work; and if wifi does work then this is a potential security risk. So either way its kind of pointless. I would rather see a teensy if you need speed or even a atmega328p if speed is not an issue, rather than the esp32. This is like buying a short wave base station radio for the sole purpose of using it as a stiff writing surface to write someone a letter.

    • @Toxicity1987
      @Toxicity1987 5 หลายเดือนก่อน

      First of all ESP32 is extremely cheap, and second of all, it comes with an inbuilt Network Stack. That will cost any board like an atmega or stm32 some performance.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      A few other commenters use Ethernet and a ESPhome BLE proxy. So it seems that it was a hardware problem on this particular board.