Category: ESP32

  • AvantMaker’s AvantLumi: Light Up Your ESP32 and Arduino Projects with Stunning LED Control!

    AvantMaker’s AvantLumi: Light Up Your ESP32 and Arduino Projects with Stunning LED Control!

    Hey Makers, Get Ready to Shine!

    We’re absolutely thrilled to unveil the latest gem in the AvantMaker lineup: AvantLumi, a dazzling Arduino library crafted to elevate your LED strip projects on ESP32, Arduino, and compatible microcontrollers!

    What’s AvantLumi All About?

    Built on the robust FastLED library, AvantLumi is your ultimate tool for creating breathtaking LED effects with a user-friendly, feature-rich interface. From colorful palettes to smooth fade animations, this library is designed to ignite your creativity in IoT and DIY projects. It’s perfect for both beginners and experienced makers, offering a seamless way to bring your lighting visions to life.

    Why We Built AvantLumi

    At AvantMaker, we’re passionate about empowering makers to explore the full potential of microcontrollers like the ESP32. We created AvantLumi to make LED control accessible, powerful, and fun, especially for those diving into our upcoming tutorials on implementing ESP32 in AI applications.

    This library is designed to help users easily build projects and practice their learning, providing a practical and engaging way to master LED control while experimenting with AI-driven IoT solutions. With AvantLumi, you can focus on creating and learning, not wrestling with complex code.

    A Glimpse of What You Can Do

    Picture a holiday display cycling through festive Christmas and Halloween palettes, a music-reactive light show pulsing to the beat, or an AI-driven ambient setup that shifts colors based on real-time data. With AvantLumi, these ideas are just a few lines of code away! Here’s a quick example to kick things off:

    #include "AvantLumi.h"
    
    #define DATA_PIN 2
    #define NUM_LEDS 60
    
    AvantLumi lumi(DATA_PIN, NUM_LEDS);
    
    void setup() {
      lumi.begin();
      lumi.setSwitch(true);       // Turn on LEDs
      lumi.setBright(3);         // Medium brightness
      lumi.setPalette("rainbow"); // Rainbow palette
      lumi.setFade(true);        // Enable fade effects
    }
    
    void loop() {
      lumi.update(); // Keep the magic glowing!
    }

    What’s Next for AvantLumi?

    This is just the start! We’re already working on exciting updates, including new palettes, enhanced effects, and deeper integration with our AI-focused tutorials. Stay tuned for future releases that will make AvantLumi even more brilliant!

    Get Started Today!

    Ready to illuminate your projects? Visit the AvantLumi GitHub Repository for comprehensive guides, examples, and the latest release. Explore our growing collection of libraries and tutorials at AvantMaker’s GitHub or dive into our resources at AvantMaker.com.

    Happy Making! 🛠️✨

  • ESP32_AI_Connect: Version 0.5.1 Released

    ESP32_AI_Connect: Version 0.5.1 Released

    We are excited to announce the first official release of ESP32_AI_Connect, an Arduino library that makes it easy to connect your ESP32 projects to powerful AI APIs. This library is designed for IoT applications, providing a unified and memory-efficient way to integrate AI into your devices.

    ESP32_AI_Connect library is available on GitHub. Visit the ESP32_AI_Connect GitHub repository to download the latest version, explore the documentation, and try out example codes that showcase streaming in action.

    Key Features in This Release

    • Broad AI Platform Support: Seamlessly connect to a variety of major AI providers:
      • OpenAI
      • Google Gemini
      • Anthropic Claude
      • DeepSeek
      • OpenAI-Compatible endpoints (including Hugging Face, Qwen, and more)
    • Advanced Tool Calling: Empower your AI models to interact with the real world by calling functions on your ESP32. This feature enables:
      • Two-way communication between the AI and your hardware.
      • Structured data exchange for easy parsing of commands and results.
      • Custom function definitions tailored to your project’s needs.
    • Real-Time Streaming Chat: Create more natural and interactive user experiences with real-time, word-by-word responses from the AI.
    • Optimized for ESP32: The library is designed with the memory constraints of the ESP32 in mind. Features like shared JSON buffers and the ability to disable unused platforms help to minimize the library’s footprint.
    • Modular and Expandable: The architecture of ESP32_AI_Connect is designed to be easily extended, allowing for the addition of new AI platforms and features in the future.

    Getting Started

    To begin using ESP32_AI_Connect, please refer to the detailed User Guide available in the project’s README.

    Important Dependency: This library requires the ArduinoJson library (version 7.0.0 or higher) to be installed in your Arduino environment.

    Future Development

    We are actively working on improving and expanding the capabilities of ESP32_AI_Connect. In future releases, we plan to:

    • Add support for even more AI platforms.
    • Enhance the tool-calling and function-handling capabilities.
    • Continue to optimize for performance and memory efficiency.

    Thank you for your interest in ESP32_AI_Connect. We are excited to see the innovative projects you will build with it!

  • ESP32_AI_Connect Library Adds Streaming Support for Real-Time AI Interaction

    ESP32_AI_Connect Library Adds Streaming Support for Real-Time AI Interaction

    The AvantMaker team has just rolled out an exciting update to the ESP32_AI_Connect library, introducing streaming support for real-time communication with large language models like OpenAI, DeepSeek, Gemini, and Claude. This update brings a dynamic, conversation-like experience to ESP32-based projects, making AI integration more responsive and engaging.

    What is Streaming Chat?

    Streaming chat enables real-time interaction with AI models by delivering responses as they are generated, rather than waiting for the entire output. This creates a more natural and engaging user experience, mimicking the flow of a live conversation. With this update, the ESP32_AI_Connect library leverages streaming to bring cutting-edge AI capabilities to the resource-constrained ESP32 platform.

    New Streaming Features

    The latest update equips the ESP32_AI_Connect library with powerful streaming capabilities, optimized for IoT and embedded systems. Key features include:

    • Real-time Response: See AI responses as they are generated, word by word.
    • Interactive Experience: More natural, conversation-like interaction.
    • Immediate Feedback: Get instant responses without waiting for complete generation.
    • User Control: Interrupt or stop responses at any time.
    • Performance Metrics: Monitor streaming performance with detailed statistics.
    • Multi-platform Support: Works with OpenAI, Claude, Gemini, DeepSeek, and Open-Compatible platforms.
    • Thread-safe Design: Built on FreeRTOS primitives for reliable operation.
    • Memory Efficient: Optimized for ESP32’s limited resources.

    This update builds upon the foundation of the ESP32_AI_Connect library, which aims to simplify the integration of AI into embedded projects. As highlighted in AvantMaker’s previous articles (you can read more here and about Tool Calling features here), the library strives to provide a user-friendly and efficient way to leverage the power of AI in your microcontroller applications.

    Explore the Update

    Ready to bring real-time AI to your ESP32 projects? The updated ESP32_AI_Connect library is available now on GitHub. Visit the ESP32_AI_Connect GitHub repository to download the latest version, explore the documentation, and try out example codes that showcase streaming in action.

  • ESP32_AI_Connect Library Unveils New Tool Calling Features

    ESP32_AI_Connect Library Unveils New Tool Calling Features

    Our ESP32_AI_Connect library has just received an update, introducing new tool calling features that significantly enhance its capabilities. This open-source library, designed to integrate AI functionalities into ESP32 microcontrollers.

    What’s New: Tool Calling Features

    The latest update to the ESP32_AI_Connect library adds robust tool calling capabilities, allowing developers to seamlessly integrate external functions and tools into their AI-driven ESP32 projects. This feature enables the ESP32 to dynamically interact with APIs, control hardware peripherals, or execute custom functions based on AI model outputs, making it easier to create sophisticated, responsive applications.

    With tool calling, developers can now:

    • Invoke external APIs directly from the ESP32 to fetch real-time data, such as weather or stock updates.
    • Control connected devices, like motors or sensors, based on AI-driven decisions.
    • Extend AI model capabilities by integrating custom logic or third-party services without modifying the core model.

    This addition makes the library even more versatile, enabling developers to build smarter IoT devices with minimal overhead, all while leveraging the compact and power-efficient ESP32 platform.

    Why This Matters

    The introduction of tool calling features positions ESP32_AI_Connect as a leading solution for developers looking to combine AI with IoT. By simplifying the integration of external tools and services, the library reduces development time and complexity, allowing hobbyists and professionals alike to focus on innovation.

    As highlighted in our previous article, the ESP32_AI_Connect library already offers seamless AI model integration, optimized performance, and broad compatibility with popular AI frameworks. The addition of tool calling builds on this foundation, making it an even more powerful tool for embedded AI development.

    Get Started Today

    Ready to explore the new tool calling features? The updated ESP32_AI_Connect library is available now on GitHub. Head over to the official repository to download the latest version, check out the documentation, and dive into example projects that showcase the power of this update.

    Happy Making!

  • AvantMaker’s ESP32_AI_Connect: Unleashing AI Power on Your ESP32!

    AvantMaker’s ESP32_AI_Connect: Unleashing AI Power on Your ESP32!

    Hey Friends, We’ve Got Big News!

    We’re super excited to share this news with you all—our team at AvantMaker has just dropped a brand-new Arduino library for the ESP32! Say hello to ESP32_AI_Connect, the library for bringing AI magic to your ESP32 projects. 🎉

    What’s ESP32_AI_Connect All About?

    Picture this: your ESP32 microcontroller chatting with some of the coolest AI platforms out there, like OpenAI, Google Gemini, all with a single, easy-to-use interface. That’s what ESP32_AI_Connect does! Whether you’re building a smart IoT gadget, a voice-activated gizmo, or something totally out-of-the-box, this library makes it a breeze to connect your ESP32 to powerful AI APIs.

    ESP32_AI_Connect Main Features:

    • Works with multiple AI platforms—OpenAI, Google Gemini, DeepSeek, and more to come!
    • Tool calls support for two-way interaction (think AI asking your ESP32 to do stuff!).
    • Memory-efficient and modular, so it won’t hog your microcontroller’s resources.
    • Super configurable—tweak temperature, max tokens, system roles, and even custom headers.
    • Built to grow, with an expandable framework for adding new AI models down the road.

    Tool Calls: The Coolest Part

    Okay, let’s talk about the feature—tool calls. This is where things get really fun! With tool calls, the AI can ask your ESP32 to perform specific tasks, like reading sensor data, controlling hardware, or crunching numbers. It’s like giving your AI a direct line to your project.

    Here’s what makes tool calls so awesome:

    • Two-way street: The AI can request actions, and your ESP32 can send back results.
    • Structured data: Everything comes in neatly formatted JSON, so parsing is a snap.
    • Custom tools: You define what your ESP32 can do, and the AI will work with it.
    • Context keeper: Your conversation with the AI stays intact, even during tool interactions.

    Imagine building a weather station where the AI asks your ESP32 for real-time temperature data or a smart home device where the AI tells your ESP32 to dim the lights. The possibilities are endless!

    Why We Built This

    The ESP32 is already a powerhouse for IoT, and with ESP32_AI_Connect, we wanted to supercharge it by bringing AI into the mix. Plus, we designed it to be developer-friendly—whether you’re a seasoned coder or just starting out, this library is built to make your life easier.

    More Exciting Features on the Way!

    We’re not stopping here! Our team is hard at adding more features for ESP32_AI_Connect. Soon, you’ll be able to enjoy streaming responses for real-time AI interactions and support for even more AI platforms like Anthropic Claude, Grok, Hugging Face, and others. Stay tuned, because we’re just getting started!

    Get Started!

    Ready to jump in? Head over to ESP32_AI_Connect GitHub Repository for guides and downlaod.

    You can also check out our other ESP32 goodies directly on our GitHub!

    💡 Explore AvantMaker Libraries on GitHub

    We can’t wait to see the amazing things you’ll build with ESP32_AI_Connect!

    Happy making!

  • ESP32-WebFS Gets a Shiny New Upgrade: More Space, Style, and Stability!

    ESP32-WebFS Gets a Shiny New Upgrade: More Space, Style, and Stability!

    Hello, makers, tinkerers, and IoT enthusiasts! The AvantMaker Team is buzzing with excitement because we’ve just rolled out a fresh update to our beloved ESP32-WebFS. If you’re new to this tool, it’s like turning your ESP32 into a mini web server with a slick interface that makes managing files on SPIFFS (that’s the flash storage on your ESP32) as easy as organizing your toolbox—minus the rusty screws.

    ESP32 WebFS  Main Interface Screenshot
    ESP32 WebFS Main Interface Screenshot

    This update brings some neat improvements to make your projects smoother and, dare we say, a tad more stylish. Let’s dive into what’s new!

    SPIFFS Check: Know Your Storage Like the Back of Your Hand

    Ever wondered how much room you’ve got left on your ESP32’s SPIFFS for all those cool project files? Wonder no more! We’ve added a SPIFFS Check Feature that spills the beans on your storage stats. It shows you the total SPIFFS size and how much free space is left—think of it like checking the fuel gauge before a road trip. Now you can plan your file uploads without playing storage roulette.

    ESP32-WebFS-SPIFFS-Info
    ESP32-WebFS SPIFFS Info Page Screenshot

    A Spruced-Up Interface (Without Overdoing It)

    We get it—nobody wants a clunky interface that feels like navigating a maze. So, we’ve given the ESP32-WebFS web interface a little glow-up with some minimal CSS tweaks. It’s not a full-on fashion makeover—just enough to make things look cleaner and more inviting, like tidying up your workbench before starting a new project. Best part? We kept the extra code light, so your ESP32 doesn’t feel like it’s lugging around a heavy backpack.

    ESP32-WebFS-File-List
    ESP32 WebFS File List Page Screenshot

    Code Format Fix: Because Details Matter

    We also squashed a pesky bug in the code formatting. It’s a small tweak, but it’s like tightening a loose screw—everything just works a bit more reliably now. Your ESP32-WebFS is ready to hum along without any hiccups.

    Ready to Take It for a Spin?

    Head over to our GitHub repository to grab the latest version and give it a whirl. It’s like getting a new toy for your ESP32—without the assembly instructions headache!

    We can’t wait to see what awesome projects you’ll create with this update. Happy making!

    — The AvantMaker Team

  • Unlock ESP32 Web Power: Dive Deep into HTTP POST Requests with Our New Article!

    Unlock ESP32 Web Power: Dive Deep into HTTP POST Requests with Our New Article!

    Hey Makers, Learners, and Innovators!

    Exciting news from the AvantMaker team! We know many of you are harnessing the power of the ESP32 to create amazing connected projects. A core part of many IoT applications is sending data from your ESP32 to a web server – whether it’s logging sensor readings, controlling a device remotely, or interacting with an online API. Often, this involves using the HTTP POST method via the ESP32’s HTTPClient library.

    But have you ever stopped to wonder what’s really happening under the hood when you call http.POST() in your Arduino sketch? What does that data packet actually look like as it travels across the internet?

    To help demystify this crucial process, we’ve just published a brand new, in-depth tutorial page:

    Understanding How Your ESP32 Sends the HTTP POST Request

    In this new guide, we go beyond just providing example code. We take a practical ESP32 sketch that sends data to the popular testing service httpbin.org and break down:

    1. The Arduino Sketch: A quick look at the code responsible for initiating the POST request.
    2. The Raw HTTP POST Request: We reconstruct the actual data packet sent by the ESP32, line by line. You’ll learn about the request line (POST method, path, HTTP version), essential headers like Host, Content-Type, and Content-Length, the crucial blank line separator, and the formatted data payload itself.
    3. The Server’s Response: We analyze the response from httpbin.org to confirm how the server received and interpreted the data sent by your ESP32.

    Why is this important?

    Understanding the structure of HTTP requests isn’t just academic. It empowers you to:

    • Troubleshoot effectively: When your ESP32 can’t connect or send data correctly, knowing what the request should look like is key to finding the problem.
    • Interact with APIs confidently: Many web services require data to be POSTed in a specific format. Understanding the components lets you craft the correct requests.
    • Design better projects: Knowing how data is packaged and sent helps you design more efficient and reliable communication for your IoT devices.

    This new page is part of our ongoing effort to build a comprehensive collection of references and tutorials within the AvantMaker ESP32 Resources Hub, helping you turn your innovative ideas into reality.

    Ready to deepen your understanding of how your ESP32 communicates with the web?

    Click here to read the full guide:

    Understanding How Your ESP32 Sends the HTTP POST Request

    We hope this resource proves valuable in your ESP32 development journey!

    Happy Making!


  • ESP32-WebFS: Simplifying SPIFFS File Management for Your ESP32 Projects

    ESP32-WebFS: Simplifying SPIFFS File Management for Your ESP32 Projects

    Introducing ESP32-WebFS

    If you’ve ever worked with an ESP32 microcontroller, you’ve likely come across SPIFFS—short for Serial Peripheral Interface Flash File System. It’s like a tiny digital filing cabinet built into your ESP32, perfect for storing files like web pages, sensor data, or configuration settings. For makers, SPIFFS is a game-changer because it lets your projects do more—like serving up a webpage or saving logs—without needing extra hardware.

    ESP32 WebFS Web Interface Screenshot

    Enter ESP32-WebFS, a fresh tool from the AvantMaker Team. It turns your ESP32 into a web server with a simple but not simplistic interface, making it a breeze to upload and manage files on SPIFFS. No more fumbling with complicated setups—just a straightforward way to keep your projects organized. Best of all? It’s open-source under the MIT license. That means it’s free to use, modify, and share, with no hidden costs or restrictions. The MIT license is a promise that this tool is yours to explore, hassle-free.

    Why We Created ESP32-WebFS

    Let’s face it: managing files on an ESP32’s SPIFFS can feel like trying to herd cats. Normally, you’d need to hook up your board, use specific software, and sometimes even dig into command-line tools to get files where they need to be. It’s time-consuming, error-prone, and not exactly beginner-friendly. We’ve been there, and we knew there had to be a better way.

    That’s why we at AvantMaker built ESP32-WebFS. Our goal was simple: take the headache out of uploading and managing SPIFFS files. With this tool, you can handle everything through a web browser, cutting out the extra steps and letting you focus on what matters—building cool projects.

    What ESP32-WebFS Brings to the Table

    ESP32-WebFS comes packed with features designed to simplify your workflow:

    • Web-Based File Management: Upload, delete, download, view files on SPIFFS using a simple browser interface—no extra software needed.
    • Easy Setup: Get started fast—just update the Wi-Fi credentials in the sketch, upload it to your ESP32, and your board is ready to roll.
    • Real-Time Feedback: See what’s happening with your files as you work, with updates right on the screen.
    • Lightweight Design: It’s built to run smoothly on the ESP32 without eating up all your memory or processing power.
    • Customizable Code: Since it’s an Arduino sketch, you can tweak it to fit your project’s needs.

    Practical Use Cases:

    • Remote Configuration: Easily update configuration files for your IoT devices deployed in hard-to-reach locations without physical access.
    • Data Logging Retrieval: Wirelessly download sensor data logs stored on the ESP32 SPIFFS for analysis and visualization.
    • Custom Web Interface Updates: Quickly update the HTML, CSS, and JavaScript files for your ESP32-powered web applications.

    Where to Grab ESP32-WebFS

    Ready to experience the ease of managing your ESP32’s SPIFFS files? ESP32-WebFS is now available on the AvantMaker GitHub repository! Head over to the link below to get the code and start using it in your projects:

    https://github.com/AvantMaker/ESP32-WebFS

    It’s all there, free and open for you to explore. Since it’s open-source, we’d love to hear your feedback or see your contributions—feel free to fork the project and share your ideas to make it even better!

    Setting Up and Using ESP32-WebFS: A Quick Guide

    Prerequisites:

    • An ESP32 development board
    • The Arduino IDE installed with the ESP32 board support package
    • Basic knowledge of the Arduino IDE
    • A Wi-Fi network

    Getting started with ESP32-WebFS is straightforward. You’ll essentially upload the provided Arduino sketch to your ESP32. The sketch can be configured to connect to your existing Wi-Fi network (Station mode) or to create its own Wi-Fi network that you can connect to (Access Point mode). Once running, your ESP32 will host a web server. You can then connect to the ESP32’s web server using any web browser on your computer or smartphone and start managing your ESP32 SPIFFS files.

    For a more detailed step-by-step guide, including configuration options for network settings and advanced features, we encourage you to check out the comprehensive user manual located in the doc folder of the GitHub repository. You can find it here:

    ESP32-WebFS User Manual

    Looking Ahead: More ESP32 Resources from AvantMaker

    At AvantMaker.com, we are passionate about empowering the maker community. The release of ESP32-WebFS is just one step in our ongoing efforts to provide valuable resources for your ESP32 projects. We are actively working on creating more tutorials, reference materials, and exciting tools to help you unlock the full potential of this versatile microcontroller. So, make sure to visit our website regularly for the latest updates and inspiring content.

    As an open-source project, we also welcome contributions from the community! If you have ideas for improvements or find any issues, please feel free to contribute on our GitHub repository.

    If you have any questions, feedback, or just want to connect with us, feel free to reach out through AvantMaker Website’s About Page.

    Happy Making!

  • New ESP32 LittleFS Tutorial Article Released!

    New ESP32 LittleFS Tutorial Article Released!

    Are you looking to expand the capabilities of your ESP32 projects? Do you want to store web pages, images, or sensor data directly on your ESP32’s SPI Flash? Then this tutorial is for you!

    In this comprehensive guide, we walk you through the process of uploading files to the ESP32’s SPI Flash Memory using the LittleFS file system. We cover everything from understanding SPI Flash and why LittleFS is superior to SPIFFS, to step-by-step instructions on setting it up in the Arduino IDE.

    What You’ll Learn:

    • Understanding ESP32 SPI Flash Memory.
    • Why LittleFS is the best choice for modern ESP32 projects.
    • Installing the LittleFS Uploader plugin in Arduino IDE.
    • Preparing and uploading files to your ESP32.
    • Verifying your uploads with a practical web server example.

    Whether you’re a beginner or an experienced maker, this guide will equip you with the knowledge and skills to leverage the full potential of your ESP32 projects.

    Read the full article: Mastering File Uploads to ESP32 SPI Flash with LittleFS: A Maker’s Guide

    At AvantMaker.com, we’re dedicated to empowering makers, learners, and enthusiasts with the resources they need to bring their innovative ideas to life. Explore our growing library of tutorials and reference materials for ESP32, Arduino, IoT, and more!

    Happy making!

  • Expand Your ESP32 Knowledge: New Network Tutorials Added to Our Essential Guide!

    Expand Your ESP32 Knowledge: New Network Tutorials Added to Our Essential Guide!

    We’re excited to announce that we’ve just added new tutorial articles to our ESP32 Essential Guide! If you’re looking to master the networking capabilities of your ESP32, you’re in the right place.

    These new additions focus on the crucial network section of the ESP32, specifically diving deep into WiFi functionalities. Whether you’re a beginner looking to connect your ESP32 to a wireless network or an experienced maker wanting to explore advanced WiFi features, these tutorials provide clear, step-by-step instructions and practical examples.

    What can you expect to learn?

    • Setting up WiFi connections: Learn how to connect your ESP32 to various WiFi networks.
    • Understanding WiFi modes: Explore different WiFi modes and their applications.
    • Practical examples: Follow along with real-world scenarios and code snippets to solidify your understanding.

    We’ve designed these tutorials to be easy to follow, ensuring you can quickly grasp the concepts and apply them to your projects.

    Ready to dive in? Check out the new network section and WiFi chapter of our ESP32 Essential Guide here:

    ESP32 Essential Guide: Network Section – WiFi Chapter

    But that’s not all! We’re constantly working on expanding our ESP32 Essential Guide with more in-depth tutorials and practical examples. Stay tuned for future updates as we continue to add new content covering various aspects of the ESP32 ecosystem.

    We believe in empowering makers with the knowledge and tools they need to bring their ideas to life. Keep an eye on AvantMaker.com for more exciting tutorials and resources. Happy making!


error: Content is protected !!