ESP32-S3 with Xedge32: Some initial questions #28
Replies: 2 comments 5 replies
-
It's great to hear you got Xedge32 working. However, while both NodeMCU and Xedge32 use Lua as their language, the APIs are very different. This difference is where the learning curve primarily lies. The core principles of Lua programming remain the same, which is a plus. However, the specific APIs provided by Xedge32 and the Barracuda App Server are unique and tailored to leverage the advanced capabilities of the ESP32 hardware with a focus on IoT. I think it's a good idea to dedicate some time to familiarize yourself with these new APIs. The official Xedge32 documentation is an excellent starting point, offering detailed insights into the specifics of these APIs and how they differ from what you might be used to in the NodeMCU/ESP8266 environment. Regarding your query about the Lua version differences and extending the Lua system, these areas are often subject to continuous development and community contributions. |
Beta Was this translation helpful? Give feedback.
-
If you are interested, I can send you a weather station example. The server side, which saves data in a time series file DB on the SD card, is more or less completed. However, the user interface, which should be designed as a SPA has not been designed. |
Beta Was this translation helpful? Give feedback.
-
Today I picked up my mail and took home my first ESP32-S3, hooked it up to my Linux system, and configured the device for Xedge32 -- even trying a few lua commands. Cool!
Even though I have a fair bit of experience running lua code on NodeMCU/EPS8266 devices (with no IDE and just using CLI to upload/testing!), this new environment is very new and strange to me :)
My hope was that I could easily upload my existing lua scripts and have everything run correctly out-of-the-box, I suspect from my initial lua command testing that the syntax (and even commands) will be somewhat different e.g. the command for connecting to WIFI. If so, does any document exist to point out the lua version differences? Is Xedge32 lua more powerful than regular NodeMCU lua?
Any other thoughts on my migration task are appreciated! :)
My primary ESP8266 lua project is a BME280 weather station sending data to Thingspeak, and also to HTML display using an internal simple webserver. It works great, but I was forced to halt further development since I had run out of space/memory -- hence the desire to jump over to ESP32 -- as long as I could keep using lua. I notice that the Xedge32 lua system includes the BME280 module, but none others -- is this going to be extended?
Beta Was this translation helpful? Give feedback.
All reactions