Xedge32 Tutorials

Xedge32 is a rapid development environment tailored for the ESP32 microcontroller. It offers a seamless bridge between the Lua programming language and the extensive features of the ESP32, simplifying the IoT development process. Xedge32 is specifically designed for professionals, offering a robust and user-friendly platform that unlocks the full potential of the ESP32 for advanced IoT projects. Start by reading the Xedge32 introduction and dive into our tutorials below to kickstart your journey with Xedge32.

Besides purchasing an ESP32, we highly recommend acquiring a starter kit for an optimal hands-on experience with our tutorials. This kit should encompass essential components such as a Breadboard, Jumper Wires, Resistors, LEDs, and more.

New to Lua?
Check out our Online Interactive Lua Tutorials for a gentle introduction.

Your First Xedge32 Project

An Introduction to Device Management with Lua: As you learned in the Xedge32 introduction, this development environment streamlines IoT projects by seamlessly connecting Lua to the ESP32's extensive features. By enabling all device-specific code to be written in the user-friendly Lua language, Xedge32 makes the development process simpler and faster. In this first tutorial, we'll walk you through a basic example that blinks an LED.

Read the Tutorial: Your First Xedge32 Project

Logging for Testing and Production Mode

This tutorial explores the essentials of logging for testing and production environments. It uses various logging methods for data during testing and debugging and for deployed production-ready products.

Read the Tutorial: Logging for Testing and Production Mode

Streaming ESP32-CAM Images to Multiple Browsers via MQTT

In this tutorial, you'll learn how to publish images from an ESP32-CAM board to multiple browser clients using MQTT (Message Queuing Telemetry Transport). This setup will enable you to create a platform that functions similarly to a live video stream, viewable by an unlimited number of users.

Read the Tutorial: Streaming ESP32-CAM Images to Multiple Browsers via MQTT

How to connect ESP32 to AWS IoT Core Using MQTT

This guide provides a step-by-step tutorial on connecting an ESP32 device to AWS IoT Core using MQTT. By following this tutorial, you'll be able to send and receive messages between your ESP32 device and AWS IoT Core using the MQTT protocol.

Read the Tutorial: How to connect ESP32 to AWS IoT Core Using MQTT

Designing Your First Professional Embedded Web Interface

This article provides insights into designing a professional embedded web interface. It covers the importance of a well-designed interface, the challenges faced during the design process, and the solutions to overcome these challenges.

Read the Tutorial: Designing Your First Professional Embedded Web Interface

Your First Embedded Single Page Application

This tutorial introduces you to the concept of embedded single-page applications (SPA). It explains the benefits of SPAs, how they differ from traditional multi-page applications, and how to get started with building your first embedded SPA.

Read the Tutorial: Your First Embedded Single Page Application

Connecting the ESP32 to Ethernet

The ESP32 microcontroller extends beyond Wi-Fi, offering Ethernet support crucial for stable environments like factories. The Xedge32 solution makes integrating the W5500 Ethernet chip with ESP32 straightforward. This article guides you through activating Ethernet on the ESP32 and wiring the W5500 chip

Read the Tutorial: Connecting the ESP32 to Ethernet

ESP32 WebDAV Server

WebDAV, an HTTP(S) protocol extension, transforms a web server into a standard network drive, facilitating seamless file sharing across various devices. With WebDAV, users can easily map or mount a drive without the need for additional software installations. This tutorial shows how to create a WebDAV server.

Read the Tutorial: ESP32 WebDAV Server

Additional ESP32 Examples on GitHub

Not all of the examples available on GitHub come with extensive tutorials like the ones presented above. For those eager to delve deeper and explore further, here is a list of additional ESP32 examples you can find on GitHub:

  • Cam Images Over WebSockets (wscam.lsp):
    Discover how to efficiently transmit camera images over WebSockets. This example manages active client connections, process messages, and dispatch images in real-time.
  • Servo Motor Control (servo.lsp):
    Gain insights into servo motors' operation and control using the ESP32. This example explains the pulse width modulation (PWM) technique for servo positioning and provides a function for PWM duty cycle calculations based on desired angles.
  • Web-based Servo Motor Control (uiservo.lsp):
    Experience a hands-on demonstration of controlling a servo motor through a web-based user interface. Using a ready-to-use slider JavaScript library, this example showcases real-time servo position control and synchronization across multiple browser windows using the SMQ protocol.
  • Audio Processing (pcmplayer.lsp):
    Delve into audio processing on the ESP32 with an example showing how to sample a microphone or any other sound source and send the sampled data to the browser. We use a JavaScript PCM Player library to play the sampled data in the browser.
  • BME280 Sensor Integration (bme280.xlua):
    Learn how to integrate the BME280 environmental sensor with the ESP32. This Lua script provides a step-by-step guide on setting up the sensor, reading temperature, humidity, and pressure values, and handling potential errors.

Additional External Tutorials



Uploading firmware to a new device

Updating the firmware