<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>mma on Bald Engineer</title><link>https://www.baldengineer.com/tag/mma</link><description>Recent content in mma on Bald Engineer</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Fri, 30 Sep 2016 14:04:46 +0000</lastBuildDate><atom:link href="https://www.baldengineer.com/tag/mma/index.xml" rel="self" type="application/rss+xml"/><item><title>Measure PWM Current with a Modified Moving Average</title><link>https://www.baldengineer.com/measure-pwm-current.html</link><pubDate>Wed, 28 Sep 2016 13:00:16 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=6217</guid><description>Pulse Width Modulation (PWM) makes it possible to dim lights, control the speed of motors, and (with the help of filters) generate analog reference voltages. When measuring the voltage or current of a PWM signal, there are unique challenges. You can use this tutorial to measure PWM current with a modified moving average (MMA).&#10;As I’ve mentioned in a few posts, I’m working on an RGB LED IoT controller. Soon I’ll post some detailed information on that. In the meantime, one choice I made was to include an INA219 current sensor on the LED power supply. For prototyping, I’m using the Adafruit Breakout Board, but my final design uses the same parts integrated into a custom PCB.<p><img src="https://www.baldengineer.com/wp-content/uploads/2016/09/measure-pwm-current-with-mma.jpg" alt="Measure PWM Current with a Modified Moving Average"/></p></description></item></channel></rss>