Using ethernet enabled ESP32 boards with this board? #40
-
I would prefer using ethernet instead of wifi for reliability. Would the WESP32 or Olimex's ESP32-POE-ISO be used with the 6 Channel Energy Meter? I have linked the GPIO pinouts of the 2 boards. Thank You |
Beta Was this translation helpful? Give feedback.
Replies: 16 comments 7 replies
-
I'm somewhat interested in this too. I would prefer Ethernet as the unit is very close to my main network switch. Looking at the pinout of both of those boards, it seems like neither would be a drop-in. I guess it could be sky-wired or an adapter board made. |
Beta Was this translation helpful? Give feedback.
-
@Blackra1n5 neither of those would directly plug into the meter since the pins are different. You could wire up the SPI pins and power with jumpers, but that would be messy unless you made some kind of pcb adapter. This looks like it could work though: https://www.electrodragon.com/product/lan8720-ethernet-breakout-board-phy/ but you'd have to solder on different headers to plug into the meter and the esp32. |
Beta Was this translation helpful? Give feedback.
-
Looking at the code here: I think the RMII pins will conflict with the SPI pins. |
Beta Was this translation helpful? Give feedback.
-
The ATM90E32AS can be used with SPI or UART, the UART can be the solution with Ethernet LAN8720 ? |
Beta Was this translation helpful? Give feedback.
-
Yes, it would, since SPI uses 19 for MISO, which could be changed if you don't mind soldering a wire on the pcb, and changing it in software. |
Beta Was this translation helpful? Give feedback.
-
It wouldn't matter since the pcb is already setup for SPI. Either way you you would have to solder in a new wire or 2. |
Beta Was this translation helpful? Give feedback.
-
Would you have some shematics and code of this tweak ? I think this would be valuable for people will be interested by ethernet feature. |
Beta Was this translation helpful? Give feedback.
-
Sorry I didn't reply to your question earlier. Honestly, I wouldn't recommend doing this just yet. I've been researching this for a new meter, and there are several things that have to work correctly. If you can wait until the new meter (it's actually being made for 3-phase power, but can be configured for split single phase), it will have a built in ethernet jack + an on board ESP32. I don't have an ETA, but I am going to start testing next week. |
Beta Was this translation helpful? Give feedback.
-
I have successfully added a DM9051 Ethernet MAC/PHY. It needs 5 pins, I have it attached to the HSPI port. There were some challenges in software, it would be nice if the Arduino library was no longer needed. But it seems to be working ok. Using the 5 pins, it will reduce the number of boards that are able to be stacked. But I can think of a way to reduce the number of GPIO needed for the CS signals. With some simple logic on each add-on board there could be one CS for each board and another GPIO that toggles between the two ICs. |
Beta Was this translation helpful? Give feedback.
-
Not to bring up an old post, but does this mean I could take an extra ethernet enabled QuniLED-ESP32, and use it to run a board, as long as I powered it separately, and configured it to use pins that aren't used by the LAN8720A built into the board (listed below)? I realize I'd have to jumper between the boards and it could get ugly. Right now, I'm just wondering if it is even possible. ESP32 GPIO FUNCTION |
Beta Was this translation helpful? Give feedback.
-
I'll see what I can come up with. I just think it would be nice to use
that, along with a POE to USB extractor, to connect and power the board
over POE (which works just fine on the QuinLed-ESP32), and leave the whole
setup in the box or in the wall, without worrying about wifi connectivity.
…On Sat, Mar 12, 2022 at 7:52 PM John ***@***.***> wrote:
That could work, as long as it still has 2 free GPIOs for cs and 18, 19,
23 for spi pins. You'd also either have to make a little wire harness, or
adapter pcb.
If it does meet those requirements, then I may have to get a hold of one
to test.
—
Reply to this email directly, view it on GitHub
<#40 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQ3OYRPJHFENLZBEV2BDFLU7U36HANCNFSM4ZVP2WVQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
<CircuitSetup/Expandable-6-Channel-ESP32-Energy-Meter/repo-discussions/40/comments/2348447
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Has there been any progress with running these boards over ethernet? I am interested in this, but I have an outdoor breaker box far from my router and I doubt the ESP32 will be able to reach it via wifi... |
Beta Was this translation helpful? Give feedback.
-
I haven't tested further. I went down the path of having an ESP32 with a
detachable/external antenna. That let me maintain wifi coverage over an
extended distance, without issues.
…On Sun, Jun 2, 2024 at 10:56 PM Vincent Kocks ***@***.***> wrote:
Has there been any progress with running these boards over ethernet?
I am interested in this, but I have an outdoor breaker box far from my
router and I doubt the ESP32 will be able to reach it via wifi...
—
Reply to this email directly, view it on GitHub
<#40 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQ3OYU7YHHXWNCMJXU3LHTZFPLPHAVCNFSM4ZVP2WV2U5DIOJSWCZC7NNSXTOKENFZWG5LTONUW63SDN5WW2ZLOOQ5TSNRUGIZDSNQ>
.
You are receiving this because you commented.Message ID:
<CircuitSetup/Expandable-6-Channel-ESP32-Energy-Meter/repo-discussions/40/comments/9642296
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I have no idea how this compares, just something I came across during my recent research and thought I would share: WT32-ETH01 With ESPHome Driving “CircuitSetup Expandable 6 Channel ESP32 Energy Meter Main Board” BTW, really cool project you have here, I am sure I will be picking up some kit soon (just a few details to finish researching first)! |
Beta Was this translation helpful? Give feedback.
-
FYI, there is now an adapter board for the Lilygo T-ETH Lite ESP32S3 here: https://circuitsetup.us/product/6-channel-esp32-energy-meter-ethernet-adapter/?v=7516fd43adaa |
Beta Was this translation helpful? Give feedback.
@Blackra1n5 neither of those would directly plug into the meter since the pins are different. You could wire up the SPI pins and power with jumpers, but that would be messy unless you made some kind of pcb adapter.
This looks like it could work though: https://www.electrodragon.com/product/lan8720-ethernet-breakout-board-phy/ but you'd have to solder on different headers to plug into the meter and the esp32.