Smart Duty Cycling Library for Arduino. This library keeps ON/OFF timings for your MCU in background so you can perform your tasks without worrying about duty cycling.
-
Generate Duty Cycle with Frequency and Duty Cycle as inputs
-
Alternatively, generate duty cycle with custom wake and sleep periods
-
Non-blocking Duty cycle generation. Perform other operations in your code without being blocked by library operations.
-
You can synchronize two or more MCUs to go into Sleep/Wake period at the same time.
This library can be used for following applicaions:
-
PWM Generation using Digital Pins
-
Sleep-Wake Cycles for Power Saving in Wireless Devices and other embedded systems
-
Any Application that operates in periodic ON/OFF, Active/Inactive, Wake/Sleep Periods.
Please check sample Examples provided with this library for understanding library usage.
Here is an instructable with simple LED example
If this library makes your life easier and has helped bring your project to reality, I would appreciate a small token of gratitude. Click on the below icon to contribute.