tube0013 / tube_gateways

Information and Documentation on Tube's Zigbee Gateways
272 stars 51 forks source link

Support for PoE #8

Closed urbozz closed 3 years ago

urbozz commented 3 years ago

Are there any plans to have a PoE option, such as using the Olimex ESP32-POE-ISO or the LILYGO TTGO T-Internet-POE?

tube0013 commented 3 years ago

No current plans, I have a LILYGO POE board, but the size of it doesn't lend itself toward a reasonable overall size in my opinion. The Olimex is to expensive for me to consider -when for 1/10 of the price you can get an external POE > Micro usb/Ethernet adapter on AliExpress. I think to make it feasible it would need to be a custom board design, and while I have looked into it I haven't gotten very far nor have the time to commit to doing it right.

Hedda commented 3 years ago

I think to make it feasible it would need to be a custom board design, and while I have looked into it I haven't gotten very far nor have the time to commit to doing it right.

Be sure to keep an eye on the components used by the zoe2 project from Electrolama if you ever get time to look at a custom board:

https://electrolama.com/projects/zoe2/

https://shop.electrolama.com/collections/raspberry-pi-addons/products/zoe2-cc1352p-radio-rtc-poe-for-raspberry-pi?variant=37646454161569

https://github.com/electrolama/zoe2

It is open source hardware and while designs not posted yet it builds on top of the previous zoe design which does have plans:

https://github.com/electrolama/zoe

https://github.com/electrolama/zoe/tree/master/Revision%20C

https://electrolama.com/projects/zoe/

As can see though zoe2 looks to use a other type of IEEE 802.3af PoE module compared to the Silvertel Ag9800MT that zoe uses.

Hedda commented 3 years ago

I think that zoe2 just use the newer Silvertel Ag9900 Series module?

https://silvertel.com/9900-2/

https://silvertel.com/poe-power-over-ethernet-html/

tube0013 commented 3 years ago

To do a custom PoE Ethernet board would be a lot of work and I'd need to change everything about how I am doing this. I don't have the time to commit to that. The board design is very very important when dealing with the Ethernet and the paths are critical to get right, or else you will have fantom Ethernet issues. I'd likely need to move to a pick and place SMT service to build the boards. Current supply issues and the small orders I would make would put me at the end of the lines and cost proportionately more- just not be worth the cost for me.

Hedda commented 3 years ago

That is understandable. Just wanted to point out Electrolama plans to sell both PoE and non-PoE versions of the same zoe2 board:

"zoe2-lite" variant = CC1352P Radio for Raspberry Pi (Radio only) -> https://shop.electrolama.com/collections/raspberry-pi-addons/products/zoe2-cc1352p-radio-for-raspberry-pi?variant=37646452883617

image

"zoe2" variant = CC1352P Radio + RTC + PoE for Raspberry Pi -> https://shop.electrolama.com/collections/raspberry-pi-addons/products/zoe2-cc1352p-radio-rtc-poe-for-raspberry-pi?variant=37646454161569

image

MattWestb commented 3 years ago

Both version is not recommended using the integrated PCB antenna then is being blocked of PCB trace in the no copper zone of the antenna !! And the external connection is only for sub band and not for 2.4 GHz that is normally used for Zigbee.

MattWestb commented 3 years ago

4.5 (normal) 5 (max) dBm module for 2.4 GHz and not round only in one narrow lobe :-(((

Hedda commented 3 years ago

Both version is not recommended using the integrated PCB antenna then is being blocked of PCB trace in the no copper zone of the antenna !! And the external connection is only for sub band and not for 2.4 GHz that is normally used for Zigbee.

yeah yeah, but the discussion here is specifically ONLY about the choice of PoE module that Electrolama is using on the zoe2 board.

I think that zoe2 just use the newer Silvertel Ag9900 Series module?

https://silvertel.com/9900-2/

tube0013 commented 3 years ago

And it's still apples to oranges as it is using the Ethernet on the pi. and using the zoe module to pull the power from it somehow.

Drizzt321 commented 3 years ago

when for 1/10 of the price you can get an external POE > Micro usb/Ethernet adapter on AliExpress.

I had no clue these were already a think. I should have figured. Made my decision easy to get your ethernet coordinator.

Hedda commented 3 years ago

for 1/10 of the price you can get an external POE > Micro usb/Ethernet adapter on AliExpress.

Doubt you can get a cheap PoE to USB converter that follows the standard IEEE 802.3af specifications. The ones I have seen are passive and just pass along any current to set to them and as such can destroy your device if you do not input the right current.

Better if so to buy Ubiquiti Instant 802.3af Adapter (Models: INS‑3AF‑I‑G, INS‑3AF‑O‑G, INS‑3AF‑USB, INS‑8023AF‑I, INS‑8023AF‑O)

https://www.ui.com/accessories/instant-8023af-adapters/

https://eu.store.ui.com/search?mockup=Ubiquiti+Instant+&q=Ubiquiti+Instant

tube0013 commented 3 years ago

I've relented a bit. I'll post details in a bit once I get parts and get the thing built and configured. But I've ordered a small batch of new pcbs and some esp32-poe-iso boards to try and test the viability.

Drizzt321 commented 3 years ago

for 1/10 of the price you can get an external POE > Micro usb/Ethernet adapter on AliExpress.

Doubt you can get a cheap PoE to USB converter that follows the standard IEEE 802.3af specifications. The ones I have seen are passive and just pass along any current to set to them and as such can destroy your device if you do not input the right current.

Better if so to buy Ubiquiti Instant 802.3af Adapter (Models: INS‑3AF‑I‑G, INS‑3AF‑O‑G, INS‑3AF‑USB, INS‑8023AF‑I, INS‑8023AF‑O)

https://www.ui.com/accessories/instant-8023af-adapters/

https://eu.store.ui.com/search?mockup=Ubiquiti+Instant+&q=Ubiquiti+Instant

I found https://smile.amazon.com/UCTRONICS-PoE-Splitter-Gigabit-Raspberry/dp/B07CNKX14C that does gigabit, 802.11af, 5v @ 2.4a mUSB output. Seems to have some good reviews by various people in general for it working fine.

EDIT: An update, this PoE splitter w/mUSB output is working perfectly well, no problems at all after most of a week.

Hedda commented 3 years ago

I found https://smile.amazon.com/UCTRONICS-PoE-Splitter-Gigabit-Raspberry/dp/B07CNKX14C that does gigabit, 802.11af, 5v @ 2.4a mUSB output. Seems to have some good reviews by various people in general for it working fine.

Ubiquiti Instant 802.3af to USB adapter (SKU: INS-3AF-USB) for indoor also supports Gigabit but cost about $19 without USB cable:

https://store.ui.com/collections/operator-accessories/products/instant-802-3af-to-usb-adaptor

https://eu.store.ui.com/collections/operator-accessories/products/instant-802-3af-to-usb-adaptor

https://dl.ubnt.com/datasheets/instant/Instant_INS-3AF-USB_DS.pdf

Hedda commented 3 years ago

Awesome work by tube!

https://www.tubeszb.com/product/cc2652_poe_coordinator/15

https://twitter.com/TubesZb/status/1394478007730020352

https://twitter.com/TubesZb/status/1394845581823074308

Hedda commented 3 years ago

@tube0013 Any chance you would consider posting schematics, etc. for your PoE variant version? At least look to be missing here:

https://github.com/tube0013/tube_gateways