Code Monkey home page Code Monkey logo

Comments (8)

CircuitSetup avatar CircuitSetup commented on September 17, 2024 1

Would you have some shematics and code of this tweak ? I think this would be valuable for people will be interested by ethernet feature.

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.

from expandable-6-channel-esp32-energy-meter.

presslab-us avatar presslab-us commented on September 17, 2024

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.

from expandable-6-channel-esp32-energy-meter.

CircuitSetup avatar CircuitSetup commented on September 17, 2024

@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.

from expandable-6-channel-esp32-energy-meter.

presslab-us avatar presslab-us commented on September 17, 2024

Looking at the code here:
https://github.com/espressif/arduino-esp32/blob/0f772270fbb32099cad72053755d6b4c7e8e1f82/tools/sdk/include/ethernet/eth_phy/phy.h#L34

I think the RMII pins will conflict with the SPI pins.

from expandable-6-channel-esp32-energy-meter.

robotsflo avatar robotsflo commented on September 17, 2024

The ATM90E32AS can be used with SPI or UART, the UART can be the solution with Ethernet LAN8720 ?

from expandable-6-channel-esp32-energy-meter.

CircuitSetup avatar CircuitSetup commented on September 17, 2024

Looking at the code here:
https://github.com/espressif/arduino-esp32/blob/0f772270fbb32099cad72053755d6b4c7e8e1f82/tools/sdk/include/ethernet/eth_phy/phy.h#L34

I think the RMII pins will conflict with the SPI pins.

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.

from expandable-6-channel-esp32-energy-meter.

CircuitSetup avatar CircuitSetup commented on September 17, 2024

The ATM90E32AS can be used with SPI or UART, the UART can be the solution with Ethernet LAN8720 ?

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.

from expandable-6-channel-esp32-energy-meter.

robotsflo avatar robotsflo commented on September 17, 2024

Looking at the code here:
https://github.com/espressif/arduino-esp32/blob/0f772270fbb32099cad72053755d6b4c7e8e1f82/tools/sdk/include/ethernet/eth_phy/phy.h#L34
I think the RMII pins will conflict with the SPI pins.

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.

Would you have some shematics and code of this tweak ? I think this would be valuable for people will be interested by ethernet feature.

from expandable-6-channel-esp32-energy-meter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.