<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Power Optimization on Souhrud's Static Blog</title><link>https://sounddrill31.github.io/blog/categories/power-optimization/</link><description>Recent content in Power Optimization on Souhrud's Static Blog</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sun, 29 Nov 2026 17:13:17 +0000</lastBuildDate><atom:link href="https://sounddrill31.github.io/blog/categories/power-optimization/index.xml" rel="self" type="application/rss+xml"/><item><title>Optimizing power consumption for commonly available MAX30102 modules</title><link>https://sounddrill31.github.io/blog/p/optimizing-power-consumption-for-commonly-available-max30102-modules/</link><pubDate>Sun, 29 Nov 2026 17:13:17 +0000</pubDate><guid>https://sounddrill31.github.io/blog/p/optimizing-power-consumption-for-commonly-available-max30102-modules/</guid><description>&lt;img src="https://cdn.jsdelivr.net/gh/sounddrill31/blog@master/assets/img/blogpost/max30102/max30102-aftermod.png" alt="Featured image of post Optimizing power consumption for commonly available MAX30102 modules" /&gt;&lt;p&gt;These tiny cheap SPO2 modules are quite common for hobbyist level heart-rate monitoring and SPO2 reads. Robu lists them up for 170 INR.&lt;/p&gt;&#10;&lt;p&gt;This blog post has been a long time coming but I&amp;rsquo;ve procrastinated on it for a few weeks now 😆&lt;/p&gt;&#10;&lt;hr&gt;&#10;&lt;p&gt;Disclaimer: This blog post is not affiliated to or endorsed by anyone other than me. Hence, it is not representative of the the views, approach, active/inactive projects of my present, past or future employers. I&amp;rsquo;ve taken the time to ensure that very little critical info, if at all, ended up here.&lt;/p&gt;&#10;&lt;p&gt;Another Disclaimer: I cannot guarantee this hack will survive long term. It could but no guarantees. Also, you&amp;rsquo;re stripping away a lot of voltage related protection here, so be VEEEERY careful with what you supply after this mod, if you follow along. There&amp;rsquo;s a very real chance you can fry this.&lt;/p&gt;&#10;&lt;p&gt;Prior context: a tiny system we were building was drawing too much current when idle, as seen on a power profiler kit. We narrowed it down to a MAX30102 sensor module in the system. This blog talks about a hack where we modified the module to not have this problem anymore.&lt;/p&gt;&#10;&lt;h2 id="the-module-itself"&gt;The Module itself&#10;&lt;/h2&gt;&lt;!--Describing the components on the module, give references to how it works --&gt;&#13;&#10;&lt;p&gt;(credit to &lt;a class="link" href="https://microcontrollerslab.com/max30102-pulse-oximeter-heart-rate-sensor-arduino/" target="_blank" rel="noopener"&#10; &gt;Microcontrollers Lab&lt;/a&gt; for the image)&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="MAX30102 module picture" class="gallery-image" data-flex-basis="212px" data-flex-grow="88" height="439" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://microcontrollerslab.com/wp-content/uploads/2022/04/MAX30102-Module-Pinout.jpg" width="388"&gt;&lt;/p&gt;&#10;&lt;p&gt;The module carries:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;MAX30102(the sensor in the middle)&lt;/li&gt;&#10;&lt;li&gt;an LDO to step 3.3V down to 1.8V for the sensor to operate safely(top-left, with three ends)&lt;/li&gt;&#10;&lt;li&gt;DC-DC Converter to step any voltage input(Vin) provided from 1.8 to 5.5V to 3.3V&lt;/li&gt;&#10;&lt;li&gt;Resistors for various uses including pulling up interrupt and I2C lines at SCL and SDA(the numbered Black rectangles with two ends)&lt;/li&gt;&#10;&lt;li&gt;Capacitors for decoupling and more(the white rectangles with two ends)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="potential-current-consuming-components"&gt;Potential Current Consuming Components&#10;&lt;/h2&gt;&lt;h3 id="overarching-schematic"&gt;Overarching Schematic&#10;&lt;/h3&gt;&lt;p&gt;(Credit to &lt;a class="link" href="https://components101.com/sensors/max30102-sensor-oximeter-and-heart-rate-pinout-datasheet" target="_blank" rel="noopener"&#10; &gt;Components101&lt;/a&gt; for the image)&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="MAX30102 Module schematic" class="gallery-image" data-flex-basis="360px" data-flex-grow="150" height="500" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://components101.com/sites/default/files/inline-images/MAX30102-Sensor-Schematics.jpg" width="750"&gt;&lt;/p&gt;&#10;&lt;h3 id="max30102-sensor"&gt;MAX30102 Sensor&#10;&lt;/h3&gt;&lt;p&gt;(Credit to &lt;a class="link" href="https://www.jakelectronics.com/subject/max30102-sensor-datasheet-pinout-and-schematic" target="_blank" rel="noopener"&#10; &gt;jakelectronics&lt;/a&gt; for the image)&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="MAX30102 Pinout" class="gallery-image" data-flex-basis="360px" data-flex-grow="150" height="300" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://res02.jakelectronics.com/res/article/20210816/249-MAX30102-1.jpg" width="450"&gt;&lt;/p&gt;&#10;&lt;p&gt;(Credit to Analog Devices Inc for datasheet, electrical characteristics and description: &lt;a class="link" href="https://www.analog.com/media/en/technical-documentation/data-sheets/max30102.pdf" target="_blank" rel="noopener"&#10; &gt;https://www.analog.com/media/en/technical-documentation/data-sheets/max30102.pdf&lt;/a&gt;)&lt;/p&gt;&#10;&lt;p&gt;&amp;ldquo;The MAX30102 is an integrated pulse oximetry and heart-rate monitor module. It includes internal LEDs, photodetectors, optical elements, and low-noise electronics with ambient light rejection. The MAX30102 provides a complete system solution to ease the design-in process for mobile and wearable devices&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;Electrical Characteristics:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;PARAMETER&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;SYMBOL&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;CONDITIONS&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;MIN&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;TYP&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;MAX&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;UNITS&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Supply Current&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Idd&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;SpO2 and HR mode, PW = 215µs, 50sps&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;600&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;1200&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;µA&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Supply Current&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Idd&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;IR only mode, PW = 215µS, 50sps&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;600&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;1200&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;µA&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Supply Current in Shutdown&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Ishdn&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Ta = +25°C, MODE = 0x80&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0.7&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;10&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;µA&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Verdict: Not a problem. Just need to set it to shutdown mode when idle and our current consumption can be managed well on a software level.&lt;/p&gt;&#10;&lt;p&gt;Note: this sensor needs both a supply of 1.8V for the raw sensor power supply and 3.3V for the on-board LED.&lt;/p&gt;&#10;&lt;h3 id="ldo-65k5"&gt;LDO (65K5)&#10;&lt;/h3&gt;&lt;p&gt;(Credit to &lt;a class="link" href="https://diotec.com/en/product/DI62061.8S2.html" target="_blank" rel="noopener"&#10; &gt;Diotec&lt;/a&gt; for image,datasheet, electrical characteristics and description: &lt;a class="link" href="https://diotec.com/request/datasheet/di620600s2.pdf" target="_blank" rel="noopener"&#10; &gt;https://diotec.com/request/datasheet/di620600s2.pdf&lt;/a&gt;)&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="65k5 LDO" class="gallery-image" data-flex-basis="240px" data-flex-grow="100" height="800" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://diotec.com/request/imagefile/sot-23.jpg" width="800"&gt;&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;PARAMETER&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;SYMBOL&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;MIN&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;TYP&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;MAX&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;UNITS&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Quiescent current&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Iq&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;8.0&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;µA&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;&amp;ldquo;Low Dropout Fixed Positive Voltage Regulators&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;verdict: Not a problem, atleast not yet. The current drawn is negligible, atleast for us, for now, and isn&amp;rsquo;t significantly contributing to the problem.&lt;/p&gt;&#10;&lt;h2 id="dc-dc-chip-n1if"&gt;DC-DC Chip (N1IF)&#10;&lt;/h2&gt;&lt;!--Datasheet link, power consumption Iq table, during load power consumption, etc TODO--&gt;&#13;&#10;&lt;p&gt;(Credit to Siqma Store for images)&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="N1IF up close" class="gallery-image" data-flex-basis="240px" data-flex-grow="100" height="800" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://store.siqma.com/image/cache/catalog/Category/Image/SQ11505/xh4002-boost-ic_531_2-800x800.jpg" width="800"&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="Size comparison of N1IF" class="gallery-image" data-flex-basis="240px" data-flex-grow="100" height="800" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://store.siqma.com/image/cache/catalog/Category/Image/SQ11505/xh4002-boost-ic_531_1-800x800.jpg" width="800"&gt;&lt;/p&gt;&#10;&lt;p&gt;(Credit to HXKIC for description, electrical parameters and datasheet: &lt;a class="link" href="https://hxkic.com/data/product/20210127_114625_25022.pdf" target="_blank" rel="noopener"&#10; &gt;https://hxkic.com/data/product/20210127_114625_25022.pdf&lt;/a&gt;)&lt;/p&gt;&#10;&lt;p&gt;&amp;ldquo;The HX4002B is a low noise, constant frequency (1.2MHz) switched capacitor voltage doubler. It produce a regulated output voltage from a 1.8V to 5V input with up to 150mA of output current. Low external parts count (one flying capacitor and two small bypass capacitors at VIN and VOUT) make the HX4002B ideally suited for small, battery-powered applications.&amp;rdquo;&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;PARAMETER&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;CONDITIONS&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;MIN&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;TYP&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;MAX&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;UNITS&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;ISHDN Shutdown Current&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;EN=0V,VOUT = 0V&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0.3&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0.5&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0.9&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;µA&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;No load input current&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;IOUT = 0mA, VIN = 2.7V&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;1.77&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;mA&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;verdict: the main thing that sips a lot of current when idle.&lt;/p&gt;&#10;&lt;h3 id="analysis-of-the-problem"&gt;Analysis of the problem&#10;&lt;/h3&gt;&lt;p&gt;The EN(enable pin) is always tied to the input of the DC-DC converter. This means, the enable pin is never ever pulled to ground. Trying to do so without severing the trace leads to a short between &lt;code&gt;Vin&lt;/code&gt; and &lt;code&gt;GND&lt;/code&gt; which&amp;hellip; eventually causes magic smoke if the system isn&amp;rsquo;t protected well enough.&lt;/p&gt;&#10;&lt;p&gt;Furthermore, we know that the microcontroller we use in the rest of the system is 3.3V, and we&amp;rsquo;re doing a lot of gymnastics to convert &lt;code&gt;1.8V to 5.5V&lt;/code&gt;(DC-DC charge pump converter) to &lt;code&gt;3.3V&lt;/code&gt;to &lt;code&gt;1.8V&lt;/code&gt;(LDO). The solution that followed is described below.&lt;/p&gt;&#10;&lt;h2 id="potential-solutions"&gt;Potential Solutions&#10;&lt;/h2&gt;&lt;h3 id="swap-the-module"&gt;Swap the module&#10;&lt;/h3&gt;&lt;p&gt;Just using a better module with a lower input current during no load would be nice.&lt;/p&gt;&#10;&lt;p&gt;Unfortunately, we&amp;rsquo;re using prebuilt modules and it comes across like wishful thinking.&lt;/p&gt;&#10;&lt;h3 id="another-potential-hack"&gt;Another Potential Hack&#10;&lt;/h3&gt;&lt;p&gt;As mentioned above, the EN pin is half the problem here. I ruined a module by trying to cut a trace to stop EN pin from being pulled to 3.3V and then wiring to the microcontroller but I messed it up and cut the wrong trace.&lt;/p&gt;&#10;&lt;p&gt;I doubt it&amp;rsquo;s an easy enough job either, since it&amp;rsquo;s very close to components and needs a on-insignificant amount of time per module.&lt;/p&gt;&#10;&lt;p&gt;The module I ruined was eventually fixed with the hack below.&lt;/p&gt;&#10;&lt;h3 id="the-hack"&gt;The Hack&#10;&lt;/h3&gt;&lt;p&gt;In short, this means we bypass the DC-DC chip: This DC-DC chip allows the entire module to take a voltage ranging from &lt;code&gt;1.8 to 5.5V&lt;/code&gt;and converts it into &lt;code&gt;3.3V&lt;/code&gt;.&lt;/p&gt;&#10;&lt;p&gt;As mentioned above, WE&amp;rsquo;RE ALREADY WORKING WITH &lt;code&gt;3.3V&lt;/code&gt;! Our microcontroller gives out a sane enough &lt;code&gt;3.3V&lt;/code&gt;. So we decided&amp;hellip; No more DC-DC module.&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="Pinout for N1IF from datasheet" class="gallery-image" data-flex-basis="405px" data-flex-grow="168" height="409" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://cdn.jsdelivr.net/gh/sounddrill31/blog@master/assets/img/blogpost/max30102/dcdc-pinout.png" width="691"&gt;&lt;/p&gt;&#10;&lt;p&gt;This means we desolder the chip and short VOUT(pin 1) and VIN(pin 5).&lt;/p&gt;&#10;&lt;h3 id="before"&gt;Before&#10;&lt;/h3&gt;&lt;p&gt;&lt;img alt="MAX30102 module picture" class="gallery-image" data-flex-basis="212px" data-flex-grow="88" height="439" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://microcontrollerslab.com/wp-content/uploads/2022/04/MAX30102-Module-Pinout.jpg" width="388"&gt;&lt;/p&gt;&#10;&lt;h3 id="after"&gt;After&#10;&lt;/h3&gt;&lt;p&gt;&lt;img alt="MAX30102 module, modded" class="gallery-image" data-flex-basis="357px" data-flex-grow="148" height="605" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://cdn.jsdelivr.net/gh/sounddrill31/blog@master/assets/img/blogpost/max30102/max30102-aftermod.png" srcset="https://sounddrill31.github.io/blog/max30102-aftermod_5443753015863595763_hu_cc41bf7c47d5ced5.png 800w, https://cdn.jsdelivr.net/gh/sounddrill31/blog@master/assets/img/blogpost/max30102/max30102-aftermod.png 900w" width="900"&gt;&lt;/p&gt;&#10;&lt;h2 id="benchmarking"&gt;Benchmarking&#10;&lt;/h2&gt;&lt;h3 id="setup"&gt;Setup&#10;&lt;/h3&gt;&lt;p&gt;Nordic Semiconductor&amp;rsquo;s Power Profiler Kit 2 is used for testing here, and is set in series with the profiler acting as the power source.&lt;/p&gt;&#10;&lt;p&gt;Before(Active):&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="PPK2 Screenshot showing a usage with current around 3.69 milliamps" class="gallery-image" data-flex-basis="578px" data-flex-grow="240" height="664" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://cdn.jsdelivr.net/gh/sounddrill31/blog@master/assets/img/blogpost/max30102/active-beforemod.jpeg" srcset="https://sounddrill31.github.io/blog/active-beforemod_4586993966840522511_hu_464c4fd5ebe7d94c.jpg 800w, https://cdn.jsdelivr.net/gh/sounddrill31/blog@master/assets/img/blogpost/max30102/active-beforemod.jpeg 1600w" width="1600"&gt;&lt;/p&gt;&#10;&lt;p&gt;Before(Idle):&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="PPK2 Screenshot showing a usage with current around 480 microamps" class="gallery-image" data-flex-basis="579px" data-flex-grow="241" height="663" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://cdn.jsdelivr.net/gh/sounddrill31/blog@master/assets/img/blogpost/max30102/idle-beforemod.jpeg" srcset="https://sounddrill31.github.io/blog/idle-beforemod_5208446807010970543_hu_d6efd9d91d6fb0f4.jpg 800w, https://cdn.jsdelivr.net/gh/sounddrill31/blog@master/assets/img/blogpost/max30102/idle-beforemod.jpeg 1600w" width="1600"&gt;&lt;/p&gt;&#10;&lt;p&gt;After(Active):&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="PPK2 Screenshot showing a usage with current around xx milliamps" class="gallery-image" data-flex-basis="580px" data-flex-grow="241" height="662" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://cdn.jsdelivr.net/gh/sounddrill31/blog@master/assets/img/blogpost/max30102/active-aftermod.jpeg" srcset="https://sounddrill31.github.io/blog/active-aftermod_5726611193560531133_hu_b47668f62538f1b5.jpg 800w, https://cdn.jsdelivr.net/gh/sounddrill31/blog@master/assets/img/blogpost/max30102/active-aftermod.jpeg 1600w" width="1600"&gt;&lt;/p&gt;&#10;&lt;p&gt;Almost 55% drop in current draw!&lt;/p&gt;&#10;&lt;p&gt;After(Idle):&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="PPK2 Screenshot showing a usage over 10 seconds with current around xx microamps" class="gallery-image" data-flex-basis="580px" data-flex-grow="241" height="662" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://cdn.jsdelivr.net/gh/sounddrill31/blog@master/assets/img/blogpost/max30102/idle-aftermod.jpeg" srcset="https://sounddrill31.github.io/blog/idle-aftermod_12756549830131904321_hu_6bfcc362257959de.jpg 800w, https://cdn.jsdelivr.net/gh/sounddrill31/blog@master/assets/img/blogpost/max30102/idle-aftermod.jpeg 1600w" width="1600"&gt;&lt;/p&gt;&#10;&lt;p&gt;Almost 96% drop in current draw!&lt;/p&gt;&#10;&lt;p&gt;I know the supporting hardware can go lower but a few other hardware non-negotiables are keeping the current consumption up around here.&lt;/p&gt;&#10;&lt;h2 id="closing-notes"&gt;Closing notes&#10;&lt;/h2&gt;&lt;p&gt;This blog post was hand-typed and mostly drafted on a chat platform&amp;rsquo;s Saved Messages, on a lazy sunday. After this, I also managed to get comfortable with basic ZephyrRTOS, LVGL and Pixelorama experiments but that&amp;rsquo;s another blogpost for another time. Check out my codeberg if you&amp;rsquo;re interested :D &lt;a class="link" href="https://codeberg.org/sounddrill" target="_blank" rel="noopener"&#10; &gt;https://codeberg.org/sounddrill&lt;/a&gt;&lt;/p&gt;&#10;&lt;h3 id="about-llm-reliance"&gt;About LLM reliance&#10;&lt;/h3&gt;&lt;p&gt;This came about when I was trying to rely on LLMs a lot lot lot less than usual, if at all. (Imagine the inadvertent Google search at work popping up a summary of product pages and such)&lt;/p&gt;&#10;&lt;p&gt;The fact that I didn&amp;rsquo;t use LLMs as much helps because I retained the critical thinking and mental model of how things worked needed for this bypass. I also learned that these things aren&amp;rsquo;t innate or born in a vacuum, they exist because we choose to nurture them over iterative learning, experimentation and tweaking. LLMs actively kill them, pick your battles.&lt;/p&gt;&#10;&lt;p&gt;I say this because maybe, just maybe, the real power optimization was the friends we made along the way :)&lt;/p&gt;&#10;</description></item></channel></rss>