Category: LED

  • Announcing AvantPinSet: The Ultimate ESP32 Pin Control Library for Makers

    Announcing AvantPinSet: The Ultimate ESP32 Pin Control Library for Makers

    We are thrilled to introduce the newest addition to the AvantMaker family of libraries: AvantPinSet, a powerful and intuitive Arduino library designed to simplify GPIO pin management for the ESP32. AvantPinSet is engineered to make your projects more responsive, dynamic, and easier to code.

    What’s AvantPinSet All About?

    AvantPinSet is a comprehensive solution for managing multiple ESP32 pins with a wide range of functionalities. It provides a clean, unified interface for digital I/O, PWM control, and sophisticated timed and fading operations. Say goodbye to complex millis() logic and tangled code—AvantPinSet handles the low-level details so you can focus on bringing your creative ideas to life.

    This library is perfect for a variety of applications, including:

    • Home Automation: Effortlessly manage relays, sensors, and switches.
    • Custom Lighting: Create smooth, elegant PWM fading effects for LEDs.
    • Robotics: Control motors and actuators with precision.

    Why We Built AvantPinSet

    At AvantMaker, our mission is to empower the maker community with tools that are both powerful and easy to use. We noticed that many ESP32 projects involve repetitive and often complex code for managing pin states, especially for timed events. We created AvantPinSet to abstract away that complexity, providing a robust, non-blocking solution that keeps your loop() clean and your projects running smoothly.

    This library is designed to be a foundational tool for many of our upcoming tutorials, especially those that integrate hardware control with AI and IoT applications. With AvantPinSet, you can build a solid, reliable foundation for your projects, allowing you to experiment and innovate with confidence.

    A Glimpse of What You Can Do

    Imagine creating a smart home device that turns on a light, waits a few seconds, and then gently fades it out. Or a robot that moves a servo, holds its position, and then returns to its starting point. With AvantPinSet, these complex sequences become simple, readable, and reliable.

    Here’s a quick example to show you just how easy it is:

    #include <AvantPinSet.h>
    
    // Define the pins you want to manage
    int myPinList[] = {2, 4, 27};
    const int numPins = 3;
    
    // Create an instance of the library
    AvantPinSet myPins(myPinList, numPins);
    
    // Optional callback for when timed actions complete
    void actionComplete(int pinNum) {
      Serial.printf("Action on pin %d has completed!\n", pinNum);
    }
    
    void setup() {
      Serial.begin(115200);
    
      // Set pin 2 HIGH immediately
      myPins.digitalSet(2, HIGH);
    
      // Set pin 4 HIGH, then revert to LOW after 3 seconds
      myPins.digitalSetTime(4, HIGH, 3, actionComplete);
    
      // Set pin 27 to 50% PWM, hold for 5 seconds, then fade to 0
      myPins.pwmFadeTime(27, 128, 0, 5, actionComplete);
    }
    
    void loop() {
      // This single line handles all the magic!
      myPins.update();
    }

    What’s Next for AvantPinSet?

    This is just the beginning! We have big plans for AvantPinSet. We will be showcasing Artificial Intelligence-powered projects that leverage this library for sophisticated hardware control.

    Furthermore, AvantPinSet will become a core component in the projects featured in our ESP32 Arduino Tutorials, providing a practical and powerful tool for learners. We are committed to expanding its capabilities with more advanced features, including complex sequences and tighter integration with our other libraries. Our goal is to make AvantPinSet the go-to library for ESP32 pin management.

    Get Started Today!

    Ready to simplify your pin control code and unlock new possibilities? Head over to the AvantPinSet GitHub Repository to download the library, explore the examples, and read the full API documentation.

    We encourage you to try it out in your projects, experiment with its features, and see how much easier your hardware projects can be. Your feedback is invaluable, so feel free to open issues, suggest features, or contribute to the project.

    Explore our growing collection of libraries and tutorials at the AvantMaker GitHub or dive into our resources at AvantMaker.com.

    Happy Making! 🛠️✨

  • 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! 🛠️✨

error: Content is protected !!