The Barracuda App Server, running on the ESP32 microcontroller, is packaged as a ready-to-use Integrated Development Environment (IDE) known as Xedge32. With Xedge32, programming embedded systems becomes accessible to all, not just to embedded C/C++ experts.
Examples:
- blinkled.xlua: The source code for the tutorial Your First Xedge32 Project
- CheckWiFi.lsp: The source code for the tutorial Debugging Wi-Fi Signal Strength with ESP32 and Xedge32
- camread.lsp: This LSP (Lua Server Pages) file returns and displays a new camera image in the browser each time the browser window is refreshed.
- wscam.lsp: The source code for the tutorial Streaming ESP32-CAM Images to Multiple Browsers using WebSockets.
- mqttcam.xlua and mqttcam.html: The source code for the tutorial Streaming ESP32-CAM Images to Multiple Browsers via MQTT.
- pcmplayer.lsp: This example activates the analog-to-digital converter and samples data at 20 kHz. Next, the data is sent via WebSockets to connected browsers, where a JavaScript-powered PCM player plays the incoming data.
- servo.lsp: Introductory servo example with detailed explanation.
- uiservo.lsp: This LSP script controls a servo motor through a real time web user interface.
- bme280.xlua: XLua script for interacting with the BME280 sensor. The BME280 sensor is a digital pressure, temperature, and humidity sensor that is often used in weather station projects.
How to upload the examples:
Copy the files to an Xedge-powered ESP32 by creating an LSP-enabled app and then uploading the files to the ESP32 by navigating to http://ip-address/rtl/apps/app-name/. Then drop the files into the Web File Manager window. Do not upload xlua files you do not intend to run since xlua files automatically run when the application starts. LSP files, on the other hand, only run when accessed by a browser or any other HTTP client. See the Xedge documentation for details. See the tutorial Your First Xedge32 Project for how to create Xedge applications.
Documentation:
