LAN8720A - will mysensors work with this module
-
I would like to program the KC868-A12 board in arduino (mysensors), but as I see, mysensors does not formally support this network module (esp32 + LAN8720A). Is it possible that if I use the manufacturer's network libraries, mysensors will compile? Has anyone tried this?
-
@Marcin I googled KC868-A12 and came up with only KC868-A128. If this is not your board, please provide a link. Did you mean KC868-A16? AliExpress Note that these are relay driver boards. If you do indeed use relays, you would need a daughter board.
My link states that this can be programmed with the Arduino IDE which implies that the LAN drivers are not going to be a problem.
MySensors REQUIRES a radio. I use nRF24; there are others. It would be tricky, if even possible, to connect a radio to this board because there are only 3 free GPIO pins. Thus, this is not technically a MySensors question.
But you could send and received messages to/from an MQTT broker and have the controller of your choice.
The real question here is the complexity (size) of the program. My recommendation is just try it yourself. I would recommend Tasmota and do your logic in your controller. If you need very fast response times, then consider programming with the Arduino IDE.
Cool project! Let us know how it turns out.
OSD
-
Thanks for the answer. I meant that Mysensors has ESP32 support but only in terms of WIFI. It supports e.g. stm32 with ENC or W5500 modules - and the question is whether and how to add ESP32 support with LAN8720 module. I am not considering using ESPHOME or MQTT - I want to have native communication with the controller that implements my control schemes on its side. I try to program KC868-A16 but it does not matter - the question is whether such support can be added in a simple way.