Skip to content

UMOZ v2.0.0 - Cross-Platform Core & Smart Low-Power Sleep Architecture

Choose a tag to compare

@Moaaz-i Moaaz-i released this 21 Jun 03:12

What's New in v2.0.0 🚀

We are thrilled to announce v2.0.0, a major architectural milestone that transforms UMOZ into a Cross-Platform Micro-Framework and introduces intelligent hardware power management!

✨ Key Features & Enhancements:

  • Cross-Platform Core: The internal hardware abstractions have been decoupled. UMOZ now dynamically adapts its hardware register optimizations (like High-Speed ADC and Direct Port Toggling) based on the target architecture, paving the way for seamless deployment on AVR and modern chips like ESP32.
  • Smart Sleep Mode: Integrated a low-power enterLowPowerSleep() routine using hardware SLEEP_MODE_IDLE. When the processor is idle and evaluates that the next scheduled task is more than 5ms away, it safely puts the CPU to sleep, drastically cutting down power/battery consumption without losing clock accuracy.
  • Deterministic Diagnostics: Refined the internal getCPUUsage() bounds to guarantee robust execution profiles across both low-frequency and high-frequency development boards.

📋 Activation Example:

UMOZ_START()
  Serial.begin(9600);
  tool.begin(13);
  
  // Enable the new Smart Sleep architecture to save battery during idle cycles
  tool.enableSmartSleep(true);
  
  tool.addTask(myTask, 500);
UMOZ_RUN()
UMOZ_END