<div class="desc col-sm-6 col-md-6" style="box-sizing: border-box; position: relative; min-height: 1px; padding-right: 15px; padding-left: 15px; float: left; width: 350px; color: #414042; font-family: Lato, sans-serif; font-size: 16px;">
   <h1 style="box-sizing: border-box; font-size: 32px; margin: 0px 0px 10px; font-family: Montserrat; font-weight: 400; line-height: 32px; color: #404041;">XL4015 Power Supply Module – Secret Talks</h1>
   <div class="author" style="box-sizing: border-box; margin: 0px 0px 15px; font-size: 14px; text-transform: uppercase;"><a href="https://www.electroschematics.com/author/hareendran/" style="box-sizing: border-box; color: #404041; text-decoration-line: none; outline: none; border-bottom: 2px solid rgb(85, 202, 226); position: relative; display: inline-block; overflow: hidden; z-index: 1; white-space: pre-line; vertical-align: middle;" target="_blank">T.K. HAREENDRAN</a></div>
   <div class="col-md-12 no-padd" style="box-sizing: border-box; position: relative; min-height: 1px; padding: 0px !important; float: left; width: 320px;">
      <div class="sharedaddy sd-sharing-enabled" style="box-sizing: border-box; clear: both;">
         <div class="robots-nocontent sd-block sd-social sd-social-official sd-sharing" style="box-sizing: border-box; margin-bottom: 1em;">
            <h3 class="sd-title" style="box-sizing: border-box; font-family: &quot;Martel Sans&quot;, sans-serif; line-height: 1.2; color: #404041; margin: 30px 0px 10px; font-size: 20px; padding: 0px; display: inline-block;">Share this:</h3>
            <div class="sd-content" style="box-sizing: border-box;">
               <ul data-sharing-events-added="true" style="box-sizing: border-box; margin: 0px !important; padding: 0px !important; list-style: none !important; line-height: 25px !important;">
                  <li class="share-twitter" style="box-sizing: border-box; display: block; margin: 0px 10px 5px 0px !important; padding: 0px; line-height: 25px !important; float: left; height: 25px;"><iframe id="twitter-widget-0" scrolling="no" frameborder="0" allowtransparency="true" allowfullscreen="true" class="twitter-share-button twitter-share-button-rendered twitter-tweet-button" title="Twitter Tweet Button" src="https://platform.twitter.com/widgets/tweet_button.96fd96193cc66c3e11d4c5e4c7c7ec97.en.html#dnt=false&amp;id=twitter-widget-0&amp;lang=en&amp;original_referer=https%3A%2F%2Fwww.electroschematics.com%2Fxl4015-power-supply-module-secret-talks%2F&amp;size=m&amp;text=XL4015%20Power%20Supply%20Module%20-%20Secret%20Talks&amp;time=1612705590450&amp;type=share&amp;url=https%3A%2F%2Fwww.electroschematics.com%2Fxl4015-power-supply-module-secret-talks%2F" data-url="https://www.electroschematics.com/xl4015-power-supply-module-secret-talks/" style="box-sizing: border-box; position: static; visibility: visible; width: 60px; height: 20px;"></iframe></li>
                  <li class="share-facebook" style="box-sizing: border-box; display: block; margin: 0px 10px 5px 0px !important; padding: 0px; line-height: 25px !important; float: left; height: 25px;">
                     <div class="fb-share-button fb_iframe_widget" data-href="https://www.electroschematics.com/xl4015-power-supply-module-secret-talks/" data-layout="button_count" fb-xfbml-state="rendered" fb-iframe-plugin-query="app_id=264778010376278&amp;container_width=0&amp;href=https%3A%2F%2Fwww.electroschematics.com%2Fxl4015-power-supply-module-secret-talks%2F&amp;layout=button_count&amp;locale=en_US&amp;sdk=joey" style="box-sizing: border-box; display: inline-block; position: relative;"><span style="box-sizing: border-box; display: inline-block; position: relative; text-align: justify; vertical-align: bottom; width: 77px; height: 20px;"><iframe name="f2f7400b9bf7ef8" width="1000px" height="1000px" data-testid="fb:share_button Facebook Social Plugin" title="fb:share_button Facebook Social Plugin" frameborder="0" allowtransparency="true" allowfullscreen="true" scrolling="no" allow="encrypted-media" src="https://www.facebook.com/v2.0/plugins/share_button.php?app_id=264778010376278&amp;channel=https%3A%2F%2Fstaticxx.facebook.com%2Fx%2Fconnect%2Fxd_arbiter%2F%3Fversion%3D46%23cb%3Df3a6bf0c9202be8%26domain%3Dwww.electroschematics.com%26origin%3Dhttps%253A%252F%252Fwww.electroschematics.com%252Ff11942cc540cdc%26relation%3Dparent.parent&amp;container_width=0&amp;href=https%3A%2F%2Fwww.electroschematics.com%2Fxl4015-power-supply-module-secret-talks%2F&amp;layout=button_count&amp;locale=en_US&amp;sdk=joey" class="" style="box-sizing: border-box; position: absolute; border-width: initial; border-style: none; visibility: visible; width: 77px; height: 20px;"></iframe></span></div>
                     </li>
                  <li class="share-linkedin" style="box-sizing: border-box; display: block; margin: 0px 10px 5px 0px !important; padding: 0px; line-height: 25px !important; float: left; height: 25px;">
                     <div class="linkedin_button" style="box-sizing: border-box;"><span class="IN-widget" data-lnkd-debug="<script type=&quot;in/share+init&quot; data-url=&quot;https://www.electroschematics.com/xl4015-power-supply-module-secret-talks/&quot; data-counter=&quot;right&quot;></script>" style="box-sizing: border-box; margin: 0px; display: inline-block; line-height: 1; vertical-align: bottom; padding: 0px; text-align: center;"><span style="box-sizing: border-box; padding: 0px !important; margin: 0px !important; display: inline-block !important; vertical-align: bottom !important; font-size: 1px !important;"><button class="IN-6d5494f8-69f0-4a9d-8c6b-3e3c3eb1b33b-1G9ISYhSF8XoOmdcl0yKDu" style="font-style: inherit; font-variant: inherit; font-stretch: inherit; margin: 0px; appearance: button; color: #ffffff !important; font-weight: 600 !important; font-size: 11px !important; line-height: 20px !important; font-family: -apple-system, system-ui, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Fira Sans&quot;, Ubuntu, Oxygen, &quot;Oxygen Sans&quot;, Cantarell, &quot;Droid Sans&quot;, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Lucida Grande&quot;, Helvetica, Arial, sans-serif !important; overflow: hidden !important; cursor: pointer !important; background-color: #0073b1 !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important; border-radius: 2px !important; outline-width: 2px !important; position: relative !important; vertical-align: middle !important; white-space: nowrap !important; height: 20px !important; padding: 0px 7px !important;"><xdoor-icon aria-hidden="true" style="box-sizing: border-box; display: inline-block !important; height: 20px; vertical-align: top !important; margin-left: -7px !important; margin-right: 3.5px !important;"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet"><g style="fill: currentColor"><rect x="-0.003" style="fill:none;" width="24" height="24"></rect><path d="M20,2h-16c-1.1,0-2,0.9-2,2v16c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V4C22,2.9,21.1,2,20,2zM8,19h-3v-9h3V19zM6.5,8.8C5.5,8.8,4.7,8,4.7,7s0.8-1.8,1.8-1.8S8.3,6,8.3,7S7.5,8.8,6.5,8.8zM19,19h-3v-4c0-1.4-0.6-2-1.5-2c-1.1,0-1.5,0.8-1.5,2.2V19h-3v-9h2.9v1.1c0.5-0.7,1.4-1.3,2.6-1.3c2.3,0,3.5,1.1,3.5,3.7V19z"></path></g></svg></xdoor-icon>Share</button></span></span></div>
                     </li>
                  <li style="box-sizing: border-box; display: block; margin: 0px 10px 5px 0px !important; padding: 0px; line-height: 25px !important; float: left; height: 25px;"><a href="https://www.electroschematics.com/xl4015-power-supply-module-secret-talks/#" class="sharing-anchor sd-button share-more" style="box-sizing: border-box; background: rgb(248, 248, 248); outline: none; display: inline-block; font-size: 12px; font-family: &quot;Open Sans&quot;, sans-serif; border-radius: 3px; border: 1px solid rgb(204, 204, 204); box-shadow: none; text-shadow: none; line-height: 17px; padding: 1px 8px 0px 5px; position: relative; top: 0px; vertical-align: top; color: #656565 !important; text-decoration-line: none !important;" target="_blank"><span style="box-sizing: border-box; line-height: 1; margin-left: 3px;">More</span></a></li>
                  <li class="share-end" style="box-sizing: border-box; display: block; margin: 0px 10px 5px 0px !important; padding: 0px; line-height: 25px !important; float: left; height: 25px;"></li>
                  </ul>
               <div class="sharing-hidden" style="box-sizing: border-box;">&nbsp;</div>
               </div>
            </div>
         </div>
      </div>
   </div>
<div class="clear-b" style="box-sizing: border-box; clear: both; color: #414042; font-family: Lato, sans-serif; font-size: 16px;">&nbsp;</div>
<div class="main-wrap" style="box-sizing: border-box; color: #414042; font-family: Lato, sans-serif; font-size: 16px;">
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;">This is a succinct account of my experience with the cheap electronic power supply module from China, “DC-DC Module 5-A/7-W (ERPC0575DC) XL4015.” I have used quite a few over the years and have to say that these types of modules are great for hobbyists and makers. Here is the module I have tried, but don’t take this information for granted. There are countless suppliers and very high variance with most modules, not to mention some room for user misplay!<br style="box-sizing: border-box;" /><span id="more-13149" style="box-sizing: border-box;"></span></p>
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;"><a href="https://www.electroschematics.com/wp-content/uploads/2017/04/XLPSM-1.png?resize=497%2C335" rel="lightbox[13149]" class="image-cont" style="box-sizing: border-box; color: #404041; text-decoration-line: none; outline: none; border-bottom: 0px; position: static; display: inline; overflow: visible; z-index: 1; vertical-align: baseline; font-size: 14px; font-weight: 700; word-break: break-all;" target="_blank"><img loading="eager" src="https://www.electroschematics.com/wp-content/uploads/2017/04/XLPSM-1.png?resize=497%2C335" alt="XLPSM-1" width="497" class="aligncenter size-full wp-image-13150 jetpack-lazy-image jetpack-lazy-image--handled" data-recalc-dims="1" srcset="https://www.electroschematics.com/wp-content/uploads/2017/04/XLPSM-1.png?resize=497%2C335?w=497 497w, https://www.electroschematics.com/wp-content/uploads/2017/04/XLPSM-1.png?resize=497%2C335?w=100 100w, https://www.electroschematics.com/wp-content/uploads/2017/04/XLPSM-1.png?resize=497%2C335?w=400 400w" data-lazy-loaded="1" sizes="(max-width: 497px) 100vw, 497px" style="box-sizing: border-box; border: 0px; vertical-align: middle; max-width: 100%; height: auto; clear: both; margin: 15px auto; display: block;" /></a></p>
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;">I chose this module because it had an output rating of up to 5 A, more than the cheaper versions that we see online. It also included an on-board digital voltmeter with an option to show either input or output voltages. At first sight, I thought that this was a digitally controllable power supply with +/– buttons to adjust the output voltage as required. It was a misconception as it is, in fact, a 180-KHz fixed-frequency PWM buck (step-down) dc/dc module capable of driving a 5-A load with high efficiency, low ripple, and excellent line and load regulation. A multi-turn potentiometer is included for output voltage adjustment. The digital voltmeter simply displays the current input or output voltage (it can also be calibrated for accuracy).</p>
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;">The output voltage is adjustable from 1.25 to 35 V from an input of 4 to 38 V. Note that the input voltage must be at least 1.5 V higher than the required output voltage.</p>
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;"><a href="https://www.electroschematics.com/wp-content/uploads/2017/04/XLPSM-2.png" rel="lightbox[13149]" class="image-cont" style="box-sizing: border-box; color: #404041; text-decoration-line: none; outline: none; border-bottom: 0px; position: static; display: inline; overflow: visible; z-index: 1; vertical-align: baseline; font-size: 14px; font-weight: 700; word-break: break-all;" target="_blank"><img loading="eager" src="https://www.electroschematics.com/wp-content/uploads/2017/04/XLPSM-2.png?resize=550%2C412" alt="XLPSM-2" width="550" class="aligncenter size-large wp-image-13151 jetpack-lazy-image jetpack-lazy-image--handled" data-recalc-dims="1" data-lazy-loaded="1" style="box-sizing: border-box; border: 0px; vertical-align: middle; max-width: 100%; height: auto; clear: both; margin: 15px auto; display: block;" /></a></p>
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;">The module is available as a pre-populated board and requires zero soldering — it comes ready to go out of the box. Also, there’s an extra heatsink for the XL4015 chip included with it. Major components in the module are showed in the following figure:</p>
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;"><a href="https://www.electroschematics.com/wp-content/uploads/2017/04/XLPSM-3.png" rel="lightbox[13149]" class="image-cont" style="box-sizing: border-box; color: #404041; text-decoration-line: none; outline: none; border-bottom: 0px; position: static; display: inline; overflow: visible; z-index: 1; vertical-align: baseline; font-size: 14px; font-weight: 700; word-break: break-all;" target="_blank"><img loading="eager" src="https://www.electroschematics.com/wp-content/uploads/2017/04/XLPSM-3.png?resize=550%2C227" alt="XLPSM-3" width="550" class="aligncenter size-large wp-image-13152 jetpack-lazy-image jetpack-lazy-image--handled" data-recalc-dims="1" data-lazy-loaded="1" style="box-sizing: border-box; border: 0px; vertical-align: middle; max-width: 100%; height: auto; clear: both; margin: 15px auto; display: block;" /></a></p>
   <ul style="box-sizing: border-box; margin-top: 0px; margin-bottom: 10px;">
      <li style="box-sizing: border-box;"><a href="https://www.eleparts.co.kr/goods/view?no=6564485" target="_blank">XL4015: DC/ DC 180-KHz Buck Converter, 5 A/36 V &gt;&gt; LINK</a></li>
      <li style="box-sizing: border-box;"><a href="https://www.eleparts.co.kr/goods/view?no=9375509" target="_blank">M7: SMD version of 1N400x Diode (used here for circuit protection) &gt;&gt; LINK</a></li>
      <li style="box-sizing: border-box;">HSN3631AS: Numeric Three-Digit LED Display, Red</li>
      <li style="box-sizing: border-box;"><a href="https://www.eleparts.co.kr/goods/view?no=6563091" target="_blank">LM317: Adjustable Voltage Regulator (used here as the dvm power supply) &gt;&gt; LINK</a></li>
      <li style="box-sizing: border-box;"><a href="https://www.eleparts.co.kr/goods/view?no=9243442" target="_blank">SS54: Schottky Diode 40 V/5 A &gt;&gt; LINK</a></li>
      <li style="box-sizing: border-box;"><a href="https://smartstore.naver.com/eduino/products/4526410292?NaPm=ct%3Dkkv7hiuw%7Cci%3D43f1052398524413cabdc7077ff3264a6023f557%7Ctr%3Dslsl%7Csn%3D451367%7Chk%3D50e2d1844417249c22f857c1f31ced1167e8e70f" target="_blank">47uH/5A: Power Inductor &gt;&gt; LINK</a></li>
      <li style="box-sizing: border-box;">50K MT: Multi-Turn Preset Potentiometer 50K</li>
      </ul>
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;">In addition to this, there is a small microcontroller in the digital voltmeter circuit (my teardown article will be published in the near future). It’s most likely an 8-bit MCU from STMicroelectronics or Holtek.</p>
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;"><span style="box-sizing: border-box; font-weight: 700; font-family: &quot;Martel Sans&quot;, arial; font-size: 20px; margin-top: 30px;">Setup Guide</span></p>
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;"><a href="https://www.electroschematics.com/wp-content/uploads/2017/04/XLPSM-4.png" rel="lightbox[13149]" class="image-cont" style="box-sizing: border-box; color: #404041; text-decoration-line: none; outline: none; border-bottom: 0px; position: static; display: inline; overflow: visible; z-index: 1; vertical-align: baseline; font-size: 14px; font-weight: 700; word-break: break-all;" target="_blank"><img loading="eager" src="https://www.electroschematics.com/wp-content/uploads/2017/04/XLPSM-4.png?resize=550%2C298" alt="XLPSM-4" width="550" class="aligncenter size-large wp-image-13153 jetpack-lazy-image jetpack-lazy-image--handled" data-recalc-dims="1" data-lazy-loaded="1" style="box-sizing: border-box; border: 0px; vertical-align: middle; max-width: 100%; height: auto; clear: both; margin: 15px auto; display: block;" /></a></p>
   <ul style="box-sizing: border-box; margin-top: 0px; margin-bottom: 10px;">
      <li style="box-sizing: border-box;">Power up the module with a stable and accurate dc power supply (such as a regulated 6-V power supply). Then short-press the button on the right side to select which one you need to adjust (input or output). Long-pressing the button on the right side (holding it for &gt;2 s) makes the module enter calibration mode. After releasing the button, the related LED will blink to indicate which voltage is now calibrating, and the numeric display will blink with the present value.</li>
      <li style="box-sizing: border-box;">Short-press the button to change the present value. For example, if your power supply is 6 V but the result of voltage meter is 5.8 V, you need to set the value to 6 V.</li>
      <li style="box-sizing: border-box;">Short-press the button on the right side to increase the voltage by one unit. Short-press the button on the left side to reduce the voltage by one unit.</li>
      <li style="box-sizing: border-box;">Long-press button on the right side to store the redressed value.</li>
      <li style="box-sizing: border-box;">The preset pot sets the actual output voltage. Calibrate the output voltage reading on the digital voltmeter in the same way above. For example, if your actual output is 3 V but the result on the voltmeter is 4 V, you need to set the value to 3 V. The redressed value will be stored in the non-volatile memory of the module.</li>
      </ul>
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;">Remember, if you are facing difficulties in the calibration process for the first time, just turn the preset pot counterclockwise for 10 rotations as the default output voltage (factory preset) is around 20 V. Also attach the heatsink that comes with the module if you are a power user!</p>
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;"><a href="https://www.electroschematics.com/wp-content/uploads/2017/04/XLPSM-5.png" rel="lightbox[13149]" class="image-cont" style="box-sizing: border-box; color: #404041; text-decoration-line: none; outline: none; border-bottom: 0px; position: static; display: inline; overflow: visible; z-index: 1; vertical-align: baseline; font-size: 14px; font-weight: 700; word-break: break-all;" target="_blank"><img loading="eager" src="https://www.electroschematics.com/wp-content/uploads/2017/04/XLPSM-5.png?resize=550%2C294" alt="XLPSM-5" width="550" class="aligncenter size-large wp-image-13154 jetpack-lazy-image jetpack-lazy-image--handled" data-recalc-dims="1" data-lazy-loaded="1" style="box-sizing: border-box; border: 0px; vertical-align: middle; max-width: 100%; height: auto; clear: both; margin: 15px auto; display: block;" /></a></p>
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;">This is absolutely a good device, but without access to a plentiful supply of these modules, it is hard to say if there are any unseen anomalies in the design itself or if the modules contain bad parts. Anyway, I prefer a multi-turn potentiometer (with a long shaft) in lieu of the nasty preset pot for the sake of user convenience.</p>
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;">--------------------------------------------------------------------------------------------</p>
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;">VOUT = 1.25 * (1 + R2 / R1)</p>
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;">&gt; 5.03V ---&gt; R2=10k, R1=3.3k</p>
   <p style="box-sizing: border-box; margin-bottom: 10px; font-family: Martel, serif;">&nbsp;</p>
   </div>