Giter VIP home page Giter VIP logo

Comments (8)

scottbez1 avatar scottbez1 commented on June 13, 2024 2

Per #51, I'm reopening this issue as a general place for brainstorming/discussion around ethernet and PoE. Like I mentioned in that issue, I want to keep this project extremely focused for now, so I don't see ethernet support realistically being added any time soon, but doesn't hurt to have a place (this thread) for discussion in the meantime

from smartknob.

scottbez1 avatar scottbez1 commented on June 13, 2024

No plans for Ethernet. It would definitely be cool, but probably not something I will personally prioritize at the moment. My main priorities are:

  • better documentation
  • firmware improvements (graphics, configuration api, serial protocol, getting wifi working)

But the other issue that comes up is limited IO - with the current ESP32 module I'm using, all outputs are currently in use (except IO0 I guess) and the only open pins are inputs (34, 35, and 39).

The LCD (6 GPIO) and motor driver (7 GPIO) are both IO heavy, and then there's I2C, magnetic sensor, and strain gauge amplifier, so it would require a pretty substantial change to be able to free up pins to support an ethernet PHY.

image

There's probably a hybrid approach where you use an external ethernet<->serial adapter and connect this in place of the CH340 USB serial interface, but I'm not familiar with what's available in that space, or how to integrate it. In that case it would be helpful to expose RX and TX as testpoints for easier connection.

from smartknob.

nagyrobi avatar nagyrobi commented on June 13, 2024

I suggest for develompent on the longer term... maybe you could use a GPIO expander like MCP23017 for more basic stuff to free up pins...

Ethernet-Serial conversion limits functionality a lot, as there's an extra middleware needed to convert serial-like protocol to whatever is needed. Ethernet connection should be equivalent to wifi in terms of functionality.

from smartknob.

scottbez1 avatar scottbez1 commented on June 13, 2024

Added RX/TX testpoints, so hardwired serial communication without a USB connection is easier to hook up if desired.

However, the remainder of the discussion in this issue regarding first-class ethernet support is outside the scope of planned features, so in the interest of keeping the issues list clean, closing this as wontfix.

from smartknob.

austinscreations avatar austinscreations commented on June 13, 2024

for POE i've been using https://www.aliexpress.com/item/1005002768318128.html
(keyword: SDAPO DP1435 - should link die)

combined with the w5500 spi ethernet IC - which requires 5 pins. sck, miso, mosi, cs, and a reset pin (not mcu reset - needs to be controllable IO)

from smartknob.

Timvrakas avatar Timvrakas commented on June 13, 2024

I'm not sure Ethernet is needed for this simple of a device, PoE adds a significant cost and complexity electrically. If you were integrating this into an industrial/home automation system I can see the appeal, but if I were running more than one or two units I think I would quickly prefer RS485 or CAN or BASE-T1L or similar to link them to a controller that in turn had Ethernet.

If you're looking for a PoE module, I will recommend https://silvertel.com/ they make high quality PoE modules.

from smartknob.

sanderkooger avatar sanderkooger commented on June 13, 2024

Another option would maybe be skip the POE and Ethernet connectivity, Mount the smart knob on a (in wall) switch box and use the power thats already there? Then use WIFI for communication.

Is this a viable option too?

from smartknob.

sanderkooger avatar sanderkooger commented on June 13, 2024

@scottbez1 Congrats on this project BTW, This could be the start of something really cool.

At the moment, I'm researching lights control for my home. If Wi-Fi becomes available and i could have the knob send out API requests over Wi-Fi. I should be golden. I'm also looking into thermostats that i can talk too over an API.

Have you ever thought of promoting your project on the Wled https://github.com/Aircoookie/WLED

I think you would find a lot more enthusiasts there who have and electronic knowledge and could maybe contribute.

from smartknob.

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.