<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>s51517765</author_name>
  <author_url>https://blog.hatena.ne.jp/s51517765/</author_url>
  <blog_title>プログラミング素人のはてなブログ</blog_title>
  <blog_url>https://s51517765.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Arduino</anon>
  </categories>
  <description>今日はPWM制御を試してみます。PWMとはPWMとはPulse Width Modulationといって、電圧のオンとオフをどれだけの割合で混ぜるかという方法によって、電圧の割合を制御するという方法です。基準に対して～%の電圧が欲しいとき、電圧幅を小さくするのではなく、ON時間を全体の～%にすることで出力を制御するものです。たとえば、通常5Vの電源(たとえばArduinoのDigital5 pin)からLEDの光量を調整するには可変抵抗を挟み、電流を調整することで実現しますが、PWMを用いるとソフト的に調整することができます。(PWMの変更で実効電圧を変えることで光量を調整することが出来ますが…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fs51517765.hatenadiary.jp%2Fentry%2F2015%2F11%2F06%2F204727&quot; title=&quot;PWM制御 - プログラミング素人のはてなブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/s51517765/20160919/20160919111849.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-11-06 20:47:27</published>
  <title>PWM制御</title>
  <type>rich</type>
  <url>https://s51517765.hatenadiary.jp/entry/2015/11/06/204727</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
