Mpp ESP32 Ethernet based client with Relay and Analog

15 views
Skip to first unread message

sergey

unread,
Dec 20, 2024, 4:16:16 AM12/20/24
to MppDevices
Hi Everyone ! I hope someone read this "read" still and even find it useful :)   Recently I found perfect board that suits me for several tasks: ESP32 +LAN8720 , you can find it on ALIexpress for pennies almost - WT32-ETH01 (one guy  described it here https://github.com/egnor/wt32-eth01?tab=readme-ov-file) . At my point it cost about $7.5.  Seems to be a very powerful and reliable computer. I've built several devices based this board and want to share the one with the community.
There are two main specificities - the reliable Ethernet connection and new powerful two-cores cpu with multiple GPIOs - the ESP32.
The device suppose to work with  AM server. The basal functionality is one Relay and one Analog (tbh digital) devices. The analog device supposed to be one-wire  Dallas DS18B20 thermo-sensor. So - if you decided to try that project , you can find any 5v relay board , DS18b20 sensor , 5v power source and WT32-ETH01 on ALi.
The last version support full AM Device functionality for Relay and Analog (renaming, surveying, subscribing and etc ) and OTA firmware update from web page. 
The device starts dead simple Web server on port 80 as user interface and "working web server" on port 8898 (as usually mpp device does).
Built for Arduino IDE compilation and last ESP32 hardware package. You might need to install the Dallas sensor library additionally (that also present in standard IDE package).
I compiled my version in multi-tread mode (the Ethernet events works on 0 core and other work on the 1 core) , but it also work in single core mode. 
Hope it'll be interesting, have a good day! 
Serg.
Reply all
Reply to author
Forward
0 new messages