Comments (8)
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.
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.
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.
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.
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.
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.
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.
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.
@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)
- ESP32 alternatives HOT 1
- The program won't start.
- Motor continuously spins or feels jerky when stationary HOT 1
- Idea to adapt smartknob for DJ Controller
- Smartknob Pro...? (Spacemouse function) HOT 1
- Possible dumb Question, be gentle HOT 1
- Upgrade to a higher resolution display?
- Can you consider accessing HomeAssistant? HOT 2
- C2922480 discontinued on LCSC HOT 3
- simplyfoc library issue HOT 2
- Is there a possibility to add MQTT protocol? HOT 1
- Strain gauge on PCB
- Esp32 Boot Pin keeps oscillating between 3.3 and 0V HOT 3
- Interested in purchase of finished product HOT 2
- Many improvements (battery, accelerometer, touch, MIDI, etc.) HOT 16
- Which resistors instead of glued BF350? HOT 2
- Idea: Give option to buy pre-made PCBs somewhere for less experienced people HOT 7
- I've found the Gimbal Motor HOT 1
- CPL file for PCB Assembly HOT 1
- ROB-20441 (Sparkfun BLDC motor) Question
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartknob.