dual-led-constant-power

Control dual LED Arduino UNO systems with constant power via INA219 monitoring.

1|Updated Jun 3, 2026
One-click install
npx skills add https://github.com/lachlanchen/LazySkills --skill dual-led-constant-power
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dual-led-constant-power
Source: https://github.com/lachlanchen/LazySkills/tree/main/skills/dual-led-constant-power
Command: npx skills add https://github.com/lachlanchen/LazySkills --skill dual-led-constant-power

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of maintaining constant power for dual LED systems, ensuring smooth spectral modulation while keeping electrical power approximately constant.

Core Features & Use Cases

  • Calibration and Control: Accurately calibrate and control dual LED Arduino UNO setups using MOS switch modules and a power monitor HAT.
  • PWM and Power Monitoring: Utilizes PWM for LED control and the INA219 Current/Power Monitor HAT for power measurement.
  • Application: Ideal for dual-LED wiring configurations, I2C monitoring, PWM firmware upload, power capture, and interpreting LED telemetry.

Quick Start

Calibrate and control a dual LED setup using the dual-led-constant-power skill.

Frequently Asked Questions about dual-led-constant-power

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I maintain constant power for dual LEDs on an Arduino UNO during spectral modulation?

Calibrate your dual LED setup by applying PWM for brightness control and using an INA219 Current/Power Monitor HAT to measure power. This combination maintains constant electrical power during spectral modulation on the Arduino UNO.

What is the best way to monitor LED power consumption using I2C on an Arduino?

The best way to monitor LED power consumption via I2C is using the INA219 Current/Power Monitor HAT. It captures real-time power telemetry, allowing you to adjust PWM signals dynamically to keep dual LED electrical power constant.

Can I use a MOS switch module with PWM to control dual LED brightness?

Yes, you can use a MOS switch module combined with PWM firmware to control dual LED brightness. The MOS module acts as the switching hardware, while PWM signals from the Arduino UNO regulate the power delivered to the LEDs.

Does the INA219 Current/Power Monitor HAT support PWM firmware upload for LED telemetry?

The INA219 Current/Power Monitor HAT measures power and current via I2C, enabling LED telemetry capture. You upload the PWM firmware to the Arduino UNO, which then uses the HAT's telemetry data to maintain constant dual LED power.

Why does my dual LED power fluctuate when adjusting PWM signals for spectral modulation?

Dual LED power fluctuates during spectral modulation because PWM changes alter the duty cycle and power draw unevenly. Implementing a constant power control loop using an INA219 power monitor HAT and MOS switch modules resolves this by dynamically compensating for the variations.