<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;">자동차에 사용되는 납배터리의 표준 전압은 12.6V이며 통상 12V로 표현하기도 한다. 엔진 시동을 위한 크랭킹 시에 순간적인 전압 강하가 일어나며 12V 기준 20% 즉 9.6V 이하로 강하 여부를 측정하여 납 배터리의 정상 여부를 판단한다.</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;">한편 엔진 시동 후에는 발전기의 가동으로 13.8∼14.8V 수준의 전압이 발생되어 전기장치에 전기를 공급하고 일부는 납 배터리를 충전할 수 있도록 미세 전류를 흘려준다.</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;"><br style="box-sizing: inherit;" /></span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; text-align: center; padding-top: 0px !important; padding-bottom: 0px !important;"><a href="https://t1.daumcdn.net/cfile/blog/2378A24D58DBA58A2E?original" data-lightbox="lightbox" data-alt="배선사진_01.png" style="box-sizing: inherit; display: inline-block; color: #3d62ce;" target="_blank"><img src="https://t1.daumcdn.net/cfile/blog/2378A24D58DBA58A2E" class="txc-image" width="268" border="0" vspace="1" hspace="1" actualwidth="268" exif="{}" data-filename="배선사진_01.png" id="A_2378A24D58DBA58A2E9F61" style="box-sizing: inherit; border-style: none; max-width: 100%; clear: both; margin-right: 8px; float: left;" /></a></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;">즉 자동차의 시동용 납 배터리의 전압 사용 범위가 9∼15V 사이 이므로&nbsp; 여유 있게 5∼20V의 측정 범위를 가지도록 아두이노 보드의 아날로그 센서 입력 기능을 활용하여 코딩을 하기로 한다.</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;">이러한 실측 시스템을 만들기 위해서 아두이노 보드의 전원 전압, 측정하고자 하는 배터리의 실제 전압 및 저항의 값을 멀티메터를 사용하여 실측하였다.</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;"><br style="box-sizing: inherit;" /></span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; text-align: center; padding-top: 0px !important; padding-bottom: 0px !important;"><a href="https://t1.daumcdn.net/cfile/blog/2137184C58DBA56B03?original" data-lightbox="lightbox" data-alt="배선도_02.png" style="box-sizing: inherit; display: inline-block; color: #3d62ce;" target="_blank"><img src="https://t1.daumcdn.net/cfile/blog/2137184C58DBA56B03" class="txc-image" width="270" border="0" vspace="1" hspace="1" actualwidth="270" exif="{}" data-filename="배선도_02.png" id="A_2137184C58DBA56B03D059" style="box-sizing: inherit; border-style: none; max-width: 100%; clear: both; margin-right: 8px; float: left;" /></a></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;">두 개의 저항의 멀티메터 실측값은 약간의 오차를 포함하여 각각 0.997K옴과 3.273K옴으로 측정되었다.</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-weight: bolder;"><span style="box-sizing: inherit; font-size: 12pt;"><br style="box-sizing: inherit;" /></span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; text-align: center; padding-top: 0px !important; padding-bottom: 0px !important;"><a href="https://t1.daumcdn.net/cfile/blog/2434AC4A58DBA5AB01?original" data-lightbox="lightbox" data-alt="저항값_03.png" style="box-sizing: inherit; display: inline-block; color: #3d62ce;" target="_blank"><img src="https://t1.daumcdn.net/cfile/blog/2434AC4A58DBA5AB01" class="txc-image" width="154" border="0" vspace="1" hspace="1" actualwidth="154" exif="{}" data-filename="저항값_03.png" id="A_2434AC4A58DBA5AB01B1C1" style="box-sizing: inherit; border-style: none; max-width: 100%; clear: none; float: none;" /></a></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; text-align: center; padding-top: 0px !important; padding-bottom: 0px !important;"><br style="box-sizing: inherit;" /></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; text-align: center; padding-top: 0px !important; padding-bottom: 0px !important;"><a href="https://t1.daumcdn.net/cfile/blog/2625384D58DBA5C006?original" data-lightbox="lightbox" data-alt="저항값_04.png" style="box-sizing: inherit; display: inline-block; color: #3d62ce;" target="_blank"><img src="https://t1.daumcdn.net/cfile/blog/2625384D58DBA5C006" class="txc-image" width="154" border="0" vspace="1" hspace="1" actualwidth="154" exif="{}" data-filename="저항값_04.png" id="A_2625384D58DBA5C0068E81" style="box-sizing: inherit; border-style: none; max-width: 100%; clear: none; float: none;" /></a></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; text-align: center; padding-top: 0px !important; padding-bottom: 0px !important;"><br style="box-sizing: inherit;" /></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-weight: bolder;"><span style="box-sizing: inherit; font-size: 12pt;">연결된 상태에서 측정한 9V 배터리의 실측 전압은 9.2V 였다. 아울러 아두이노 5V 전원은 4.86V 멀티 메터 실측값을 얻었다. 배터리는 회로를 구성하였을 때와 단품일 때의 오픈 서킷일 때의 전압이 다름에 유의한다. 대개 표준전압 9V인 배터리의 사용범위는 8.5∼9.5V 사이 영역에서 사용함을 참조하자.</span><br style="box-sizing: inherit;" /><span style="box-sizing: inherit; font-size: 12pt;">아두이노 5V 전압선을 멀티메터로 측정하였더니 4.86V 가 측정되었다.</span><br style="box-sizing: inherit;" /></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; text-align: center; padding-top: 0px !important; padding-bottom: 0px !important;"><a href="https://t1.daumcdn.net/cfile/blog/2165654B58DBA5E121?original" data-lightbox="lightbox" data-alt="코딩_05.png" style="box-sizing: inherit; display: inline-block; color: #3d62ce;" target="_blank"><img src="https://t1.daumcdn.net/cfile/blog/2165654B58DBA5E121" class="txc-image" width="277" border="0" vspace="1" hspace="1" actualwidth="277" exif="{}" data-filename="코딩_05.png" id="A_2165654B58DBA5E1212020" style="box-sizing: inherit; border-style: none; max-width: 100%; clear: both; margin-right: 8px; float: left;" /></a></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-weight: bolder;"><span style="box-sizing: inherit; font-size: 12pt;">1K옴과 3.3K옴 저항의&nbsp; 실측 값을 실수형 전역 변수로 잡는다.</span><br style="box-sizing: inherit;" /><span style="box-sizing: inherit; font-size: 12pt;">setup()에서는 통신 속도 설정이 잔부다.</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><br style="box-sizing: inherit;" /><span style="box-sizing: inherit; font-weight: bolder;"><span style="box-sizing: inherit; font-size: 12pt;">loop()문에서 아날로그 채널 A0로부터 0∼1023 까지의 정수 값 형태로 전압을 읽는다.</span><br style="box-sizing: inherit;" /></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; text-align: center; padding-top: 0px !important; padding-bottom: 0px !important;"><a href="https://t1.daumcdn.net/cfile/blog/2157E84B58DBA5F417?original" data-lightbox="lightbox" data-alt="코딩_06.png" style="box-sizing: inherit; display: inline-block; color: #3d62ce;" target="_blank"><img src="https://t1.daumcdn.net/cfile/blog/2157E84B58DBA5F417" class="txc-image" width="265" border="0" vspace="1" hspace="1" actualwidth="265" exif="{}" data-filename="코딩_06.png" id="A_2157E84B58DBA5F417DD3B" style="box-sizing: inherit; border-style: none; max-width: 100%; clear: both; margin-right: 8px; float: left;" /></a></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-weight: bolder;"><span style="box-sizing: inherit; font-size: 12pt;">A0에서 읽은 정수 값 형태의 전압을 아두이노 보드 전압 여기서는 arduVolt 즉 4.86V를 사용하여 환산한다.</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;">옴의 법칙을 이용하여 환산된 실제 전압 값과 실측된 저항 값을 이용하여 전류를 계산한다.</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;">1K옴에 흐르는 전류가 3.3K옴 저항으로 흐르기 때문에 3.3K옴 저항에 가해지는 전압도 계산이 가능하다. 하지만 여기서는 배터리 전압이 전체 저항에 가해지기 때문에 전류와 전체 저항 실측 값을 곱하여 최종적으로 배터리의 전압 값을 산출하였다.</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-weight: bolder;"><br style="box-sizing: inherit;" /></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;"><br style="box-sizing: inherit;" /></span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; text-align: center; padding-top: 0px !important; padding-bottom: 0px !important;"><a href="https://t1.daumcdn.net/cfile/blog/257BB14758DBA60505?original" data-lightbox="lightbox" data-alt="코딩_07.png" style="box-sizing: inherit; display: inline-block; color: #3d62ce;" target="_blank"><img src="https://t1.daumcdn.net/cfile/blog/257BB14758DBA60505" class="txc-image" width="270" border="0" vspace="1" hspace="1" actualwidth="270" exif="{}" data-filename="코딩_07.png" id="A_257BB14758DBA60505CD9F" style="box-sizing: inherit; border-style: none; max-width: 100%; clear: both; margin-right: 8px; float: left;" /></a></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;">멀티 실측 값 9.26V와 비교해 보면 아두이노 방식의 측정이 상당히 정밀함을 알 수 있다.</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; text-align: center; padding-top: 0px !important; padding-bottom: 0px !important;"><a href="https://t1.daumcdn.net/cfile/blog/2238B34C58DBA62C2C?original" data-lightbox="lightbox" data-alt="전압_08.png" style="box-sizing: inherit; display: inline-block; color: #3d62ce;" target="_blank"><img src="https://t1.daumcdn.net/cfile/blog/2238B34C58DBA62C2C" class="txc-image" width="148" border="0" vspace="1" hspace="1" actualwidth="148" exif="{}" data-filename="전압_08.png" id="A_2238B34C58DBA62C2CA8AF" style="box-sizing: inherit; border-style: none; max-width: 100%; clear: none; float: none;" /></a></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;"></span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;"><br style="box-sizing: inherit;" /></span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><br style="box-sizing: inherit;" /><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;">그밖에 회로의 안전을 검토해 보자. 9V 전압에 총 4.4K옴 저항 회로에 흐르는 전류는 약 2mA로 충분히 안전하다. 실수로 9V 전압을 1K옴에 가하게 되면 9mA로 그다지 문제 될 게 없다.</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;">하지만 아두이노 전원 전압 5V는 TTL 기준이기 때문에 아두이노 보드 내에 채용되어 있는 전압 레귤레이터 회의의 성능 및 역할에 의해 어느 정도 5V와 괴리를 가질 수 있다. 여러 개 보드를 측정해 본 바에 의하면 4.8V를 조금 상회하는 수준이다. 자신이 사용하는 보드의 전압을 실측하여 코딩하면 될 것이다.</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;">이 회로에서 저항 값을 10배로 키운 후 드라이버 조정이 가능한 가변 저항형을 사용하여 회로의 정밀도를 올린 후 아두이노 NodeMCU에서 무선와이파이를 통해 스마트폰에서 결과를 출력할 수 있도록 사물인터넷형으로 다시 코딩할 계획이다.</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;">참고로 이번 코딩 및 실험을 제대로 수행하려면 멀티메터가 반드시 필요하다는 점을 지적한다. 멀티메터는 카시오 공학용 계산기 값 수준의 싼 멀티메터라도 코딩을 성공적으로 이끄는데 충분하다고 본다.</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;"><br style="box-sizing: inherit;" /></span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;">arduino_volt_01</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;"></span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;"></span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;">float arduVolt = 4.86;// 아두이노 전압 멀티메터 실측치<br style="box-sizing: inherit;" />float r_1K = 997.0;//1K옴 저항 실측치<br style="box-sizing: inherit;" />float r_4K =4270.0;// 총 저항<br style="box-sizing: inherit;" />void setup() {<br style="box-sizing: inherit;" />&nbsp; // put your setup code here, to run once:<br style="box-sizing: inherit;" />Serial.begin(9600);<br style="box-sizing: inherit;" />}</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;">void loop() {<br style="box-sizing: inherit;" />&nbsp; // put your main code here, to run repeatedly:<br style="box-sizing: inherit;" />&nbsp; int v_1k = analogRead(A0);// 0-1023<br style="box-sizing: inherit;" />&nbsp; Serial.println(v_1k);<br style="box-sizing: inherit;" />&nbsp; float volt_1k = arduVolt*v_1k/(1023);//A0에서의 전압 환산<br style="box-sizing: inherit;" />&nbsp; Serial.println(volt_1k);<br style="box-sizing: inherit;" />&nbsp; float i = volt_1k/r_1K;//1K옴 저항에서 전류 계산</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;">&nbsp; float volt_4k = i*r_4K;//옴 법칙에 의해 배터리 전압 계산<br style="box-sizing: inherit;" />&nbsp; Serial.println(volt_4k);<br style="box-sizing: inherit;" />&nbsp; delay(5000);</span></span></p>
<p style="box-sizing: inherit; font-size: medium; line-height: 26px; color: rgba(51, 51, 51, 0.7); font-family: &quot;Noto Sans&quot;, &quot;Noto Sans KR&quot;, Montserrat, Arial, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, &quot;Nanum Gothic&quot;, Dotum, 돋움, Helvetica, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;"><span style="box-sizing: inherit; font-size: 12pt;"><span style="box-sizing: inherit; font-weight: bolder;"><span style="box-sizing: inherit; color: #ff0000;">}//끝</span></span></span></p>