INSERT INTO `g5_write_tech` VALUES (384,-384,'',384,0,0,'','','html1','[ETC] ESP8266 Deep sleep 사용','<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">리튬이온 배터리로 구동되면서,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">집안의 온도와 습도를 매 10분마다 서버(ThingSpeak)로 전송하도록 만들어 보았다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">배터리 구동형으로 만든 이유는 측정 위치의 선정과 이동에 좀더 자유롭기 위해서이다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">ESP8266의 Deep Sleep 모드를 사용하여,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">10분 동안 수면(~0.08 mA)하다가 잠깐(~5초) 깨어서 측정 및 기록을 하고,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">다시 깊은 수면에 들어가므로 전지 소모를 최소화한다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">그래도 잠깐 깨어 있는 동안에,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">ESP8266의 WiFi 모드 전력 소비가 매우 커서 (~70mA 이상) 초절전 수준은 못되고,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">18650 배터리 1개로 5~6달 정도 작동할 것으로 예상된다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">물론 측정 간격을 10분이 아니라 더 늘리면 거의 비례적으로 배터리 수명이 증가하는데,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">(즉, 20분 간격이라면 ~10달 정도 작동 예상)</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">집안의 온습도가 전기 제품의 소비전력 처럼 바로바로 바뀌는 것이 아니므로,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">10분 정도의 측정 간격이라도 충분히 자주하는 편이라고 생각한다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff; user-select: auto !important;\"><span style=\"font-size: 9pt; user-select: auto !important;\">만약&nbsp;</span><span style=\"font-size: 9pt; user-select: auto !important;\">수면 모드를 사용하지 않지 않고,</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff; user-select: auto !important;\"><span style=\"font-size: 9pt; user-select: auto !important;\">편하게 WeMos D1 Mini 와 보조 충전기 등을 사용하여 연속으로 작동 시키면,</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff; user-select: auto !important;\"><span style=\"font-size: 9pt; user-select: auto !important;\">18650 배터리로는 하루 정도 밖에 가지 않을 것이다.</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">온도와 습도 센서로는 DHT12를 사용했는데,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">직전의 포스트에서 좀더 자세히 소개를 하였다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">(DHT12 관련 글 --&gt;&nbsp;<a href=\"http://blog.naver.com/twophase/221077552919\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word;\">http://blog.naver.com/twophase/221077552919</a>&nbsp;)</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">DHT12는 사용하면서 가지고 있는 다른 센서들과 비교를 해 보니,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">비교적 정확하고 여러가지로(가격, 크기, 해상도, 전력소모량, 속도 등) 마음에 든다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">아래는 회로도이다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">DHT12 센서도 ESP8266이 깨어 있는 동안에만 작동되도록,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">ESP8266의 디지털 출력을 통해서 전원을 공급한다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">이 센서의 소비전류량이 ~1 mA 정도로 작기 때문에 가능하다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">비록 3.3V 레귤레이터인 662K에는 항상 전기가 공급되고 있으나,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">초절전형 부품이라서 여기서의 전력소모는 무시할 수 있을 정도다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">ESP8266으로는 ESP-12E를 사용했다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">WeMos Mini D1 과 같은 개발 보드는 만들기가 훨씬 편하기는 하지만,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">불필요하게 전지가 계속 소모되는 부품들(CH340G 등)이 있어서 사용하지 않았다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">한편, 아래 회로도에서 GPIO16 핀과 Reset을 연결한 이유는,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">수면 모드에서 깨어날 때 MCU가 리셋이 되도록 한 것이다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">(예전 글 참조 --&gt;&nbsp;<a href=\"http://blog.naver.com/twophase/220727303211\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word;\">http://blog.naver.com/twophase/220727303211</a>&nbsp;)</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><img src=\"https://postfiles.pstatic.net/MjAxNzA4MjBfMjgx/MDAxNTAzMTU2MDA1MDk3.jDGK05dp_8mwYklBkQoEjF0V-fE-uf4j-91n2z78NGUg.6TOR-DcQplcRZ7Ns-glZgNKYbEbA11KpZcWB0ZbkGj4g.JPEG.twophase/20170820_1.jpg?type=w2\" width=\"423\" height=\"215\" id=\"MjAxNzA4MjBfMjgx/MDAxNTAzMTU2MDA1MDk3.jDGK05dp_8mwYklBkQoEjF0V-fE-uf4j-91n2z78NGUg.6TOR-DcQplcRZ7Ns-glZgNKYbEbA11KpZcWB0ZbkGj4g.JPEG.twophase/20170820_1.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" />&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">아래는 위 회로를 완성한 모습이다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">ESP-12 에 직접 작업하기는 피곤하므로,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">흰색 어댑터 보드를 이용했다.&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">(단, 저항을 떼어내고 3.3V 레귤레이터를 부착 하는 등의 개조 작업은 수행함)<br style=\"clear: both;\" /><br style=\"clear: both;\" /><img src=\"https://postfiles.pstatic.net/MjAxNzA4MjBfMTky/MDAxNTAzMTU1NDk3ODMw.zFdqvHOzts3QLh1wNsPJaldJnKLgdSw8tcgXLsfedXUg.gQh4aXp5bP1PECXNkqM0sYW-zI4jOATrPdDv_GPu4Ngg.JPEG.twophase/20170820_2.jpg?type=w2\" width=\"640\" height=\"562\" id=\"MjAxNzA4MjBfMTky/MDAxNTAzMTU1NDk3ODMw.zFdqvHOzts3QLh1wNsPJaldJnKLgdSw8tcgXLsfedXUg.gQh4aXp5bP1PECXNkqM0sYW-zI4jOATrPdDv_GPu4Ngg.JPEG.twophase/20170820_2.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">아래는 뒷면의 모습이다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">부착한 662K(3.3V 레귤레이터)를 볼 수 있다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">빨간색 슬라이드 DIP 스위치는 스케치를 업로드할 때만 사용한다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">스케치 업로드는 USB to TTL 컨버터를 사용했다.<br style=\"clear: both;\" /><br style=\"clear: both;\" /><img src=\"https://postfiles.pstatic.net/MjAxNzA4MjBfNDkg/MDAxNTAzMTU1NDk4MDEw.crqUp2hYM6oBwTNBK_YwFsuxnH9O3lATTa96RBBq1Vwg.OrfcUSYbfnypFvZqM1a3QdlBdDEl4CvN8aDALDILoSwg.JPEG.twophase/20170820_3.jpg?type=w2\" width=\"640\" height=\"549\" id=\"MjAxNzA4MjBfNDkg/MDAxNTAzMTU1NDk4MDEw.crqUp2hYM6oBwTNBK_YwFsuxnH9O3lATTa96RBBq1Vwg.OrfcUSYbfnypFvZqM1a3QdlBdDEl4CvN8aDALDILoSwg.JPEG.twophase/20170820_3.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">아래는 최종 완성하여 배터리로 작동되는 모습이다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">계속 켜져 있다면 ESP8266 몸통에서 열이 많이 나지만,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">10분에 수초동안만 작동하므로 온도 센서에 거의 영향을 주지 않을 정도이다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">그래도 온도센서의 부착 시엔 이런 점을 고려하여 위치시켰다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">총 전기 소모량은,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">ESP8266이 열심히 작동 중인 (짧게는 ~4초, 길게는 ~10초) 동안에는 70~72mA가 흐르고,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">수면 모드에서는 0.06 mA 정도로 측정되었다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br style=\"clear: both;\" /><img src=\"https://postfiles.pstatic.net/MjAxNzA4MjBfMTM4/MDAxNTAzMTU1NDk4MTQy.xU_fcPm1uzMYaEHTAG6Hv_yc0ZCVfZW-_sUxydK9TAAg.4zXEFXNAiuY6pwHz5rMaF8tGmHPc_LTkih4LoI66HQ4g.JPEG.twophase/20170820_4.jpg?type=w2\" width=\"640\" height=\"417\" id=\"MjAxNzA4MjBfMTM4/MDAxNTAzMTU1NDk4MTQy.xU_fcPm1uzMYaEHTAG6Hv_yc0ZCVfZW-_sUxydK9TAAg.4zXEFXNAiuY6pwHz5rMaF8tGmHPc_LTkih4LoI66HQ4g.JPEG.twophase/20170820_4.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" />&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">아래는 스케치 소스이다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">측정된 데이터는 ThingSpeak에 보내며,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">10분 동안 자고 있다가 깨어나서는(Reset) 다시 코드의 맨처음부터 실행된다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">즉, 실제로는 꺼져있다가 다시 켜지는 것이라고 봐도 무방하다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">반복되는 부분이 없으니 loop() 내에서의 코드는 의미가 없어서 비워 두었다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">한편, 맨 아래 deepSleep() 명령어에서 5를 뺀 것은 대량 5초 정도 깨어있기 때문이고,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">1.05를 곱한 것은 실측한 시간과의 차이로 부터 도출된 보정 계수이다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">즉, ESP8266에 내장된 deepSleep()용 타이머가 그리 정확하지 않은 것 같다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">================</p>\r\n<div style=\"line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; display: inline-block; background-color: #ffffff;\">\r\n   <div style=\"line-height: 1.5; font-family: 나눔고딕, NanumGothic, 돋움, Dotum;\"><br /></div>\r\n   <div style=\"line-height: 1.5;\">\r\n      <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: separate; font-size: 13px; font-family: consolas; white-space: nowrap !important;\">\r\n         <tbody>\r\n            <tr style=\"margin: 0px; padding: 0px;\">\r\n               <td nowrap=\"\" style=\"word-break: break-all; margin: 0px; padding: 0px 3px; color: #010101;\">\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\"><span style=\"color: #999999;\">//</span></div>\r\n                  <div style=\"line-height: 1.5;\"><span style=\"color: #999999;\">//&nbsp;&nbsp;ESP8266_DHT12_WiFi_v1.0.ino&nbsp;(2017.8.19)&nbsp;&nbsp;</span></div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\"><span style=\"color: #999999;\">//</span></div>\r\n                  <div style=\"line-height: 1.5;\"><span style=\"color: #999999;\">//&nbsp;&nbsp;<a href=\"https://playground.arduino.cc/Main/Dht\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word;\">https://playground.arduino.cc/Main/Dht</a></span></div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\"><span style=\"color: #999999;\">// &nbsp;DHT12 Library&nbsp;--&gt;&nbsp;<a href=\"https://github.com/Bobadas/DHT12_library_Arduino\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word;\">https://github.com/Bobadas/DHT12_library_Arduino</a></span></div>\r\n                  <div style=\"line-height: 1.5;\"><span style=\"color: #999999;\">//</span></div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;</div>\r\n                  <div style=\"line-height: 1.5;\"><span style=\"color: #0033cc;\">#include</span>&nbsp;&lt;DHT12.h&gt;</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\"><span style=\"color: #0033cc;\">#include</span>&nbsp;&lt;Wire.h&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #999999;\">//&nbsp;DHT12&nbsp;uses&nbsp;I2C&nbsp;(GPIO4=SDA,&nbsp;GPIO5=SCL)</span></div>\r\n                  <div style=\"line-height: 1.5;\">DHT12&nbsp;dht12;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #999999;\">//&nbsp;Default&nbsp;Unit&nbsp;=&nbsp;CELSIUS,&nbsp;ID&nbsp;=&nbsp;0x5c</span></div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;</div>\r\n                  <div style=\"line-height: 1.5;\"><span style=\"color: #0033cc;\">#include</span>&nbsp;&lt;ESP8266WiFi.h&gt;</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">WiFiClient&nbsp;client;</div>\r\n                  <div style=\"line-height: 1.5;\">&nbsp;</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">String&nbsp;apiKey&nbsp;=&nbsp;<span style=\"color: #009900;\">\"D35Z56XXXXXXXXXX\"</span>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #999999;\">//&nbsp;your&nbsp;ThingSpeak&nbsp;API&nbsp;key</span></div>\r\n                  <div style=\"line-height: 1.5;\"><span style=\"color: #0033cc;\">const</span>&nbsp;<span style=\"color: #0033cc;\">char</span>*&nbsp;ssid&nbsp;=&nbsp;<span style=\"color: #009900;\">\"U+NetB083\"</span>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #999999;\">//&nbsp;your&nbsp;ssid</span></div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\"><span style=\"color: #0033cc;\">const</span>&nbsp;<span style=\"color: #0033cc;\">char</span>*&nbsp;password&nbsp;=&nbsp;<span style=\"color: #009900;\">\"XXXXXXXXXX\"</span>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #999999;\">//&nbsp;your&nbsp;password</span></div>\r\n                  <div style=\"line-height: 1.5;\"><span style=\"color: #0033cc;\">const</span>&nbsp;<span style=\"color: #0033cc;\">char</span>*&nbsp;server&nbsp;=&nbsp;<span style=\"color: #009900;\">\"api.thingspeak.com\"</span>;</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;</div>\r\n                  <div style=\"line-height: 1.5;\"><span style=\"color: #0033cc;\">const</span>&nbsp;<span style=\"color: #0033cc;\">int</span>&nbsp;VccDHT&nbsp;=&nbsp;0;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #999999;\">//&nbsp;Vcc&nbsp;pin&nbsp;for&nbsp;the&nbsp;Power&nbsp;of&nbsp;DHT12</span></div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\"><span style=\"color: #0033cc;\">const</span>&nbsp;<span style=\"color: #0033cc;\">int</span>&nbsp;recordPeriod&nbsp;=&nbsp;600;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #999999;\">//&nbsp;Recording&nbsp;Period&nbsp;(seconds)</span></div>\r\n                  <div style=\"line-height: 1.5;\">&nbsp;</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\"><span style=\"color: #0033cc;\">void</span>&nbsp;setup()&nbsp;{</div>\r\n                  <div style=\"line-height: 1.5;\">&nbsp;&nbsp;Wire.begin();</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;</div>\r\n                  <div style=\"line-height: 1.5;\">&nbsp;&nbsp;pinMode(VccDHT,&nbsp;OUTPUT);</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;&nbsp;digitalWrite(VccDHT,&nbsp;HIGH);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #999999;\">//&nbsp;DHT12&nbsp;ON</span></div>\r\n                  <div style=\"line-height: 1.5;\">&nbsp;&nbsp;</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;&nbsp;WiFi.begin(ssid,&nbsp;password);</div>\r\n                  <div style=\"line-height: 1.5;\">&nbsp;&nbsp;<span style=\"color: #0033cc;\">while</span>&nbsp;(WiFi.status()&nbsp;!=&nbsp;WL_CONNECTED)&nbsp;delay(500);</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;</div>\r\n                  <div style=\"line-height: 1.5;\">&nbsp;&nbsp;<span style=\"color: #0033cc;\">if</span>&nbsp;(client.connect(server,80))&nbsp;{&nbsp;&nbsp;</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;postStr&nbsp;=&nbsp;apiKey;</div>\r\n                  <div style=\"line-height: 1.5;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;postStr&nbsp;+=<span style=\"color: #009900;\">\"&amp;field1=\"</span>;</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;postStr&nbsp;+=&nbsp;String(dht12.readTemperature(),&nbsp;1);</div>\r\n                  <div style=\"line-height: 1.5;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;postStr&nbsp;+=<span style=\"color: #009900;\">\"&amp;field2=\"</span>;</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;postStr&nbsp;+=&nbsp;String(dht12.readHumidity(),&nbsp;1);</div>\r\n                  <div style=\"line-height: 1.5;\">&nbsp;&nbsp;&nbsp;&nbsp;client.print(<span style=\"color: #009900;\">\"POST&nbsp;/update&nbsp;HTTP/1.1\\n\"</span>);&nbsp;</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;&nbsp;&nbsp;&nbsp;client.print(<span style=\"color: #009900;\">\"Host:&nbsp;api.thingspeak.com\\n\"</span>);&nbsp;</div>\r\n                  <div style=\"line-height: 1.5;\">&nbsp;&nbsp;&nbsp;&nbsp;client.print(<span style=\"color: #009900;\">\"Connection:&nbsp;close\\n\"</span>);&nbsp;</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;&nbsp;&nbsp;&nbsp;client.print(<span style=\"color: #009900;\">\"X-THINGSPEAKAPIKEY:&nbsp;\"</span>+apiKey+<span style=\"color: #009900;\">\"\\n\"</span>);&nbsp;</div>\r\n                  <div style=\"line-height: 1.5;\">&nbsp;&nbsp;&nbsp;&nbsp;client.print(<span style=\"color: #009900;\">\"Content-Type:&nbsp;application/x-www-form-urlencoded\\n\"</span>);&nbsp;</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;&nbsp;&nbsp;&nbsp;client.print(<span style=\"color: #009900;\">\"Content-Length:&nbsp;\"</span>);&nbsp;</div>\r\n                  <div style=\"line-height: 1.5;\">&nbsp;&nbsp;&nbsp;&nbsp;client.print(postStr.length());&nbsp;</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;&nbsp;&nbsp;&nbsp;client.print(<span style=\"color: #009900;\">\"\\n\\n\"</span>);&nbsp;</div>\r\n                  <div style=\"line-height: 1.5;\">&nbsp;&nbsp;&nbsp;&nbsp;client.print(postStr);&nbsp;&nbsp;</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;&nbsp;}</div>\r\n                  <div style=\"line-height: 1.5;\">&nbsp;&nbsp;client.stop();</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;&nbsp;digitalWrite(VccDHT,&nbsp;LOW);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #999999;\">//&nbsp;DHT12&nbsp;OFF</span></div>\r\n                  <div style=\"line-height: 1.5;\">&nbsp;</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;&nbsp;ESP.deepSleep(recordPeriod&nbsp;*&nbsp;1000000&nbsp;*&nbsp;1.05);</div>\r\n                  <div style=\"line-height: 1.5;\">}</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">&nbsp;</div>\r\n                  <div style=\"line-height: 1.5;\"><span style=\"color: #0033cc;\">void</span>&nbsp;loop()&nbsp;{</div>\r\n                  <div style=\"line-height: 1.5; background-color: #f7f7f7;\">}</div>\r\n                  </td>\r\n               </tr>\r\n            </tbody>\r\n         </table>\r\n      </div>\r\n   </div>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">================&nbsp;<a href=\"http://prev.kr/app/ColorScripter\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word; font-family: 나눔고딕, NanumGothic, 돋움, Dotum; color: #010101;\">Colored By&nbsp;<b>Color Scripter</b>™</a></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">아래는 ThingSpeak에서 Data를 받고 있는 모습이다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">현재 밖에 비가 계속 내리고 있고, 창문을 열어놔서 그런지&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">습도가 90%대로 매우 높다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">값들은 큰 변동 없이 안정적으로 받고 있음을 알 수 있다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><img src=\"https://postfiles.pstatic.net/MjAxNzA4MjBfMTgw/MDAxNTAzMjAzMDI1Njc5.hGj6NLhZFcZPR8Mj5cRPMUjhvaFe-iAlypasCRvq6Bog.DljM1gqDWINadC_EVGZiX0xN9zaP7AqzxuPLLbaRAAYg.JPEG.twophase/20170820_5.jpg?type=w2\" width=\"640\" height=\"361\" id=\"MjAxNzA4MjBfMTgw/MDAxNTAzMjAzMDI1Njc5.hGj6NLhZFcZPR8Mj5cRPMUjhvaFe-iAlypasCRvq6Bog.DljM1gqDWINadC_EVGZiX0xN9zaP7AqzxuPLLbaRAAYg.JPEG.twophase/20170820_5.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">아래는 내 스마트폰에서 위젯으로 현재의 값을을 모니터하고 있는 모습이다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">온습도 뿐만 아니라 전기 및 물 사용 현황 등을 실시간 파악하고 있다.<br style=\"clear: both;\" /><br style=\"clear: both;\" /><img src=\"https://postfiles.pstatic.net/MjAxNzA4MjBfMTMy/MDAxNTAzMjAzMDI1OTEw.V6NLegUlU8-Q2QnIwebUoNHLW2eqRMZv5pLl1xZkpuIg.ac6D77HYs1JJzXnsQh6GCgbySlFpgMw2XmD1jCzR0H4g.JPEG.twophase/20170820_6.jpg?type=w2\" width=\"218\" height=\"570\" id=\"MjAxNzA4MjBfMTMy/MDAxNTAzMjAzMDI1OTEw.V6NLegUlU8-Q2QnIwebUoNHLW2eqRMZv5pLl1xZkpuIg.ac6D77HYs1JJzXnsQh6GCgbySlFpgMw2XmD1jCzR0H4g.JPEG.twophase/20170820_6.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">*** 글 추가 (2017.8.22) *****</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">온도, 습도 뿐만아니라 총 6가지의 물성들을 나타내도록 수정했다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">1. 온도</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">2. 상대습도</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">3. 절대습도</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">4. 습구온도</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">5. 노점온도</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">6. 불쾌지수</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">하드웨어는 그대로니까 바꿀 필요가 없고,</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">스케치만 Upgrade하여 별도의 글로 소개하였다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><a href=\"http://blog.naver.com/twophase/221079836198\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word;\">http://blog.naver.com/twophase/221079836198</a></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">*** 글 추가 (2017.8.24) *****</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">WeMos D1 Mini로 다시 제작했다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\">이번엔 배터리 전압도 추가로 표시한다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #333333; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p><a href=\"http://blog.naver.com/twophase/221081593611\" target=\"_blank\" class=\"con_link\" style=\"font-family: 돋움; text-align: justify; text-decoration-line: none; overflow-wrap: break-word;\">http://blog.naver.com/twophase/221081593611</a>&nbsp;</p>','','',0,0,3,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:39:50',0,'2019-04-26 15:39:50','210.101.103.92','','','','','','','','','','','',''),(385,-385,'',385,0,0,'','','html1','[Arduino] Atmega128 아두이노 만들기','<p>&nbsp;<strong style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif;\"><span style=\"font-size: 14pt; font-family: Dotum, 돋움; letter-spacing: 0pt;\">1.</span><span style=\"font-size: 14pt; font-family: Dotum, 돋움;\">아두이노 스케치 설정(MegaCore설치)</span></strong></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><span style=\"font-family: 함초롬바탕;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">&nbsp;&nbsp;&nbsp;-</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">&nbsp;파일</span></span><span style=\"font-size: 11pt; font-family: Dotum, 돋움; letter-spacing: 0pt;\">-</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">환경설정 선택</span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><v:shapetype id=\"_x0000_t75\" coordsize=\"21600,21600\" path=\"m@4@5l@4@11@9@11@9@5xe\" filled=\"f\" stroked=\"f\" o:preferrelative=\"t\" o:spt=\"75\"><v:stroke joinstyle=\"miter\"></v:stroke><v:formulas><v:f eqn=\"if lineDrawn pixelLineWidth 0\"></v:f><v:f eqn=\"sum @0 1 0\"></v:f><v:f eqn=\"sum 0 0 @1\"></v:f><v:f eqn=\"prod @2 1 2\"></v:f><v:f eqn=\"prod @3 21600 pixelWidth\"></v:f><v:f eqn=\"prod @3 21600 pixelHeight\"></v:f><v:f eqn=\"sum @0 0 1\"></v:f><v:f eqn=\"prod @6 1 2\"></v:f><v:f eqn=\"prod @7 21600 pixelWidth\"></v:f><v:f eqn=\"sum @8 21600 0\"></v:f><v:f eqn=\"prod @7 21600 pixelHeight\"></v:f><v:f eqn=\"sum @10 21600 0\"></v:f></v:formulas><v:path gradientshapeok=\"t\" o:connecttype=\"rect\" o:extrusionok=\"f\"></v:path><o:lock aspectratio=\"t\" v:ext=\"edit\"></o:lock></v:shapetype>&nbsp;&nbsp;&nbsp;<span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; width: 464px; height: auto; max-width: 100%;\"><span data-url=\"https://t1.daumcdn.net/cfile/tistory/23673A49578F84772E?download\" data-lightbox=\"lightbox\" style=\"cursor: pointer;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/23673A49578F84772E\" width=\"464\" filename=\"이미지 29.png\" filemime=\"image/jpeg\" style=\"border: 0px; cursor: pointer; max-width: 100%; height: auto;\" /></span></span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><span style=\"font-family: 함초롬바탕;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">- 추</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">가적인 보드 관리자&nbsp;</span></span><span style=\"font-size: 11pt; font-family: Dotum, 돋움; letter-spacing: 0pt;\">URLs</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">창이 나타난다</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움; letter-spacing: 0pt;\">.</span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; width: 437px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/232B7E4F578F84F40B\" width=\"437\" filename=\"이미지 30.png\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto;\" /></span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><v:shapetype coordsize=\"21600,21600\" path=\"m@4@5l@4@11@9@11@9@5xe\" filled=\"f\" stroked=\"f\" o:preferrelative=\"t\" o:spt=\"75\"><o:lock aspectratio=\"t\" v:ext=\"edit\"></o:lock></v:shapetype>&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><span style=\"font-size: 11pt; letter-spacing: 0pt;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">- github arduino&nbsp;</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">페이지로&nbsp;</span></span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">연결 됨</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">&nbsp;</span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; clear: none;\"><span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; width: 567px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/247A5A4E578F85CA31\" width=\"567\" filename=\"이미지 31.png\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto;\" /></span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">- 페이지 아래&nbsp;</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움; font-weight: bold; letter-spacing: 0pt;\">MegaCore</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움; letter-spacing: 0pt;\">&nbsp;</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">부분으로&nbsp;</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">이동</span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; clear: none;\"><span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; width: 567px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/217DE047578F86392D\" width=\"567\" filename=\"이미지 32.png\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto;\" /></span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; clear: none;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\"><a href=\"https://mcudude.github.io/MegaCore/package_MCUdude_MegaCore_index.json\" style=\"color: #333333; text-decoration-line: none;\" target=\"_blank\"><span style=\"color: #000000; background-color: #8cfccb;\">https://mcudude.github.io/MegaCore/package_MCUdude_MegaCore_index.json</span></a><span style=\"color: #000000; background-color: #8cfccb;\">&nbsp;</span></span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">를&nbsp;</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">복사.</span>&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">&nbsp;</span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">- 복사한 주소를 \'추가적인 보드 관리자 URLs:\'에 붙여넣는다.</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">&nbsp;</span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; clear: none;\"><span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; width: 567px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/270E684E578F87FF26\" width=\"567\" filename=\"이미지 33.png\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto;\" /></span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">- 보드관리자 실행하여 MegaCore를 설치.</span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; clear: none;\"><span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; width: 567px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/2360974C578F890B01\" width=\"567\" filename=\"이미지 34.png\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto;\" /></span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><v:shapetype id=\"_x0000_t75\" coordsize=\"21600,21600\" path=\"m@4@5l@4@11@9@11@9@5xe\" filled=\"f\" stroked=\"f\" o:preferrelative=\"t\" o:spt=\"75\"><v:stroke joinstyle=\"miter\"></v:stroke><v:formulas><v:f eqn=\"if lineDrawn pixelLineWidth 0\"></v:f><v:f eqn=\"sum @0 1 0\"></v:f><v:f eqn=\"sum 0 0 @1\"></v:f><v:f eqn=\"prod @2 1 2\"></v:f><v:f eqn=\"prod @3 21600 pixelWidth\"></v:f><v:f eqn=\"prod @3 21600 pixelHeight\"></v:f><v:f eqn=\"sum @0 0 1\"></v:f><v:f eqn=\"prod @6 1 2\"></v:f><v:f eqn=\"prod @7 21600 pixelWidth\"></v:f><v:f eqn=\"sum @8 21600 0\"></v:f><v:f eqn=\"prod @7 21600 pixelHeight\"></v:f><v:f eqn=\"sum @10 21600 0\"></v:f></v:formulas><v:path gradientshapeok=\"t\" o:connecttype=\"rect\" o:extrusionok=\"f\"></v:path><o:lock aspectratio=\"t\" v:ext=\"edit\"></o:lock></v:shapetype>&nbsp;&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; clear: none;\"><span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; width: 594px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/233E394C578F8A732D\" width=\"594\" filename=\"이미지 36.png\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto;\" /></span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">- 설치 후 다시 보드List를 보면&nbsp;</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움; letter-spacing: 0pt;\">MegaCore가&nbsp;</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">설치 된 것을 알 수 있다</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움; letter-spacing: 0pt;\">.</span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; clear: none;\"><span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; width: 567px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/2368044D578F8B871B\" width=\"567\" filename=\"이미지 37.png\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto;\" /></span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><v:shapetype id=\"_x0000_t75\" coordsize=\"21600,21600\" path=\"m@4@5l@4@11@9@11@9@5xe\" filled=\"f\" stroked=\"f\" o:preferrelative=\"t\" o:spt=\"75\"><v:stroke joinstyle=\"miter\"></v:stroke><v:formulas><v:f eqn=\"if lineDrawn pixelLineWidth 0\"></v:f><v:f eqn=\"sum @0 1 0\"></v:f><v:f eqn=\"sum 0 0 @1\"></v:f><v:f eqn=\"prod @2 1 2\"></v:f><v:f eqn=\"prod @3 21600 pixelWidth\"></v:f><v:f eqn=\"prod @3 21600 pixelHeight\"></v:f><v:f eqn=\"sum @0 0 1\"></v:f><v:f eqn=\"prod @6 1 2\"></v:f><v:f eqn=\"prod @7 21600 pixelWidth\"></v:f><v:f eqn=\"sum @8 21600 0\"></v:f><v:f eqn=\"prod @7 21600 pixelHeight\"></v:f><v:f eqn=\"sum @10 21600 0\"></v:f></v:formulas><v:path gradientshapeok=\"t\" o:connecttype=\"rect\" o:extrusionok=\"f\"></v:path><o:lock aspectratio=\"t\" v:ext=\"edit\"></o:lock></v:shapetype>&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;&nbsp;&nbsp;&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">- 보드를&nbsp;</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움; letter-spacing: 0pt;\">MegaCore</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">의&nbsp;</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움; letter-spacing: 0pt;\">Atmega128로</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">&nbsp;선택하면 예제 라이브러리에&nbsp;</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움; letter-spacing: 0pt;\">AVR C code examples</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">이 나타난다</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움; letter-spacing: 0pt;\">.</span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; clear: none;\"><span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; width: 470px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/2646554F578F8BEF13\" width=\"470\" filename=\"이미지 38.png\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto;\" /></span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;&nbsp;&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><span style=\"font-family: Dotum, 돋움;\">&nbsp;<strong>&nbsp;</strong></span><strong><span style=\"font-size: 14pt; font-family: Dotum, 돋움; letter-spacing: 0pt;\">2.ATmega128 아두이노&nbsp;</span><span style=\"font-size: 14pt; font-family: Dotum, 돋움;\">부트로더 굽기</span></strong><span style=\"font-family: Dotum, 돋움;\"><strong>&nbsp;&nbsp;</strong></span>&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; clear: none;\"><span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; width: 550px; height: auto; max-width: 100%;\"><span data-url=\"https://t1.daumcdn.net/cfile/tistory/2244AE47578FFB551E?download\" data-lightbox=\"lightbox\" style=\"cursor: pointer;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/2244AE47578FFB551E\" width=\"550\" filename=\"이미지 3.png\" filemime=\"image/jpeg\" style=\"border: 0px; cursor: pointer; max-width: 100%; height: auto;\" /></span></span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; text-align: center; clear: none;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; clear: none;\"><v:shapetype id=\"_x0000_t75\" coordsize=\"21600,21600\" path=\"m@4@5l@4@11@9@11@9@5xe\" filled=\"f\" stroked=\"f\" o:preferrelative=\"t\" o:spt=\"75\"><o:lock aspectratio=\"t\" v:ext=\"edit\"></o:lock></v:shapetype>&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">&nbsp;</span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">&nbsp;- NEWTC社의 ATmega128과 ISP 기준이며 다음과 같이 연결합니다.</span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; clear: none;\"><span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; width: 564px; height: auto; max-width: 100%;\"><span data-url=\"https://t1.daumcdn.net/cfile/tistory/277A1748578F90E013?download\" data-lightbox=\"lightbox\" style=\"cursor: pointer;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/277A1748578F90E013\" width=\"564\" filename=\"이미지 43.png\" filemime=\"image/jpeg\" style=\"border: 0px; cursor: pointer; max-width: 100%; height: auto;\" /></span></span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; clear: none;\"><span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; width: 512px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/2606CE48578F926F0F\" width=\"512\" filename=\"이미지 40.png\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto;\" /></span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; clear: none;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">- 아두이노 스케치를 위와 같이 설정 후&nbsp;</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">부트로더 굽기 선택</span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; clear: none;\"><span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; width: 353px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/22631E50578F939A2B\" width=\"353\" filename=\"이미지 44.png\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto;\" /></span><span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; width: 358px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/2161B050578F93632C\" width=\"358\" filename=\"이미지 45.png\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto;\" /></span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; text-align: center; clear: none;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff; float: none; clear: none;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<v:shapetype id=\"_x0000_t75\" coordsize=\"21600,21600\" path=\"m@4@5l@4@11@9@11@9@5xe\" filled=\"f\" stroked=\"f\" o:preferrelative=\"t\" o:spt=\"75\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><v:stroke joinstyle=\"miter\"></v:stroke><v:formulas><v:f eqn=\"if lineDrawn pixelLineWidth 0\"></v:f><v:f eqn=\"sum @0 1 0\"></v:f><v:f eqn=\"sum 0 0 @1\"></v:f><v:f eqn=\"prod @2 1 2\"></v:f><v:f eqn=\"prod @3 21600 pixelWidth\"></v:f><v:f eqn=\"prod @3 21600 pixelHeight\"></v:f><v:f eqn=\"sum @0 0 1\"></v:f><v:f eqn=\"prod @6 1 2\"></v:f><v:f eqn=\"prod @7 21600 pixelWidth\"></v:f><v:f eqn=\"sum @8 21600 0\"></v:f><v:f eqn=\"prod @7 21600 pixelHeight\"></v:f><v:f eqn=\"sum @10 21600 0\"></v:f></v:formulas><v:path gradientshapeok=\"t\" o:connecttype=\"rect\" o:extrusionok=\"f\"></v:path><o:lock aspectratio=\"t\" v:ext=\"edit\">\r\n      <p class=\"0\"><v:shapetype id=\"_x0000_t75\" coordsize=\"21600,21600\" path=\"m@4@5l@4@11@9@11@9@5xe\" filled=\"f\" stroked=\"f\" o:preferrelative=\"t\" o:spt=\"75\"><v:stroke joinstyle=\"miter\"></v:stroke><v:formulas><v:f eqn=\"if lineDrawn pixelLineWidth 0\"></v:f><v:f eqn=\"sum @0 1 0\"></v:f><v:f eqn=\"sum 0 0 @1\"></v:f><v:f eqn=\"prod @2 1 2\"></v:f><v:f eqn=\"prod @3 21600 pixelWidth\"></v:f><v:f eqn=\"prod @3 21600 pixelHeight\"></v:f><v:f eqn=\"sum @0 0 1\"></v:f><v:f eqn=\"prod @6 1 2\"></v:f><v:f eqn=\"prod @7 21600 pixelWidth\"></v:f><v:f eqn=\"sum @8 21600 0\"></v:f><v:f eqn=\"prod @7 21600 pixelHeight\"></v:f><v:f eqn=\"sum @10 21600 0\"></v:f></v:formulas><v:path gradientshapeok=\"t\" o:connecttype=\"rect\" o:extrusionok=\"f\"></v:path><o:lock aspectratio=\"t\" v:ext=\"edit\"></o:lock></v:shapetype>&nbsp;</p>\r\n      </o:lock></v:shapetype><span style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"></span>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;&nbsp;&nbsp;&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\"><strong><span style=\"font-size: 14pt;\">3.테스트</span></strong></span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff;\"><span style=\"font-family: 함초롬바탕;\"><font face=\"맑은 고딕\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">&nbsp;NEWTC社의 ATmega128</span></font></span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">은&nbsp;</span><span style=\"letter-spacing: 0pt;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">PA0(</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움; color: #ff0000;\">D44</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">)</span></span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">에&nbsp;</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움; letter-spacing: 0pt;\">test</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">용 황색LED</span><span style=\"font-family: 함초롬바탕;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">가&nbsp;</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">&nbsp;있어&nbsp;</span></span><span style=\"font-size: 11pt; font-family: Dotum, 돋움; letter-spacing: 0pt;\">Blink예제</span><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">를 수정하여 테스트 하여 보았다.</span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff;\">&nbsp;</p>\r\n<span style=\"color: #666666; background-color: #ffffff; font-size: 11pt; font-family: Dotum, 돋움;\">\r\n   <p class=\"0\"><span style=\"font-size: 11pt;\">- ATmega128아두이노 핀맵</span>&nbsp;</p>\r\n   <p class=\"0\" style=\"clear: none; float: none;\"><span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; width: 700px; height: auto; max-width: 100%;\"><span data-url=\"https://t1.daumcdn.net/cfile/tistory/222DDA4657914DB012?download\" data-lightbox=\"lightbox\" style=\"cursor: pointer;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/222DDA4657914DB012\" width=\"700\" filename=\"687474703a2f2f692e696d6775722e636f6d2f5670436c5a63512e6a7067.jpg\" filemime=\"image/jpeg\" style=\"border: 0px; cursor: pointer; max-width: 100%; height: auto;\" /></span></span></p>\r\n   <p class=\"0\"><br /></p>\r\n   <p class=\"0\"><br /></p>\r\n   <p class=\"0\"><br /></p>\r\n   <p class=\"0\"><span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; font-size: 11pt; letter-spacing: 0pt; width: 500px; height: auto; max-width: 100%;\"><span data-url=\"https://t1.daumcdn.net/cfile/tistory/24505147578F958028?download\" data-lightbox=\"lightbox\" style=\"cursor: pointer;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/24505147578F958028\" width=\"500\" filename=\"이미지 47.png\" filemime=\"image/jpeg\" style=\"border: 0px; cursor: pointer; max-width: 100%; height: auto;\" /></span></span></p>\r\n   </span><span style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\"></span>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff;\">&nbsp;</p>\r\n<table class=\"txc-table\" cellspacing=\"0\" cellpadding=\"0\" width=\"496\" border=\"0\" style=\"color: #666666; background-color: #ffffff; font-size: 13px; border-width: medium; border-style: none; border-color: initial; font-family: &quot;맑은 고딕&quot;, sans-serif; width: 496px;\">\r\n   <tbody>\r\n      <tr>\r\n         <td style=\"border-style: solid; height: 24px; width: 496px;\">\r\n            <p><span style=\"letter-spacing: 0pt;\">/*</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">Blink</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">Turns on an LED on for one second, then off for one second, repeatedly.</span></p>\r\n            <p class=\"0\">&nbsp;</p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">Most Arduinos have an on-board LED you can control. On the Uno and</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">Leonardo, it is attached to digital pin 13. If you\'re unsure what</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">pin the on-board LED is connected to on your Arduino model, check</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">the documentation at http://www.arduino.cc</span></p>\r\n            <p class=\"0\">&nbsp;</p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">This example code is in the public domain.</span></p>\r\n            <p class=\"0\">&nbsp;</p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">modified 8 May 2014</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">by Scott Fitzgerald</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">*/</span>&nbsp;</p>\r\n            <p class=\"0\">&nbsp;</p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">// the setup function runs once when you press reset or power the board</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">void setup() {</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">// initialize digital pin 13 as an output.</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">pinMode(<span style=\"color: #ff0000;\">44</span>, OUTPUT);</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">}</span></p>\r\n            <p class=\"0\">&nbsp;</p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">// the loop function runs over and over again forever</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">void loop() {</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">digitalWrite(<span style=\"color: #ff0000;\">44</span>, HIGH); // turn the LED on (HIGH is the voltage level)</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">delay(1000); // wait for a second</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">digitalWrite(<span style=\"color: #ff0000;\">44</span>, LOW); // turn the LED off by making the voltage LOW</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">delay(1000); // wait for a second</span></p>\r\n            <p class=\"0\" style=\"letter-spacing: 0pt;\"><span style=\"letter-spacing: 0pt;\">}</span></p>\r\n            </td>\r\n         </tr>\r\n      </tbody>\r\n   </table>\r\n<p style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff; float: none; clear: none;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff; float: none; clear: none;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">- 업로드 후 ATmega128의 메모리 상태</span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff; float: none; clear: none;\"><span class=\"imageblock\" style=\"border: 1px solid rgb(221, 221, 221); padding: 3px; margin: 5px 0px; text-align: center; display: inline-block; width: 386px; height: auto; max-width: 100%;\"><span data-url=\"https://t1.daumcdn.net/cfile/tistory/2309644C578FF6C805?download\" data-lightbox=\"lightbox\" style=\"cursor: pointer;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/2309644C578FF6C805\" width=\"386\" filename=\"이미지 2.png\" filemime=\"image/jpeg\" style=\"border: 0px; cursor: pointer; max-width: 100%; height: auto;\" /></span></span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff; float: none; clear: none;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff; float: none; clear: none;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff; float: none; clear: none;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff;\"><span style=\"font-size: 11pt; font-family: Dotum, 돋움;\">- ATmega128 LED동작 동영상</span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff;\"><iframe width=\"640\" height=\"360\" src=\"https://play-tv.kakao.com/embed/player/cliplink/v32271MMHiF1BnCJKsCOcHl@my?service=daum_tistory\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff;\">&nbsp;</p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff;\"><span style=\"letter-spacing: 0pt;\"><span style=\"font-size: 11pt;\">5v용&nbsp;</span><span style=\"font-size: 11pt;\">아두이노&nbsp;중&nbsp;UNO, NANO,</span><span style=\"font-size: 11pt;\">&nbsp;Mega</span><span style=\"font-size: 11pt;\">2560등이 있지만 UNO와 NANO는 메모리 용량이&nbsp;</span><span style=\"font-size: 11pt;\">&nbsp;너무&nbsp;적고</span><span style=\"font-size: 11pt;\">,&nbsp;&nbsp;</span><span style=\"font-size: 11pt;\">Mega2560은 핀수&nbsp;,&nbsp;보드크기,&nbsp;</span><span style=\"font-size: 11pt;\">&nbsp;메모리 용량이 큰</span><span style=\"font-size: 11pt;\">것&nbsp;</span><span style=\"font-size: 11pt;\">같아&nbsp;그 중간 정도되는&nbsp;아두이노를 찾아 보았지만&nbsp;모두 3.3v용 이었다.&nbsp;&nbsp; 그래서&nbsp;</span><span style=\"font-size: 11pt;\">&nbsp;ATmega128를 아두이노로 만드는&nbsp;</span><span style=\"font-size: 11pt;\">&nbsp;방법을 찾아 보았다.&nbsp;&nbsp;&nbsp;</span><a class=\"tx-link\" href=\"http://www.chip45.com/products/crumbuino-128_arduino_compatible_atmega128_module_board_usb.php\" target=\"_blank\" style=\"color: #333333; text-decoration-line: none;\"><span style=\"font-size: 11pt;\"><strong>Crumbuino-128</strong></span></a><span style=\"font-size: 11pt;\">과&nbsp;</span><a class=\"tx-link\" href=\"https://github.com/MCUdude/MegaCore\" target=\"_blank\" style=\"color: #333333; text-decoration-line: none;\"><span style=\"font-size: 11pt;\"><strong>MegaCore</strong></span></a><span style=\"font-size: 11pt;\">&nbsp;</span><span style=\"font-size: 11pt;\">라는게 있는데&nbsp;</span><span style=\"font-size: 11pt;\">&nbsp;&nbsp;그 중&nbsp;</span><span style=\"font-size: 11pt;\">Crumbuino-128은 아두이노 스케치에 사용하기 위해서는&nbsp;</span><span style=\"font-size: 11pt;\">수동(?)으로</span><span style=\"font-size: 11pt;\">&nbsp;설정해야 한다.&nbsp;&nbsp;&nbsp;</span><span style=\"font-size: 11pt;\">하지만 MegaCore는 아두이노 스케치의 보드관리자를 통해 설치 하면 끝.......&nbsp;&nbsp; 업데이트도 스케치에서 지원하니까 편리하다.&nbsp;&nbsp; 그래서&nbsp;</span><span style=\"font-size: 11pt;\">&nbsp;MegaCore를&nbsp;이용하기로 하였음.&nbsp;&nbsp;&nbsp;이로써 많은 메모리가 필요로 하는 한글작업(LCD, LedMatrix)에 유용할 것 같다.</span></span></p>\r\n<p class=\"0\" style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; letter-spacing: 0pt; background-color: #ffffff;\"><span style=\"letter-spacing: 0pt;\"><span style=\"font-size: 11pt;\">그리고&nbsp;</span><span style=\"font-size: 11pt;\">ATmega128은 제품이 다양해서 개발사 마다 보드크기, 보드의&nbsp;</span><span style=\"font-size: 11pt;\">핀 배열이 다르다&nbsp; 아두이노 처럼 보드크기와 핀 배열을 표준화</span><span style=\"font-size: 11pt;\">(</span><span style=\"font-size: 11pt;\">?)&nbsp;해서 제품 하나 만들면&nbsp;요고요고&nbsp;</span><span style=\"font-size: 11pt;\">물건&nbsp;하나 될 것 같다.</span></span></p>\r\n<br style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" /><br style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" /><span style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">출처:&nbsp;</span><a href=\"https://jumpjoo.tistory.com/1\" style=\"color: #333333; text-decoration-line: none; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\" target=\"_blank\">https://jumpjoo.tistory.com/1</a><span style=\"color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #ffffff;\">&nbsp;[생각나누기]</span>','https://jumpjoo.tistory.com/1','',0,0,3,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:44:36',1,'2019-04-26 15:44:36','210.101.103.92','','','','','','','','','','','',''),(386,-386,'',386,0,0,'','','html1','[Arduino] FND용 자리수 분리해내어 구하기','<p><span style=\"color: #404040; font-family: 굴림;\">long input;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">int dig1, dig2, dig3, dig4, dig5, dig6;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void setup() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; Serial.begin(9600);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void loop() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; func_6();&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void func_4() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; if(Serial.available()) {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; input = Serial.parseInt();&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.print(\" &gt;input: \"); Serial.println(input);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(\"---------------------------\");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; dig1 = input / 1000;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; dig2 = (input % 1000) / 100;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; dig3 = ((input % 1000) % 100) / 10;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; dig4 = ((input % 1000) % 100) % 10;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(dig1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(dig2);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(dig3);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(dig4);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(\"****************************\");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void func_5() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; if(Serial.available()) {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; input = Serial.parseInt();&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.print(\" &gt;input: \"); Serial.println(input);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(\"---------------------------\");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; dig1 = input / 10000;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; dig2 = (input % 10000) / 1000;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; dig3 = ((input % 10000) % 1000) / 100;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; dig4 = (((input % 10000) % 1000) % 100) / 10;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; dig5 = (((input % 10000) % 1000) % 100) % 10;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(dig1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(dig2);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(dig3);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(dig4);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(dig5);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(\"****************************\");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void func_6() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; if(Serial.available()) {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; input = Serial.parseInt();&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.print(\" &gt;input: \"); Serial.println(input);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(\"---------------------------\");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; dig1 = input / 100000;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; dig2 = (input % 100000) / 10000;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; dig3 = ((input % 100000) % 10000) / 1000;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; dig4 = (((input % 100000) % 10000) % 1000) / 100;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; dig5 = ((((input % 100000) % 10000) % 1000) % 100) / 10;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; dig6 = ((((input % 100000) % 10000) % 1000) % 100) % 10;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(dig1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(dig2);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(dig3);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(dig4);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(dig5);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(dig6);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.println(\"****************************\");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}</span></p>','','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:44:56',0,'2019-04-26 15:44:56','210.101.103.92','','','','','','','','','','','',''),(387,-387,'',387,0,0,'','','html1','[ETC] 인증 블루투스 칩센 BC210','<p><span style=\"color: #404040; font-family: 굴림;\">제조사 링크&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&gt;</span><a href=\"http://www.chipsen.co.kr/content/kor/product_bt_em.html\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">http://www.chipsen.co.kr/content/kor/product_bt_em.html</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">구매링크&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&gt;</span><a href=\"http://www.autoinfra.co.kr/product/detail.html?product_no=284&amp;cate_no=29&amp;display_group=1\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">http://www.autoinfra.co.kr/product/detail.html?product_no=284&amp;cate_no=29&amp;display_group=1</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">제품 Datasheet&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&gt;</span><a href=\"http://disk.chipsen.com/download/Parani_BCDx10-v2.0.6.2_kr.pdf\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">http://disk.chipsen.com/download/Parani_BCDx10-v2.0.6.2_kr.pdf</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">-----------------------------------------------------------&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">BC210&nbsp; &nbsp; &lt; --- &gt;&nbsp; &nbsp; &nbsp; 아두이노&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">1핀 GND&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GND&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">7핀 RX&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; D4&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">8핀 TX&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; D7&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">SoftwareSerial BTSerial(7, 4);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&gt;시리얼 설정시 \"Both NL &amp; CR\" 선택&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">-----------------------------------------------------------&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">AT : OK&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">AT+BTINFO?&nbsp; // 설정값보기&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">AT+BTMODE,3&nbsp; // 일반적인 슬레이브모드&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">AT+BTNAME=\"myBTmodue\"&nbsp; // 이름설정</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:45:07',0,'2019-04-26 15:45:07','210.101.103.92','','','','','','','','','','','',''),(388,-388,'',388,0,0,'','','html1','[Arduino] Wemods D1을 이용한 EPS SoftwareSerial 테스트','<p><span style=\"color: #404040; font-family: 굴림;\">1. 결선&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">Wemos D1 mini&nbsp; &lt;------------&gt;&nbsp; UNO&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">D0(GPIO16/아두이노D16)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; D4&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">D5(GPIO14/아두이노D14)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; D7&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">2. espsoftwareserial 라이브러리 설치&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">첨부링크 다운 / 아두이노 library폴더 이동&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">3. Wemos D1 예제&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">==========================================================&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">#include &lt;ESP8266WiFi.h&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp;</span><a href=\"https://github.com/esp8266/Arduino\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">https://github.com/esp8266/Arduino</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">#include &lt;SoftwareSerial.h&gt;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">SoftwareSerial swSer(14, 16, false, 256);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void setup() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; Serial.begin(9600);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; swSer.begin(9600);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; Serial.println(\"\\nSoftware serial test started\");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; for (char ch = \' \'; ch &lt;= \'z\'; ch++) {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; swSer.write(ch);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; swSer.println(\"\");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void loop() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; while (swSer.available() &gt; 0) {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.write(swSer.read());&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; while (Serial.available() &gt; 0) {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; swSer.write(Serial.read());&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">==========================================================&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">4. 아두이노 예제&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">==========================================================&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">#include &lt;SoftwareSerial.h&gt;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">SoftwareSerial mySerial(4, 7); // RX, TX&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void setup() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; Serial.begin(9600);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; while (!Serial) {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; ; // wait for serial port to connect. Needed for native USB port only&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; mySerial.begin(9600);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void loop() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; if(mySerial.available()) {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; Serial.write(mySerial.read());&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; if(Serial.available()) {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; mySerial.write(Serial.read());&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; }&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">==========================================================</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:45:44',1,'2019-04-26 15:45:44','210.101.103.92','','','','','','','','','','','',''),(389,-389,'',389,0,0,'','','html1','[ETC] MP2307 DC Stepdown 회로도','<p>...</p>','https://easyeda.com/jackie.chang.eastern/Project1-eaa76b5aea4348f8b723de4937a40576','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:46:07',1,'2019-04-26 15:46:07','210.101.103.92','','','','','','','','','','','',''),(390,-390,'',390,0,0,'','','html1','[Arduino] 배터리 잔략 측정하기','<table width=\"100%\" cellpadding=\"5\">\r\n   <tbody>\r\n      <tr>\r\n         <td class=\"lh\" height=\"100\" style=\"color: #222222; font-family: 굴림; line-height: 18px; word-break: break-all;\">\r\n            <p><span class=\"content\" style=\"color: #404040;\">#define newLED 2 // 녹색 LED는 2번핀에 꽂습니다.&nbsp;<br />#define okLED 4 // 파란색 LED는 4번핀에 꽂습니다.&nbsp;<br />#define oldLED 6 // 빨간색 LED는 6번핀에 꽂습니다.&nbsp;<br /><br />int analogValue = 0;&nbsp;<br />float voltage = 0;&nbsp;<br />int ledDelay = 2000;&nbsp;<br /><br />void setup(){&nbsp;<br />Serial.begin(9600);&nbsp;<br />pinMode(newLED, OUTPUT);&nbsp;<br />pinMode(okLED, OUTPUT);&nbsp;<br />pinMode(oldLED, OUTPUT);&nbsp;<br />// LED의 핀모드를 OUTPUT으로 설정해줍니다.&nbsp;<br />}&nbsp;<br /><br />void loop(){&nbsp;<br />analogValue = analogRead(0);&nbsp;<br />voltage = (((float)analogValue) / 1024.0 ) * 5.0;&nbsp;<br />Serial.println(voltage);&nbsp;<br />// analog 0번핀에 들어오는 값을 측정하여 이 값을 전압값으로 바꿔줍니다.&nbsp;<br /><br />if(voltage &gt;= 1.6){ // 전압값이 1.6이상일 경우 새 건전지&nbsp;<br />digitalWrite(newLED, HIGH);&nbsp;<br />delay(ledDelay);&nbsp;<br />digitalWrite(newLED, LOW); // 녹색 LED를 2초간 켜줍니다.&nbsp;<br />}&nbsp;<br />else if(voltage &lt; 1.6 &amp;&amp; voltage &gt; 1.4){ // 1.6미만 1.4초과일 경우 사용가능한 건전지&nbsp;<br />digitalWrite(okLED, HIGH);&nbsp;<br />delay(ledDelay);&nbsp;<br />digitalWrite(okLED, LOW); // 파란색 LED를 2초간 켜줍니다.&nbsp;<br />}&nbsp;<br />else if(voltage &lt;= 1.4){ // 1.4이하일 경우 다 쓴 건전지&nbsp;<br />digitalWrite(oldLED, HIGH);&nbsp;<br />delay(ledDelay);&nbsp;<br />digitalWrite(oldLED, LOW); // 빨간색 LED를 2초간 켜줍니다.&nbsp;<br />}&nbsp;<br />}</span><a href=\"http://geoworld.cafe24.com/gnu3/?doc=bbs/gnuboard.php&amp;bo_table=Computer&amp;page=2&amp;wr_id=31255\" style=\"text-decoration-line: none; color: #3a4e40;\" target=\"_blank\"></a><a href=\"http://geoworld.cafe24.com/gnu3/?doc=bbs/gnuboard.php&amp;bo_table=Computer&amp;page=2&amp;wr_id=31255\" style=\"text-decoration-line: none; color: #3a4e40;\" target=\"_blank\"></a></p>\r\n            </td>\r\n         </tr>\r\n      <tr>\r\n         <td style=\"color: #222222; font-family: 굴림;\"></td>\r\n         </tr>\r\n      </tbody>\r\n   </table>','https://kocoafab.cc/tutorial/view/437','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:46:40',1,'2019-04-26 15:46:40','210.101.103.92','','','','','','','','','','','',''),(391,-391,'',391,0,0,'','','html1','[Arduino] 아두이노에서 String 문자열 비교','<p><span style=\"color: #404040; font-family: 굴림;\">1. string.equals(string2)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">2. string.compareTo(string2)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">위 두개의 함수로 문자열 끼리 비교가 가능하다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">한글문자열을 비교하려면 2번 coimpareTo 함수 사용함.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">ex)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">String t1 = \"중앙로\";&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">String t2 = \"중앙로\";&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">if(t1.compareTo(t2)) {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;Serial.println(\" YES \");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">} else {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;Serial.println(\" NO \");&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}</span></p>','https://kocoafab.cc/tutorial/view/115','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:47:03',0,'2019-04-26 15:47:03','210.101.103.92','','','','','','','','','','','',''),(392,-392,'',392,0,0,'','','html1','[ETC] FND 15102ASR 데이터쉬트','<table width=\"100%\" cellpadding=\"5\" style=\"font-family: 굴림;\">\r\n   <tbody>\r\n      <tr>\r\n         <td class=\"lh\" height=\"100\" style=\"color: #222222; line-height: 18px; word-break: break-all;\">\r\n            <p><span class=\"content\" style=\"color: #404040;\">FND 15102ASR 데이터쉬트</span><a href=\"http://geoworld.cafe24.com/gnu3/?doc=bbs/gnuboard.php&amp;bo_table=Computer&amp;page=1&amp;wr_id=31257\" style=\"text-decoration-line: none; color: #3a4e40;\" target=\"_blank\"></a><a href=\"http://geoworld.cafe24.com/gnu3/?doc=bbs/gnuboard.php&amp;bo_table=Computer&amp;page=1&amp;wr_id=31257\" style=\"text-decoration-line: none; color: #3a4e40;\" target=\"_blank\"></a></p>\r\n            </td>\r\n         </tr>\r\n      <tr></tr>\r\n      </tbody>\r\n   </table>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:47:23',1,'2019-04-26 15:47:23','210.101.103.92','','','','','','','','','','','',''),(393,-393,'',393,0,0,'','','html1','[ETC] Laser diode 제어 회로 설명','<p><span style=\"color: #404040; font-family: 굴림;\">구조측면에서&nbsp; 반도체는 열에 따라 특성이 변하는데&nbsp; 이것은&nbsp; 동작점의 변화를 만든다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">제품편차도 동작점의 차이를 유발하는데&nbsp; 전류와 전압의 안정된&nbsp; 사용을 위해서는 피드백제어가 필요하다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">이런 피드백을 위해&nbsp; LD내부에는 PD 라는 광센서를 내장하고 있고&nbsp; PD 는 레이저 출력의 변화에 따라 저항이 변하는 성질을 보인다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">PD 에 흐르는 전류 변화로 레이저 출력량을 모니터링하여&nbsp; 적당한&nbsp; 레이저 출력이 나오도록&nbsp; 공급 전류를 조절하는 피드백제어를 한다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">[출처] 반도체 다이오드 레이져|작성자 수수깡</span></p>','http://blog.naver.com/PostView.nhn?blogId=msnayana&logNo=80160384745&parentCategoryNo=&categoryNo=&viewDate=&isShowPopularPosts=false&from=postView','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:47:46',1,'2019-04-26 15:47:46','210.101.103.92','','','','','','','','','','','',''),(394,-394,'',394,0,0,'','','html1','[ETC] USB C커넥터 확인된 사항','<p><span style=\"color: #404040; font-family: 굴림;\">* GND / VCC는 확인됨 (기존 라이브러리 OK)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;FT232&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; USB-B&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; USB-C&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">USB_DM(15번핀) &lt;-----&gt;&nbsp; &nbsp; D-&nbsp; &nbsp; &lt;-----&gt; DP1(6번핀-앞면 일 때) / DP2(7번핀-뒷면 일 때)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">USB_DP(16번핀) &lt;-----&gt;&nbsp; &nbsp; D+&nbsp; &nbsp; &lt;-----&gt; DN1(5번핀-앞면 일 때) / DN2(8번핀-뒷면 일 때)</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:47:59',0,'2019-04-26 15:47:59','210.101.103.92','','','','','','','','','','','',''),(395,-395,'',395,0,0,'','','html1','[Arduino] DS1307','<p><a href=\"https://blog.naver.com/msyang59/220122307962\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">https://blog.naver.com/msyang59/220122307962</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><a href=\"http://www.makewith.co/page/project/1000/story/2347/\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">http://www.makewith.co/page/project/1000/story/2347/</a></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:48:10',0,'2019-04-26 15:48:10','210.101.103.92','','','','','','','','','','','',''),(396,-396,'',396,0,0,'','','html1','[ETC] GPS에서 사용하는 수신감도 단위(C/N0, dBHz)','<p><span style=\"color: #404040; font-family: 굴림;\">GPS에서 사용되는 수신감도의 단위는 어떤 것일까?&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">일반적으로 무선 장비에서 사용되는 수신감도는 dBm이다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">그럼 우리가 일반적으로 알고 있는 dB (데시벨)과는 어떤 차이가 있을까? 라는 의문이 생길 것이다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">쉽게 설명하면 dB는 상대 값이고, dBm은 절대값이다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">DB는 어떤 값의 차이를 Log로 나타낸 (상대적)스케일의 한 종류이지 측정값 자체를 지칭하는 것은 아니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">dBm은 mW단위의 전력을 dB스케일로 나타낸 단위입니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">만약 1W를 dB스케일로 하면?&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">==&gt; 10 * log 1 = 0dB&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0.001W, 즉 1mW를 dB 스케일로 하면?&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">==&gt; 10 * log 0.001 = -30dBm이 된다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">예로 1mW = 0dBm, 10mW = 10dBm, 100mW = 20dBm, 1000mW = 1W = 30dBm = 0dB(W)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">즉 일반적인 W(와트)전력값에 30dB를 더한게 dBm 단위가 된다고 볼 수 있다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">그럼, GPS에서 사용되는 수신감도의 단위는 어떤 것이 있을까?&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">답은 dBm이다. 하지만 GPS 회사에서 표현하는 수신감도의 단위는 CNR (C/N Carrier to Noise Ratio`-`단위 : dBHz)도 있다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">이는 반송파와 잡음과의 크기(진폭)의 차이를 나타낸 것이며, 일반적으로 dB로 나타낸다. 예로 CNR이 25dB이라고 할 때,&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">반송파가 노이즈보다 25dB이상이라는 것을 나타낸다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">우리가 알고 있는 dBm을 dBHz로 변환하면 어떻게 될까? (C/N0)dB = 10log10(C/KTB)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">C is GPS signal level | No is the noise level | K is Boltzman’s constant | B is noise bandwidth |&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">T is the noise temperature&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">위의 식대로 변환을 하면, 일반적으로 –130Bm은 43.4dBHz가 된다. 또, -140dBm = 33.4dBH , -150dBm = 23.4dBHz이다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">이런 관계를 알면 GPS 성능이 얼마나 좋은지 나쁜지를 알 수 있게 된다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">개인의견)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">그냥 그냥 대략적으로 Cn0 = SS(dBm) + 174 하면 얼추 맞는듯하다..&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">출처:&nbsp;</span><a href=\"http://redbadastory.tistory.com/40\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">http://redbadastory.tistory.com/40</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;[RedBaDa Story...]</span></p>','https://redbadastory.tistory.com/40','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:48:31',0,'2019-04-26 15:48:31','210.101.103.92','','','','','','','','','','','',''),(397,-397,'',397,0,0,'','','html1','[ETC] Ublox M8N breakout not detecting satellites','<p>...</p>','https://portal.u-blox.com/s/question/0D52p00008HKD6YCAX/ublox-m8n-breakout-not-detecting-satellites','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:48:58',2,'2019-04-26 15:48:58','210.101.103.92','','','','','','','','','','','',''),(398,-398,'',398,0,0,'','','html1','[Linux] 민트(Mint 18.2)에서 XRDP 원격접속 에러 해결','<p><span style=\"color: #404040; font-family: 굴림;\">민트(Mint 18.2)에 XRDP 설치 후 Windows에서 원격 데스크톰으로 접속하면 다음 에러가 발생한다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">xrdp 설치 전에 tightvncserver를 설치해줘야 한다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">[오류내용]&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">connecting to sesman ip 127.0.0.1 port 3350&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">sesman connect ok&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">sending login info to session manager, please wait...&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">xrdp_mm_process_login_response: login successful for display...&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">started connecting&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">connecting to 127.0.0.1 5910&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">error – problem connecting&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">[해결 방법]&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$ sudo apt-get remove xrdp&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$ sudo apt-get install tightvncserver&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">$ sudo apt-get install xrdp&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">출처:&nbsp;</span><a href=\"http://ohdumak.tistory.com/14\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">http://ohdumak.tistory.com/14</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;[오두막]</span></p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:49:10',0,'2019-04-26 15:49:10','210.101.103.92','','','','','','','','','','','',''),(399,-399,'',399,0,0,'','','html1','[ETC] Power hole circuit 구현하기','<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">휴대전화나 MP3, PMP등의 휴대용 전자기기를 보면 전원 스위치의 작동 방식이 독특하다는 점을 알 수 있다. 요컨데,&nbsp;<span style=\"color: #0000ff;\">전원을 켤 때는 전원 버튼을 3초이상 길~게 눌러서 켜고, 끌 때도 역시 길게 눌러서 전원을 끄는 방식</span>으로 동작한다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">이러한 전원 스위칭 방식은 슬라이딩 스위칭 방식보다 외관상 깔끔해 보이고,<br /><span style=\"color: #808080;\">(휴대전화 전원스위치가 요즘같은 푸시버튼방식이 아닌 슬라이드 스위치 방식이라면 외관상 지저분함을 피할 수 없을 것이다.)</span><br />전원이 차단될 때 그 주체를 사용자가 아닌 프로세서에 둠으로써<br /><span style=\"color: #808080;\">(하지만 사용자가 배터리에 손을 댄다면 전원 주체는 사용자에게 있다고 하겠다.. -_-ㆀ)</span><br />전원이 차단되기 전에 미리 수행할 작업을 처리할 수 있다는 장점이 있다.<br /><span style=\"color: #808080;\">(휴대전화의 경우 전원이 꺼지기 전에&nbsp;<span style=\"color: #4682b4;\">\'나 꺼진다.ㅂㅂ-_-\'</span>&nbsp;하고 기지국에 알려주는 작업을 수행한다.)</span></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">이러한 방식은 요즘 출시되는 컴퓨터에도 적용되어 있다. 예전의 386, 486 시대의 컴퓨터는 푸시-락<span style=\"color: #808080;\">(Push-Lock; 한번 누르면 들어가서 고정되어 있고, 다시 누르면 원상복귀됨)</span>&nbsp;방식의 전원버튼을 사용해서 컴퓨터가 켜져 있더라도 전원만 누르면 언제든지 바로 깔끔하게 꺼지는 방식이었다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">하지만 요즘의 컴퓨터는 푸시버튼 방식으로, 컴퓨터가 작동중에 전원 버튼을 누르더라도 바로 틱 하고 꺼지지 않고, 자동으로 시스템 종료 절차를 밣으면서 전원이 꺼진다.&nbsp;<span style=\"color: #a9a9a9;\">(정확히는 전원버튼을 누르면 OS로 인터럽트가 전달되고, 이후 OS가 정상적인 시스템 종료 절차를 수행하는 것이다.)</span></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><strong>이러한 방식의 전원 스위치를 구현하려면 어떻게 해야 할까...?</strong><br />라는 질문에 답을 하는것이 이번 글의 핵심이다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">우선 스위치는 회로를 닫고 여는 ON/OFF 기능밖에 수행할 수 없으므로, 뭔가 스위치 주위에서&nbsp;<span style=\"color: #3366ff;\">전원을 관리하는 부가 회로</span>가 필요할 것임을 짐작할 수 있다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">또한, 전원을 끌 때 자세히 본 사람은 알겠지만, 3초간 계속 눌러서 전원을 끄더라도&nbsp;<span style=\"color: #3366ff;\">바로 꺼지지 않는다.</span>&nbsp;나름 시스템 종료 과정을 밞으면서 마지막에는 제품의 로고 사진이라도 띄웠다가 전원이 꺼진다. 이로부터 다음 사실을 알 수 있다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><strong>전원 관리의 주체는 일단 전원이 인가된 후에, 사용자가 배터리를 빼지 않는 한(-_-!) 프로세서가 갖고 있다.</strong>&nbsp;즉, 전원을 켠 뒤에&nbsp;<span style=\"color: #ff0000;\">배터리를 빼는 반칙을 하지 않으면서</span>&nbsp;전원을 끄려고 시도하더라도 프로세서가 허락해 주지 않으면 절대로 전원을 끌 수 없다. 배터리가 모두 소모되어서 자멸하는 상황까지 가지 않는 한에는..!!</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">자, 그렇다면 지금까지 한 내용을 정리해보자.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">푸시버튼 방식의 전원을 구현하려면:</p>\r\n<ol style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">\r\n   <li><strong>전원 스위치 근처에 뭔가 특별한 장치가 필요하다.</strong></li>\r\n   <li><strong>전원이 일단 켜진 다음에 전원관리 주체는 프로세서가 갖는다.</strong></li>\r\n   </ol>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">위와같이 동작하는 전원을&nbsp;<span style=\"color: #0000ff;\">Power Hold 방식 전원</span>이라고 한다. 그 이유인즉, 일단 전원이 인가된 이후에 프로세서에서 Power Hold 핀을 이용해 스위치가 열리더라도 계속 스스로 전원을 붙잡고(Hold)있는 방식으로 구현되기 때문이다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">자세한 사항은 다음 문단에 이어서 설명한다.</p>\r\n<hr style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\" />\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">예전부터 푸시버튼 방식의 전원부를 구현해 보려다가 기회가 없어서 생각만 해 두었는데, 이번 기회에 사용할 일이 생겨서 자세히 정리해 보려고 한다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">사용한&nbsp;<span style=\"color: #0000ff;\">전원 전압은 9V</span>이며, 구동 로직은&nbsp;<span style=\"color: #0000ff;\">5V로직</span>이다. 전원 정류에 사용한 소자는 스위칭 레귤레이터인&nbsp;<span style=\"color: #0000ff;\">LM2575-5V</span>로써, Active Low<span style=\"color: #808080;\">(Low전압이 인가되었을 때 작동)</span>&nbsp;방식의 Enable 핀을 포함한다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px; text-align: center;\"><img src=\"https://www.tuwlab.com/files/attach/images/2382/942/001/74c8d6905329e2a012b4095959d9903e.gif\" alt=\"LM2575_5.gif\" rel=\"xe_gallery\" style=\"max-width: 100%; height: 275px; width: 243px; cursor: pointer;\" />&nbsp;&nbsp;&nbsp;<br />LM2575 스위칭 레귤레이터<br />&nbsp;</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">이후 설명할 회로는 이에 맞춰서 제작되었지만, 저항값 정도만 조정하면 다른 전압의 회로에서도 사용할 수 있다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">완성된&nbsp;<span style=\"color: #0000ff;\">Power Hold회로</span>는 다음과 같다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px; text-align: center;\"><img src=\"https://www.tuwlab.com/files/attach/images/2382/942/001/f6476beed1adb8f7a0baa51dc03708bb.gif\" alt=\"PWRHD_Circuit.gif\" rel=\"xe_gallery\" style=\"max-width: 100%; height: 372px; width: 697px; cursor: pointer;\" /></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><strong>BAT</strong>는 9V 전지의 (+) 단자에 직접 연결되고,<strong>&nbsp;DVCC</strong>는 레귤레이터에의 5V 출력핀과 연결된다.&nbsp;<strong>#PWR_EN</strong>&nbsp;단자는 레귤레이터의 Enable 핀에 연결되고,&nbsp;<strong>#PWR_HD</strong>&nbsp;단자와<strong>&nbsp;#PWR_SW</strong>&nbsp;단자는 각각 전원관리 프로세서의 출력과 입력 핀에 연결된다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">여기서 단자 기호 앞의 \'#\' 표시는 해당 단자가 Low일 때 작동(Active Low)한다는 의미이다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">&nbsp;</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><strong><span style=\"color: #ff0000;\">[2016.03.19 추가]</span></strong>&nbsp;단, 이 회로에서는 MCU로부터 받는 신호핀인&nbsp;<strong><span style=\"color: #ff0000;\">#PWR_HD에 BAT의 풀업 전압이 그대로 걸리기 때문에</span></strong>&nbsp;DVCC와 VBATT의 차이가 클 경우 MCU에 무리가 갈 수 있습니다. 이것이 문제가 되는 경우, 다음과 같이 Level Transceiver가 추가된 형태의 Power Hold 회로를 사용하면 됩니다.</p>\r\n<p align=\"center\" style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><img src=\"https://www.tuwlab.com/files/attach/images/2382/942/001/dca7e669ca59ebd4f62e7ae7f3da90c8.png\" alt=\"power hold (active low) - with level transceiver.png\" rel=\"xe_gallery\" style=\"max-width: 100%; height: 274px; width: 653px; border-style: solid; border-width: 1px; cursor: pointer;\" /><br />▲ Level Transceiver 보호회로가 추가된 Active Low방식 Power Hold 회로</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">&nbsp;</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">이해를 돕기 위한 레귤레이터 부분의 회로도는 다음과 같다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px; text-align: center;\"><img src=\"https://www.tuwlab.com/files/attach/images/2382/942/001/1d4e1e91bb72d8878f7ad7b0fce60098.gif\" alt=\"PWRHD_Regulator.gif\" width=\"441\" rel=\"xe_gallery\" style=\"max-width: 100%; height: auto; cursor: pointer;\" /></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">동일한 레귤레이터를 두 개 병렬로 연결하여 각각 5V를 출력하고 있는데, 모터를 구동하는 회로를 구현하기 위해 레귤레이터단에서 전원을 분리한 것이다. 헷갈린다면 아랫부분의 레귤레이터는 없다고 생각해도 된다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><strong>#PWR_EN</strong>핀이 두 갈래로 갈라져서 각각의 레귤레이터의 Enable 핀으로 연결되고 있음을 알 수 있다. 레귤레이터의 Enable 핀에 Low Level의 신호(LM2575의 경우 1.4V 미만)가 인가되면 OUT 핀으로 정전압이 출력된다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">우선, 위쪽의 Power Hold회로를 보자.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">분명 푸시버튼 방식의 SPST(Single Pole Single Throw) 택트 스위치 하나만을 사용하였다. 즉, 이것이 전원스위치이다. 두 개의 다이오드와 PNP타입의 범용 트랜지스터 하나 외에는 별로 특이한점이 없어 보인다. 나머지 10k와 100k 저항은 모두 풀업(Pull-Up)저항이다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">위 두 회로를 빵판에 실제로 구현해서 실험해 보았다. 이 실험과정을 봐 가면서 작동 원리를 설명할 것이다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><img src=\"https://www.tuwlab.com/files/attach/images/2382/942/001/6a48c893f5349ae8e60de6719cf2e0be.jpg\" alt=\"P100111001.jpg\" width=\"640\" rel=\"xe_gallery\" style=\"max-width: 100%; height: auto; cursor: pointer;\" /></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">프로세서 내부에 해당하는&nbsp;<strong>#PWR_HD</strong>단자는 슬라이드 스위치를 사용하여 대체하였다.<br />슬라이드 스위치를&nbsp;<u>위로 올리면 GND와 연결</u>되고,&nbsp;<u>아래로 내리면 레귤레이터의 출력단자(5V)와 연결</u>된다.&nbsp;<span style=\"color: #ff0000;\">(※주의)</span><br /><span style=\"color: #808080;\">(즉, 위로 올렸을때 Power Hold 설정이고, 아래로 내렸을 때 Power Hold 해제이다.)</span></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">실제 프로세서를 사용하면 더 좋지만, 핀의 로직레벨을 표시하는데는 슬라이드 스위치가 더 좋기 때문에 설명을 위해 이와 같이 구현하였다. 하지만 실제 작동 방식은 프로세서를 사용할때와 별반 차이가 없다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><strong>#PWR_SW</strong>&nbsp;단자의 경우 그 로직 레벨을 확인할 수 없으므로 LED를 달아 두었다. High 상태이면 불이 꺼지고, Low 상태이면 불이 켜진다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">레귤레이터 작동 표시등은 레귤레이터의 출력핀과 연결되어 있다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">&nbsp;</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><strong>이제, 메인전원이 차단된 초기상태부터 한 단계씩 생각해보자.</strong></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">&nbsp;</p>\r\n<h2 style=\"line-height: 1.5; clear: both; text-shadow: rgb(170, 170, 170) 1px 1px 1px; font-size: 22px; border-bottom: 3px solid rgb(244, 244, 244); background-color: #ffffff; font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif;\">1. 초기 상태(전원 OFF)</h2>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><img src=\"https://www.tuwlab.com/files/attach/images/2382/942/001/19a7981956a420e50ec2bb26853f0fd8.jpg\" alt=\"P100111002.jpg\" width=\"640\" rel=\"xe_gallery\" style=\"max-width: 100%; height: auto; cursor: pointer;\" /></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">초기에 Power Hold회로에서 BAT에만 9V가 인가되어 있다.&nbsp;<span style=\"color: #808080;\">(DVCC는 High-Impedance 상태이다.)</span>&nbsp;트랜지스터 Q1의 베이스가 100k 저항을 통해 풀업되어 있으므로 Q1은 OFF 상태이고, 따라서&nbsp;<strong>#PWR_EN</strong>도 100k 저항에 의해 풀업되어 High신호가 출력된다. 레귤레이터는 Enable 핀에 High신호가 인가되었으므로 작동을 하지 않는다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">&nbsp;</p>\r\n<h2 style=\"line-height: 1.5; clear: both; text-shadow: rgb(170, 170, 170) 1px 1px 1px; font-size: 22px; border-bottom: 3px solid rgb(244, 244, 244); background-color: #ffffff; font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif;\">2. 전원 인가 과도기(Power Hold 설정 이전)</h2>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><img src=\"https://www.tuwlab.com/files/attach/images/2382/942/001/29f9e7ac810fb11b809c9af201da94d1.jpg\" alt=\"P100111003.jpg\" width=\"640\" rel=\"xe_gallery\" style=\"max-width: 100%; height: auto; cursor: pointer;\" /></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">전원 스위치를 누르면, 다이오드 D2를 통해 GND방향으로 전류가 흐르고,<span style=\"color: #808080;\">&nbsp;</span><strong>#PWR_EN</strong>에는 Low신호가 인가된다.&nbsp;<span style=\"color: #808080;\">(물론, D1을 통해서도 전류가 흘러 #PWR_SW에도 LOW신호가 인가되지만, 이것은 이 시기에 중요하지 않으므로 설명을 생략한다.)</span></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">레귤레이터가 작동을 시작하고, 프로세서에 전원이 인가되어 부팅이 시작된다. 하지만 아직 Power Hold가 설정되지 않았으므로(빨간색 박스) 전원 스위치에서 손을 떼면 메인전원이 곧 꺼진다. 이는 상용 기기에서 전원 버튼을 눌렀다가 일정 시간 이상 지나지 않았을 때 꺼지는 현상과 동일하다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">프로세서가 완전히 부팅되고 운영체제(혹은 펌웨어)가 완전히 로드되어 Power Hold핀의 제어권을 확보하기 전까지는 이 핀에 아무런 출력도 내보낼 수가 없기 때문이다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">&nbsp;</p>\r\n<h2 style=\"line-height: 1.5; clear: both; text-shadow: rgb(170, 170, 170) 1px 1px 1px; font-size: 22px; border-bottom: 3px solid rgb(244, 244, 244); background-color: #ffffff; font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif;\">3. Power Hold 설정 직후</h2>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><img src=\"https://www.tuwlab.com/files/attach/images/2382/942/001/a81348eccae0e90dd1b6e6ccd13befb4.jpg\" alt=\"P100111004.jpg\" width=\"640\" rel=\"xe_gallery\" style=\"max-width: 100%; height: auto; cursor: pointer;\" /></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">프로세서의 부팅이 완료되면<strong>&nbsp;#PWR_HD</strong>단자를 통해 Low신호를 인가하여 Power Hold를 설정한다.<br />아직 위 2의 상황과 별다른 차이점은 보이지 않지만, 한 가지 중요한 차이점이 생겼다.&nbsp;<span style=\"color: #0000ff;\">전원 스위치를 떼더라도 지속적으로 전원이 인가된다</span>는 점이다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">&nbsp;</p>\r\n<h2 style=\"line-height: 1.5; clear: both; text-shadow: rgb(170, 170, 170) 1px 1px 1px; font-size: 22px; border-bottom: 3px solid rgb(244, 244, 244); background-color: #ffffff; font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif;\">4. 안정적 전원 공급기</h2>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><img src=\"https://www.tuwlab.com/files/attach/images/2382/942/001/68d2543c978b2d4efe5eca57d263269a.jpg\" alt=\"P100111005.jpg\" width=\"640\" rel=\"xe_gallery\" style=\"max-width: 100%; height: auto; cursor: pointer;\" /></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">전원 스위치에서 손을 떼고 나서도 이와같이 레귤레이터가 지속적으로 동작한다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">회로를 다시 살펴보면,<strong>&nbsp;#PWR_HD</strong>단자에 Low신호가 인가되어 트랜지스터 Q1이 ON상태가 되고,<br />이미터에서 컬렉터로 전류가 흐르면서&nbsp;<strong>#PWR_EN</strong>단자에 Low신호가 지속적으로 인가되어 레귤레이터가 작동한다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">&nbsp;</p>\r\n<h2 style=\"line-height: 1.5; clear: both; text-shadow: rgb(170, 170, 170) 1px 1px 1px; font-size: 22px; border-bottom: 3px solid rgb(244, 244, 244); background-color: #ffffff; font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif;\">5. 전원 차단 과도기(Power Hold 해제 이전)</h2>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><img src=\"https://www.tuwlab.com/files/attach/images/2382/942/001/2954bf8fcea13ee8ad83cf4d7500ce13.jpg\" alt=\"P100111006.jpg\" width=\"640\" rel=\"xe_gallery\" style=\"max-width: 100%; height: auto; cursor: pointer;\" /></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">전원을 끄려고 전원 스위치를 누른 직후의 상황이다. 왼쪽 동그라미 안의<strong>&nbsp;#PWR_SW</strong>&nbsp;단자 표시등이 켜졌다. 이는 이 단자에 Low신호가 인가되고 있다는 표시이다. 이 단자는 프로세서의 입력 핀(주로 인터럽트 핀)과 연결되어 있고, 프로세서에서는 전원 버튼이 눌렸다는 사실을 알 수 있다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">전원 버튼이 눌렸다는 사실을 감지한 MCU는 전원을 끄기 위한 \'시스템 종료\' 과정을 밟기 시작한다. 물론, 이 상태에서 바로 전원 차단 과정을 시작하지 않고 일정 시간 기다렸다가 시작할 수도 있는데, 이는 전원을 끌 때 버튼을 길게 누르는 과정을 구현한 것이라고 볼 수 있다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">이 상태에서 전원 버튼에서 손을 떼더라도 아직 MCU가&nbsp;<strong>#PWR_HD</strong>핀을 Low신호로 계속 유지하고 있으므로 메인 전원은 꺼지지 않는다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">회로도상으로 다시 한 번 살펴보면, SW1이 닫히면서 D1을 통해 GND로 전류가 흐르고,&nbsp;<strong>#PWR_SW</strong>단자로 Low신호가 인가되어 MCU에서는 \'아, 전원 스위치가 눌렸구나!\'라는 사실을 알 수 있다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">&nbsp;</p>\r\n<h2 style=\"line-height: 1.5; clear: both; text-shadow: rgb(170, 170, 170) 1px 1px 1px; font-size: 22px; border-bottom: 3px solid rgb(244, 244, 244); background-color: #ffffff; font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif;\">6. Power Hold 해제 직후</h2>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><img src=\"https://www.tuwlab.com/files/attach/images/2382/942/001/437db330aa52395b6abdc8ca7e0b160c.jpg\" alt=\"P100111007.jpg\" width=\"640\" rel=\"xe_gallery\" style=\"max-width: 100%; height: auto; cursor: pointer;\" /></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">프로세서에서 전원 차단을 위한 사전 프로세스를 모두 마치면<span style=\"color: #808080;\">(휴대폰의 경우 기지국으로 \'나 꺼질께~^^\'라는 메시지를 보낸 후)&nbsp;</span><strong>#PWR_HD</strong>핀에 High신호를 인가하여 전원이 차단될 준비를 한다. 하지만, 아직 전원 스위치가 눌려 있는 상태이므로 레귤레이터는 계속 작동하고, 메인전원도 차단되지 않는다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">회로도상으로 다시 한 번 살펴보면, 프로세서에서&nbsp;<strong>#PWR_HD</strong>핀에 High신호를 인가하여 트랜지스터 Q1이 OFF상태가 되지만, SW1이 아직 닫혀 있으므로 다이오드 D2를 통해 GND로 전류가 흐르고,&nbsp;<strong>#PWR_EN</strong>단자에는 Low신호가 계속 인가된다. 따라서 레귤레이터는 계속 작동하고 있게 된다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">&nbsp;</p>\r\n<h2 style=\"line-height: 1.5; clear: both; text-shadow: rgb(170, 170, 170) 1px 1px 1px; font-size: 22px; border-bottom: 3px solid rgb(244, 244, 244); background-color: #ffffff; font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif;\">7. 메인전원 차단기</h2>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><img src=\"https://www.tuwlab.com/files/attach/images/2382/942/001/c03514d440ac63086f06c527995ab560.jpg\" alt=\"P100111008.jpg\" width=\"640\" rel=\"xe_gallery\" style=\"max-width: 100%; height: auto; cursor: pointer;\" /></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><strong>#PWR_HD</strong>단자에 High신호가 인가된 이후 전원 스위치에서 손을 떼면 비로소 메인 전원이 차단된다. 회로도상으로 다시 살펴 보면, 6번 과정 이후 SW1이 열리면서 다이오드 D2에서 GND로 흐르던 전류가 차단된다. 동시에&nbsp;<strong>#PWR_EN</strong>핀은 100k저항에 의한 풀업 상태로 되돌아가면서 High신호가 인가되고, 레귤레이터의 전원이 꺼진다.&nbsp;<span style=\"color: #808080;\">(BAT의 경우 배터리에 직접 연결되어 있으므로 레귤레이터의 작동 여부와는 관련이 없다.)</span>&nbsp;레귤레이터가 꺼지면 DVCC로 인가되던 로직전원 5V가 더 이상 공급되지 않으므로, 프로세서를 포함한 기기 전체의 전원이 차단된다.&nbsp;</p>\r\n<hr style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\" />\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">이상이 Power Hold 방식을 적용한 전원 회로의 전원 인가부터 차단까지의 과정을 기술한 것이다. 사용한 레귤레이터가 Active Low 방식이라 약간의 혼란이 있을수는 있으나, Active High 방식의 레귤레이터를 사용하더라도 이와 크게 다르지 않다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">Enable핀이 Active High 방식<span style=\"color: #808080;\">(Enable핀에 High신호가 인가될 때 레귤레이터가 작동)</span>의 레귤레이터를 채택한 경우, 위 회로도에서 Q1를 NPN타입 TR로 교체하고, D1과 D2의 방향을 바꾸며, GND는 DVCC혹은 BAT으로, 각 신호선의 풀업은 풀다운으로 바꿔 주면 된다. 이 경우 모든 신호의 Active Level이 반전되게 된다. 즉, 스위치를 누르면&nbsp;<strong>PWR_SW</strong><span style=\"color: #808080;\">(Active High이므로 \'#\'을 쓰지 않았다.)</span>단자에 High신호가 인가되고,&nbsp;<strong>PWR_HD</strong>단자에 High신호를 인가하여 Power Hold를 수행한다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><del style=\"color: #d3d3d3;\">지금 시간이 너무 늦어서 Active High 방식의 회로도를 그릴 수는 없지만,<br />나중이 시간이 된다면 이것도 설계하고 테스트해서 업데이트 하도록 할 것이다.</del></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">마지막으로, 위 회로도는 트랜지스터 Q1을 제거하고&nbsp;<strong>#PWR_HD</strong>단자를 #PWR_EN단자에 직접 연결함으로써 같은 동작의 회로를 구현할 수 있다. 이 경우 회로를 단순화 할 수 있는 장점이 있지만&nbsp;<strong>#PWR_HD</strong>단자로 흐르는 전류가 많아지면서 프로세서에 무리가 갈 수 있다. 즉,&nbsp;<strong>#PWR_EN</strong>핀에 레귤레이터를 여러 개 병렬로 연결하여 구동하는데 제약이 따르게 된다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">&nbsp;</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><strong><span style=\"color: #ff0000;\">[2016.03.19 추가]</span></strong>&nbsp;다음은 Active High 방식의 Regulator일 경우 Power Hold회로를 구성하는 예시를 나타낸 것입니다. 일반적인 전압 상황에서 사용할 수 있도록 DVCC와 VBATT의 전압 레벨을 상호 전환하기 위한 Level Transceiver 회로를 추가해 두었습니다. MCU의 I/O핀에 VBATT 전압을 그대로 인가해도 문제가 되지 않는 경우, Level Transceiver 회로들을 모두 Pull-down으로 대체해 줘도 무방합니다.</p>\r\n<p align=\"center\" style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><img src=\"https://www.tuwlab.com/files/attach/images/2382/942/001/519a68d508235208a5f5b6b20b7dd2d5.png\" alt=\"power hold (active high) - with level transceiver.png\" rel=\"xe_gallery\" style=\"max-width: 100%; height: 289px; width: 698px; border-style: solid; border-width: 1px; cursor: pointer;\" /><br />▲ Active High방식 Power Hold 회로 예시</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">&nbsp;</p>\r\n<h1 style=\"line-height: 1.5; clear: both; text-shadow: rgb(170, 170, 170) 1px 1px 1px; color: #0066ff; font-size: 26px; border-bottom: 5px solid rgb(244, 244, 244); background-color: #ffffff; font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif;\">Epilogue</h1>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">이렇게 다 만들고 나서 테스트를 하면서 깨달은 사실인데, 한 가지 문제점이 있었다. 전원을 끄려고 스위치를 길게 누르고 프로세서에서&nbsp;<strong>#PWR_HD</strong>&nbsp;신호를 High로 만들어 Power Hold를 해제 하더라도, 푸시스위치를 떼지 않으면 전원이 계속 들어와 있다는 것이다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">분명 예전에 I-Station V43 PMP를 사용할 때, 전원을 끄려고 스위치를 OFF쪽으로 길게 밀면 나름 시스템종료 동작을 수행한 뒤 화면이 꺼지고 하드디스크 전원이 나가면서 PMP의 전원이 차단되었다. 나는 이것까지 구현하고 싶어졌다 - 프로세서에서 Power Hold를 해제하면 푸시버튼의 상태에 관계없이 회로 전체의 전원이 깔끔하게 나가버리는것..</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">위에서 구현한 회로에 뭔가 약간의 변형을 하면 될 수 있을것 같았다. 나는<strong>&nbsp;#PWR_HD</strong>&nbsp;핀에 다이오드를 달아보기도 하고, 트랜지스터의 Emitter와 Base를 쇼트시켜보기도 했다. 하지만 여전히 허당일 뿐... 오히려 회로는 두 레귤레이터중 하나는 켜지고 다른 하나는 꺼지는 등 이상한 동작을 보였다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">문득, 예전 PMP의 전원이 꺼질때 동작을 자세히 떠올려 보았다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><span style=\"color: #808080;\">\'프로세서에서 필요한 작업을 완료 하고... LCD의 전원을 차단하고... 그리고, 하드디스크를 끈다...\'</span></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">문득 스친 생각이, PMP를 비롯한 휴대용 기기는 전원소비 관리가 상당히 중요하기 때문에 프로세서(혹은 전원관리 모듈)에서 각각의 파트에 흐르는 전원을 독립적으로 관리한다는 것이었다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><span style=\"color: #808080;\">\'그렇다면 메인전원이 차단되지 않는 한 주변 장치들의 밥줄은 프로세서 쥐락펴락한다...\'</span></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><span style=\"color: #808080;\">\'메인전원이 차단되지 않는 한 말이지...\'</span></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><span style=\"color: #808080;\">\'메인전원이 차단...[!!!]\'</span></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><span style=\"color: #808080;\">\'아, 그래! 혹시...\'</span></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">문득 스친 생각. 일단 눈 앞에 있는 내 휴대전화를 들었다. 그리고는 전원 버튼을 꾹 누르고 계속 기다려봤다. 진동이 울리면서, \'생각대로 팅\'의 T가 리본이 풀리면서 LCD가 꺼졌다. 그래도 계속 누르고 있었다. 그런데, 역시나 예상대로 전원을 끌 때 소울키패드에 희미한 회색으로 디스플레이되던</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px; text-align: center;\"><span style=\"color: #333333;\"><span style=\"color: #4682b4;\"><span style=\"font-size: x-large;\">Anycall</span></span><br /><span style=\"font-size: xx-small;\">www.anycall.com</span></span></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">이라는 문구는 사라지지 않고 계속 디스플레이되고 있었다. 한참 뒤에 전원 버튼에서 손을 떼니 비로소 소울키패드의 문구가 사라졌다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\"><strong>바로 그것이다.</strong></p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">전원을 끌 때&nbsp;<span style=\"color: #0000ff;\">사용자가 전원 버튼에서 손을 떼지 않으면 전원이 완전히 꺼지지 않는 것</span>이다. 앞에서 언급했듯이,&nbsp;<strong>모바일 기기의 전원은 프로세서에서 관리</strong>한다. 메인 전원이 들어와 있더라도 프로세서가 각 모듈의 전원을 켜지 않으면 겉보기로는 꺼진 것과 다름없게 보이게 된다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">즉, 전원을 끌 때 프로세서는 각 모듈의 전원을 차단하고 나서 사용자에게&nbsp;<span style=\"color: #0000ff;\">\'전원이 완전히 꺼진 척\'</span>을 하고 있으면 사용자가 전원 버튼을 떼면서 비로소 메인 전원까지 깔끔하게 차단되는 것이다. 상식적으로 생각해봐도 기기가 완전히 꺼졌는데도<span style=\"color: #808080;\">(실제로는 그저 그렇게 보일 뿐...)</span>&nbsp;여전히 계속 전원 버튼을 누르고 있는 사람은 없을 것이다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">그렇게 큰 논의가 될 만한 안건은 아니었지만, 문득 들었던 생각에 나도모르게 마치 큰 깨달음을 얻은 것처럼 기뻐했다..ㅎ 내가 이런 결론을 내림으로써 약 한시간동안 진행되던 \'전원 완전히 차단\'회로 구현은 접어두고 정리를 한 뒤 학숙으로 돌아왔다.</p>\r\n<p style=\"font-family: &quot;Segoe UI&quot;, Meiryo, &quot;Trebuchet MS&quot;, 나눔고딕, NanumGothic, ng, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, Dotum, AppleGothic, sans-serif; font-size: 16px;\">결론은 내가 전원 끄는 과정에서 할 것이라고는 모든 장치가 마치&nbsp;<strong>\'꺼진것 처럼\'</strong>&nbsp;살짝 위장해 두고, Power Hold를 해제한 뒤 사용자가 알아서 메인전원을 차단할 때까지 기다려주면 되는것이다.</p>','https://www.tuwlab.com/ece/1942','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:49:48',1,'2019-04-26 15:49:48','210.101.103.92','','','','','','','','','','','',''),(400,-400,'',400,0,0,'','','html1','[Arduino] 1.8.5 board.txt 파일','<p><span style=\"color: #404040; font-family: 굴림;\">기본경로&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">arduino-1.8.5/hardware/arduino/avr/boards.txt&nbsp;</span></p>\r\n<p>&nbsp;</p>\r\n<p>업데이트시 경로</p>\r\n<p>C:\\Users\\bk940\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3<br style=\"\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">######################################################&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.name=ATmega328 w/ 8 MHz internal clock (Optiboot)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.upload.protocol=arduino&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.upload.maximum_size=32256&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.upload.speed=57600&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.upload.tool=avrdude&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.bootloader.low_fuses=0xe2&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.bootloader.high_fuses=0xde&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.bootloader.extended_fuses=0xfd&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.bootloader.file=optiboot/optiboot_atmega328.hex&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.bootloader.unlock_bits=0x3F&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.bootloader.lock_bits=0x0F&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.bootloader.tool=avrdude&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.build.mcu=atmega328p&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.build.f_cpu=8000000L&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.build.board=AVR_PRO&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.build.core=arduino&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">internal328_8.build.variant=eightanaloginputs</span></p>','','',0,0,8,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:50:10',1,'2019-04-26 15:50:10','210.101.103.92','','','','','','','','','','','',''),(401,-401,'',401,0,0,'','','html1','[ETC] 펌테크 FB155Bx 블루투스 모듈 사용법','<p><span style=\"color: #404040; font-family: 굴림;\">1. 하드웨어 연결시&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; 7번핀 ---&gt; Uart TX&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; 8번핀 ---&gt; Uart RX&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">2. 시리얼 프로그램을 아두이노IDE 사용시 설정값&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; 9600 / 캐리지 리턴&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">3. AT+BTNAME=xxxx 이름변경(12자제한)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; AT+BTKEY=xxxx 연결용 비밀번호 변경&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; &nbsp; AT+BTMODE,2 &lt;--- BTMODE가 2로 변경해야 외부장치에서 검색가능(CONNECTION MODE참조)</span></p>','http://www.firmtech.co.kr/default/product/bluetooth/fb155hid.php','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:50:43',1,'2019-04-26 15:50:43','210.101.103.92','','','','','','','','','','','',''),(402,-402,'',402,0,0,'','','html1','[Arduino] 아두이노 String <-----> Char 형변환','<p><span style=\"color: #404040; font-family: 굴림;\">1. char, char*, char[] → String 변환&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">void loop() {&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; char* ch1 = \"Hello Mongus!\";&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; char ch2[] = \"Welcome!\";&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; String str1(ch1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; String str2;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; str2 = ch2;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; Serial.println(str1);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; Serial.println(str2);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp; while(1) {}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">}&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">------------------------------------------&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">2. String → char*, char[], char 변환&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">예를 들어 TFT LCD 같은 경우 라이브러리에서 DrawText() 함수를 제공할 때 DrawText(char*) 형태만 제공하는 경우가 많은데,&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">문자열이 String 변수에 저장되어 있을 경우.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">이것도 간단하다. char 배열로 복사하는 함수를 String 클래스가 친절히 제공하고 있으니까. 길이 명시해야 된다는 점은 유의.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;String str = \"Hello, Mongus!\"&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;char ch[32] = {0};&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;str.toCharArray(ch, str.length());&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;lcd.DrawText(ch);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">char 변수 하나만 받아오는 방법도 있다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;String str = \"Hello, Mongus!\"&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;char c;&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;c = str.charAt(0);&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">그럼 c 변수에는 첫 번째 문자인 \'H\'가 저장된다. 또는&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&nbsp;c = str[0];&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">String 클래스에서 제공하는 함수에 대한 내용은 아래 강좌를 참조.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&gt;&gt; String 클래스에서 제공하는 함수들!&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><a href=\"http://blog.naver.com/yuyyulee/220305968049\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">http://blog.naver.com/yuyyulee/220305968049</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">[출처] [아두이노 Tip] String ↔ char 변환|작성자 몽구스</span></p>','http://blog.naver.com/PostView.nhn?blogId=yuyyulee&logNo=220983167239','',1,0,12,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:51:01',0,'2019-04-26 15:51:01','210.101.103.92','','','','','','','','','','','',''),(403,-403,'',403,0,0,'','','html1','[Arduino] Change ATMEGA2560 Bootloader to run at 8Mhz','<p><span style=\"color: #404040; font-family: 굴림;\">Change ATMEGA2560 Bootloader to run at 8Mhz&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><a href=\"https://github.com/MCUdude/MegaCore#how-to-install\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">https://github.com/MCUdude/MegaCore#how-to-install</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">* install url&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><a href=\"https://mcudude.github.io/MegaCore/package_MCUdude_MegaCore_index.json\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">https://mcudude.github.io/MegaCore/package_MCUdude_MegaCore_index.json</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">(MegaCore)&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">------------------------------------------------&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">*참고 esp8266 arduino ide install url&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><a href=\"http://arduino.esp8266.com/stable/package_esp8266com_index.json\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">http://arduino.esp8266.com/stable/package_esp8266com_index.json</a></p>','https://github.com/MCUdude/MegaCore#how-to-install','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:51:19',0,'2019-04-26 15:51:19','210.101.103.92','','','','','','','','','','','',''),(404,-404,'',404,0,0,'','','html1','[Eagle] PCB 납처리 가능한 패턴 그리기(AC전원, 상전 패턴)','<p><span style=\"color: #404040; font-family: 굴림;\">해당 top또는 bottom의 stop(tStop 또는 bStop) 레이어를, 납을 칠해줄 패턴위에 그리면 됨.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">이때, 배선폭보다 아주 약간이라도 큰 폭으로 그려야함.</span></p>','','',0,0,6,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:51:36',1,'2019-04-26 15:51:36','210.101.103.92','','','','','','','','','','','',''),(405,-405,'',405,0,0,'','','html1','[Linux] 라즈베리파이 & 우분투 mysql 설치시 암호설정','<table width=\"100%\" cellpadding=\"5\" style=\"font-family: 굴림;\">\r\n   <tbody>\r\n      <tr>\r\n         <td class=\"lh\" height=\"100\" style=\"color: #222222; line-height: 18px; word-break: break-all;\"><span class=\"content\" style=\"color: #404040;\">mysql 설치시 예전에는 apt 패키지 설치과정에서 root 암호를 입력해야 했으나&nbsp;<br />mriaDB 설치로 바뀌면서 암호입력부분이 없어짐.&nbsp;<br /><br />sudo mysql -u root mysql&nbsp;<br />MariaDB [mysql] update user set plugin=\'\'; (따옴표 2개 입니다.)&nbsp;<br />MariaDB [mysql] update user set password=password(\'변경할암호\') where User=\'root\';&nbsp;<br />MariaDB [mysql] flush privileges;&nbsp;<br />MariaDB [mysql] \\q</span><a href=\"http://geoworld.cafe24.com/gnu3/?doc=bbs/gnuboard.php&amp;bo_table=Computer&amp;page=1&amp;wr_id=31271\" style=\"text-decoration-line: none; color: #3a4e40;\" target=\"_blank\"></a><a href=\"http://geoworld.cafe24.com/gnu3/?doc=bbs/gnuboard.php&amp;bo_table=Computer&amp;page=1&amp;wr_id=31271\" style=\"text-decoration-line: none; color: #3a4e40;\" target=\"_blank\"></a></td>\r\n         </tr>\r\n      <tr></tr>\r\n      </tbody>\r\n   </table>','','',0,0,4,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:51:47',0,'2019-04-26 15:51:47','210.101.103.92','','','','','','','','','','','',''),(406,-406,'',406,0,0,'','','html1','[ETC] ESP WROOM-02 pin map','<p>...</p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:52:05',1,'2019-04-26 15:52:05','210.101.103.92','','','','','','','','','','','',''),(407,-407,'',407,0,0,'','','html1','[Arduino] ​5핀 무한회전 로터리 엔코더 모듈','<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"color: #a6cf00; font-family: &quot;3287760_9&quot;; font-size: 18pt;\"></span><span style=\"color: #ff0000; font-family: &quot;994265_10&quot;; font-size: 14pt;\"><strong>5핀 무한회전 로터리 엔코더 모듈</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"color: #ff0000; font-family: &quot;994265_10&quot;; font-size: 14pt;\"><strong><br /></strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><img src=\"http://postfiles14.naver.net/20160118_237/roboholic84_1453091039973wF7C9_PNG/%C4%B8%C3%B3.PNG?type=w1\" width=\"450\" height=\"449\" id=\"20160118_237/roboholic84_1453091039973wF7C9_PNG/%C4%B8%C3%B3.PNG\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none rgb(0, 0, 0); cursor: pointer;\" /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong><br /></strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong>5핀으로 구성된 로터리 엔코더 모듈입니다. 3핀 로터리 엔코더와는 다르게 무한으로 회전이 가능하며,</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong>그에 대한 회전운동을 전기적 신호로 변환 받을 수 있습니다.</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong>추가적으로 푸쉬 버튼 기능도 있어 ON/OFF 스위치 기능도 사용할 수 있습니다.</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\">사용&nbsp;</span><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\">전압 : 5V</span></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong>출력 신호 : 디지털</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><img src=\"http://postfiles10.naver.net/20160118_201/roboholic84_1453091152957q3uDD_PNG/1.png?type=w1\" width=\"814\" height=\"18\" id=\"20160118_201/roboholic84_1453091152957q3uDD_PNG/1.png\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"left\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff;\"><span style=\"color: #a6cf00; font-family: &quot;3287760_9&quot;; font-size: 18pt;\"><strong>기초 실습하기</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong>우선 엔코더의 값을 시리얼 모니터로 확인해보겠습니다. 스위치 기능은 값을 초기화 시키는 용도로 사용하겠습니다.</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"color: #ff0000; font-family: &quot;994265_10&quot;; font-size: 18pt;\"><strong>회로도</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><img src=\"http://postfiles9.naver.net/20160118_24/roboholic84_1453092651674c7SVR_JPEG/Untitled_Sketch_bb.jpg?type=w1\" width=\"936\" height=\"533\" id=\"20160118_24/roboholic84_1453092651674c7SVR_JPEG/Untitled_Sketch_bb.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong>CLK - D2</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong>DT - D3</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong>SW - D4</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong>(+) - 5V</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong>GND - GND</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"color: #ff0000; font-family: &quot;994265_10&quot;; font-size: 14pt;\"><strong>소스 코드</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<div align=\"center\" style=\"line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff;\">\r\n   <table class=\"__se_tbl\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-collapse: separate; border-width: 2px 2px 0px 0px; border-style: dashed dashed none none; border-color: #e97d81 rgb(233, 125, 129) currentcolor currentcolor; border-image: none 100% / 1 / 0 stretch;\">\r\n      <tbody>\r\n         <tr>\r\n            <td width=\"741\" style=\"word-break: break-all; border-width: 0px 0px 2px 2px; border-style: none none dashed dashed; border-color: currentcolor currentcolor rgb(233, 125, 129) rgb(233, 125, 129); border-image: none 100% / 1 / 0 stretch;\">\r\n               <p style=\"padding: 0px; line-height: 1.5;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong>&nbsp;// 소스 파일은 encoder_1 로 첨부하였습니다.</strong></span></p>\r\n               <pre><font color=\"#5e6d03\">#define</font><font color=\"#000000\">clpin</font><font color=\"#000000\">2</font><font color=\"#5e6d03\">#define</font><font color=\"#000000\">dtpin</font><font color=\"#000000\">3</font><font color=\"#5e6d03\">#define</font><font color=\"#000000\">swpin</font><font color=\"#000000\">4</font><font color=\"#00979c\">int</font><font color=\"#000000\">encoderVal</font><font color=\"#434f54\">=</font><font color=\"#000000\">0</font><font color=\"#000000\">;</font><font color=\"#00979c\">static</font><font color=\"#00979c\">int</font><font color=\"#000000\">oldA</font><font color=\"#434f54\">=</font><font color=\"#00979c\">HIGH</font><font color=\"#000000\">;</font><font color=\"#00979c\">static</font><font color=\"#00979c\">int</font><font color=\"#000000\">oldB</font><font color=\"#434f54\">=</font><font color=\"#00979c\">HIGH</font><font color=\"#000000\">;</font><font color=\"#00979c\">void</font><font color=\"#5e6d03\">setup</font><font color=\"#000000\">(</font><font color=\"#000000\">)</font><font color=\"#000000\">{</font>\r\n &nbsp;<font color=\"#d35400\">pinMode</font><font color=\"#000000\">(</font><font color=\"#000000\">clpin</font><font color=\"#434f54\">,</font><font color=\"#00979c\">INPUT</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#d35400\">pinMode</font><font color=\"#000000\">(</font><font color=\"#000000\">dtpin</font><font color=\"#434f54\">,</font><font color=\"#00979c\">INPUT</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#d35400\">pinMode</font><font color=\"#000000\">(</font><font color=\"#000000\">swpin</font><font color=\"#434f54\">,</font><font color=\"#00979c\">INPUT</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#d35400\">digitalWrite</font><font color=\"#000000\">(</font><font color=\"#000000\">swpin</font><font color=\"#434f54\">,</font><font color=\"#00979c\">HIGH</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;<b><font color=\"#d35400\">Serial</font></b><font color=\"#434f54\">.</font><font color=\"#d35400\">begin</font><font color=\"#000000\">(</font><font color=\"#000000\">9600</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font><font color=\"#000000\">}</font><font color=\"#00979c\">void</font><font color=\"#5e6d03\">loop</font><font color=\"#000000\">(</font><font color=\"#000000\">)</font><font color=\"#000000\">{</font>\r\n &nbsp;<font color=\"#00979c\">int</font><font color=\"#000000\">change</font><font color=\"#434f54\">=</font><font color=\"#000000\">getEncoderTurn</font><font color=\"#000000\">(</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#000000\">encoderVal</font><font color=\"#434f54\">=</font><font color=\"#000000\">encoderVal</font><font color=\"#434f54\">+</font><font color=\"#000000\">change</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#5e6d03\">if</font><font color=\"#000000\">(</font><font color=\"#d35400\">digitalRead</font><font color=\"#000000\">(</font><font color=\"#000000\">swpin</font><font color=\"#000000\">)</font><font color=\"#434f54\">==</font><font color=\"#00979c\">LOW</font><font color=\"#000000\">)</font>\r\n &nbsp;<font color=\"#000000\">{</font>\r\n &nbsp;&nbsp;&nbsp;<font color=\"#000000\">encoderVal</font><font color=\"#434f54\">=</font><font color=\"#000000\">0</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#000000\">}</font>\r\n &nbsp;<b><font color=\"#d35400\">Serial</font></b><font color=\"#434f54\">.</font><font color=\"#d35400\">println</font><font color=\"#000000\">(</font><font color=\"#000000\">encoderVal</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font><font color=\"#000000\">}</font><font color=\"#00979c\">int</font><font color=\"#000000\">getEncoderTurn</font><font color=\"#000000\">(</font><font color=\"#00979c\">void</font><font color=\"#000000\">)</font><font color=\"#000000\">{</font>\r\n &nbsp;<font color=\"#00979c\">int</font><font color=\"#000000\">result</font><font color=\"#434f54\">=</font><font color=\"#000000\">0</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#00979c\">int</font><font color=\"#000000\">newA</font><font color=\"#434f54\">=</font><font color=\"#d35400\">digitalRead</font><font color=\"#000000\">(</font><font color=\"#000000\">clpin</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#00979c\">int</font><font color=\"#000000\">newB</font><font color=\"#434f54\">=</font><font color=\"#d35400\">digitalRead</font><font color=\"#000000\">(</font><font color=\"#000000\">dtpin</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#5e6d03\">if</font><font color=\"#000000\">(</font><font color=\"#000000\">newA</font><font color=\"#434f54\">!=</font><font color=\"#000000\">oldA</font><font color=\"#434f54\">||</font><font color=\"#000000\">newB</font><font color=\"#434f54\">!=</font><font color=\"#000000\">oldB</font><font color=\"#000000\">)</font>\r\n &nbsp;<font color=\"#000000\">{</font>\r\n &nbsp;&nbsp;&nbsp;<font color=\"#5e6d03\">if</font><font color=\"#000000\">(</font><font color=\"#000000\">oldA</font><font color=\"#434f54\">==</font><font color=\"#00979c\">HIGH</font><font color=\"#434f54\">&amp;&amp;</font><font color=\"#000000\">newA</font><font color=\"#434f54\">==</font><font color=\"#00979c\">LOW</font><font color=\"#000000\">)</font>\r\n &nbsp;&nbsp;&nbsp;<font color=\"#000000\">{</font>\r\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000000\">result</font><font color=\"#434f54\">=</font><font color=\"#000000\">(</font><font color=\"#000000\">oldB</font><font color=\"#434f54\">*</font><font color=\"#000000\">2</font><font color=\"#434f54\">-</font><font color=\"#000000\">1</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;&nbsp;&nbsp;<font color=\"#000000\">}</font>\r\n &nbsp;<font color=\"#000000\">}</font>\r\n &nbsp;<font color=\"#000000\">oldA</font><font color=\"#434f54\">=</font><font color=\"#000000\">newA</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#000000\">oldB</font><font color=\"#434f54\">=</font><font color=\"#000000\">newB</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#5e6d03\">return</font><font color=\"#000000\">result</font><font color=\"#000000\">;</font><font color=\"#000000\">}</font></pre>\r\n               <p style=\"padding: 0px; line-height: 1.5;\">&nbsp;</p>\r\n               </td>\r\n            </tr>\r\n         </tbody>\r\n      </table>\r\n   </div>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><img src=\"http://postfiles5.naver.net/20160118_52/roboholic84_1453092917065igcq9_PNG/1.png?type=w1\" width=\"741\" height=\"16\" id=\"20160118_52/roboholic84_1453092917065igcq9_PNG/1.png\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none rgb(0, 0, 0); cursor: pointer;\" /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"left\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff;\"><span style=\"color: #a6cf00; font-family: &quot;3287760_9&quot;; font-size: 18pt;\"><strong>동영상 및 후기</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong>시계방향으로 돌리면 값이 증가하고, 시계 반대 방향으로 돌리면 값이 감소합니다.</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\">한 바퀴가 20이므로 출력값</span><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\">&nbsp;</span><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\">/&nbsp;</span><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\">20 을 하시면&nbsp;회전&nbsp;</span><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\">수도 구할 수 있습니다.</span></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"></span></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"></span></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><span style=\"color: #ff0000; font-family: &quot;994265_10&quot;; font-size: 14pt;\">동영</span></strong><strong><span style=\"color: #ff0000; font-family: &quot;994265_10&quot;; font-size: 14pt;\">상</span></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><br /></span></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><iframe src=\"http://serviceapi.nmv.naver.com/view/ugcPlayer.nhn?vid=3D2FF0E04BA465E22DA87E48F7778B839E76&amp;inKey=V123dfc000300b373d8c15d241b37b14007b5477c59669ca48c2bba1d44dd66e812a75d241b37b14007b5&amp;hasLink=1\" frameborder=\"0\" height=\"438\" width=\"720\" scrolling=\"no\" allowfullscreen=\"\"></iframe></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"></span></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong><br /></strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong>손잡이 부분을 누르면 푸쉬</strong><strong>버튼처럼&nbsp;</strong></span><strong><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\">클릭이 되며,&nbsp;해당 소스 코드에서는&nbsp;값을 초기화시킵니다.</span></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><img src=\"http://postfiles3.naver.net/20160118_146/roboholic84_1453093362736gYNwi_PNG/1.png?type=w1\" width=\"814\" height=\"18\" id=\"20160118_146/roboholic84_1453093362736gYNwi_PNG/1.png\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"left\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff;\"><span style=\"color: #a6cf00; font-family: &quot;3287760_9&quot;; font-size: 18pt;\"><strong>응용 실습하기</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\">else if 문을 사용하여&nbsp;</span><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\">엔코더의 값에 따른 LED 색을 깜빡이게&nbsp;</span><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\">하겠</span><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\">습니다.</span></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"color: #ff0000; font-family: &quot;994265_10&quot;; font-size: 14pt;\"><strong>회로도</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><img src=\"http://postfiles12.naver.net/20160118_299/roboholic84_1453099287405FGBmy_JPEG/4.jpg?type=w1\" width=\"936\" height=\"595\" id=\"20160118_299/roboholic84_1453099287405FGBmy_JPEG/4.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"color: #ff0000; font-family: &quot;994265_10&quot;; font-size: 14pt;\"><strong>소스 코드</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<div align=\"center\" style=\"line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff;\">\r\n   <table class=\"__se_tbl\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-collapse: separate; border-width: 2px 2px 0px 0px; border-style: dashed dashed none none; border-color: #e97d81 rgb(233, 125, 129) currentcolor currentcolor; border-image: none 100% / 1 / 0 stretch;\">\r\n      <tbody>\r\n         <tr>\r\n            <td width=\"741\" style=\"word-break: break-all; border-width: 0px 0px 2px 2px; border-style: none none dashed dashed; border-color: currentcolor currentcolor rgb(233, 125, 129) rgb(233, 125, 129); border-image: none 100% / 1 / 0 stretch;\">\r\n               <p style=\"padding: 0px; line-height: 1.5;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong>&nbsp;// 소스 파일은 encoder_2로 첨부하였습니다.</strong></span></p>\r\n               <pre><font color=\"#5e6d03\">#define</font><font color=\"#000000\">clpin</font><font color=\"#000000\">2</font><font color=\"#5e6d03\">#define</font><font color=\"#000000\">dtpin</font><font color=\"#000000\">3</font><font color=\"#5e6d03\">#define</font><font color=\"#000000\">swpin</font><font color=\"#000000\">4</font><font color=\"#00979c\">int</font><font color=\"#000000\">LED1</font><font color=\"#434f54\">=</font><font color=\"#000000\">11</font><font color=\"#000000\">;</font><font color=\"#00979c\">int</font><font color=\"#000000\">LED2</font><font color=\"#434f54\">=</font><font color=\"#000000\">12</font><font color=\"#000000\">;</font><font color=\"#00979c\">int</font><font color=\"#000000\">LED3</font><font color=\"#434f54\">=</font><font color=\"#000000\">13</font><font color=\"#000000\">;</font><font color=\"#00979c\">int</font><font color=\"#000000\">encoderVal</font><font color=\"#434f54\">=</font><font color=\"#000000\">0</font><font color=\"#000000\">;</font><font color=\"#00979c\">static</font><font color=\"#00979c\">int</font><font color=\"#000000\">oldA</font><font color=\"#434f54\">=</font><font color=\"#00979c\">HIGH</font><font color=\"#000000\">;</font><font color=\"#00979c\">static</font><font color=\"#00979c\">int</font><font color=\"#000000\">oldB</font><font color=\"#434f54\">=</font><font color=\"#00979c\">HIGH</font><font color=\"#000000\">;</font><font color=\"#00979c\">void</font><font color=\"#5e6d03\">setup</font><font color=\"#000000\">(</font><font color=\"#000000\">)</font><font color=\"#000000\">{</font>\r\n &nbsp;<font color=\"#d35400\">pinMode</font><font color=\"#000000\">(</font><font color=\"#000000\">clpin</font><font color=\"#434f54\">,</font><font color=\"#00979c\">INPUT</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#d35400\">pinMode</font><font color=\"#000000\">(</font><font color=\"#000000\">dtpin</font><font color=\"#434f54\">,</font><font color=\"#00979c\">INPUT</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#d35400\">pinMode</font><font color=\"#000000\">(</font><font color=\"#000000\">swpin</font><font color=\"#434f54\">,</font><font color=\"#00979c\">INPUT</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#d35400\">digitalWrite</font><font color=\"#000000\">(</font><font color=\"#000000\">swpin</font><font color=\"#434f54\">,</font><font color=\"#00979c\">HIGH</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font><font color=\"#000000\">}</font><font color=\"#00979c\">void</font><font color=\"#5e6d03\">loop</font><font color=\"#000000\">(</font><font color=\"#000000\">)</font><font color=\"#000000\">{</font>\r\n &nbsp;<font color=\"#00979c\">int</font><font color=\"#000000\">change</font><font color=\"#434f54\">=</font><font color=\"#000000\">getEncoderTurn</font><font color=\"#000000\">(</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#000000\">encoderVal</font><font color=\"#434f54\">=</font><font color=\"#000000\">encoderVal</font><font color=\"#434f54\">+</font><font color=\"#000000\">change</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#5e6d03\">if</font><font color=\"#000000\">(</font><font color=\"#d35400\">digitalRead</font><font color=\"#000000\">(</font><font color=\"#000000\">swpin</font><font color=\"#000000\">)</font><font color=\"#434f54\">==</font><font color=\"#00979c\">LOW</font><font color=\"#000000\">)</font>\r\n &nbsp;<font color=\"#000000\">{</font>\r\n &nbsp;&nbsp;&nbsp;<font color=\"#000000\">encoderVal</font><font color=\"#434f54\">=</font><font color=\"#000000\">0</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#000000\">}</font>\r\n &nbsp;\r\n<font color=\"#5e6d03\">if</font><font color=\"#000000\">(</font><font color=\"#000000\">(</font><font color=\"#000000\">encoderVal</font><font color=\"#000000\">)</font><font color=\"#434f54\">&lt;=</font><font color=\"#434f54\">-</font><font color=\"#000000\">10</font><font color=\"#000000\">)</font><font color=\"#434f54\">// -10보다 작다면</font><font color=\"#000000\">{</font>\r\n &nbsp;<font color=\"#d35400\">digitalWrite</font><font color=\"#000000\">(</font><font color=\"#000000\">LED1</font><font color=\"#434f54\">,</font><font color=\"#00979c\">HIGH</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#d35400\">digitalWrite</font><font color=\"#000000\">(</font><font color=\"#000000\">LED2</font><font color=\"#434f54\">,</font><font color=\"#00979c\">LOW</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#d35400\">digitalWrite</font><font color=\"#000000\">(</font><font color=\"#000000\">LED3</font><font color=\"#434f54\">,</font><font color=\"#00979c\">LOW</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font><font color=\"#000000\">}</font><font color=\"#5e6d03\">else</font><font color=\"#5e6d03\">if</font><font color=\"#000000\">(</font><font color=\"#000000\">(</font><font color=\"#000000\">encoderVal</font><font color=\"#000000\">)</font><font color=\"#434f54\">&lt;</font><font color=\"#000000\">10</font><font color=\"#000000\">)</font><font color=\"#434f54\">//10보다 작다면</font><font color=\"#000000\">{</font><font color=\"#d35400\">digitalWrite</font><font color=\"#000000\">(</font><font color=\"#000000\">LED1</font><font color=\"#434f54\">,</font><font color=\"#00979c\">LOW</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font><font color=\"#d35400\">digitalWrite</font><font color=\"#000000\">(</font><font color=\"#000000\">LED2</font><font color=\"#434f54\">,</font><font color=\"#00979c\">HIGH</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font><font color=\"#d35400\">digitalWrite</font><font color=\"#000000\">(</font><font color=\"#000000\">LED3</font><font color=\"#434f54\">,</font><font color=\"#00979c\">LOW</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font><font color=\"#000000\">}</font><font color=\"#5e6d03\">else</font> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#434f54\">// 둘다 아니다면</font><font color=\"#000000\">{</font>\r\n &nbsp;<font color=\"#d35400\">digitalWrite</font><font color=\"#000000\">(</font><font color=\"#000000\">LED1</font><font color=\"#434f54\">,</font><font color=\"#00979c\">LOW</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font> \r\n &nbsp;<font color=\"#d35400\">digitalWrite</font><font color=\"#000000\">(</font><font color=\"#000000\">LED2</font><font color=\"#434f54\">,</font><font color=\"#00979c\">LOW</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#d35400\">digitalWrite</font><font color=\"#000000\">(</font><font color=\"#000000\">LED3</font><font color=\"#434f54\">,</font><font color=\"#00979c\">HIGH</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font><font color=\"#000000\">}</font><font color=\"#000000\">}</font><font color=\"#00979c\">int</font><font color=\"#000000\">getEncoderTurn</font><font color=\"#000000\">(</font><font color=\"#00979c\">void</font><font color=\"#000000\">)</font><font color=\"#000000\">{</font>\r\n &nbsp;<font color=\"#00979c\">int</font><font color=\"#000000\">result</font><font color=\"#434f54\">=</font><font color=\"#000000\">0</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#00979c\">int</font><font color=\"#000000\">newA</font><font color=\"#434f54\">=</font><font color=\"#d35400\">digitalRead</font><font color=\"#000000\">(</font><font color=\"#000000\">clpin</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#00979c\">int</font><font color=\"#000000\">newB</font><font color=\"#434f54\">=</font><font color=\"#d35400\">digitalRead</font><font color=\"#000000\">(</font><font color=\"#000000\">dtpin</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#5e6d03\">if</font><font color=\"#000000\">(</font><font color=\"#000000\">newA</font><font color=\"#434f54\">!=</font><font color=\"#000000\">oldA</font><font color=\"#434f54\">||</font><font color=\"#000000\">newB</font><font color=\"#434f54\">!=</font><font color=\"#000000\">oldB</font><font color=\"#000000\">)</font>\r\n &nbsp;<font color=\"#000000\">{</font>\r\n &nbsp;&nbsp;&nbsp;<font color=\"#5e6d03\">if</font><font color=\"#000000\">(</font><font color=\"#000000\">oldA</font><font color=\"#434f54\">==</font><font color=\"#00979c\">HIGH</font><font color=\"#434f54\">&amp;&amp;</font><font color=\"#000000\">newA</font><font color=\"#434f54\">==</font><font color=\"#00979c\">LOW</font><font color=\"#000000\">)</font>\r\n &nbsp;&nbsp;&nbsp;<font color=\"#000000\">{</font>\r\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000000\">result</font><font color=\"#434f54\">=</font><font color=\"#000000\">(</font><font color=\"#000000\">oldB</font><font color=\"#434f54\">*</font><font color=\"#000000\">2</font><font color=\"#434f54\">-</font><font color=\"#000000\">1</font><font color=\"#000000\">)</font><font color=\"#000000\">;</font>\r\n &nbsp;&nbsp;&nbsp;<font color=\"#000000\">}</font>\r\n &nbsp;<font color=\"#000000\">}</font>\r\n &nbsp;<font color=\"#000000\">oldA</font><font color=\"#434f54\">=</font><font color=\"#000000\">newA</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#000000\">oldB</font><font color=\"#434f54\">=</font><font color=\"#000000\">newB</font><font color=\"#000000\">;</font>\r\n &nbsp;<font color=\"#5e6d03\">return</font><font color=\"#000000\">result</font><font color=\"#000000\">;</font><font color=\"#000000\">}</font></pre>\r\n               <p style=\"padding: 0px; line-height: 1.5;\">&nbsp;</p>\r\n               </td>\r\n            </tr>\r\n         </tbody>\r\n      </table>\r\n   </div>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\">else if에 대해 자세히 알고 싶으시다면&nbsp;&nbsp;</span><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\">&gt;&gt;&nbsp;</span></strong><a class=\"con_link\" href=\"http://blog.naver.com/roboholic84/220309363592\" target=\"_blank\" style=\"text-decoration-line: none; overflow-wrap: break-word;\"><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong>여기</strong></span></a><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"><strong>&nbsp;&lt;&lt;를 클릭하시면 이동됩니다.</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><img src=\"http://postfiles5.naver.net/20160118_132/roboholic84_1453099994216nLiwx_PNG/1.png?type=w1\" width=\"814\" height=\"18\" id=\"20160118_132/roboholic84_1453099994216nLiwx_PNG/1.png\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"left\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff;\"><span style=\"color: #a6cf00; font-family: &quot;3287760_9&quot;; font-size: 18pt;\"><strong>동영상 및 후기</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><span style=\"color: #ff0000; font-family: &quot;994265_10&quot;; font-size: 14pt;\"><strong>동영상</strong></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><br /></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><iframe src=\"http://serviceapi.nmv.naver.com/view/ugcPlayer.nhn?vid=3EA5EA8F86A4BF1626CEB4F05058DF1EE12B&amp;inKey=V121a0771865944267d3c909de1f3d56a1de79863af9eb9756e521c51a518e900023e909de1f3d56a1de7&amp;hasLink=1\" frameborder=\"0\" height=\"438\" width=\"720\" scrolling=\"no\" allowfullscreen=\"\"></iframe></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"></span></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\">앞서 말씀드린 듯이 스위치 손잡이 부분을 누르면 초기화가 되며</span></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\"></span></strong></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 1.5; color: #464646; font-family: 돋움; background-color: #ffffff; text-align: center;\"><strong><span style=\"font-family: &quot;994265_10&quot;; font-size: 11pt;\">-10보다 작거나 같으면 노란색 , -10보다 작거나 같지 않고 10보다 작으면 흰색, 둘 다 아니면&nbsp;빨간색을 켭니다.</span></strong></p>\r\n<p></p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<div class=\"autosourcing-stub-extra\" style=\"line-height: 1.5; zoom: 1; opacity: 1;\">\r\n   <p style=\"margin: 11px 0px 7px; padding: 0px; line-height: 1.5; font-size: 12px; font-family: Dotum; font-style: normal; font-weight: normal;\"><strong><strong style=\"padding: 0px 7px 0px 0px;\">[출처]</strong><span>&nbsp;</span><a href=\"http://blog.naver.com/roboholic84/220601110190\" target=\"_blank\" style=\"text-decoration: none;\">5핀 무한회전 로터리 엔코더 모듈 사용하기 (회전 각 측정)(Keyes)(Rotation)(if,else if,else)[아두이노 강좌]</a><span style=\"padding: 0px 7px 0px 5px;\">|</span><strong style=\"padding: 0px 7px 0px 0px;\">작성자</strong><span>&nbsp;</span><a href=\"http://blog.naver.com/roboholic84\" target=\"_blank\" style=\"text-decoration: none;\">오픈랩</a>`</strong></p>\r\n   </div>','http://blog.naver.com/PostView.nhn?blogId=roboholic84&logNo=220601110190','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:52:28',0,'2019-04-26 15:52:28','210.101.103.92','','','','','','','','','','','',''),(408,-408,'',408,0,0,'','','html1','[ETC] 1Cell 배터리 2개 이용한 직력 출력 및 MCP73831 충전회로','<p><span style=\"color: #404040; font-family: 굴림;\">*요약&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">MCP73831 은 1Cell 만 충전가능.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">3.7V 1Cell 배터리를 스위치 회로로, 1일경우 직렬로 동작하여 7.4V 출력&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">2일경우는 병렬로 분리되어 충전되는 회로임.</span></p>','https://m.blog.naver.com/PostView.nhn?blogId=poikll&logNo=220068530767&proxyReferer=https%3A%2F%2Fwww.google.com%2F','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:54:55',1,'2019-04-26 15:54:55','210.101.103.92','','','','','','','','','','','',''),(409,-409,'',409,0,0,'','','html1','[Arduino] 아두이노 WI-FI 날씨 정보 가져오기(with ESP8266 & 기상청)','<p><span style=\"color: #404040; font-family: 굴림;\">현재 ESP8266을 활용한 미세먼지 측정기를 만드는 중입니다.&nbsp; 1차 완료 버전의 주요 기능은&nbsp; 미세먼지센서를 이용하여 실내 미세먼지 정보를 보여주는 것이라면, 앞으로는 동일한 하드웨어를 가지고 실외 미세먼지 수치까지 표시할 수 있는 기능을 추가해보도록 하겠습니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">신뢰성이 있는 미세 정보를 얻기 위해서는 한국환경공단 대기오염정보 조회 서비스를 사용해야 합니다. 공공데이타 포털의 가입이 필요하고 추가로 API KEY를 신청해서 제공받아야 정보를 얻을 수 있습니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">이번 글에서는 가볍게 몸풀기로 가입 절차가 필요 없는 기상청 RSS를 데이타를 WI-FI로 접속해서 우리 동네 날씨 정보를 LCD로 표현하는 방법에 대해서 해보도록 하겠습니다.&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">[출처] 아두이노 WI-FI 날씨 정보 가져오기(with ESP8266 &amp; 기상청)|작성자 COMPASS</span></p>','https://blog.naver.com/compass1111/221133450681','http://www.weather.go.kr/weather/lifenindustry/sevice_rss.jsp?sido=4200000000&gugun=4211000000&dong=4211057000&x=17&y=8',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:55:24',1,'2019-04-26 15:55:24','210.101.103.92','','','','','','','','','','','',''),(410,-410,'',410,0,0,'','','html1','[ETC] PCB (Printed Circuit Board) #1 : PCB 구조, 배경지식','<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">※ PCB 설계 입문에 목적을 두고 정보검색/취합/정리하여 포스팅되었다.</span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">※ 가능한 한 필요한 모든 사항을, 깊게 들어가지 않고 간략하게 조사 후 정리하였다.</span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">※ 틀린 부분이 있을 수 있습니다. 지적 바랍니다.</span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><span style=\"font-size: 9pt;\"><b><br /></b></span></span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><span style=\"font-size: 9pt;\"><b>목차</b></span></span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><span style=\"font-size: 9pt;\"><b>1. PCB 구조</b></span></span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-size: 10pt; font-family: 돋움, Dotum;\"><span style=\"font-size: 9pt;\">&nbsp;1-1. PCB 기판재</span></span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-size: 10pt; font-family: 돋움, Dotum;\"><span style=\"font-size: 9pt;\">&nbsp;1-2. 구리층</span></span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-size: 10pt; font-family: 돋움, Dotum;\"><span style=\"font-size: 9pt;\">&nbsp;1-3. Soldermask</span></span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-size: 10pt; font-family: 돋움, Dotum;\"><span style=\"font-size: 9pt;\">&nbsp;1-4. Silkscreen</span></span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-size: 10pt; font-family: 돋움, Dotum;\"><span style=\"font-size: 9pt;\">&nbsp;1-5. PCB 표면처리</span></span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><span style=\"font-size: 9pt;\"><b>2. 배경지식</b></span></span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;2-1. 주파수와 파장길이의 관계</span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-size: 10pt; font-family: 돋움, Dotum;\"><span style=\"font-size: 9pt;\">&nbsp;2-2. EMC</span></span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-size: 10pt; font-family: 돋움, Dotum;\"><span style=\"font-size: 9pt;\">&nbsp;2-3. 노이즈 분류</span></span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-size: 10pt; font-family: 돋움, Dotum;\"><span style=\"font-size: 9pt;\">&nbsp;2-4. 임피던스</span></span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><span style=\"font-size: 18.6667px;\"><b><br /></b></span></span></div>\r\n<div align=\"left\" style=\"line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><span style=\"font-size: 10pt;\"><b>&nbsp;</b></span></span></div>\r\n<div align=\"center\" style=\"line-height: 2.2; text-align: center;\"><b><br /></b></div>\r\n<div align=\"center\" style=\"line-height: 2.2; text-align: center;\"><b style=\"font-size: 12pt;\"><span style=\"font-size: 14pt; font-family: 돋움, Dotum;\">1. PCB&nbsp;구조</span></b></div>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T2\" style=\"font-size: 11pt; font-family: 돋움, Dotum;\"><b>1-1. PCB 기판재</b></span><span class=\"se_fs_T3\"><br /></span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- PCB 기판재는 전기적 특성이 뛰어난 수지(Resin)를 기초 재료로 하여, 기계적 강도와 내열성을&nbsp;보완하기 위해</span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;보강기재를&nbsp;첨가한다.&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- PCB 기판재의 재질은 기판의 최고전압, 주파수 특성 등을 결정한다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;※<span class=\"se_fs_T3\">&nbsp;TG(유리전이온도)는&nbsp;입자간의 구속력이 떨어져&nbsp;물리적 변형이 일어날 수 있는 온도이다.</span></span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- PCB 기판재의 종류는 아래 표와 같다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><span class=\"se_fs_T3\"></span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"></span></span></p>\r\n<table style=\"table-layout: fixed; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n   <tbody>\r\n      <tr>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 68.05pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><b>보강기재</b></span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 48.24pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><b>수지</b></span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 93.52pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><b><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">NEMA</span><span style=\"font-family: 돋움, Dotum;\">규격</span></b></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 107.67pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><b>주용도</b></span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 79.37pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><b>가격</b></span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 79.37pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><b>강도</b></span></p>\r\n            </td>\r\n         </tr>\r\n      <tr>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 68.05pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">종이</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 48.24pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">페놀</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 93.52pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">FR-1/2, XPC..</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 107.67pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">가전제품 단면&nbsp;</span><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">PCB</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 79.37pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">매우저렴</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 79.37pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">매우약함</span></p>\r\n            </td>\r\n         </tr>\r\n      <tr>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 68.05pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">종이</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 48.24pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">에폭시</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 93.52pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">FR-3</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 107.67pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">가전제품&nbsp;</span><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">PCB</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 79.37pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">저렴</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 79.37pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">약함</span></p>\r\n            </td>\r\n         </tr>\r\n      <tr>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 68.05pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">유리</span><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">+</span><span style=\"font-family: 돋움, Dotum;\">종이</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 48.24pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">에폭시</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 93.52pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">CEM-1/3</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 107.67pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">SMPS PCB</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 79.37pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">중간</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 79.37pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">중간</span></p>\r\n            </td>\r\n         </tr>\r\n      <tr>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 68.05pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">유리</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 48.24pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">에폭시</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 93.52pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">FR-4</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 107.67pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">산업용&nbsp;</span><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">PCB</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 79.37pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">비쌈</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 79.37pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">강함</span></p>\r\n            </td>\r\n         </tr>\r\n      </tbody>\r\n   </table>\r\n<p style=\"padding: 0px; line-height: 2;\"><span class=\"se_fs_T3\"><b><br /></b></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><b>1-1-1.&nbsp;종이페놀 기판재 (FR-1/2, XXXPC, XXPC, XPC...)</b></span><span class=\"se_fs_T3\"><br /></span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 매우 저렴한 단면 기판재로써, 만능기판과 같은 재질(페놀)이다.<br /></span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;-&nbsp;단,&nbsp;</span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">기계적 강도와 내열성이 약하고, 전기적 특성이 떨어지며, 습</span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">기에 약하므로 변형이 일어나기 쉬워, 보관할때도 눕혀야한다고 한다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><br /></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"></span></span><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><b>1-1-2. 유리에폭시 기판재 (FR-4/5, G10/11...)</b></span></span><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;</span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 결고 저렴하지 않은 기판재이다.</span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;-&nbsp;전기적 특성, 수치안정성, 내열성, 내약품성, 기계적 강도 등 모든 부분에서 우수하다.<br /></span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 유리에폭시 기판재의 일종인 FR-4 (Flame Retardant 4)는 현재 가장 널리 사용되는 기판재이다.&nbsp;(TG=120~130\'C)<br /></span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;-&nbsp;</span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">최근 FR-4에서 TG를 향상시킨 FR-5 수요가 증가하고 있다 (TG=140~170\'C)</span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><br /></span><span class=\"se_fs_T3\"></span></span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><b>1-1-3. 유리기재에폭시 기판재 (CEM-1/3)</b></span><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"></span></span><span class=\"se_fs_T3\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 하얀색 실장면이 특징이며,&nbsp;국내에서는 거의 단면&nbsp;기판으로 사용한다.<br /></span><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 무거운 부품, 열이 많이 나는 부품 등의 실장에 유리하여,&nbsp;</span></span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">SMPS에서 주로 사용한다.</span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><br /></span><span class=\"se_fs_T3\"></span></span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><b>1-1-4.&nbsp;기타</b></span><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><br /></span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- Teflon 기판재&nbsp;:&nbsp;고주파, 특히 무선통신&nbsp;PCB에 사용.<br /></span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- Aluminum 기판재 :&nbsp;방열이 필요한 모터/LED 등에 사용. -&gt; Ceramic PCB로 대체할 수 있다고 한다.<br /></span></span><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><br /><br /><br /></span><span class=\"se_fs_T3\"></span></span><span class=\"se_fs_T2\"><span class=\"se_fs_T2\" style=\"font-family: 돋움, Dotum; font-size: 11pt;\"><b>1-2. 구리층</b></span></span></p>\r\n<p><img src=\"https://blogfiles.pstatic.net/MjAxODA2MjNfMyAg/MDAxNTI5NzA1MTIzMjkz.qG3YMsOQfEr-EAamM6GF4uxEPA73VfN8TkmxZH1ui-cg.J_n2UCmncuBSwSXmZfxMzE_-gyYShenp3NlsBh-lwvcg.JPEG.bae3421_/dthumb-phinf.pstatic.jpg?type=w2\" width=\"320\" height=\"197\" id=\"MjAxODA2MjNfMyAg/MDAxNTI5NzA1MTIzMjkz.qG3YMsOQfEr-EAamM6GF4uxEPA73VfN8TkmxZH1ui-cg.J_n2UCmncuBSwSXmZfxMzE_-gyYShenp3NlsBh-lwvcg.JPEG.bae3421_/dthumb-phinf.pstatic.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: 3px solid rgb(255, 255, 255); cursor: pointer; clear: both;\" /></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 실제 회로가 담긴 동박이 있는 층으로, 두께는 무게로 분류된다.&nbsp;</span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 1oz (1ft^2당 1oz, 28.35g)가 대중적이다.&nbsp;이때 두께는 약 35um이다.</span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;</span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 큰 전력이&nbsp;흐르거나 PCB에&nbsp;발열이 심한경우, 구리층을 2oz,&nbsp;3oz 등으로 두껍게 사용하기도 한다.<br /></span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 구리층 수는 곧 PCB 층수를 의미하는데,&nbsp;</span></span></span><span style=\"font-family: 돋움, Dotum;\">적게는 단면(1층), 양면(2층)부터, MLB(Multi Layer Board, 수십층 단위)까지도 존재한다.&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 다층 PCB의 경우 그 중 2개 이상의&nbsp;구리층은 전원층, 접지층으로 사용된다.</span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><br /></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><br /></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><b><span style=\"font-family: 돋움, Dotum; font-size: 11pt;\">1-3. Solder mask</span></b></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><img src=\"https://blogfiles.pstatic.net/MjAxODA2MjNfMTMw/MDAxNTI5NzA1MTIyOTcw.VZhdmxF7tOns9kft8JEOWlOOTLCiH-cMvafxDvDeAgIg.ihdw9skpVk0qYTQ2HM5i8xvYGH2pVL5I_jRksaOd-kEg.JPEG.bae3421_/50d498fcce395f600d000001.jpg?type=w2\" width=\"320\" height=\"292\" id=\"MjAxODA2MjNfMTMw/MDAxNTI5NzA1MTIyOTcw.VZhdmxF7tOns9kft8JEOWlOOTLCiH-cMvafxDvDeAgIg.ihdw9skpVk0qYTQ2HM5i8xvYGH2pVL5I_jRksaOd-kEg.JPEG.bae3421_/50d498fcce395f600d000001.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: 3px solid rgb(255, 255, 255); cursor: pointer; clear: both;\" /></span><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;</span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 구리층 위에 있는 절연층이다.</span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 사진에서 진한초록색이 FR4위에 Solermask가 덮인것이고, 연한 초록색은 구리층 위에 Soldermask가 덮인 것이다.</span></span></span><span style=\"font-family: 돋움, Dotum;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 납땜 시 필요한 부분에만 납이 붙도록 하고, 나머지 동박은 산화/오염, 외부에 의한 쇼트으로부터 보호하는 주 목적을 가지고 있다.</span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- Solder Mask를 구성하는 절연잉크(S/R, Solder Resist)를 구리층에 코팅하는 과정을 PSR(Photo SR)라고 한다.</span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 이때 절연잉크(SR)는 PCB의 색깔을 결정짓는다. (주로 초록색)</span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><br /></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum; font-size: 11pt;\"><b>1-4. Silkscreen</b></span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- Solder mask 층 위에 입혀지는, 주로 하얀색의 보조선이다.</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 부품의 관리번호(레퍼런스)나</span><span style=\"font-family: 돋움, Dotum;\">&nbsp;가이드라인 등을 표시하여,&nbsp;</span><span style=\"font-family: 돋움, Dotum;\">조립을 쉽게하거나 회로를 더 잘 이해하도록 돕는 목적을 가진다.</span></p>\r\n<p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"></span><span style=\"font-family: 돋움, Dotum;\">&nbsp;</span></p>\r\n<p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><br /></span></p>\r\n<p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><br /></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-size: 11pt; font-family: 돋움, Dotum;\"><b>1-5. PCB 표면 처리</b></span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- Solder mask가 입혀지지 않은 노출된 동박을 코팅하여 산화방지, SMT용이성 등을 확보하는 작업이다.</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><br /></span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">1-5-1. HASL (Hot Air Solder Leveling)</span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 저렴하고, 긴 보관 수명을 가진다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 가장 오래된 표면 처리 기법으로, 표면 처리 과정에서 납이 함유되지만 RoHS를 위한 무연 HASL이 따로 있긴 하다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 표면이 균일하지 못하고, 미세 피치의 소자를 탑재하기 어렵다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;-&nbsp;솔더브릿지가 생길 수 있고, 도금 스루홀의 막힘/좁아짐이 나타날 수 있다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- HASL는 PCB 두께 0.6T 부터 가능하다. (한샘디지텍)</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><br /></span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">1-5-2. OSP (Organic Solderability Preservative)</span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 저렴하지만, 보관수명에 제한을 가진다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 많이 사용되는 표면처리기법이다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 표면이 평평하고, 납을 함유하지 않는다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><br /></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">1-5-3. ENIG (Electroless Nickel with Immersion Gold coatting)</span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 비싸지만, 긴 보관 수명을 가진다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 많이 사용되는 표면처리기법이다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 니켈과 금을 도금하는 방식인데, 이 도금 프로세스가 매우 엄격하다. 도금이 um 단위로 진행되는데, 이</span><span style=\"font-family: 돋움, Dotum;\">&nbsp;두께가 맞지 않으면 블랙패드/블랙니켈 (패드에 솔더링이 불가능해지는 현상), 부식 및 열내구성 하락 문제가 생길 수 있다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 알루미늄 와이어 본딩이 가능하다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- RF 신호가 손실된다고 한다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><br /></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">1-5-4. 시장에 따른 표면 처리 분류</span></b><span style=\"font-family: 돋움, Dotum;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;로우엔드 컨슈머 : HASL, OSP</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;하이엔드 컨슈머 : ENIG, 은, OSP</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;데이터/텔레콤 : 은, OSP, ENIG</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;자동차 : 은, OSP, 치환주석&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;의료용 : ENIG, ENEPIG, 은</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;항공우주, 방위, 고성능장치 : HASL, 치환주석, ENIG, ENEPIG</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><br /></span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><br /></span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><span class=\"se_fs_T3\"><br /></span></p>\r\n<p align=\"center\" style=\"padding: 0px; line-height: 2.2; text-align: center;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-size: 14pt; font-family: 돋움, Dotum;\"><b>2. 배경지식</b></span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-size: 11pt; font-family: 돋움, Dotum;\"><b>2-1. 주파수와 파장길이의 관계</b></span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><span class=\"se_fs_T3\"><img src=\"https://blogfiles.pstatic.net/MjAxODA2MjVfNjYg/MDAxNTI5OTM3MTYyNDI3.kKSiRBfyT9v_yIpvmPupoXA3sEiczTBVG7GNkQe_fT0g.47K4XqTj5QpnsvqX08GWmvgk7Sh9v-NDFxlC8Sm8G6gg.PNG.bae3421_/2018-06-24_15%3B43%3B28_3.png?type=w2\" width=\"151\" height=\"51\" id=\"MjAxODA2MjVfNjYg/MDAxNTI5OTM3MTYyNDI3.kKSiRBfyT9v_yIpvmPupoXA3sEiczTBVG7GNkQe_fT0g.47K4XqTj5QpnsvqX08GWmvgk7Sh9v-NDFxlC8Sm8G6gg.PNG.bae3421_/2018-06-24_15%3B43%3B28_3.png\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" /></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;파장 길이 (Lambda) = 파장 속도 (v) / 주파수 (f)</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;주파수 (f) = 파장 속도 (v) / 파장 길이 (Lambda)</span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 이때, 파장 속도는 아래의 표를 따른다.</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"></span></span></p>\r\n<table style=\"table-layout: fixed; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n   <tbody>\r\n      <tr>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 129.17pt; height: 11.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum; font-weight: bold; font-size: 9pt;\">진공</span><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-weight: bold; font-size: 9pt; font-family: 돋움, Dotum;\">/</span><span style=\"font-family: 돋움, Dotum; font-weight: bold; font-size: 9pt;\">공기 중 빛</span><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-weight: bold; font-size: 9pt; font-family: 돋움, Dotum;\">/</span><span style=\"font-family: 돋움, Dotum; font-weight: bold; font-size: 9pt;\">전파 속도</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 100.86pt; height: 11.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-size: 9pt; font-family: 돋움, Dotum;\">299,792,458m/s</span></p>\r\n            </td>\r\n         </tr>\r\n      <tr>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 129.17pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum; font-weight: bold;\">물 속 빛속도</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 100.86pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">224,849,965m/s</span></p>\r\n            </td>\r\n         </tr>\r\n      <tr>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 129.17pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum; font-weight: bold;\">공기중 음속</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 100.86pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">340m/s</span></p>\r\n            </td>\r\n         </tr>\r\n      <tr>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 129.17pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum; font-weight: bold;\">물속 음속</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 100.86pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">1600m/s</span></p>\r\n            </td>\r\n         </tr>\r\n      </tbody>\r\n   </table>\r\n<p style=\"padding: 0px; line-height: 1.5;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\">&nbsp;- 주파수 별 대략적인 파장 길이는 아래와 같다.</p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><img src=\"https://blogfiles.pstatic.net/MjAxODA2MjZfMTcy/MDAxNTI5OTM5NDM5MDY1.tDP77xXgPQz_3yf_Sa_TxGa9Hj0fxiBNX9IZ6h3xwEIg.MvQFlWzDP9OZ64KOf9EgRaIMW87yWDmXFjx8hlpxkH4g.JPEG.bae3421_/%EC%A3%BC%ED%8C%8C%EC%88%98%EC%9D%98_%ED%8C%8C%EC%9E%A5.jpg?type=w2\" width=\"208\" height=\"163\" id=\"MjAxODA2MjZfMTcy/MDAxNTI5OTM5NDM5MDY1.tDP77xXgPQz_3yf_Sa_TxGa9Hj0fxiBNX9IZ6h3xwEIg.MvQFlWzDP9OZ64KOf9EgRaIMW87yWDmXFjx8hlpxkH4g.JPEG.bae3421_/%EC%A3%BC%ED%8C%8C%EC%88%98%EC%9D%98_%ED%8C%8C%EC%9E%A5.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none; cursor: pointer;\" />&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 2;\"><span class=\"se_fs_T3\"><br /></span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><span class=\"se_fs_T3\"><br /></span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><span class=\"se_fs_T3\"><br /></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-size: 11pt; font-family: 돋움, Dotum;\"><b>2-2. EMC</b></span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\"><br /></span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">2-2-1. 전자기장</span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">&nbsp;전기장 (Electric Field)</span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp; - 전하, 전압으로 인한 전기력이 미치는 공간을 의미한다.</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><b><span style=\"font-family: 돋움, Dotum;\">&nbsp;자기장 (Magnetic Field)</span></b></span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp; - 자성이나 전류, 전기장 등으로 인한&nbsp;자기력이 미치는 공간을 의미한다.</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">&nbsp;전자기장 (Electro-Magnetic Field : 전기자기장)</span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 전기장과 자기장을 포함하는 개념이다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 전기장, 자기장의 각각 힘, 전속밀도, 자속밀도는 서로 상호작용을 하므로, 이 둘을 아울러 전자기장이라고 정리해 부른다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">&nbsp;전자파 (Electro-Magnetic Radiation : 전자기복사)</span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 가시광선, 적외선, 자외선, 전파 등, 전자기장의 변동이 파동으로써 공간을 통해 전파되는 현상이다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><br /></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">2-2-2. EMC/EMI/EMS</span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><b>&nbsp;EMC (Electro-Magnetic Compatibility&nbsp;: 전자환경적합성</b>&nbsp;/ 전자기적양립성 / 전자파적합성)</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- EMI(주는측)와 EMS(받는측)를 포함하는 개념이다.</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 자체 전자파 방출을 최소한으로 하는 동시에(EMI), 외부 전자파 유입에 충분한 면역을 가져야 한다(EMS).</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">&nbsp;EMI (Electro-Magnetic Interference</span><span style=\"font-family: 돋움, Dotum;\">&nbsp;: 전자파장해)</span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 자체 전자파 방출을 최소화 하는 능력이다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 이때, 장해는 장애의 반대말로 가해자 입장에서 불편을 끼치는 것을 의미한다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">&nbsp;EMS (Electro-Magnetic Susceptibility</span><span style=\"font-family: 돋움, Dotum;\">&nbsp;: 전자파감응성</span></b><span style=\"font-family: 돋움, Dotum;\">&nbsp;/ 전자파내성)</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 외부 전자파의 유입에 대한 면역 능력이다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-size: 11pt; font-family: 돋움, Dotum;\">2-3. 노이즈 분류</span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\"><br /></span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">2-3-1. 전달 방식에 따른 노이즈 분류</span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">&nbsp;전도성 노이즈 (CE,&nbsp;</span><span style=\"font-family: 돋움, Dotum;\">Conducted Emission Noise)</span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 전력선이나 신호선, 그리고</span><span style=\"font-family: 돋움, Dotum;\">&nbsp;PCB 선로 등, 낮은 임피던스의 전도체를 타고 전달받은, 30MHz 이하의 저주파 노이즈다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 비교적&nbsp;</span><span style=\"font-family: 돋움, Dotum;\">칩입경로가 확실하고, 해결하기가 쉽다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">&nbsp;방사성 노이즈 (RE, Radiated Emission Noise)</span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 자유 공간으로부터 전자파 형태로 전달받은, 30MHz 이상의 고주파 노이즈다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 넓은 영역에 걸쳐 피해를 주기 때문에, 비교적 해결하기 어렵다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 전자파 방사량은 주파수의 2승에 비례한다. 따라서 특히 OSC의 경우 클럭 주파수가 높을 수록 방사 노이즈가 강해진다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\"><br /></span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">2-3-2. 원인에 따른 노이즈 분류</span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">&nbsp;신호에 의한 노이즈</span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 교류 전원과 같은 강한 신호가, 데이터케이블 등 원치않은 장소에 전달되어 생기는 노이즈다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><b>&nbsp;인덕턴스에 의한 노이즈</b></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 릴레이, 모터, 스위치 등의 인덕턴스로 인한 역기전압 등의 노이즈이다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><b>&nbsp;공진회로에 의한 노이즈</b></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 공진이 무선통신 등의 본래 용도가 아닌, 원치 않은 때에 발생하여 생긴 노이즈다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><b>&nbsp;임피던스 부정합에 의한 노이즈</b></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 임피던스 부정합 경계점에서 발생된 반사파가 원래 파형과&nbsp;</span><span style=\"font-family: 돋움, Dotum;\">합성되어 생기는 노이즈이다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"color: #ff0000; font-family: 돋움, Dotum;\">(<b>인덕턴스</b>&nbsp;: 도선이 흐르는 전류의 크기가 변할 때 발생되는 유도자기장의 정도)</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"color: #ff0000; font-family: 돋움, Dotum;\">(<b>공진</b>&nbsp;: 비슷한 주파수가 마날 때 큰 전류나 높은 전압 등을 발생시키는 현상)&nbsp;</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"color: #ff0000; font-family: 돋움, Dotum;\">(<b>반사파</b>&nbsp;: 선로 중간에서 임피던스가 바뀔 경우, 그 경계점에서 다시 되돌아가는 신호)</span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><span class=\"se_fs_T3\"><br /></span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><span class=\"se_fs_T3\"><br /></span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><span class=\"se_fs_T3\"><br /></span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><span class=\"se_fs_T3\"><br /></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-size: 11pt; font-family: 돋움, Dotum;\"><b>2-4. 임피던스 (Impedance)</b></span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><b><br /></b></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"><b>2-4-1. 임피던스</b></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 임피던스는 Z로 표시하며, 그 단위는&nbsp;</span><span style=\"font-family: 돋움, Dotum; letter-spacing: 0pt;\">Ω이다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum; letter-spacing: 0pt;\">&nbsp;- 주파수 성분을 갖고있는 저항으로, 주파수에 따라 저항치(임피던스)는 변한다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum; letter-spacing: 0pt;\">&nbsp;- 전파 지연이 없는 균일 전송선로 상의 매 지점에서의 전류 대 전압 비를 말한다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><span style=\"font-family: 돋움, Dotum; letter-spacing: 0pt;\"><img src=\"https://blogfiles.pstatic.net/MjAxODA2MjVfMTg2/MDAxNTI5OTM4MjM0MTMz.GmD8u3CJMPQRgo5FAo00IpytvyAwH2-GC7ijvFhwkEog.kpk3AXCsr0hJ8MHG7KtBDUUCTvtimDm2S8-Ti2PKcLgg.PNG.bae3421_/2018-06-24_15%3B43%3B28_4.png?type=w2\" width=\"216\" height=\"64\" id=\"MjAxODA2MjVfMTg2/MDAxNTI5OTM4MjM0MTMz.GmD8u3CJMPQRgo5FAo00IpytvyAwH2-GC7ijvFhwkEog.kpk3AXCsr0hJ8MHG7KtBDUUCTvtimDm2S8-Ti2PKcLgg.PNG.bae3421_/2018-06-24_15%3B43%3B28_4.png\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: none rgb(0, 0, 0); cursor: pointer;\" /></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 수식에서 볼수 있듯이, 임피던스는 저항(R), 용량성/유도성리액턴스(L), 캐패시턴스(C)의 조합으로 발생한다.</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><b><br /></b></span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\"><b>2-4-2. 임피던스의 증감 조건과 목적</b></span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- PCB에서 선로의 임피던스는 배선폭, 배선두께, 절연두께, 회로형태, 유전율 등에 따라 결정된다.</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 임피던스의 감소 조건은 배선폭/두께 증가, 절연간격 감소, 바이패스/디커플링 캐패시터가 있다.</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 임피던스의 증가 조건은 레진함량/절연상수 증가가 있다.</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\" style=\"font-family: 돋움, Dotum;\">&nbsp;- 임피던스의 제어 목적은 반사파제거, 크로스토크최소화, 종단방법 및 그 값 산출에 있다.</span></span></span></span></span></span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\"><br /></span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><b><span style=\"font-family: 돋움, Dotum;\">2-4-3. 특성 임피던스</span></b></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 전송 선로에서 가지는 임피던스로, 어떤 특성을 가진다기보다는 소자/회로 간 호환성을 가지기 위한 기준점의 의미가 더 강하다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 예로, 모든 RF파트의 입력/출력단을 50</span><span style=\"font-family: 돋움, Dotum;\">Ω으로 통일하여, 임피던스 정합 없이 바로 연결해도 반사파 등으로 인한 전력전달효율을 잃지 않게 하는것이 있다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 입력/출력 간 임피던스 차이가 클수록 반사파가 생기고 전력전달효율이 떨어진다. 이는 신호증폭도감소, 잡음여유감소를 의미한다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- 일반적인 회로에서는 밸런스가 잡힌 50</span><span style=\"font-family: 돋움, Dotum;\">Ω을 쓰고, 안테나의 경우 전력전달보다 신호왜곡 최소화를 중점으로 한 75</span><span style=\"font-family: 돋움, Dotum;\">Ω을 주로 사용한다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\">&nbsp;- PCB 트레이스의 임피던스 값은 아래 표를 참조한다.</span></p>\r\n<p style=\"padding: 0px; line-height: 2;\"><span class=\"se_fs_T3\"><span class=\"se_fs_T3\"></span></span></p>\r\n<table style=\"table-layout: fixed; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n   <tbody>\r\n      <tr>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 59.53pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"></span><span style=\"font-family: 돋움, Dotum;\">&nbsp;</span><span style=\"font-family: 돋움, Dotum;\"></span></p>\r\n            </td>\r\n         <td colspan=\"4\" valign=\"middle\" style=\"word-break: break-all; width: 238.12pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2; width: 357.406px;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">W=1mm (4mil)</span></p>\r\n            </td>\r\n         <td colspan=\"3\" valign=\"middle\" style=\"word-break: break-all; width: 178.59pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2; width: 264.406px;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">W=3mm (15.7mil)</span></p>\r\n            </td>\r\n         </tr>\r\n      <tr>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 59.53pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span style=\"font-family: 돋움, Dotum;\"></span><span style=\"font-family: 돋움, Dotum;\">&nbsp;</span><span style=\"font-family: 돋움, Dotum;\"></span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 59.53pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">L=1cm</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 59.53pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">L=3cm</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 59.53pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">L=10cm</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 59.53pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">L=30cm</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 59.53pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">L=3cm</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 59.53pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">L=10cm</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 59.53pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">L=30cm</span></p>\r\n            </td>\r\n         </tr>\r\n      <tr>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 59.53pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">10MHz</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 59.53pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">0.44</span><span style=\"font-family: 돋움, Dotum; letter-spacing: 0pt;\">Ω</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 59.53pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">1.7</span><span style=\"font-family: 돋움, Dotum; letter-spacing: 0pt;\">Ω</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 59.53pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">7.3</span><span style=\"font-family: 돋움, Dotum; letter-spacing: 0pt;\">Ω</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 59.53pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.2;\"><span lang=\"EN-US\" style=\"letter-spacing: 0pt; font-family: 돋움, Dotum;\">26</span><span style=\"font-family: 돋움, Dotum; letter-spacing: 0pt;\">Ω</span></p>\r\n            </td>\r\n         <td valign=\"middle\" style=\"word-break: break-all; width: 59.53pt; height: 12.82pt; padding: 1.41pt 5.1pt; border-width: 0.28pt; border-style: solid; border-color: #000000;\">\r\n            <p class=\"0\" style=\"padding: 0px; line-height: 2.','https://blog.naver.com/bae3421_/221306715147','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:55:58',0,'2019-04-26 15:55:58','210.101.103.92','','','','','','','','','','','',''),(411,-411,'',411,0,0,'','','html1','[Arduino] 아두이노 메모리 상세 분석','<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">아두이노와 센서를 능숙하게 다루고 각종 통신 모듈과 디스플레이 모듈을 활용하기 시작하는 중급 유저라면&nbsp;메모리 문제를 한번쯤 겪기 마련입니다.&nbsp;불과 2KB의 SRAM을 가진 아두이노에서는 메모리 문제에서 자유로울 수가 없는데 반해&nbsp;이를 디버깅할 수 있는 방법이 아두이노에서는 마땅히 없습니다.&nbsp;(PC 혹은 다른 기기, 플랫폼에서도 메모리 문제가 골치거리인 점은 같지만…)</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">유일한 디버깅 방법인 Serial 함수를 이용한 디버그 메시지 출력도 Serial 통신을 활성화 하는 과정에서 통신용 버퍼를 생성하기 때문에 메모리를 잡아먹어 버립니다. 따라서 아두이노 메모리 문제는 메모리에 대해 충분히 이해하고 미리 조심하는 것이 최선이라 하겠습니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">그래서 아두이노 메모리 관련된 해외 자료들을 수집해서 정리해 봤습니다. 아래 링크가 원문입니다. 원문의 주요 내용을 정리했지만 제가 첨삭을 했습니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\"><a href=\"https://learn.adafruit.com/memories-of-an-arduino/you-know-you-have-a-memory-problem-when-dot-dot-dot\" target=\"_blank\" style=\"box-sizing: inherit; background-color: transparent; color: #009688; text-decoration-line: none; transition: color 0.35s ease 0s;\">https://learn.adafruit.com/memories-of-an-arduino/you-know-you-have-a-memory-problem-when-dot-dot-dot</a></p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<h2 style=\"box-sizing: inherit; font-family: Raleway, Arial, sans-serif; line-height: 1; color: #454545; margin: 20px 0px 10px; font-size: 24px; clear: both; background-color: #ffffff;\"><strong style=\"box-sizing: inherit;\">아두이노 메모리 분석</strong></h2>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">아두이노 스케치 사이즈가 너무 커지면 업로드 할 때 아래와 같은 에러 메시지가 발생하는 경우가 있습니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\"><a href=\"http://www.hardcopyworld.com/ngine/aduino/wp-content/uploads/sites/3/2015/07/learn_arduino_Too_Big.jpg\" style=\"box-sizing: inherit; background-color: transparent; color: #009688; text-decoration-line: none; transition: color 0.35s ease 0s;\" target=\"_blank\"><img class=\"alignnone size-full wp-image-1964\" src=\"http://www.hardcopyworld.com/ngine/aduino/wp-content/uploads/sites/3/2015/07/learn_arduino_Too_Big.jpg\" alt=\"learn_arduino_Too_Big\" width=\"800\" srcset=\"http://www.hardcopyworld.com/ngine/aduino/wp-content/uploads/sites/3/2015/07/learn_arduino_Too_Big.jpg 800w, http://www.hardcopyworld.com/ngine/aduino/wp-content/uploads/sites/3/2015/07/learn_arduino_Too_Big-300x94.jpg 300w\" sizes=\"(max-width: 800px) 100vw, 800px\" style=\"box-sizing: inherit; border: 0px; vertical-align: middle; max-width: 100%; height: auto; margin-top: 20px; margin-bottom: 20px;\" /></a></p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">하지만 이런 에러는 업로드 할 때 발생하므로 오히려 다행인 경우라고 할까요. 많은 경우는 스케치가 문제없이 업로드되지만&nbsp;동작할 때 이상한 현상을 보인다던지 죽어버리게 됩니다.&nbsp;그리고 이런 문제가 발생했을 때는 어디가 문제인지 알기 힘든 경우가 많습니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">먼저 메모리 문제는 어떻게 확인할 수 있는지 부터 보겠습니다. 스케치가 문제없이 업로드 되더라도 아래와 같은 작업을 한 뒤 문제가 발생한다면 메모리 문제일 가능성이 큽니다.</p>\r\n<ul style=\"box-sizing: inherit; margin: 0px 0px 0px 20px; list-style-position: initial; list-style-image: initial; padding: 0px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">\r\n   <li style=\"box-sizing: inherit;\">하나 이상의 라이브러리를 include 한 뒤</li>\r\n   <li style=\"box-sizing: inherit;\">몇 개의 LED pixel을 추가한 뒤 (LED 디스플레이의 각 픽셀을 말함)</li>\r\n   <li style=\"box-sizing: inherit;\">SD 카드에서 파일을 연 뒤</li>\r\n   <li style=\"box-sizing: inherit;\">디스플레이를 초기화 한 뒤</li>\r\n   <li style=\"box-sizing: inherit;\">다른 스케치와 합친 뒤</li>\r\n   <li style=\"box-sizing: inherit;\">새로운 함수를 추가한 뒤</li>\r\n   </ul>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">이런 메모리 문제를 해결하기 위해서는 아두이노의 메모리 동작 방식부터 이해해야 합니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<h2 style=\"box-sizing: inherit; font-family: Raleway, Arial, sans-serif; line-height: 1; color: #454545; margin: 20px 0px 10px; font-size: 24px; clear: both; background-color: #ffffff;\"><strong style=\"box-sizing: inherit;\">Harvard vs Princeton</strong></h2>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">컴퓨터 발전의 초기 시절에 두 개의 상반된 프로세서/메모리 아키텍처가 발표됩니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\"><a href=\"http://www.hardcopyworld.com/ngine/aduino/wp-content/uploads/sites/3/2015/07/learn_arduino_Harvard_vs_Princeton.gif\" style=\"box-sizing: inherit; background-color: transparent; color: #009688; text-decoration-line: none; transition: color 0.35s ease 0s;\" target=\"_blank\"><img class=\"alignnone wp-image-1965 size-medium\" src=\"http://www.hardcopyworld.com/ngine/aduino/wp-content/uploads/sites/3/2015/07/learn_arduino_Harvard_vs_Princeton-300x150.gif\" alt=\"learn_arduino_Harvard_vs_Princeton\" width=\"300\" style=\"box-sizing: inherit; border: 0px; vertical-align: middle; max-width: 100%; height: auto; margin-top: 20px; margin-bottom: 20px;\" /></a></p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">유명한 ENIAC을 위해 만들어진 폰 노이만(Von Neumann 또는 Princeton) 아키텍처는 (컴파일 된) 프로그램과 (프로그램 실행중 사용되는) 데이터 저장 공간을 위해&nbsp;같은 메모리 공간을 사용합니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\"><a href=\"http://www.hardcopyworld.com/ngine/aduino/wp-content/uploads/sites/3/2015/07/learn_arduino_Von_Neumann.gif\" style=\"box-sizing: inherit; background-color: transparent; color: #009688; text-decoration-line: none; transition: color 0.35s ease 0s;\" target=\"_blank\"><img class=\"alignnone wp-image-1966 size-medium\" src=\"http://www.hardcopyworld.com/ngine/aduino/wp-content/uploads/sites/3/2015/07/learn_arduino_Von_Neumann-300x194.gif\" alt=\"learn_arduino_Von_Neumann\" width=\"300\" style=\"box-sizing: inherit; border: 0px; vertical-align: middle; max-width: 100%; height: auto; margin-top: 20px; margin-bottom: 20px;\" /></a></p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">반면에 Harvard Mark 1에 사용된 하버드 아키텍처는 프로그램과 데이터 저장 공간을 위해 물리적으로 분리된 메모리를 사용합니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\"><a href=\"http://www.hardcopyworld.com/ngine/aduino/wp-content/uploads/sites/3/2015/07/learn_arduino_Harvard.gif\" style=\"box-sizing: inherit; background-color: transparent; color: #009688; text-decoration-line: none; transition: color 0.35s ease 0s;\" target=\"_blank\"><img class=\"alignnone wp-image-1967 size-medium\" src=\"http://www.hardcopyworld.com/ngine/aduino/wp-content/uploads/sites/3/2015/07/learn_arduino_Harvard-300x211.gif\" alt=\"learn_arduino_Harvard\" width=\"300\" style=\"box-sizing: inherit; border: 0px; vertical-align: middle; max-width: 100%; height: auto; margin-top: 20px; margin-bottom: 20px;\" /></a></p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">이 두 개의 상반된 아키텍처는 서로 장단점이 있습니다. 하버드 아키텍처가 성능에서 뛰어난 반면 폰 노이만 아키텍처는 더 유연합니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">근래에 사용되는 일반적인 컴퓨터(PC, 맥 등등)는 두 아키텍처의 장점을 결합한 하이브리드 디자인을 채용하고 있습니다. PC의 CPU 내부를 깊이 파고들면 instruction, data를 위한 별도의 캐시(cache)를 운용하므로 하버드 모델에 기반함을 알 수 있습니다.&nbsp;하지만 instruction, data 캐시는 자동으로 공통 메모리 공간에 올라갑니다. 프로그래밍 관점에서는 수 기가 바이트의 가상공간(virtual storage)을 가진 순수한 폰 노이만 장치처럼 보이게 됩니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<h2 style=\"box-sizing: inherit; font-family: Raleway, Arial, sans-serif; line-height: 1; color: #454545; margin: 20px 0px 10px; font-size: 24px; clear: both; background-color: #ffffff;\"><strong style=\"box-sizing: inherit;\">마이크로 컨트롤러 (Microcontrollers)</strong></h2>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">아두이노를 동작시키는 것과 같은 마이크로 컨트롤러는 임베디드 시스템을 위해 설계되었습니다.&nbsp;일반 목적의 컴퓨터와는 달리 임베디드 프로세서는 최소의 비용으로 효율적이고 안정적으로 동작하도록 요구됩니다.&nbsp;따라서 multi-layer caching, disk-based virtual memory systems 과 같은 사치스러움을 배제하고 굉장히 빡빡하게 디자인됩니다.&nbsp;이런 요구사항에는 하버드 아키텍처가 잘 어울립니다. 아두이노 UNO, Nano, Mini의 핵심 칩인 Atmega328 도 (상대적으로) 순수한 하버드 아키텍처를 사용합니다.&nbsp;따라서 작성한 프로그램(스케치)은 플래시 메모리(32KB, 프로그램 메모리라고도 부름)에 저장되고 데이터는 SRAM(2KB)에 저장됩니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">이런 작업들은 컴파일러와 run-time system에 의해 관리됩니다. 그런데 메모리의 여유가 거의 없는 상황이 되면&nbsp;이런 부분들을 인위적으로 어떻게 관리할지 전략이 필요합니다. 특히나 아두이노 같은 작은 장치에서는 메모리가 꽉 차는 상황이 쉽게 오므로 한정된 자원을 아껴써야 합니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">이제 아두이노가 가진 각 메모리의 특징들 부터 살펴보겠습니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<h3 style=\"box-sizing: inherit; font-family: Raleway, Arial, sans-serif; line-height: 1; color: #454545; margin: 15px 0px 10px; font-size: 20px; clear: both; background-color: #ffffff;\"><strong style=\"box-sizing: inherit;\">아두이노 메모리 – 플래시 메모리(Flash Memory)</strong></h3>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">플래시 메모리는 프로그램 이미지와 초기화된 데이터가 저장되는 곳입니다.&nbsp;아두이노가 실행되면 플래시 메모리에서 프로그램 코드가 실행되지만 실행중인 코드에서 플래시 메모리를 바꿀 수는 없습니다.&nbsp;플래시에 저장된 데이터를 바꾸기 위해서는 먼저 SRAM으로 복사를 해야 합니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">플래시 메모리는 SD 카드와 같은 기술입니다. 비휘발성(non-volatile)이므로 전원이 차단되도 지워지지 않습니다. 플래시 메모리는 1000,000 write cycle을 가지므로 영구적인 저장공간은 아닙니다. 하루에 10번 프로그램을 업로드 한다면 약 27년 후 한계에 다다릅니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<h3 style=\"box-sizing: inherit; font-family: Raleway, Arial, sans-serif; line-height: 1; color: #454545; margin: 15px 0px 10px; font-size: 20px; clear: both; background-color: #ffffff;\"><strong style=\"box-sizing: inherit;\">아두이노 메모리 – 램(SRAM, Static Random Access Memory)</strong></h3>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">램은 실행중인 프로그램에서 읽고 쓸수 있는 메모리입니다. 아래와 같이 데이터 종류에 따라 구분되어 사용됩니다.</p>\r\n<ul style=\"box-sizing: inherit; margin: 0px 0px 0px 20px; list-style-position: initial; list-style-image: initial; padding: 0px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">\r\n   <li style=\"box-sizing: inherit;\">Static data – 전역 변수(global variable), static 변수용으로 예약된 공간입니다. 아두이노 런타임 시스템은 프로그램이 시작할 때 플래시 메모리에서 이 값을 읽어 램으로 복사를 합니다.</li>\r\n   <li style=\"box-sizing: inherit;\">Heap – 힙은 동작으로 할당되는 데이터들을 위한 영역입니다. 힙은 데이터가 할당될 때 Static data 위에 차례로 저장하고 지웁니다.</li>\r\n   <li style=\"box-sizing: inherit;\">Stack – 스택은 지역 변수(local variable)를 위한 공간입니다. 예를 들어 함수(또는 인터럽트)가 호출되어 함수 내부 코드가 실행될 때, 함수 내부에서 선언된 변수가 있다면 스택에 저장됩니다. 스택은 (그림과 같이) 메모리 최 상위부터 힙 영역 방향으로 저장됩니다. 함수, 인터럽트 실행 또는 지역 변수 선언은 스택을 증가시킵니다. 그리고 함수, 인터럽트 실행이 끝나면 증가했던 메모리 만큼 다시 반환됩니다.</li>\r\n   <li style=\"box-sizing: inherit;\">Free memory – 위 3개의 영역으로 사용되지 않는 여유 공간.</li>\r\n   </ul>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">대부분의 메모리 문제는 여유 공간이 부족해 힙과 스택이 충돌할 때 발생합니다. 그리고 이때 어떤 일이 발생할지는 예측하기 힘듭니다.<br style=\"box-sizing: inherit;\" />어떤 경우에는 문제점이 한참 뒤에 나타나기도 합니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<h3 style=\"box-sizing: inherit; font-family: Raleway, Arial, sans-serif; line-height: 1; color: #454545; margin: 15px 0px 10px; font-size: 20px; clear: both; background-color: #ffffff;\"><strong style=\"box-sizing: inherit;\">EEPROM</strong></h3>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">EEPROM(1KB)은 프로그램에서 읽고 쓸 수 있는 비휘발성 메모리입니다. 마치 하드디스크처럼 사용이 가능합니다.&nbsp;EEPROM은 byte 단위로 읽고 쓸 수 있으며 SRAM보다 느린 특징이 있습니다. SRAM과 별도의 영역이므로 경우에 따라 유용하게 사용될 수 있습니다.&nbsp;플래시 메모리와 마찬가지로 읽기-쓰기 100,000 회 정도가 가능합니다. 메모리 문제에서의 중요성은 좀 떨어집니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<h3 style=\"box-sizing: inherit; font-family: Raleway, Arial, sans-serif; line-height: 1; color: #454545; margin: 15px 0px 10px; font-size: 20px; clear: both; background-color: #ffffff;\"><strong style=\"box-sizing: inherit;\">아두이노 메모리 비교</strong></h3>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">크게 3가지 (플래시, 램, EEPROM) 메모리로 구분하지만 아두이노 종류별로 메모리 크기는 틀립니다. 아래 표를 참고하세요.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\"><a href=\"http://www.hardcopyworld.com/ngine/aduino/wp-content/uploads/sites/3/2015/07/learn_arduino_ArduinoChart.jpg\" style=\"box-sizing: inherit; background-color: transparent; color: #009688; text-decoration-line: none; transition: color 0.35s ease 0s;\" target=\"_blank\"><img class=\"alignnone size-full wp-image-1968\" src=\"http://www.hardcopyworld.com/ngine/aduino/wp-content/uploads/sites/3/2015/07/learn_arduino_ArduinoChart.jpg\" alt=\"learn_arduino_ArduinoChart\" width=\"687\" srcset=\"http://www.hardcopyworld.com/ngine/aduino/wp-content/uploads/sites/3/2015/07/learn_arduino_ArduinoChart.jpg 687w, http://www.hardcopyworld.com/ngine/aduino/wp-content/uploads/sites/3/2015/07/learn_arduino_ArduinoChart-300x89.jpg 300w\" sizes=\"(max-width: 687px) 100vw, 687px\" style=\"box-sizing: inherit; border: 0px; vertical-align: middle; max-width: 100%; height: auto; margin-top: 20px; margin-bottom: 20px;\" /></a></p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<h2 style=\"box-sizing: inherit; font-family: Raleway, Arial, sans-serif; line-height: 1; color: #454545; margin: 20px 0px 10px; font-size: 24px; clear: both; background-color: #ffffff;\"><strong style=\"box-sizing: inherit;\">메모리 사용량 측정 방법</strong></h2>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">메모리 문제를 해결하기 위한 첫 걸음은 메모리 사용량을 측정하는 것입니다.</p>\r\n<h3 style=\"box-sizing: inherit; font-family: Raleway, Arial, sans-serif; line-height: 1; color: #454545; margin: 15px 0px 10px; font-size: 20px; clear: both; background-color: #ffffff;\">플래시 메모리</h3>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">플래시 메모리 사용량은 업로드 할 때 결정됩니다. 업로드 할 때 아두이노 개발환경의 메시지 창(하단 검은색 영역)을 보시면 컴파일 된 바이너리 사이즈가 나옵니다.&nbsp;사이즈가 너무 클 경우 에러 메시지도 여기에 표시됩니다.</p>\r\n<h3 style=\"box-sizing: inherit; font-family: Raleway, Arial, sans-serif; line-height: 1; color: #454545; margin: 15px 0px 10px; font-size: 20px; clear: both; background-color: #ffffff;\"><strong style=\"box-sizing: inherit;\">SRAM</strong></h3>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">SRAM은 동적으로 계속 변화하는 메모리이기 때문에 측정하기도 힘듭니다. 아래와 같이 free_ram() 함수를 작성해서 프로그램 곳곳에서 체크해야 합니다.</p>\r\n<div id=\"crayon-5cc2ab8ce458e871585885\" class=\"crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate\" data-settings=\" minimize scroll-mouseover\" style=\"box-sizing: border-box; text-size-adjust: none; width: 747.5px; padding: 0px; margin: 12px 0px; font-family: Monaco, MonacoRegular, &quot;Courier New&quot;, monospace; color: #505050; height: auto; overflow: hidden !important; position: relative !important; direction: ltr !important; border-width: 1px !important; border-color: #999999 !important; border-style: solid !important; text-shadow: none !important; background: rgb(253, 253, 253) !important; line-height: 15px !important;\">\r\n   <div class=\"crayon-plain-wrap\" style=\"box-sizing: inherit; background: 0px center; border: 0px; padding: 0px !important; margin: 0px !important; height: auto !important;\"><textarea wrap=\"soft\" class=\"crayon-plain print-no\" data-settings=\"dblclick\" readonly=\"\" style=\"margin: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; color: #000000; overflow: hidden; height: 90px; padding-top: 0px; padding-right: 5px; padding-left: 5px; border-width: 0px; border-style: initial; border-color: initial; border-radius: 0px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; width: 745.5px; resize: none; outline: none; position: absolute; opacity: 0; box-shadow: none; white-space: pre; overflow-wrap: normal; tab-size: 4; z-index: 0; font-size: 12px !important; line-height: 15px !important; font-family: Monaco, MonacoRegular, &quot;Courier New&quot;, monospace !important;\"></textarea></div>\r\n   <div class=\"crayon-main\" style=\"box-sizing: inherit; background: 0px center; border: 0px; padding: 0px; margin: 0px; width: 745.5px; overflow: hidden; position: relative; z-index: 1;\">\r\n      <table class=\"crayon-table\" style=\"box-sizing: inherit; margin-left: 0px; border-spacing: 0px !important; background: none !important; width: auto !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-width: initial !important; border-style: none !important; border-color: initial !important; padding: 0px !important; table-layout: auto !important;\">\r\n         <tbody style=\"box-sizing: inherit;\">\r\n            <tr class=\"crayon-row\" style=\"box-sizing: inherit; background: 0px center; padding: 0px !important; border: none !important; vertical-align: top !important; margin: 0px !important;\">\r\n               <td class=\"crayon-nums \" data-settings=\"show\" style=\"box-sizing: inherit; border-width: 0px; border-style: initial; border-color: initial; padding: 0px !important; vertical-align: top !important; margin: 0px !important; background: rgb(223, 239, 255) !important; color: #5499de !important;\">\r\n                  <div class=\"crayon-nums-content\" style=\"box-sizing: inherit; background: 0px center; border: 0px; padding: 0px; margin: 0px; white-space: nowrap; line-height: 15px !important;\">\r\n                     <div class=\"crayon-num\" data-line=\"crayon-5cc2ab8ce458e871585885-1\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\">1</div>\r\n                     <div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-5cc2ab8ce458e871585885-2\" style=\"box-sizing: inherit; font-family: inherit; background: rgb(200, 225, 250) !important; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #317cc5 !important;\">2</div>\r\n                     <div class=\"crayon-num\" data-line=\"crayon-5cc2ab8ce458e871585885-3\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\">3</div>\r\n                     <div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-5cc2ab8ce458e871585885-4\" style=\"box-sizing: inherit; font-family: inherit; background: rgb(200, 225, 250) !important; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #317cc5 !important;\">4</div>\r\n                     <div class=\"crayon-num\" data-line=\"crayon-5cc2ab8ce458e871585885-5\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\">5</div>\r\n                     <div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-5cc2ab8ce458e871585885-6\" style=\"box-sizing: inherit; font-family: inherit; background: rgb(200, 225, 250) !important; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #317cc5 !important;\">6</div>\r\n                     </div>\r\n                  </td>\r\n               <td class=\"crayon-code\" style=\"box-sizing: inherit; border-width: 0px; border-style: initial; border-color: initial; background: 0px center; width: 727px; padding: 0px !important; vertical-align: top !important; margin: 0px !important;\">\r\n                  <div class=\"crayon-pre\" style=\"box-sizing: inherit; padding: 0px; margin: 0px; white-space: pre; overflow: visible; tab-size: 4; background: none !important; border: none !important; line-height: 15px !important;\">\r\n                     <div class=\"crayon-line\" id=\"crayon-5cc2ab8ce458e871585885-1\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\"><span class=\"crayon-t\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #800080 !important;\">int</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-e\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #004ed0 !important;\">freeRam</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">(</span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">)</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span></div>\r\n                     <div class=\"crayon-line crayon-striped-line\" id=\"crayon-5cc2ab8ce458e871585885-2\" style=\"box-sizing: inherit; font-family: inherit; border: 0px; padding: 0px 5px; margin: 0px; height: inherit; background: rgb(247, 247, 247) !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\"><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">{</span></div>\r\n                     <div class=\"crayon-line\" id=\"crayon-5cc2ab8ce458e871585885-3\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\"><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\">&nbsp;&nbsp;</span><span class=\"crayon-m\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #800080 !important;\">extern</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-t\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #800080 !important;\">int</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-v\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #002d7a !important;\">__heap_start</span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">,</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-o\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\">*</span><span class=\"crayon-v\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #002d7a !important;\">__brkval</span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">;</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span></div>\r\n                     <div class=\"crayon-line crayon-striped-line\" id=\"crayon-5cc2ab8ce458e871585885-4\" style=\"box-sizing: inherit; font-family: inherit; border: 0px; padding: 0px 5px; margin: 0px; height: inherit; background: rgb(247, 247, 247) !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\"><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\">&nbsp;&nbsp;</span><span class=\"crayon-t\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #800080 !important;\">int</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-v\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #002d7a !important;\">v</span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">;</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span></div>\r\n                     <div class=\"crayon-line\" id=\"crayon-5cc2ab8ce458e871585885-5\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\"><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\">&nbsp;&nbsp;</span><span class=\"crayon-st\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #800080 !important;\">return</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">(</span><span class=\"crayon-t\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #800080 !important;\">int</span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">)</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-v\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #002d7a !important;\">&amp;v </span><span class=\"crayon-o\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\">-</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">(</span><span class=\"crayon-v\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #002d7a !important;\">__brkval</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-o\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\">==</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-cn\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #ce0000 !important;\">0</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">?</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">(</span><span class=\"crayon-t\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #800080 !important;\">int</span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">)</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-v\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #002d7a !important;\">&amp;__heap_start </span><span class=\"crayon-o\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\">:</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">(</span><span class=\"crayon-t\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #800080 !important;\">int</span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">)</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-v\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #002d7a !important;\">__brkval</span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">)</span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">;</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span></div>\r\n                     <div class=\"crayon-line crayon-striped-line\" id=\"crayon-5cc2ab8ce458e871585885-6\" style=\"box-sizing: inherit; font-family: inherit; border: 0px; padding: 0px 5px; margin: 0px; height: inherit; background: rgb(247, 247, 247) !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\"><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">}</span></div>\r\n                     </div>\r\n                  </td>\r\n               </tr>\r\n            </tbody>\r\n         </table>\r\n      </div>\r\n   </div>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">실제 free_ram() 함수가 알려주는 것은 힙과 스택 사이의 여유 공간입니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\"><a href=\"http://www.hardcopyworld.com/ngine/aduino/wp-content/uploads/sites/3/2015/07/Stack_Operation.gif\" style=\"box-sizing: inherit; background-color: transparent; color: #009688; text-decoration-line: none; transition: color 0.35s ease 0s;\" target=\"_blank\"><img class=\"alignnone wp-image-1969 size-medium\" src=\"http://www.hardcopyworld.com/ngine/aduino/wp-content/uploads/sites/3/2015/07/Stack_Operation-300x250.gif\" alt=\"Stack_Operation\" width=\"300\" style=\"box-sizing: inherit; border: 0px; vertical-align: middle; max-width: 100%; height: auto; margin-top: 20px; margin-bottom: 20px;\" /></a></p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">힙 공간은 데이터로 꽉 찬게 아니라 파편화되어 채워지기 때문에 사용되지 않는 여유공간이 있을 수 있습니다.&nbsp;하지만 이 공간은 프로그래머가 직접 사용할 수 없기 때문에 고려하지 않아도 좋습니다.&nbsp;free_ram()으로 체크되는 여유 공간을 체크해야 합니다.</p>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;</p>\r\n<h3 style=\"box-sizing: inherit; font-family: Raleway, Arial, sans-serif; line-height: 1; color: #454545; margin: 15px 0px 10px; font-size: 20px; clear: both; background-color: #ffffff;\">EEPROM</h3>\r\n<p style=\"box-sizing: inherit; margin-bottom: 10px; color: #505050; font-family: Lato, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;\">EEPROM은 100% 프로그래머가 제어가 가능하므로 어디어 어떻게 쓰고, 언제 어디서 어떻게 읽을지 스스로 계획해야 합니다. 따라서 별도로 사용량 측정이 필요한게 아니라 프로그래머가 알아서 관리해야 합니다.</p>\r\n<div id=\"crayon-5cc2ab8ce4599691021543\" class=\"crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate\" data-settings=\" minimize scroll-mouseover\" style=\"box-sizing: border-box; text-size-adjust: none; width: 747.5px; padding: 0px; margin: 12px 0px; font-family: Monaco, MonacoRegular, &quot;Courier New&quot;, monospace; color: #505050; height: auto; overflow: hidden !important; position: relative !important; direction: ltr !important; border-width: 1px !important; border-color: #999999 !important; border-style: solid !important; text-shadow: none !important; background: rgb(253, 253, 253) !important; line-height: 15px !important;\">\r\n   <div class=\"crayon-plain-wrap\" style=\"box-sizing: inherit; background: 0px center; border: 0px; padding: 0px !important; margin: 0px !important; height: auto !important;\"><textarea wrap=\"soft\" class=\"crayon-plain print-no\" data-settings=\"dblclick\" readonly=\"\" style=\"margin: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; color: #000000; overflow: hidden; height: 375px; padding-top: 0px; padding-right: 5px; padding-left: 5px; border-width: 0px; border-style: initial; border-color: initial; border-radius: 0px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; width: 745.5px; resize: none; outline: none; position: absolute; opacity: 0; box-shadow: none; white-space: pre; overflow-wrap: normal; tab-size: 4; z-index: 0; font-size: 12px !important; line-height: 15px !important; font-family: Monaco, MonacoRegular, &quot;Courier New&quot;, monospace !important;\"></textarea></div>\r\n   <div class=\"crayon-main\" style=\"box-sizing: inherit; background: 0px center; border: 0px; padding: 0px; margin: 0px; width: 745.5px; overflow: hidden; position: relative; z-index: 1;\">\r\n      <table class=\"crayon-table\" style=\"box-sizing: inherit; margin-left: 0px; border-spacing: 0px !important; background: none !important; width: auto !important; margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 0px !important; border-width: initial !important; border-style: none !important; border-color: initial !important; padding: 0px !important; table-layout: auto !important;\">\r\n         <tbody style=\"box-sizing: inherit;\">\r\n            <tr class=\"crayon-row\" style=\"box-sizing: inherit; background: 0px center; padding: 0px !important; border: none !important; vertical-align: top !important; margin: 0px !important;\">\r\n               <td class=\"crayon-nums \" data-settings=\"show\" style=\"box-sizing: inherit; border-width: 0px; border-style: initial; border-color: initial; padding: 0px !important; vertical-align: top !important; margin: 0px !important; background: rgb(223, 239, 255) !important; color: #5499de !important;\">\r\n                  <div class=\"crayon-nums-content\" style=\"box-sizing: inherit; background: 0px center; border: 0px; padding: 0px; margin: 0px; white-space: nowrap; line-height: 15px !important;\">\r\n                     <div class=\"crayon-num\" data-line=\"crayon-5cc2ab8ce4599691021543-1\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\">1</div>\r\n                     <div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-5cc2ab8ce4599691021543-2\" style=\"box-sizing: inherit; font-family: inherit; background: rgb(200, 225, 250) !important; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #317cc5 !important;\">2</div>\r\n                     <div class=\"crayon-num\" data-line=\"crayon-5cc2ab8ce4599691021543-3\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\">3</div>\r\n                     <div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-5cc2ab8ce4599691021543-4\" style=\"box-sizing: inherit; font-family: inherit; background: rgb(200, 225, 250) !important; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #317cc5 !important;\">4</div>\r\n                     <div class=\"crayon-num\" data-line=\"crayon-5cc2ab8ce4599691021543-5\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\">5</div>\r\n                     <div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-5cc2ab8ce4599691021543-6\" style=\"box-sizing: inherit; font-family: inherit; background: rgb(200, 225, 250) !important; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #317cc5 !important;\">6</div>\r\n                     <div class=\"crayon-num\" data-line=\"crayon-5cc2ab8ce4599691021543-7\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\">7</div>\r\n                     <div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-5cc2ab8ce4599691021543-8\" style=\"box-sizing: inherit; font-family: inherit; background: rgb(200, 225, 250) !important; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #317cc5 !important;\">8</div>\r\n                     <div class=\"crayon-num\" data-line=\"crayon-5cc2ab8ce4599691021543-9\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\">9</div>\r\n                     <div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-5cc2ab8ce4599691021543-10\" style=\"box-sizing: inherit; font-family: inherit; background: rgb(200, 225, 250) !important; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #317cc5 !important;\">10</div>\r\n                     <div class=\"crayon-num\" data-line=\"crayon-5cc2ab8ce4599691021543-11\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\">11</div>\r\n                     <div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-5cc2ab8ce4599691021543-12\" style=\"box-sizing: inherit; font-family: inherit; background: rgb(200, 225, 250) !important; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #317cc5 !important;\">12</div>\r\n                     <div class=\"crayon-num\" data-line=\"crayon-5cc2ab8ce4599691021543-13\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\">13</div>\r\n                     <div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-5cc2ab8ce4599691021543-14\" style=\"box-sizing: inherit; font-family: inherit; background: rgb(200, 225, 250) !important; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #317cc5 !important;\">14</div>\r\n                     <div class=\"crayon-num\" data-line=\"crayon-5cc2ab8ce4599691021543-15\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\">15</div>\r\n                     <div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-5cc2ab8ce4599691021543-16\" style=\"box-sizing: inherit; font-family: inherit; background: rgb(200, 225, 250) !important; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #317cc5 !important;\">16</div>\r\n                     <div class=\"crayon-num\" data-line=\"crayon-5cc2ab8ce4599691021543-17\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\">17</div>\r\n                     <div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-5cc2ab8ce4599691021543-18\" style=\"box-sizing: inherit; font-family: inherit; background: rgb(200, 225, 250) !important; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #317cc5 !important;\">18</div>\r\n                     <div class=\"crayon-num\" data-line=\"crayon-5cc2ab8ce4599691021543-19\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\">19</div>\r\n                     <div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-5cc2ab8ce4599691021543-20\" style=\"box-sizing: inherit; font-family: inherit; background: rgb(200, 225, 250) !important; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #317cc5 !important;\">20</div>\r\n                     <div class=\"crayon-num\" data-line=\"crayon-5cc2ab8ce4599691021543-21\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\">21</div>\r\n                     <div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-5cc2ab8ce4599691021543-22\" style=\"box-sizing: inherit; font-family: inherit; background: rgb(200, 225, 250) !important; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #317cc5 !important;\">22</div>\r\n                     <div class=\"crayon-num\" data-line=\"crayon-5cc2ab8ce4599691021543-23\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\">23</div>\r\n                     <div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-5cc2ab8ce4599691021543-24\" style=\"box-sizing: inherit; font-family: inherit; background: rgb(200, 225, 250) !important; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #317cc5 !important;\">24</div>\r\n                     <div class=\"crayon-num\" data-line=\"crayon-5cc2ab8ce4599691021543-25\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; text-align: center; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\">25</div>\r\n                     </div>\r\n                  </td>\r\n               <td class=\"crayon-code\" style=\"box-sizing: inherit; border-width: 0px; border-style: initial; border-color: initial; background: 0px center; width: 720px; padding: 0px !important; vertical-align: top !important; margin: 0px !important;\">\r\n                  <div class=\"crayon-pre\" style=\"box-sizing: inherit; padding: 0px; margin: 0px; white-space: pre; overflow: visible; tab-size: 4; background: none !important; border: none !important; line-height: 15px !important;\">\r\n                     <div class=\"crayon-line\" id=\"crayon-5cc2ab8ce4599691021543-1\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\"><span class=\"crayon-c\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #ff8000 !important;\">// ************************************************</span></div>\r\n                     <div class=\"crayon-line crayon-striped-line\" id=\"crayon-5cc2ab8ce4599691021543-2\" style=\"box-sizing: inherit; font-family: inherit; border: 0px; padding: 0px 5px; margin: 0px; height: inherit; background: rgb(247, 247, 247) !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\"><span class=\"crayon-c\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #ff8000 !important;\">// Write floating point values to EEPROM</span></div>\r\n                     <div class=\"crayon-line\" id=\"crayon-5cc2ab8ce4599691021543-3\" style=\"box-sizing: inherit; font-family: inherit; background: 0px center; border: 0px; padding: 0px 5px; margin: 0px; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\"><span class=\"crayon-c\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #ff8000 !important;\">// ************************************************</span></div>\r\n                     <div class=\"crayon-line crayon-striped-line\" id=\"crayon-5cc2ab8ce4599691021543-4\" style=\"box-sizing: inherit; font-family: inherit; border: 0px; padding: 0px 5px; margin: 0px; height: inherit; background: rgb(247, 247, 247) !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important;\"><span class=\"crayon-t\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #800080 !important;\">void</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-e\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #004ed0 !important;\">EEPROM_writeDouble</span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #333333 !important;\">(</span><span class=\"crayon-t\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #800080 !important;\">int</span><span class=\"crayon-h\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #006fe0 !important;\"></span><span class=\"crayon-v\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; color: #002d7a !important;\">address</span><span class=\"crayon-sy\" style=\"box-sizing: inherit; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; font-weigh','http://www.hardcopyworld.com/ngine/aduino/index.php/archives/1963','',1,0,3,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:56:37',0,'2019-04-26 15:56:37','210.101.103.92','','','','','','','','','','','',''),(412,-412,'',412,0,0,'','','html1','[Eagle] EagleCAD파일로 PCB만들기','<p><span style=\"color: #404040; font-family: 굴림;\">1. Via에 솔더마스크 적용하는법&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><a href=\"http://pashiran.tistory.com/830?category=371667\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">http://pashiran.tistory.com/830?category=371667</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">2. 중국업체에 PCB주문하는법&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><a href=\"http://pashiran.tistory.com/828?category=371667\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">http://pashiran.tistory.com/828?category=371667</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">&gt;&gt; 주문업체 실제 링크&nbsp;</span><a href=\"https://jlcpcb.com/\" target=\"_new\" style=\"text-decoration-line: none; color: #3a4e40; font-family: 굴림;\">https://jlcpcb.com/</a><span style=\"color: #404040; font-family: 굴림;\">&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /></p>','','',0,0,3,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:56:52',0,'2019-04-26 15:56:52','210.101.103.92','','','','','','','','','','','',''),(413,-413,'',413,0,0,'','','html1','[ETC] LED모듈 제작시 저항의 허용전력 고려하기','<p><span style=\"color: #404040; font-family: 굴림;\">LED모듈 제작시 저항의 허용전력 고려하기&nbsp;</span><br style=\"color: #404040; font-family: 굴림;\" /><br style=\"color: #404040; font-family: 굴림;\" /><span style=\"color: #404040; font-family: 굴림;\">0.046w * 250ea = 11.5w&nbsp;</span></p>','http://www.ledfactory.kr/ab-1659-6&OTSKIN=layout_ptr.php','',6,0,10,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 15:57:23',0,'2019-04-26 15:57:23','210.101.103.92','','','','','','','','','','','',''),(414,-414,'',414,0,0,'','','html1','아두이노 디지털 멀티미터 3 - 아두이노로 저항 및 컨덴서값 측정하기','<div class=\"se_component se_paragraph default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; word-break: normal; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea\" style=\"position: relative; width: 693px; margin: 0px auto; max-width: none;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea se_ff_nanumgothic se_fs_T3 se_align-left\" style=\"position: relative; font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; overflow-wrap: break-word; line-height: 22.4px;\">\r\n            <div class=\"se_editView\" style=\"position: relative;\">\r\n               <div class=\"se_textView\">\r\n                  <p class=\"se_textarea\" style=\"padding: 0px; width: 693px; height: 352px; outline: 0px; border: none; background: 0px 0px; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; text-align: inherit; font-style: inherit; text-decoration: inherit; resize: none; overflow-wrap: break-word; word-break: break-all;\"><span style=\"font-weight: 600; background-color: inherit;\">1.&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\"></span><span style=\"font-weight: 600; background-color: inherit;\">아두이노로</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">저항</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">측정하기</span><span style=\"font-weight: 600; background-color: inherit;\"></span><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;<br /><span style=\"font-weight: 600; background-color: inherit;\">아두이노로</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">저항</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">측정하기</span><br /><br />아두이노로 저항을 측정하는 방법은 컨덴서값 측정하는 방법보다 비교적 간단합니다. 아시다시피 아두이노는 전압을 측정할 수가 있지 저항을 측정하지는 않지만 간단한 전압 분배 회로로 간단하게 저항을 측정할 수 있습니다.&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_image default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea se_align-center\" style=\"position: relative; width: 693px; margin: 0px auto; text-align: center; max-width: none; font-size: 0px;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea\" style=\"position: relative; margin-right: auto; margin-left: auto; max-width: 300px;\"><a href=\"https://blog.naver.com/PostView.nhn?blogId=jedijaja&amp;logNo=220960696688&amp;redirect=Dlog&amp;widgetTypeCall=true&amp;topReferer=http%3A%2F%2Fgeoworld.cafe24.com%2Fgnu3%2F%3Fdoc%3Dbbs%2Fgnuboard.php%26bo_table%3DLinkboard%26page%3D1%26wr_id%3D1156&amp;directAccess=false#\" class=\"se_mediaArea __se_image_link __se_link\" data-linktype=\"img\" data-linkdata=\"{&quot;imgId&quot; : &quot;SEDOC-1526817330770-75970654_image_0_img&quot;, &quot;src&quot; : &quot;https://postfiles.pstatic.net/MjAxNzAzMTdfMTQ2/MDAxNDg5NzUwMDExNjYx.PmpfRzwWhP7FKwAK9O6PaliBOSrx8PqCZPWPgaH-axAg.AwJ2nLLOhRbNpNbewr0YNGoxtFnY84rduO9aPNWe3G0g.PNG.jedijaja/%EC%A0%84%EC%95%95_%EB%B6%84%EB%B0%B0_%ED%9A%8C%EB%A1%9C.png&quot;, &quot;linkUse&quot; : &quot;false&quot;, &quot;link&quot; : &quot;&quot;}\" style=\"color: #000000; text-decoration-line: none; position: relative; display: block;\" target=\"_blank\"><img id=\"SEDOC-1526817330770-75970654_image_0_img\" class=\"se_mediaImage __se_img_el\" src=\"https://postfiles.pstatic.net/MjAxNzAzMTdfMTQ2/MDAxNDg5NzUwMDExNjYx.PmpfRzwWhP7FKwAK9O6PaliBOSrx8PqCZPWPgaH-axAg.AwJ2nLLOhRbNpNbewr0YNGoxtFnY84rduO9aPNWe3G0g.PNG.jedijaja/%EC%A0%84%EC%95%95_%EB%B6%84%EB%B0%B0_%ED%9A%8C%EB%A1%9C.png?type=w773\" data-lazy-src=\"\" data-width=\"300\" data-height=\"307\" data-attachment-id=\"I95GRBED8v8YEvBOFNf2SgfIizZ8\" alt=\"\" style=\"border: 0px; vertical-align: top; height: auto; width: 300px; max-width: 100%;\" /></a></div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_paragraph default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; word-break: normal; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea\" style=\"position: relative; width: 693px; margin: 0px auto; max-width: none;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea se_ff_nanumgothic se_fs_T3 se_align-left\" style=\"position: relative; font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; overflow-wrap: break-word; line-height: 1.9;\">\r\n            <div class=\"se_editView\" style=\"position: relative;\">\r\n               <div class=\"se_textView\">\r\n                  <p class=\"se_textarea\" style=\"padding: 0px; width: 693px; height: 360px; outline: 0px; border: none; background: 0px 0px; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; text-align: inherit; font-style: inherit; text-decoration: inherit; resize: none; overflow-wrap: break-word; word-break: break-all;\">위와 같이 전압 분배 회로가 있을 때&nbsp;<br />&nbsp;&nbsp;<br /><span style=\"font-weight: 600; background-color: inherit;\">Vout = R2/(R1+R2)*Vref</span><br />&nbsp;&nbsp;<br />가 됩니다.<span style=\"background-color: inherit;\"><br /><br /></span><span style=\"background-color: inherit;\">이 때 Vref, Vout, R1을 안다고 하면</span><br />&nbsp;&nbsp;<br /><span style=\"font-weight: 600; background-color: inherit;\">R2 = Vout/(Vref - Vout) * R1</span><span style=\"background-color: inherit;\"><br /><br /></span><span style=\"background-color: inherit;\">으로 구할 수 있습니다.. 즉 Vref = 5 V, R1 = 1 kohm, Vout은 아두이노로 측정 하게 되면 R2를 알게 되는 것입니다. 즉 아래와 같이 결선하고</span><br /></p>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_image default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea se_align-center\" style=\"position: relative; width: 693px; margin: 0px auto; text-align: center; max-width: none; font-size: 0px;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea\" style=\"position: relative; margin-right: auto; margin-left: auto; max-width: 600px;\"><a href=\"https://blog.naver.com/PostView.nhn?blogId=jedijaja&amp;logNo=220960696688&amp;redirect=Dlog&amp;widgetTypeCall=true&amp;topReferer=http%3A%2F%2Fgeoworld.cafe24.com%2Fgnu3%2F%3Fdoc%3Dbbs%2Fgnuboard.php%26bo_table%3DLinkboard%26page%3D1%26wr_id%3D1156&amp;directAccess=false#\" class=\"se_mediaArea __se_image_link __se_link\" data-linktype=\"img\" data-linkdata=\"{&quot;imgId&quot; : &quot;SEDOC-1526817330770-75970654_image_1_img&quot;, &quot;src&quot; : &quot;https://postfiles.pstatic.net/MjAxNzAzMTdfODUg/MDAxNDg5NzUwMDQ2Mjcy.8rsGl6G3xIoWVK-dwS24zGT_6eIeZe38V2-gUnGGTW0g.n665Kw3BvxAUmGnUPA45kdaQk1gadXdVcohVFIOp6Zkg.PNG.jedijaja/%EC%95%84%EB%91%90%EC%9D%B4%EB%85%B8%EB%A1%9C_%EC%A0%80%ED%95%AD_%EC%9E%AC%EA%B8%B0.png&quot;, &quot;linkUse&quot; : &quot;false&quot;, &quot;link&quot; : &quot;&quot;}\" style=\"color: #000000; text-decoration-line: none; position: relative; display: block;\" target=\"_blank\"><img id=\"SEDOC-1526817330770-75970654_image_1_img\" class=\"se_mediaImage __se_img_el\" src=\"https://postfiles.pstatic.net/MjAxNzAzMTdfODUg/MDAxNDg5NzUwMDQ2Mjcy.8rsGl6G3xIoWVK-dwS24zGT_6eIeZe38V2-gUnGGTW0g.n665Kw3BvxAUmGnUPA45kdaQk1gadXdVcohVFIOp6Zkg.PNG.jedijaja/%EC%95%84%EB%91%90%EC%9D%B4%EB%85%B8%EB%A1%9C_%EC%A0%80%ED%95%AD_%EC%9E%AC%EA%B8%B0.png?type=w773\" data-lazy-src=\"\" data-width=\"600\" data-height=\"355\" data-attachment-id=\"IDHDmW3MqNwkIKFr6IMn0qPANSp8\" alt=\"\" style=\"border: 0px; vertical-align: top; height: auto; width: 600px; max-width: 100%;\" /></a></div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_paragraph default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; word-break: normal; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea\" style=\"position: relative; width: 693px; margin: 0px auto; max-width: none;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea se_ff_nanumgothic se_fs_T3 se_align-left\" style=\"position: relative; font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; overflow-wrap: break-word; line-height: 1.9;\">\r\n            <div class=\"se_editView\" style=\"position: relative;\">\r\n               <div class=\"se_textView\">\r\n                  <p class=\"se_textarea\" style=\"padding: 0px; width: 693px; height: 2100px; outline: 0px; border: none; background: 0px 0px; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; text-align: inherit; font-style: inherit; text-decoration: inherit; resize: none; overflow-wrap: break-word; word-break: break-all;\">probe와 Gnd 사이에 저항을 연결하고 A3에서 Vout을 재면 츠정하고자 하는 저항값을 위의 식에 의해 구할 수 있게 됩니다.<br />&nbsp;&nbsp;<br />간단하죠.<br />&nbsp;&nbsp;<br /><span style=\"font-weight: 600; background-color: inherit;\">저항값에</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">따른</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">기준</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">저항</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">설정</span><br />&nbsp;&nbsp;<br />그런데 기준 저항(R1)을 정할 때 위에서는 그냥 적당히 1 kohm을 사용했는데 사실은 약간의 제약이 있습니다. 예를 들면 위와 같은 경우 1 kohm, 2 kohm, 10 kohm을 재는 경우 각 각 Vout이 2.5 V, 3.33 V, 4.54 V 이렇게 어느 정도 차이가 있어 계산식에 넣으면 비교적 정확하게 잴 수 있습니다.<br />&nbsp;&nbsp;<br />하지만 10 Mohm, 20Mohm의 경우는 어떨까요 ?<br />&nbsp;&nbsp;<br />위의 식에 대입해 보면 10 Mohm의 경우 4.999 V,&nbsp; 20 Mohm의 경우 4.999 V 이렇게 똑같이 나옵니다.<br />즉, 기준 저항 1 kohm과 측정 저항 10 Mohm 사이에 값 차이가 너무 나서 R1 이나 R1 + R2 나 Vout값이 거의 같은 값으로 나오기 때문에 변별력이 없어 지는 거죠.<br />&nbsp;&nbsp;<br />그럼, 이럴 땐 어떻게 해야 할 까요 ?<br />&nbsp;&nbsp;<br />간단합니다. 기준 저항을 10 M ohm으로 바꿔 주면 Vout이 2.5 V, 3.33 V가 되어 정확하게 10 Mohm과 20 Mohm을 측정할 수 있게 되는 거죠.<br /><br />그런데 또 하지만 측정하고자 하는 저항을 잘 모르는데 어떻게 기준 저항을 정할까요 ?&nbsp;<br />&nbsp;&nbsp;<br />이 것도 대강은 예측이 되는게 위의 경우처럼 측정 저항이 기준 저항보다 너무 높으면 측정 전압이 거의 5 V에 근접하고 측정 저항이 너무 낮으면 거의 0 V에 근접하므로 대강 측정값이 너무 높으면 기준 저항을 확끈하게 올려서 다시 재보고 측정 전압이 너무 낮으면 기준 저항을 확끈하게 낮춰서 재면 정확하게 잴 수 있습니다.<br />&nbsp;&nbsp;<br />요새야 멀티미터 내부의 A/D 분해능도 높고 가변 저항 칩도 잘 나와 있고 해서 멀티미터 내부적으로 기준 저항을 자동적으로 설정하여 측정 저항을 저항대를 예측해서 측정할 필요가 없지만 옛날 멀티미터 같은 경우 측정 저항 레벨을 대강 추측해서 그 구간으로 멀티미터의 레버를 돌려 선택할 수 있게 했습니다.<br />&nbsp;&nbsp;<br />제가 만든 아두이노 멀티미터(&nbsp;<a class=\"se_link\" href=\"http://blog.daum.net/jedi_jaja/2,\" target=\"_blank\" style=\"color: #608cba !important;\">http://blog.daum.net/jedi_jaja/2,</a>&nbsp;<a class=\"se_link\" href=\"http://blog.naver.com/jedijaja/220711360074\" target=\"_blank\" style=\"color: #608cba !important;\">http://blog.naver.com/jedijaja/220711360074</a>&nbsp;참조)의 경우 기준 저항을 1 kohm으로&nbsp; 고정해서 계산을 하게 해 놓은 관계로 10 ohm 이하, 1Mohm 이상에서는 위와 같은 이유로 부정확한 결과가 나올 수 밖에 없는 상황입니다 ^^&nbsp;<br /><br />&nbsp;&nbsp;<br /><span style=\"font-weight: 600; background-color: inherit;\">2.</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">아두이노로</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">컨덴서값</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">측정하기</span><span style=\"font-weight: 600; background-color: inherit;\"></span><br />&nbsp;&nbsp;<br />컨덴서 측정 기능은 원래 아두이노 멀티미터(<a class=\"se_link\" href=\"http://blog.naver.com/jedijaja/220711360074\" target=\"_blank\" style=\"color: #608cba !important;\">http://blog.naver.com/jedijaja/220711360074</a>&nbsp;참조)를 버젼업 할 때 추가하려고 아두이노로 테스트만 해 놓고 아직까지 못하고 있는 부분인데요. ( 측정은 잘되는데 기능이 많아 지니까 안드로이드와 아두이노와의 통신이 자꾸 쫑이 나서 아직까지도 기능을 넣지 못하고 있습니다 T.T )<br />&nbsp;&nbsp;<br />일단 여기서는 아두이노로 콘덴서값을 어떻게 측정할 수 있는지 예제와 함께 설명해보도록 하겠습니다.&nbsp;<br />&nbsp;&nbsp;<br /><span style=\"font-weight: 600; background-color: inherit;\">콘덴서값</span><span style=\"font-weight: 600; background-color: inherit;\">(&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">커패시턴스</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;)&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">측정해서</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">어디에</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">쓰나</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;?</span><br />&nbsp;&nbsp;<br />일단 멀티미터의 한 기능이긴 하지만 재미로 콘덴서값을 보는 게 아니면 그다지 실용적인 기능은 아닙니다만 컨덴서값 즉 커패시턴스를 재는 기능은 센서 측정에서 다른 의미로 매우 중요한 기능입니다. 일 례로 스마트폰의 터치스크린이 손가락과 화면 사이의 커패시턴스를 재서 측정하는 원리이고 다른 예로는 반도체 장비에서 많이 쓰이는 거리 센서인 갭 센서도 스테이지와 센서 사이의 커패시턴스를 재서 거의 나노미터 이하의 분해능으로 거리를 잽니다.<br />이런 의미에서 커패시턴스를 재는 기능은 멀티미터 뿐만 아니라 여러 센서 분야에 꼭 필요한 기능이라고 할 수 있겠습니다.<br /><span style=\"background-color: inherit;\"><span style=\"font-weight: 600; background-color: inherit;\"></span><br /></span><span style=\"background-color: inherit;\"><span style=\"font-weight: 600; background-color: inherit;\"></span><br /></span><span style=\"background-color: inherit;\"><span style=\"font-weight: 600; background-color: inherit;\">일반적인</span></span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">커패시턴스</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">측정</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">방법</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;(&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">충전</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">시간</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">측정법</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;)</span><br />&nbsp;&nbsp;<br />커패시턴스는 저항처럼 그냥 전압만 정적으로 재서는 측정할 수가 없습니다. 왜냐면 이 놈은 동적이기 때문이죠. 즉 시간에 따라서 값이 변한다는 예기입니다. 즉, 어느 한 시점의 측정값만으로는 측정을 할 수 없고 측정 시점의 시간까지 재야 정확한 값을 얻을 수 있다는 예기죠.<span style=\"background-color: inherit;\"><br /><br /></span><span style=\"background-color: inherit;\">가장 많이 쓰이는 방법이 아래와 같은 RC 회로에서 커패시터( 콘덴서 )에 저항을 통해 전압 Vref를 가하면 커패시터의 전압 Vout은 가해진 전압 Vref가 바로 되는 게 아니라 시간이 지나야 Vref만큼 올라가는데 이 전압의 63 %에 도달하는 시간이 콘덴서값에 비례하기 때문에 이 시간을 재면 콘덴서값을 알 수 있는 원리를 이용합니다.</span><br />&nbsp;&nbsp;<br /></p>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_image default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea se_align-center\" style=\"position: relative; width: 693px; margin: 0px auto; text-align: center; max-width: none; font-size: 0px;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea\" style=\"position: relative; margin-right: auto; margin-left: auto; max-width: 400px;\"><a href=\"https://blog.naver.com/PostView.nhn?blogId=jedijaja&amp;logNo=220960696688&amp;redirect=Dlog&amp;widgetTypeCall=true&amp;topReferer=http%3A%2F%2Fgeoworld.cafe24.com%2Fgnu3%2F%3Fdoc%3Dbbs%2Fgnuboard.php%26bo_table%3DLinkboard%26page%3D1%26wr_id%3D1156&amp;directAccess=false#\" class=\"se_mediaArea __se_image_link __se_link\" data-linktype=\"img\" data-linkdata=\"{&quot;imgId&quot; : &quot;SEDOC-1526817330770-75970654_image_2_img&quot;, &quot;src&quot; : &quot;https://postfiles.pstatic.net/MjAxNzAzMTdfMTQ1/MDAxNDg5NzUwMTg1ODk2.VBAOmtfHP-AILT2ZuKN2OXt02EzG22wd8lMRZyVdNnEg.QRK6l3y34GK2cvJriigG3_-_Qf8tDmfv24yI9Y8GEpUg.PNG.jedijaja/RC_%ED%9A%8C%EB%A1%9C.png&quot;, &quot;linkUse&quot; : &quot;false&quot;, &quot;link&quot; : &quot;&quot;}\" style=\"color: #000000; text-decoration-line: none; position: relative; display: block;\" target=\"_blank\"><img id=\"SEDOC-1526817330770-75970654_image_2_img\" class=\"se_mediaImage __se_img_el\" src=\"https://postfiles.pstatic.net/MjAxNzAzMTdfMTQ1/MDAxNDg5NzUwMTg1ODk2.VBAOmtfHP-AILT2ZuKN2OXt02EzG22wd8lMRZyVdNnEg.QRK6l3y34GK2cvJriigG3_-_Qf8tDmfv24yI9Y8GEpUg.PNG.jedijaja/RC_%ED%9A%8C%EB%A1%9C.png?type=w773\" data-lazy-src=\"\" data-width=\"400\" data-height=\"180\" data-attachment-id=\"ILPiiflMJJtG7MEJQbNv3jLlZl2g\" alt=\"\" style=\"border: 0px; vertical-align: top; height: auto; width: 400px; max-width: 100%;\" /></a></div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_image default\" style=\"margin-top: 5px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea se_align-center\" style=\"position: relative; width: 693px; margin: 0px auto; text-align: center; max-width: none; font-size: 0px;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea\" style=\"position: relative; margin-right: auto; margin-left: auto; max-width: 500px;\"><a href=\"https://blog.naver.com/PostView.nhn?blogId=jedijaja&amp;logNo=220960696688&amp;redirect=Dlog&amp;widgetTypeCall=true&amp;topReferer=http%3A%2F%2Fgeoworld.cafe24.com%2Fgnu3%2F%3Fdoc%3Dbbs%2Fgnuboard.php%26bo_table%3DLinkboard%26page%3D1%26wr_id%3D1156&amp;directAccess=false#\" class=\"se_mediaArea __se_image_link __se_link\" data-linktype=\"img\" data-linkdata=\"{&quot;imgId&quot; : &quot;SEDOC-1526817330770-75970654_image_3_img&quot;, &quot;src&quot; : &quot;https://postfiles.pstatic.net/MjAxNzAzMTdfODgg/MDAxNDg5NzUwMjA0NTAz.mjPeTQgEm1CY_3zTDkb0SG8AUdwC7_ZquyN4yNBYsUog.3xnoPU6p_ngZAIU3glFnY20AIGsp9AC7TbsBkIXa83Ag.PNG.jedijaja/%EC%BB%A8%EB%8D%B4%EC%84%9C_%EC%8B%9C%EA%B0%84_%ED%8A%B9%EC%84%B1_%EA%B7%B8%EB%9E%98%ED%94%84.png&quot;, &quot;linkUse&quot; : &quot;false&quot;, &quot;link&quot; : &quot;&quot;}\" style=\"color: #000000; text-decoration-line: none; position: relative; display: block;\" target=\"_blank\"><img id=\"SEDOC-1526817330770-75970654_image_3_img\" class=\"se_mediaImage __se_img_el\" src=\"https://postfiles.pstatic.net/MjAxNzAzMTdfODgg/MDAxNDg5NzUwMjA0NTAz.mjPeTQgEm1CY_3zTDkb0SG8AUdwC7_ZquyN4yNBYsUog.3xnoPU6p_ngZAIU3glFnY20AIGsp9AC7TbsBkIXa83Ag.PNG.jedijaja/%EC%BB%A8%EB%8D%B4%EC%84%9C_%EC%8B%9C%EA%B0%84_%ED%8A%B9%EC%84%B1_%EA%B7%B8%EB%9E%98%ED%94%84.png?type=w773\" data-lazy-src=\"\" data-width=\"500\" data-height=\"283\" data-attachment-id=\"IOdyhXSt8y1J8ryLLoSjoOVHImxE\" alt=\"\" style=\"border: 0px; vertical-align: top; height: auto; width: 500px; max-width: 100%;\" /></a></div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_paragraph default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; word-break: normal; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea\" style=\"position: relative; width: 693px; margin: 0px auto; max-width: none;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea se_ff_nanumgothic se_fs_T3 se_align-left\" style=\"position: relative; font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; overflow-wrap: break-word; line-height: 1.9;\">\r\n            <div class=\"se_editView\" style=\"position: relative;\">\r\n               <div class=\"se_textView\">\r\n                  <p class=\"se_textarea\" style=\"padding: 0px; width: 693px; height: 480px; outline: 0px; border: none; background: 0px 0px; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; text-align: inherit; font-style: inherit; text-decoration: inherit; resize: none; overflow-wrap: break-word; word-break: break-all;\">위의 그래프를 보면 전압의 63 % 즉 Vout = 0.63 * Vref 가 되는 시간 T를 재면&nbsp;<br /><br /><span style=\"font-weight: 600; background-color: inherit;\">C = T/R (&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">T</span><span style=\"font-weight: 600; background-color: inherit;\">는</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;Vout = 0.63 * Vref&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">되는</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">시간</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;)</span><br /><br />위의 식으로 C 즉 컨덴서값을 구할 수 있게 됩니다.<br />(위의 식의 자세한 유도는 다른 곳에서 쉽게 구할 수 있으므로 여기서는 생략하도록 하겠습니다 ^^ )<br /><br /><span style=\"font-weight: 600; background-color: inherit;\">커패시턴스</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">값이</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">작을</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">경우</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">방법</span><br /><br />그런데 위의 식은 커피시턴스 값이 어느 정도 큰 경우( 약 1 nF 이상 )에서는 비교적 잘 맞지만 1 nF 이하의 작은 커패시턴스를 측정할 때는 잘 맞지 않습니다. 이유는 63 % 까지 올라가는 시간이 너무 짧아서 일반적인 아두이노의 시간 분해능 ( 약 1 usec ) 보다 작거나 겨우 1 ~ 2 usec 정도로 측정이 되면 정확성이 너무 떨어지기 때문이기 때문입니다.&nbsp;<span style=\"background-color: inherit;\"><br /><br /></span><span style=\"background-color: inherit;\">이럴 경우 아래와 같이 저항을 잴 때 사용한 전압 분배 회로와 비슷한 방법으로 측정을 합니다.</span><br />즉 아래와 같이 콘덴서가 직렬로 연결된 경우 각 단마다 CV는 일정하므로&nbsp;&nbsp;</p>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_image default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea se_align-center\" style=\"position: relative; width: 693px; margin: 0px auto; text-align: center; max-width: none; font-size: 0px;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea\" style=\"position: relative; margin-right: auto; margin-left: auto; max-width: 300px;\"><a href=\"https://blog.naver.com/PostView.nhn?blogId=jedijaja&amp;logNo=220960696688&amp;redirect=Dlog&amp;widgetTypeCall=true&amp;topReferer=http%3A%2F%2Fgeoworld.cafe24.com%2Fgnu3%2F%3Fdoc%3Dbbs%2Fgnuboard.php%26bo_table%3DLinkboard%26page%3D1%26wr_id%3D1156&amp;directAccess=false#\" class=\"se_mediaArea __se_image_link __se_link\" data-linktype=\"img\" data-linkdata=\"{&quot;imgId&quot; : &quot;SEDOC-1526817330770-75970654_image_4_img&quot;, &quot;src&quot; : &quot;https://postfiles.pstatic.net/MjAxNzAzMTdfMTE1/MDAxNDg5NzUwMjgwNDc1.HbIKDdApHxU5O2sa4FlXrFYo2fDprLNPNnX9nJMZbmAg.V1sElhB4mgzAkOu6ULv0sPof7CSoZhvDzSN8-L8KSTUg.PNG.jedijaja/%EC%BB%A4%ED%8C%A8%EC%8B%9C%ED%84%B4%EC%8A%A4_%EB%B6%84%EB%B0%B0_%ED%9A%8C%EB%A1%9C.png&quot;, &quot;linkUse&quot; : &quot;false&quot;, &quot;link&quot; : &quot;&quot;}\" style=\"color: #000000; text-decoration-line: none; position: relative; display: block;\" target=\"_blank\"><img id=\"SEDOC-1526817330770-75970654_image_4_img\" class=\"se_mediaImage __se_img_el\" src=\"https://postfiles.pstatic.net/MjAxNzAzMTdfMTE1/MDAxNDg5NzUwMjgwNDc1.HbIKDdApHxU5O2sa4FlXrFYo2fDprLNPNnX9nJMZbmAg.V1sElhB4mgzAkOu6ULv0sPof7CSoZhvDzSN8-L8KSTUg.PNG.jedijaja/%EC%BB%A4%ED%8C%A8%EC%8B%9C%ED%84%B4%EC%8A%A4_%EB%B6%84%EB%B0%B0_%ED%9A%8C%EB%A1%9C.png?type=w773\" data-lazy-src=\"\" data-width=\"300\" data-height=\"273\" data-attachment-id=\"ILARdDoijUnVnJnNLcOANL1_DUJw\" alt=\"\" style=\"border: 0px; vertical-align: top; height: auto; width: 300px; max-width: 100%;\" /></a></div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_paragraph default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; word-break: normal; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea\" style=\"position: relative; width: 693px; margin: 0px auto; max-width: none;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea se_ff_nanumgothic se_fs_T3 se_align-left\" style=\"position: relative; font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; overflow-wrap: break-word; line-height: 1.9;\">\r\n            <div class=\"se_editView\" style=\"position: relative;\">\r\n               <div class=\"se_textView\">\r\n                  <p class=\"se_textarea\" style=\"padding: 0px; width: 693px; height: 1080px; outline: 0px; border: none; background: 0px 0px; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; text-align: inherit; font-style: inherit; text-decoration: inherit; resize: none; overflow-wrap: break-word; word-break: break-all;\"><span style=\"background-color: inherit;\"><span style=\"font-weight: 600; background-color: inherit;\">CV = C2*Vout = Ct*Vref = Vref*C1*C2/(C1+C2)</span><br /></span><span style=\"background-color: inherit;\"><span style=\"font-weight: 600; background-color: inherit;\"></span></span><br />즉&nbsp;<br />&nbsp;&nbsp;<br /><span style=\"font-weight: 600; background-color: inherit;\">C1 = C2*Vout/( Vref - Vout)</span><br />&nbsp;&nbsp;<br />이 됩니다. 따라서 이미 정해진 C2를 알고 Vref 를 5 V로 하면 측정하고자 하는 C1에 대해 Vout만 측정하면 C1의 값을 알 수 있게 되는 거죠.<br />&nbsp;&nbsp;<br />위의 시간을 재는 일반적인 경우보다 훨씬 간단하죠. 그러면 전압만 재면 되는 이 방법을 놔두고 복잡하게 시간까지 재는 방법을 일반적인 방법이라고 했을까요? 이유는 앞의 전압의 경우와 같습니다. C2의 값에 따라서 C1의 값이 너무 많이 변하기 때문입니다. 하지만 시간을 재는 방법은 RC회로의 R 값에 따라서 변하지 않으므로 훨씬 안정적으로 C 값을 잴 수 있기 때문에 일반적인 방법으로 정한 거죠.<span style=\"background-color: inherit;\"><br /></span><span style=\"background-color: inherit;\">따라서 이 방법은 C 값이 아주 작은 경우만 제한해서 사용하는 거구요. 이 경우에는 이게 훨씬 더 정확하게 재 집니다.</span><br /><br />&nbsp;&nbsp;<br /><span style=\"font-weight: 600; background-color: inherit;\">아두이노로</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">커패시턴스</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">값을</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">재는</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">방법</span><br />&nbsp;&nbsp;<br />그럼 위의 두 가지 방법 각 각을 아두이노로 재기 위해서 따로 따로 즉 일반적인 방법( 충전 시간 측정법 )은 특정한 R을 정해서 RC 회로를 만들고 위의 커패시턴스 분배 방법은 특정한 C를 정해서 회로를 만들고 해야 할까요 ? 음, 번거롭죠 ..<br />&nbsp;&nbsp;<br />그래서 역시 인터넷을 보면 어떤 능력자가 이 걸 동시에 한 세팅만 가지고 그것도 기준 저항, 기준 컨덴서도 필요 없이 그냥 컨덴서를 아두이노에 꼽기만 하면 위의 2 가지 방법을 아두이노가 알아서 판단해서 재주는 방법을 제시합니다. (&nbsp;<a class=\"se_link\" href=\"http://www.circuitbasics.com/how-to-make-an-arduino-capacitance-meter/\" target=\"_blank\" style=\"color: #608cba !important;\">http://www.circuitbasics.com/how-to-make-an-arduino-capacitance-meter/</a>&nbsp;참조 )<br />&nbsp;&nbsp;<br />여기서는 일반적인 시간을 재는 회로의 기준 저항 R을 아두이노의 아나로그 입력 pin 내부에 있는 pullup 저항 ( 약 36 kohm )을 이용하고 두 번째 방법의 기준 컨덴서 C2를 아두이노에 내재해 있는 내부 커패시턴스 즉, Stray Capacitiance 약 24.48 nF 을 이용해서 외부에는 어떤 저항, 어떤 콘덴서도 달지 않고 그냥 콘덴서만 아두이노의 핀 A0, A2에만 연결해 주면 커패시턴스를 잴 수 있는 방법을 제시했습니다. ( 항상 느끼는 거지만 어런 쪽으로는 참 머리가 잘 돌아가요. 예네들은 ^^ )<br />&nbsp;&nbsp;<br />즉 아래와 같이만 연결해 주면 됩니다.&nbsp;<br />&nbsp;&nbsp;</p>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_image default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea se_align-center\" style=\"position: relative; width: 693px; margin: 0px auto; text-align: center; max-width: none; font-size: 0px;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea\" style=\"position: relative; margin-right: auto; margin-left: auto; max-width: 300px;\"><a href=\"https://blog.naver.com/PostView.nhn?blogId=jedijaja&amp;logNo=220960696688&amp;redirect=Dlog&amp;widgetTypeCall=true&amp;topReferer=http%3A%2F%2Fgeoworld.cafe24.com%2Fgnu3%2F%3Fdoc%3Dbbs%2Fgnuboard.php%26bo_table%3DLinkboard%26page%3D1%26wr_id%3D1156&amp;directAccess=false#\" class=\"se_mediaArea __se_image_link __se_link\" data-linktype=\"img\" data-linkdata=\"{&quot;imgId&quot; : &quot;SEDOC-1526817330770-75970654_image_5_img&quot;, &quot;src&quot; : &quot;https://postfiles.pstatic.net/MjAxNzAzMTdfMTQw/MDAxNDg5NzUwMzE5OTg1.A101TTgQsRfOfY1K7qHttzU6jxAU3m-hTwjVRfdWv50g.nZrBXyEhLbz3cVH4j1C6xgl7odikI1w18h04g1k5ONMg.PNG.jedijaja/Two-Pin-Capacitance-Meter.png&quot;, &quot;linkUse&quot; : &quot;false&quot;, &quot;link&quot; : &quot;&quot;}\" style=\"color: #000000; text-decoration-line: none; position: relative; display: block;\" target=\"_blank\"><img id=\"SEDOC-1526817330770-75970654_image_5_img\" class=\"se_mediaImage __se_img_el\" src=\"https://postfiles.pstatic.net/MjAxNzAzMTdfMTQw/MDAxNDg5NzUwMzE5OTg1.A101TTgQsRfOfY1K7qHttzU6jxAU3m-hTwjVRfdWv50g.nZrBXyEhLbz3cVH4j1C6xgl7odikI1w18h04g1k5ONMg.PNG.jedijaja/Two-Pin-Capacitance-Meter.png?type=w773\" data-lazy-src=\"\" data-width=\"300\" data-height=\"408\" data-attachment-id=\"IjUWkoJOnWAHd4z9I87G6RZWuEFw\" alt=\"\" style=\"border: 0px; vertical-align: top; height: auto; width: 300px; max-width: 100%;\" /></a></div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_paragraph default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; word-break: normal; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea\" style=\"position: relative; width: 693px; margin: 0px auto; max-width: none;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea se_ff_nanumgothic se_fs_T3 se_align-left\" style=\"position: relative; font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; overflow-wrap: break-word; line-height: 1.9;\">\r\n            <div class=\"se_editView\" style=\"position: relative;\">\r\n               <div class=\"se_textView\">\r\n                  <p class=\"se_textarea\" style=\"padding: 0px; width: 693px; height: 210px; outline: 0px; border: none; background: 0px 0px; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; text-align: inherit; font-style: inherit; text-decoration: inherit; resize: none; overflow-wrap: break-word; word-break: break-all;\">측정 원리를 보면 이렇습니다.<br />&nbsp;&nbsp;<br />일단 위의 두 번째 방법으로 아래와 같이 먼저 C 값을 측정합니다.<br />&nbsp;&nbsp;<br />먼저 A2에 digitalWrite(OUT_PIN, HIGH) 를 이용하여 5 V를 가해 줍니다 그리고 A0의 전압을 측정하는데 A0와 Gnd 사이에 Atmega328 자체가 약 25 pF의 Stray Capacitance를 갖게 되므로 아래와 같은 커패시턴스 회로가 됩니다&nbsp;<br /></p>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_image default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea se_align-center\" style=\"position: relative; width: 693px; margin: 0px auto; text-align: center; max-width: none; font-size: 0px;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea\" style=\"position: relative; margin-right: auto; margin-left: auto; max-width: 500px;\"><a href=\"https://blog.naver.com/PostView.nhn?blogId=jedijaja&amp;logNo=220960696688&amp;redirect=Dlog&amp;widgetTypeCall=true&amp;topReferer=http%3A%2F%2Fgeoworld.cafe24.com%2Fgnu3%2F%3Fdoc%3Dbbs%2Fgnuboard.php%26bo_table%3DLinkboard%26page%3D1%26wr_id%3D1156&amp;directAccess=false#\" class=\"se_mediaArea __se_image_link __se_link\" data-linktype=\"img\" data-linkdata=\"{&quot;imgId&quot; : &quot;SEDOC-1526817330770-75970654_image_6_img&quot;, &quot;src&quot; : &quot;https://postfiles.pstatic.net/MjAxNzAzMTdfMTQz/MDAxNDg5NzUwMzcxMTU3.QCZ2rBW_-s-KdU5CQ7Jj7O-rlDbWSalo3afVhtulOAwg.An06p-BU9xAgM0WnV9NwhWZa8Q9yuf4nIjkuLFLJdEgg.PNG.jedijaja/Stray_Capacity_%EC%B8%A1%EC%A0%95%EB%B2%95.png&quot;, &quot;linkUse&quot; : &quot;false&quot;, &quot;link&quot; : &quot;&quot;}\" style=\"color: #000000; text-decoration-line: none; position: relative; display: block;\" target=\"_blank\"><img id=\"SEDOC-1526817330770-75970654_image_6_img\" class=\"se_mediaImage __se_img_el\" src=\"https://postfiles.pstatic.net/MjAxNzAzMTdfMTQz/MDAxNDg5NzUwMzcxMTU3.QCZ2rBW_-s-KdU5CQ7Jj7O-rlDbWSalo3afVhtulOAwg.An06p-BU9xAgM0WnV9NwhWZa8Q9yuf4nIjkuLFLJdEgg.PNG.jedijaja/Stray_Capacity_%EC%B8%A1%EC%A0%95%EB%B2%95.png?type=w773\" data-lazy-src=\"\" data-width=\"500\" data-height=\"250\" data-attachment-id=\"IY53KPlszvUxASWUQhBmTFdChU_8\" alt=\"\" style=\"border: 0px; vertical-align: top; height: auto; width: 500px; max-width: 100%;\" /></a></div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_paragraph default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; word-break: normal; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea\" style=\"position: relative; width: 693px; margin: 0px auto; max-width: none;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea se_ff_nanumgothic se_fs_T3 se_align-left\" style=\"position: relative; font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; overflow-wrap: break-word; line-height: 1.9;\">\r\n            <div class=\"se_editView\" style=\"position: relative;\">\r\n               <div class=\"se_textView\">\r\n                  <p class=\"se_textarea\" style=\"padding: 0px; width: 693px; height: 390px; outline: 0px; border: none; background: 0px 0px; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; text-align: inherit; font-style: inherit; text-decoration: inherit; resize: none; overflow-wrap: break-word; word-break: break-all;\">따라서 위에서 구한 식에 의해 A0 핀에서 Vout을 측정하면<br /><span style=\"background-color: inherit;\"><span style=\"font-weight: 600; background-color: inherit;\"></span><br /></span><span style=\"background-color: inherit;\"><span style=\"font-weight: 600; background-color: inherit;\">C1 = 25 pF*( Vout - 5 )/5</span></span><br />&nbsp;&nbsp;<br />에 의해 C1을 구할 수 있게 됩니다. ( 더 자세한 건&nbsp;<a class=\"se_link\" href=\"http://wordpress.codewrite.co.uk/pic/2014/01/21/cap-meter-with-arduino-uno/\" target=\"_blank\" style=\"color: #608cba !important;\">http://wordpress.codewrite.co.uk/pic/2014/01/21/cap-meter-with-arduino-uno/</a>&nbsp;여기를 참고하세요 )<br />&nbsp;&nbsp;<br />그런데 이렇게 구한 값 C1이 1000 pF를 넘을 경우 아래와 같이 C1 값을 다시 구합니다. 앞에서도 언급했듯이 C 값이 크면 위의 분배 회로에 의한 방법은 오차가 커지므로 충전 시간 측정법으로 넘어가는 거죠.<span style=\"background-color: inherit;\"><br /><br /></span><span style=\"background-color: inherit;\">즉 이 번엔 A0에 0 V를 가하고 즉 Gnd로 만들고 A2를 pinMode(A2, INPUT_PULLUP) 함수로 pull-up 해주고 전압 값을 받으면 아래 그림 처럼 됩니다.&nbsp;</span>&nbsp;&nbsp;</p>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_image default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea se_align-center\" style=\"position: relative; width: 693px; margin: 0px auto; text-align: center; max-width: none; font-size: 0px;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea\" style=\"position: relative; margin-right: auto; margin-left: auto; max-width: 500px;\"><a href=\"https://blog.naver.com/PostView.nhn?blogId=jedijaja&amp;logNo=220960696688&amp;redirect=Dlog&amp;widgetTypeCall=true&amp;topReferer=http%3A%2F%2Fgeoworld.cafe24.com%2Fgnu3%2F%3Fdoc%3Dbbs%2Fgnuboard.php%26bo_table%3DLinkboard%26page%3D1%26wr_id%3D1156&amp;directAccess=false#\" class=\"se_mediaArea __se_image_link __se_link\" data-linktype=\"img\" data-linkdata=\"{&quot;imgId&quot; : &quot;SEDOC-1526817330770-75970654_image_7_img&quot;, &quot;src&quot; : &quot;https://postfiles.pstatic.net/MjAxNzAzMTdfMTE4/MDAxNDg5NzUwNDAyNzQ3.fwa6ZkqhBvKOolYoG5xklE4T1p8S2U7glLeYiBPJexEg.PlRhEJBZRLOEwu_6C0UIiEa4d13lnE58uvNwDSoMvGog.PNG.jedijaja/discharge_%EC%B8%A1%EC%A0%95%EB%B2%95.png&quot;, &quot;linkUse&quot; : &quot;false&quot;, &quot;link&quot; : &quot;&quot;}\" style=\"color: #000000; text-decoration-line: none; position: relative; display: block;\" target=\"_blank\"><img id=\"SEDOC-1526817330770-75970654_image_7_img\" class=\"se_mediaImage __se_img_el\" src=\"https://postfiles.pstatic.net/MjAxNzAzMTdfMTE4/MDAxNDg5NzUwNDAyNzQ3.fwa6ZkqhBvKOolYoG5xklE4T1p8S2U7glLeYiBPJexEg.PlRhEJBZRLOEwu_6C0UIiEa4d13lnE58uvNwDSoMvGog.PNG.jedijaja/discharge_%EC%B8%A1%EC%A0%95%EB%B2%95.png?type=w773\" data-lazy-src=\"\" data-width=\"500\" data-height=\"291\" data-attachment-id=\"I3AbIz3DtioptiOWQb1xhZa16VDU\" alt=\"\" style=\"border: 0px; vertical-align: top; height: auto; width: 500px; max-width: 100%;\" /></a></div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_paragraph default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; word-break: normal; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea\" style=\"position: relative; width: 693px; margin: 0px auto; max-width: none;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea se_ff_nanumgothic se_fs_T3 se_align-left\" style=\"position: relative; font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; overflow-wrap: break-word; line-height: 1.9;\">\r\n            <div class=\"se_editView\" style=\"position: relative;\">\r\n               <div class=\"se_textView\">\r\n                  <p class=\"se_textarea\" style=\"padding: 0px; width: 693px; height: 180px; outline: 0px; border: none; background: 0px 0px; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; text-align: inherit; font-style: inherit; text-decoration: inherit; resize: none; overflow-wrap: break-word; word-break: break-all;\">처음에 일반적인 컨덴서값 측정 방식(충전 시간 측정법)의 그 RC 회로가 되는 거죠.<span style=\"background-color: inherit;\"><br /><br /></span><span style=\"background-color: inherit;\">이 때 pull-up 해 주고 일정 시간 t가 지나고 나서 A2에서의 전압값을 측정하면 앞에 설명한 것처럼 이 때의 전압값과 t 사이에는 log 함수의 관계를 갖게 되므로 아래 식 처럼 C1 값을 구할 수 있게 됩니다. ( 자세한 건&nbsp;</span><a class=\"se_link\" href=\"http://wordpress.codewrite.co.uk/pic/2014/01/25/capacitance-meter-mk-ii/\" target=\"_blank\" style=\"color: #608cba !important;\">http://wordpress.codewrite.co.uk/pic/2014/01/25/capacitance-meter-mk-ii/</a>&nbsp;여기를 참조하세요&nbsp;&nbsp;<br /></p>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_image default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea se_align-center\" style=\"position: relative; width: 693px; margin: 0px auto; text-align: center; max-width: none; font-size: 0px;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea\" style=\"position: relative; margin-right: auto; margin-left: auto; max-width: 473px;\"><a href=\"https://blog.naver.com/PostView.nhn?blogId=jedijaja&amp;logNo=220960696688&amp;redirect=Dlog&amp;widgetTypeCall=true&amp;topReferer=http%3A%2F%2Fgeoworld.cafe24.com%2Fgnu3%2F%3Fdoc%3Dbbs%2Fgnuboard.php%26bo_table%3DLinkboard%26page%3D1%26wr_id%3D1156&amp;directAccess=false#\" class=\"se_mediaArea __se_image_link __se_link\" data-linktype=\"img\" data-linkdata=\"{&quot;imgId&quot; : &quot;SEDOC-1526817330770-75970654_image_8_img&quot;, &quot;src&quot; : &quot;https://postfiles.pstatic.net/MjAxNzAzMTdfMTYz/MDAxNDg5NzUwNDI5Mzkx.yEgYyuUXc-yrQjzhgFNeAvHh_9fQnVz1U_uRFeBqPHUg.wzPJ0RN0sTugt2EPES1xJMral3TK6js048zIZY7S2cgg.PNG.jedijaja/RCFormula2.png&quot;, &quot;linkUse&quot; : &quot;false&quot;, &quot;link&quot; : &quot;&quot;}\" style=\"color: #000000; text-decoration-line: none; position: relative; display: block;\" target=\"_blank\"><img id=\"SEDOC-1526817330770-75970654_image_8_img\" class=\"se_mediaImage __se_img_el\" src=\"https://postfiles.pstatic.net/MjAxNzAzMTdfMTYz/MDAxNDg5NzUwNDI5Mzkx.yEgYyuUXc-yrQjzhgFNeAvHh_9fQnVz1U_uRFeBqPHUg.wzPJ0RN0sTugt2EPES1xJMral3TK6js048zIZY7S2cgg.PNG.jedijaja/RCFormula2.png?type=w773\" data-lazy-src=\"\" data-width=\"473\" data-height=\"469\" data-attachment-id=\"IXfg3swco0BehcBIdnRhgjywtlMg\" alt=\"\" style=\"border: 0px; vertical-align: top; height: auto; width: 473px; max-width: 100%;\" /></a></div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_paragraph default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; word-break: normal; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea\" style=\"position: relative; width: 693px; margin: 0px auto; max-width: none;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea se_ff_nanumgothic se_fs_T3 se_align-left\" style=\"position: relative; font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; overflow-wrap: break-word; line-height: 1.9;\">\r\n            <div class=\"se_editView\" style=\"position: relative;\">\r\n               <div class=\"se_textView\">\r\n                  <p class=\"se_textarea\" style=\"padding: 0px; width: 693px; height: 2730px; outline: 0px; border: none; background: 0px 0px; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; text-align: inherit; font-style: inherit; text-decoration: inherit; resize: none; overflow-wrap: break-word; word-break: break-all;\">근데 가만히 보면 앞에 일반적인 방법을 설명할 때 5 V의 63 %까지만 되도록 시간 t를 가게 하면 쉽게 C=t/R 로 쉽게 구할 수 있는데 왜 이렇게 복잡하게 log 함수까지 써가면서 구했느냐 하면 아두이노의 AnalogRead() 함수 자체가 너무 느려서 정확하게 t가 63 % 되는 지점을 찾을 수 없기 때문이라고&nbsp;<a class=\"se_link\" href=\"http://wordpress.codewrite.co.uk/pic/2014/01/25/capacitance-meter-mk-ii/\" target=\"_blank\" style=\"color: #608cba !important;\">http://wordpress.codewrite.co.uk/pic/2014/01/25/capacitance-meter-mk-ii/</a>&nbsp;여기에 친절하게 나와 있네요 ^^<span style=\"background-color: inherit;\"><br /><br /></span><span style=\"background-color: inherit;\">위에 설명한 방법을 아두이노의 코드로 정리하면 아래와 같습니다.</span><span style=\"background-color: inherit;\"><br /><br /></span><span style=\"background-color: inherit;\">const int OUT_PIN = A2;</span><br />const int IN_PIN = A0;<br />const float IN_STRAY_CAP_TO_GND = 24.48;<br />const float IN_CAP_TO_GND&nbsp; = IN_STRAY_CAP_TO_GND;<br />const float R_PULLUP = 34.8;&nbsp;&nbsp;<br />const int MAX_ADC_VALUE = 1023;<br />&nbsp;&nbsp;<br />void setup()<br />{<br />&nbsp; pinMode(OUT_PIN, OUTPUT);<br />&nbsp; pinMode(IN_PIN, OUTPUT);<br />&nbsp; Serial.begin(9600);<br />}<br />&nbsp;&nbsp;<br />void loop()<br />{<br />&nbsp;&nbsp;&nbsp; pinMode(IN_PIN, INPUT);<br />&nbsp;&nbsp;&nbsp; digitalWrite(OUT_PIN, HIGH);<br />&nbsp;&nbsp;&nbsp; int val = analogRead(IN_PIN);<br />&nbsp;&nbsp;&nbsp; digitalWrite(OUT_PIN, LOW);<br />&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp; if (val &lt; 1000)<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pinMode(IN_PIN, OUTPUT);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; float capacitance = (float)val * IN_CAP_TO_GND / (float)(MAX_ADC_VALUE - val);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Serial.print(F(\"Capacitance Value = \"));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Serial.print(capacitance, 3);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Serial.print(F(\" pF (\"));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Serial.print(val);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Serial.println(F(\") \"));<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp; else<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pinMode(IN_PIN, OUTPUT);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; delay(1);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pinMode(OUT_PIN, INPUT_PULLUP);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned long u1 = micros();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned long t;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int digVal;<br />&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; digVal = digitalRead(OUT_PIN);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned long u2 = micros();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t = u2 &gt; u1 ? u2 - u1 : u1 - u2;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } while ((digVal &lt; 1) &amp;&amp; (t &lt; 400000L));<br />&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pinMode(OUT_PIN, INPUT);&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; val = analogRead(OUT_PIN);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; digitalWrite(IN_PIN, HIGH);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int dischargeTime = (int)(t / 1000L) * 5;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; delay(dischargeTime);&nbsp;&nbsp;&nbsp;<br />&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pinMode(OUT_PIN, OUTPUT);&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; digitalWrite(OUT_PIN, LOW);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; digitalWrite(IN_PIN, LOW);<br />&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; float capacitance = -(float)t / R_PULLUP<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; / log(1.0 - (float)val / (float)MAX_ADC_VALUE);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Serial.print(F(\"Capacitance Value = \"));<br />&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (capacitance &gt; 1000.0)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Serial.print(capacitance / 1000.0, 2);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Serial.print(F(\" uF\"));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Serial.print(capacitance, 2);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Serial.print(F(\" nF\"));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;<span style=\"background-color: inherit;\"><br /><br /></span><span style=\"background-color: inherit;\">원래 코드 (&nbsp;</span><a class=\"se_link\" href=\"http://www.circuitbasics.com/how-to-make-an-arduino-capacitance-meter/\" target=\"_blank\" style=\"color: #608cba !important;\">http://www.circuitbasics.com/how-to-make-an-arduino-capacitance-meter/</a>&nbsp;참조 )에서 제가 조금 수정했습니다.<br /><br /><br />&nbsp;&nbsp;<br /><span style=\"font-weight: 600; background-color: inherit;\">실제</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">측정</span><span style=\"font-weight: 600; background-color: inherit;\">&nbsp;</span><span style=\"font-weight: 600; background-color: inherit;\">결과</span><br />&nbsp;&nbsp;<br />아래는 위의 아두이노 코드로 아두이노 UNO 계열인 CH340 보드(<a class=\"se_link\" href=\"http://blog.naver.com/jedijaja/220774788530\" target=\"_blank\" style=\"color: #608cba !important;\">http://blog.naver.com/jedijaja/220774788530</a>&nbsp;참조 )로 측정한 10 uF 측정 사진 및 결과 입니다.&nbsp;</p>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_image default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea se_align-justify\" style=\"position: relative; width: 693px; margin: 0px auto; text-align: justify; max-width: none; font-size: 0px;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea\" style=\"position: relative;\"><a href=\"https://blog.naver.com/PostView.nhn?blogId=jedijaja&amp;logNo=220960696688&amp;redirect=Dlog&amp;widgetTypeCall=true&amp;topReferer=http%3A%2F%2Fgeoworld.cafe24.com%2Fgnu3%2F%3Fdoc%3Dbbs%2Fgnuboard.php%26bo_table%3DLinkboard%26page%3D1%26wr_id%3D1156&amp;directAccess=false#\" class=\"se_mediaArea __se_image_link __se_link\" data-linktype=\"img\" data-linkdata=\"{&quot;imgId&quot; : &quot;SEDOC-1526817330770-75970654_image_9_img&quot;, &quot;src&quot; : &quot;https://postfiles.pstatic.net/MjAxNzAzMTdfMjI3/MDAxNDg5NzUwNDU4OTE3.AEa6v4zLUYnA6LzQaHCz-mSQ279Bnt4VZyQ4VfCt5cUg.zQo07qfyhSckeHgPZjY9iiaSUqvzl2UCBaDLIitCSzkg.PNG.jedijaja/10_uF_%EC%B8%A1%EC%A0%95.png&quot;, &quot;linkUse&quot; : &quot;false&quot;, &quot;link&quot; : &quot;&quot;}\" style=\"color: #000000; text-decoration-line: none; position: relative; display: block;\" target=\"_blank\"><img id=\"SEDOC-1526817330770-75970654_image_9_img\" class=\"se_mediaImage __se_img_el\" src=\"https://postfiles.pstatic.net/MjAxNzAzMTdfMjI3/MDAxNDg5NzUwNDU4OTE3.AEa6v4zLUYnA6LzQaHCz-mSQ279Bnt4VZyQ4VfCt5cUg.zQo07qfyhSckeHgPZjY9iiaSUqvzl2UCBaDLIitCSzkg.PNG.jedijaja/10_uF_%EC%B8%A1%EC%A0%95.png?type=w773\" data-lazy-src=\"\" data-width=\"1269\" data-height=\"415\" data-attachment-id=\"ILLIKxuP-d_rwx-fEuZuIc6wnUfk\" alt=\"\" style=\"border: 0px; vertical-align: top; height: auto; width: 693px;\" /></a></div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_paragraph default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; word-break: normal; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea\" style=\"position: relative; width: 693px; margin: 0px auto; max-width: none;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea se_ff_nanumgothic se_fs_T3 se_align-left\" style=\"position: relative; font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; overflow-wrap: break-word; line-height: 1.9;\">\r\n            <div class=\"se_editView\" style=\"position: relative;\">\r\n               <div class=\"se_textView\">\r\n                  <p class=\"se_textarea\" style=\"padding: 0px; width: 693px; height: 60px; outline: 0px; border: none; background: 0px 0px; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; text-align: inherit; font-style: inherit; text-decoration: inherit; resize: none; overflow-wrap: break-word; word-break: break-all;\"><br />아래는 위의 10 nF 측정 사진 및 결과 입니다.</p>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_image default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea se_align-justify\" style=\"position: relative; width: 693px; margin: 0px auto; text-align: justify; max-width: none; font-size: 0px;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea\" style=\"position: relative;\"><a href=\"https://blog.naver.com/PostView.nhn?blogId=jedijaja&amp;logNo=220960696688&amp;redirect=Dlog&amp;widgetTypeCall=true&amp;topReferer=http%3A%2F%2Fgeoworld.cafe24.com%2Fgnu3%2F%3Fdoc%3Dbbs%2Fgnuboard.php%26bo_table%3DLinkboard%26page%3D1%26wr_id%3D1156&amp;directAccess=false#\" class=\"se_mediaArea __se_image_link __se_link\" data-linktype=\"img\" data-linkdata=\"{&quot;imgId&quot; : &quot;SEDOC-1526817330770-75970654_image_10_img&quot;, &quot;src&quot; : &quot;https://postfiles.pstatic.net/MjAxNzAzMTdfMTQw/MDAxNDg5NzUwNDY3MDY3.kDgz7PoJSvKPBNLeKHxp42j90AgbSjMtkAk4l-Fdejcg.AUzDQ9FlPKvVV5VDo2MCgCe2c59zjIkhVbJHqmIljBIg.PNG.jedijaja/10_nF_%EC%B8%A1%EC%A0%95.png&quot;, &quot;linkUse&quot; : &quot;false&quot;, &quot;link&quot; : &quot;&quot;}\" style=\"color: #000000; text-decoration-line: none; position: relative; display: block;\" target=\"_blank\"><img id=\"SEDOC-1526817330770-75970654_image_10_img\" class=\"se_mediaImage __se_img_el\" src=\"https://postfiles.pstatic.net/MjAxNzAzMTdfMTQw/MDAxNDg5NzUwNDY3MDY3.kDgz7PoJSvKPBNLeKHxp42j90AgbSjMtkAk4l-Fdejcg.AUzDQ9FlPKvVV5VDo2MCgCe2c59zjIkhVbJHqmIljBIg.PNG.jedijaja/10_nF_%EC%B8%A1%EC%A0%95.png?type=w773\" data-lazy-src=\"\" data-width=\"1279\" data-height=\"416\" data-attachment-id=\"I50PU-gyZK0pBY00mUMR9SN0AcXU\" alt=\"\" style=\"border: 0px; vertical-align: top; height: auto; width: 693px;\" /></a></div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se_component se_paragraph default\" style=\"margin-top: 30px; font-family: 나눔고딕, nanumgothic, se_NanumGothic, sans-serif, simhei; -webkit-font-smoothing: antialiased; word-break: normal; margin-left: 40px; margin-right: 40px; color: #112e46; font-size: 14px; background-color: #f9fafb;\">\r\n   <div class=\"se_sectionArea\" style=\"position: relative; width: 693px; margin: 0px auto; max-width: none;\">\r\n      <div class=\"se_editArea\" style=\"position: relative;\">\r\n         <div class=\"se_viewArea se_ff_nanumgothic se_fs_T3 se_align-left\" style=\"position: relative; font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; overflow-wrap: break-word; line-height: 1.9;\">\r\n            <div class=\"se_editView\" style=\"position: relative;\">\r\n               <div class=\"se_textView\">\r\n                  <p class=\"se_textarea\" style=\"padding: 0px; width: 693px; height: 700px; outline: 0px; border: none; background: 0px 0px; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; text-align: inherit; font-style: inherit; text-decoration: inherit; resize: none; overflow-wrap: break-word; word-break: break-all;\"><span style=\"background-color: inherit;\"><br /></span><span style=\"background-color: inherit;\">비교적 정확하게 측정이 되는 것을 볼 수 있습니다.&nbsp;</span></p>\r\n                  <div class=\"autosourcing-stub-extra\" style=\"zoom: 1; opacity: 1;\">\r\n                     <p style=\"margin-top: 11px; margin-bottom: 7px; padding: 0px; font-size: 12px; font-family: Dotum;\"><span style=\"font-weight: 600; padding: 0px 7px 0px 0px;\">[출처]</span>&nbsp;<a href=\"https://blog.naver.com/jedijaja/220960696688\" target=\"_blank\" style=\"color: #608cba !important;\">아두이노 디지털 멀티미터 3 - 아두이노로 저항 및 컨덴서값 측정하기</a><span style=\"background-color: inherit; padding: 0px 7px 0px 5px;\">|</span><span style=\"font-weight: 600; padding: 0px 7px 0px 0px;\">작성자</span>&nbsp;<a href=\"https://blog.naver.com/jedijaja\" target=\"_blank\" style=\"color: #608cba !important;\">jedijaja</a></p>\r\n                     </div>\r\n                  <p>&nbsp;</p>\r\n                  </div>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   </div>\n<div class=\"content_move\">[이 게시물은 최고관리자님에 의해 2019-04-26 16:36:52 Link에서 이동 됨]</div>','https://blog.naver.com/jedijaja/220960696688','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-04-26 16:36:42',0,'2019-04-26 16:36:42','210.101.103.92','','','','','','','','','','','',''),(415,-415,'',415,0,0,'','','html1','[Linux] 라즈베리파이 자동로그인 설정','<h3 id=\"variante-autologin-conf-jessie\" style=\"margin: 0px 0px 1.5rem; padding: 0px; bottom: 7px; font-size: 1.38063rem; text-align: justify; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: rgb(242, 242, 242); font-weight: 500; font-stretch: normal; line-height: 1.125; font-family: Roboto, Arial, sans-serif; color: #272822;\">Variante: autologin.conf (Jessie)<a class=\"con_link\" href=\"https://maker-tutorials.com/raspberry-pi-benutzer-automatisch-anmelden-booten/#variante-autologin-conf-jessie\" target=\"_blank\" style=\"text-decoration-line: none; overflow-wrap: break-word; border-width: 0px; cursor: pointer; border-style: solid; color: #ff552e; opacity: 0; -webkit-font-smoothing: antialiased; font-stretch: normal; font-size: 1em; line-height: 1; font-family: anchorjs-icons; padding-left: 0.375em;\"></a></h3>\r\n<p style=\"margin-bottom: 1.5rem; padding: 0px; line-height: 1.5; font-size: 16px; text-align: justify; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: rgb(242, 242, 242); color: #272822; font-family: Roboto, Arial, sans-serif;\">Leider hat bei mir die Variant über raspi-config nicht funktioniert. Hier eine Anleitung wie ich das automatische Anmelden zum laufen bekommen habe.</p>\r\n<ol style=\"margin: 0px 0px 1.5rem 2em; padding: 0px; list-style-position: initial; list-style-image: initial; font-size: 16px; text-align: justify; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: rgb(242, 242, 242); color: #272822; font-family: Roboto, Arial, sans-serif;\">\r\n   <li style=\"margin: 0px; padding: 0px; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: transparent;\">Öffne die Datei&nbsp;\r\n      <code style=\"margin: 0px; padding: 0px; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: transparent; font-family: &quot;Lucida Console&quot;, Courier, &quot;DejaVu Sans Mono&quot;, monospace, sans-serif;\">autologin.conf</code>\r\n      &nbsp;mit dem Nano Text Editor\r\n      <pre class=\"language-bash\" style=\"margin-top: 0.5em; margin-bottom: 0.5em; padding: 1em; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: rgb(39, 40, 34); font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; overflow: auto; overflow-wrap: normal; color: #f8f8f2; text-shadow: rgba(0, 0, 0, 0.298) 0px 1px; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; border-radius: 0.3em; max-height: 400px;\">\r\n         <code style=\"margin: 0px; padding: 0.75em; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: transparent; font-family: &quot;Lucida Console&quot;, Courier, &quot;DejaVu Sans Mono&quot;, monospace, sans-serif; display: block;\">sudo nano /etc/systemd/system/getty@tty1.service.d/autologin.conf</code>\r\n         </pre>\r\n      </li>\r\n   <li style=\"margin: 0px; padding: 0px; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: transparent;\">und füge folgenden Text ein.\r\n      <pre class=\"language-bash\" style=\"margin-top: 0.5em; margin-bottom: 0.5em; padding: 1em; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: rgb(39, 40, 34); font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; overflow: auto; overflow-wrap: normal; color: #f8f8f2; text-shadow: rgba(0, 0, 0, 0.298) 0px 1px; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; border-radius: 0.3em; max-height: 400px;\">\r\n         <code style=\"margin: 0px; padding: 0.75em; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: transparent; font-family: &quot;Lucida Console&quot;, Courier, &quot;DejaVu Sans Mono&quot;, monospace, sans-serif; display: block;\">\r\n[Service]\r\nExecStart=\r\nExecStart=-/sbin/agetty --autologin pi --noclear %I 38400 linux\r\n</code>\r\n         </pre>\r\n      <p style=\"margin-bottom: 1.5rem; padding: 0px; line-height: 1.5; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: transparent;\">Beende den Editor mit&nbsp;\r\n         <code style=\"margin: 0px; padding: 0px; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: transparent; font-family: &quot;Lucida Console&quot;, Courier, &quot;DejaVu Sans Mono&quot;, monospace, sans-serif;\">ctrl</code>\r\n         +\r\n         <code style=\"margin: 0px; padding: 0px; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: transparent; font-family: &quot;Lucida Console&quot;, Courier, &quot;DejaVu Sans Mono&quot;, monospace, sans-serif;\">x</code>\r\n         &nbsp;und bestätige die Änderung mit&nbsp;\r\n         <code style=\"margin: 0px; padding: 0px; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: transparent; font-family: &quot;Lucida Console&quot;, Courier, &quot;DejaVu Sans Mono&quot;, monospace, sans-serif;\">y</code>\r\n         .</p>\r\n      </li>\r\n   <li style=\"margin: 0px; padding: 0px; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: transparent;\">Nach einem Neustart sollte der Benutzer&nbsp;\r\n      <code style=\"margin: 0px; padding: 0px; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: transparent; font-family: &quot;Lucida Console&quot;, Courier, &quot;DejaVu Sans Mono&quot;, monospace, sans-serif;\">pi</code>\r\n      &nbsp;jetzt automatisch eingeloggt werden.\r\n      <pre class=\"language-bash\" style=\"margin-top: 0.5em; margin-bottom: 0.5em; padding: 1em; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: rgb(39, 40, 34); font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; overflow: auto; overflow-wrap: normal; color: #f8f8f2; text-shadow: rgba(0, 0, 0, 0.298) 0px 1px; word-spacing: normal; word-break: normal; line-height: 1.5; tab-size: 4; border-radius: 0.3em; max-height: 400px;\">\r\n         <code style=\"margin: 0px; padding: 0.75em; border-width: 0px; border-style: solid; outline: 0px; vertical-align: baseline; background: transparent; font-family: &quot;Lucida Console&quot;, Courier, &quot;DejaVu Sans Mono&quot;, monospace, sans-serif; display: block;\">sudo reboot\r\n            <div class=\"autosourcing-stub-extra\" style=\"line-height: 1.5; zoom: 1; opacity: 1;\">\r\n               <p style=\"margin-top: 11px; margin-bottom: 7px; padding: 0px; line-height: 1.5; font-size: 12px; font-family: Dotum;\"><strong style=\"padding: 0px 7px 0px 0px;\">[출처]</strong><a href=\"http://blog.naver.com/hardinge/220401323995\" target=\"_blank\" style=\"text-decoration-line: none;\">RaspberryPi 자동 로그인 설정하기...</a><span style=\"padding: 0px 7px 0px 5px;\">|</span><strong style=\"padding: 0px 7px 0px 0px;\">작성자</strong><a href=\"http://blog.naver.com/hardinge\" target=\"_blank\" style=\"text-decoration-line: none;\">한가이버</a></p>\r\n               </div>\r\n            </code>\r\n         </pre>\r\n      </li>\r\n   </ol>','http://blog.naver.com/PostView.nhn?blogId=hardinge&logNo=220401323995&parentCategoryNo=&categoryNo=&viewDate=&isShowPopularPosts=false&from=postView','',2,0,5,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-05-01 09:21:23',0,'2019-05-01 09:21:23','210.101.103.92','','','','','','','','','','','',''),(416,-416,'',416,0,0,'','','html1','[ETC] 인쇄가능한 눈금자','<h1 style=\"font-family: &quot;Malgun Gothic&quot;;\">Some printable paper rulers</h1>\r\n<p><span style=\"font-family: &quot;Malgun Gothic&quot;; font-size: medium;\">Here are some rulers you can print out.</span><br style=\"font-family: &quot;Malgun Gothic&quot;; font-size: medium;\" /><span style=\"font-family: &quot;Malgun Gothic&quot;; font-size: medium;\">Disposable paper rulers! :)</span></p>\r\n<p style=\"font-family: &quot;Malgun Gothic&quot;; font-size: medium;\">&nbsp;</p>\r\n<p style=\"font-family: &quot;Malgun Gothic&quot;; font-size: medium;\"><b>Disable any&nbsp;<a href=\"http://www.vendian.org/mncharity/dir3/paper_rulers/#shrink\" target=\"_blank\">\"shrink to fit\" option</a>&nbsp;when printing.</b>&nbsp;<br /><font size=\"-1\">There is&nbsp;<a href=\"http://www.vendian.org/mncharity/dir3/paper_rulers/#accuracy\" target=\"_blank\">a note below</a>&nbsp;about accuracy.</font></p>\r\n<table>\r\n   <tbody>\r\n      <tr valign=\"top\">\r\n         <td width=\"130\"><a href=\"http://www.vendian.org/mncharity/dir3/paper_rulers/UnstableURL/ruler_foot.pdf\" target=\"_blank\"><img src=\"http://www.vendian.org/mncharity/dir3/paper_rulers/UnstableURL/ruler_foot_sample.gif\" border=\"1\" width=\"128\" height=\"128\" /></a></td>\r\n         <td>One foot ruler<br />1 ft long, 3 cm wide. One per page.<br />(centimeters and inches)<br />For US letter-size paper.\r\n            <p><a href=\"http://www.vendian.org/mncharity/dir3/paper_rulers/UnstableURL/ruler_foot.pdf\" target=\"_blank\">PDF</a></p>\r\n            </td>\r\n         </tr>\r\n      </tbody>\r\n   </table>\r\n<br />\r\n<p><a href=\"http://www.vendian.org/mncharity/dir3/paper_rulers/UnstableURL/rules_cm_narrow.pdf\" target=\"_blank\">http://www.vendian.org/mncharity/dir3/paper_rulers/UnstableURL/rules_cm_narrow.pdf</a></p>','http://www.vendian.org/mncharity/dir3/paper_rulers/','http://www.vendian.org/mncharity/dir3/paper_rulers/UnstableURL/rules_cm_narrow.pdf',1,1,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-05-20 13:37:22',0,'2019-05-20 13:37:22','210.101.103.92','','','','','','','','','','','',''),(417,-417,'',417,0,0,'','','html1','[Arduino] ESP32 사용해보기 - 04. 블루투스 예제 동작 테스트','<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">WI FI 테스트에 이어서 이번 포스팅에서는 블루투스 기능을 테스트해 보도록 하겠습니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">ESP8266는 무선 통신으로 와이파이만 지원하지만 ESP32는 와이파이와 함께 블루투스를 사용 가능합니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">마찬가지로 NodeMCU-32S Lua WiFi 보드를 이용해 테스트를 진행하도록 하겠습니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">NodeMCU-32S Lua WiFi&nbsp;</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><a href=\"https://www.eleparts.co.kr/EPXMDLDY\" target=\"_blank\" class=\"con_link\" style=\"text-decoration-line: none; overflow-wrap: break-word;\">https://www.eleparts.co.kr/EPXMDLDY</a></p>\r\n<div align=\"\" style=\"line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">\r\n   <div class=\"og\" style=\"display: inline-block; width: 513px; margin-top: 7px; text-align: left; font-family: Dotum; box-shadow: rgb(249, 249, 249) 0px 1px 0px; line-height: 1.5;\">\r\n      <div class=\"box\" style=\"display: inline-block; overflow: hidden; position: relative; width: 513px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; vertical-align: top; line-height: 1.5;\">\r\n         <div class=\"thumb s_size\" style=\"overflow: hidden; position: relative; text-align: center; font-size: 0px; float: left; width: 136px; height: 136px; line-height: 1.5;\"><a href=\"https://www.eleparts.co.kr/EPXMDLDY\" target=\"_blank\" class=\"\" style=\"text-decoration-line: none;\"><img src=\"https://dthumb-phinf.pstatic.net/?src=%22https%3A%2F%2Fimg.eleparts.co.kr%2Fgoods%2F1%2F2019%2F03%2F7480199_tmp_a55551574d8e9f1012135e611fba037c5313large.jpg%22&amp;type=f220\" style=\"border: none; width: 136px;\" /><span class=\"bd\" style=\"display: block; position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; border: 1px solid rgb(0, 0, 0); opacity: 0.08;\"></span></a></div>\r\n         <div class=\"txt\" style=\"overflow: hidden; width: 336px; height: 134px; padding: 0px 20px; border-width: 1px 1px 1px 0px; border-style: solid; border-color: #e2e2e2; border-image: initial; background: rgb(252, 252, 252); cursor: pointer; float: left; line-height: 1.5;\"><a href=\"https://www.eleparts.co.kr/EPXMDLDY\" target=\"_blank\" style=\"text-decoration-line: none;\">\r\n               <div class=\"tit\" style=\"overflow: hidden; max-height: 40px; margin-top: 17px; font-weight: bold; font-size: 14px; color: #222222; word-break: keep-all; overflow-wrap: break-word; line-height: 1.5;\">NodeMCU-32S Lua WiFi - ESP32 개발보드</div>\r\n               <div class=\"dsc\" style=\"overflow: hidden; max-height: 34px; margin: 8px 0px 3px; font-size: 11px; color: #4f4f4f; letter-spacing: -1px; word-break: keep-all; overflow-wrap: break-word; line-height: 1.5;\">ESP32(ESP-WROOM-32)를 탑재하고있는 NodeMCU-32S Lua WiFi 개발보드 아두이노 IDE를 지원하는 Wifi &amp; 블루투스 모듈</div>\r\n               <div class=\"cp\" style=\"overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; color: #9197a3; overflow-wrap: normal; line-height: 1.5;\">www.eleparts.co.kr</div>\r\n               </a></div>\r\n         </div>\r\n      </div>\r\n   <div align=\"left\" style=\"line-height: 1.5;\"><img src=\"https://ssl.pstatic.net/static/blank.gif\" class=\"m20\" alt=\"\" style=\"border: none; display: block; width: 1px; height: 20px;\" /></div>\r\n   </div>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">시작하기에 앞서 블루투스 동작 확인을 위해 스마트폰에 블루투스 테스트를 위한 앱을 설치해 주어야 합니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">여기서는&nbsp;<b><span style=\"color: #000000;\">nRF Connect for Mobile</span></b>를 설치하여 테스트해 보도록 하겠습니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">위 앱은 구글 플레이 등에서 nrf로 검색해 설치할 수 있습니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><img src=\"https://blogfiles.pstatic.net/MjAxOTA1MTZfNDAg/MDAxNTU3OTkyMjc5MzI4.jr1PWR7cTX44s_z-SThOLWybD3szJfdvCoGFtSj9Qdog.odI-ocznG3H3Ja3uDcZb0NhO2ohQYCnJkGK8RmTaxGYg.JPEG.elepartsblog/01-1.jpg?type=w2\" width=\"431\" height=\"413\" id=\"MjAxOTA1MTZfNDAg/MDAxNTU3OTkyMjc5MzI4.jr1PWR7cTX44s_z-SThOLWybD3szJfdvCoGFtSj9Qdog.odI-ocznG3H3Ja3uDcZb0NhO2ohQYCnJkGK8RmTaxGYg.JPEG.elepartsblog/01-1.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: 1px solid rgb(0, 0, 0); cursor: pointer; clear: none;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">위 앱을 설치해준 뒤 ESP32에 블루투스 예제를 다운로드해 주도록 하겠습니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">아두이노 IDE에서 사용할 예제는 아래 예제입니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #000000;\">[예제] -&gt; [ESp32 BLE Arduino] -&gt; [BLE_notify]</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><img src=\"https://blogfiles.pstatic.net/MjAxOTA1MTZfMTYg/MDAxNTU3OTkyMjc5Njgy.mXBrkf7LO27hv3YHbp0WHAGhL1C8Gx12iGwM_1zQuRwg.i2crWBoezI4OUSuYQy6H1stHVgnNF1Xds1v-XfF1ENMg.PNG.elepartsblog/02-1.png?type=w2\" width=\"740\" height=\"483\" id=\"MjAxOTA1MTZfMTYg/MDAxNTU3OTkyMjc5Njgy.mXBrkf7LO27hv3YHbp0WHAGhL1C8Gx12iGwM_1zQuRwg.i2crWBoezI4OUSuYQy6H1stHVgnNF1Xds1v-XfF1ENMg.PNG.elepartsblog/02-1.png\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: 1px solid rgb(0, 0, 0); cursor: pointer; clear: none;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">코드는 기본적인 블루투스 연결(setup 부분) 및 연결 상태에 따른 동작(loop 부분)으로 구별되는 예제입니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><b>setup</b>에서 참고하실 부분은 &nbsp;<span style=\"color: #ff0000;\"><b>BLEDevice::init(\"ESP32\");</b></span>으로, 해당 값이 타 기기에서 확인 가능한 블루투스 이름으로 설정됩니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><img src=\"https://blogfiles.pstatic.net/MjAxOTA1MTZfMjE0/MDAxNTU3OTkyMjc5ODc1.alE0jAdZBOfsSUUmnaFWOzatJtlE3IDduYARcf6wuX8g.VEm_JAWbG5Pyg1Ft9shxnZEtXOqTUB7fg230Fh03imIg.PNG.elepartsblog/02-2.png?type=w2\" width=\"678\" height=\"331\" id=\"MjAxOTA1MTZfMjE0/MDAxNTU3OTkyMjc5ODc1.alE0jAdZBOfsSUUmnaFWOzatJtlE3IDduYARcf6wuX8g.VEm_JAWbG5Pyg1Ft9shxnZEtXOqTUB7fg230Fh03imIg.PNG.elepartsblog/02-2.png\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: 1px solid rgb(0, 0, 0); cursor: pointer; clear: none;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><b>setup&nbsp;</b>부분은 따로 손대지 않고&nbsp;<b>loop&nbsp;</b>부분에서만 코드를 살짝 수정해 주도록 하겠습니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">아래가 기본&nbsp;<b>loop&nbsp;</b>구문으로 3개의 if 문에 각각 알림, 연결 끊김, 연결됨에 해당하는 동작이 설정되어 있습니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><img src=\"https://blogfiles.pstatic.net/MjAxOTA1MTZfMTkg/MDAxNTU3OTkyMjgwMTAy.mkSiRPvL5TXgc1qTN-6_70g9HWanpgvvrQAQY3ESagYg.csuTSxrJsLCjaSAGpL0i8UkGHK7x910EGqW20E8Lr6gg.PNG.elepartsblog/03-1.png?type=w2\" width=\"614\" height=\"383\" id=\"MjAxOTA1MTZfMTkg/MDAxNTU3OTkyMjgwMTAy.mkSiRPvL5TXgc1qTN-6_70g9HWanpgvvrQAQY3ESagYg.csuTSxrJsLCjaSAGpL0i8UkGHK7x910EGqW20E8Lr6gg.PNG.elepartsblog/03-1.png\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: 1px solid rgb(0, 0, 0); cursor: pointer; clear: none;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">위 코드에 각각 동작 테스트를 위한 시리얼 출력을 추가해 주도록 하겠습니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">또한, 블루투스 알림 전송 주기가&nbsp;<span style=\"color: #ff0000;\"><b>3ms</b></span>로 설정되어 있는데 이를 좀 늦추도록 하겠습니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">아래가 변경된 코드입니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><img src=\"https://blogfiles.pstatic.net/MjAxOTA1MTZfNDkg/MDAxNTU3OTkyMjgwMzUz.2meaA1cydN8L84hMl4KSTpXmgzCwp-n93JITJaAawMwg._blW3ISFredLZPc9HAdwe0ybCbUM-i6qgHm6Gpte5U0g.PNG.elepartsblog/03-2.png?type=w2\" width=\"695\" height=\"439\" id=\"MjAxOTA1MTZfNDkg/MDAxNTU3OTkyMjgwMzUz.2meaA1cydN8L84hMl4KSTpXmgzCwp-n93JITJaAawMwg._blW3ISFredLZPc9HAdwe0ybCbUM-i6qgHm6Gpte5U0g.PNG.elepartsblog/03-2.png\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: 1px solid rgb(0, 0, 0); cursor: pointer; clear: none;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">알림 부분에서 value++; 전에 아래의 구문을 추가해 준 뒤 딜레이를 늘려줍니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><b><span style=\"color: #ff0000;\">Serial.println(value, HEX);&nbsp;</span></b></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">그리고 disconnecting 및 connecting 안내를 시리얼 출력으로 추가해 주시면 됩니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #ff0000;\"><b>Serial.println(\"disconnecting\");</b></span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #ff0000;\"><b>Serial.println(\"connecting\");</b></span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">이제 컴파일을 한 뒤<b>&nbsp;nRF Connect</b>&nbsp;앱을 실행시켜 줍니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">앱을 켜면 자동으로 스캔을 시도하며, 만일 스캔이 되지 않은 경우 빨간 화살표 부분의 글자가 SCAN 일 때 해당 글자를 눌러 주시면 됩니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><img src=\"https://blogfiles.pstatic.net/MjAxOTA1MTZfMjg1/MDAxNTU3OTkyMjgwNjY3.MwChW9AzIyAn25HMyWnDpc41WR4DEA5j-GeJ0Utpk_kg.twzUKvXMPpWLsDJrbeV-oslvvyyENZT9o-YwUNjNbVsg.JPEG.elepartsblog/04-1.jpg?type=w2\" width=\"432\" height=\"579\" id=\"MjAxOTA1MTZfMjg1/MDAxNTU3OTkyMjgwNjY3.MwChW9AzIyAn25HMyWnDpc41WR4DEA5j-GeJ0Utpk_kg.twzUKvXMPpWLsDJrbeV-oslvvyyENZT9o-YwUNjNbVsg.JPEG.elepartsblog/04-1.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: 1px solid rgb(0, 0, 0); cursor: pointer; clear: none;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">오류 등으로 스캔이 잘 되지 않는 것 같다면 우측 상단 점 세 개(메뉴)를 눌러 Refresh를 해 주시면 스캔 결과가 리셋됩니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">검색이 된 경우 ESP32로 적힌 기기를 발견할 수 있으며, 우측의 CONNECT를 눌러 연결해 주시면 됩니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">아래는 ESP32 연결 화면입니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><img src=\"https://blogfiles.pstatic.net/MjAxOTA1MTZfNzkg/MDAxNTU3OTkyMjgwOTA4.sbHtqP9IywT604vHgKNhW9rUG9gaM75-v9ZCt-IzyxYg.Jqq4L4BGmBYzVDZE8WciwthQW4fvEc9K1o424T62sK0g.JPEG.elepartsblog/04-2.jpg?type=w2\" width=\"431\" height=\"585\" id=\"MjAxOTA1MTZfNzkg/MDAxNTU3OTkyMjgwOTA4.sbHtqP9IywT604vHgKNhW9rUG9gaM75-v9ZCt-IzyxYg.Jqq4L4BGmBYzVDZE8WciwthQW4fvEc9K1o424T62sK0g.JPEG.elepartsblog/04-2.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: 1px solid rgb(0, 0, 0); cursor: pointer; clear: none;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">빨간 원 부분에 연결된 기기명을 확인 가능하며 사각형 부분의 UUID가 예제 코드에 정의되어있는 값과 동일한 것을 확인 가능합니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">&gt; 예제코드의 UUID 정의부분</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><img src=\"https://blogfiles.pstatic.net/MjAxOTA1MTZfMTI0/MDAxNTU3OTkyMjgxMTcz.KmQT0P78rWnGIRE_zSwYZ3TBqRM1FhwmiXryQNAQeYIg.RsOtr2Pj9k5V6i2VPfzu28N75RHTNXnUPIJqcgAejQQg.PNG.elepartsblog/04-2-.png?type=w2\" width=\"591\" height=\"145\" id=\"MjAxOTA1MTZfMTI0/MDAxNTU3OTkyMjgxMTcz.KmQT0P78rWnGIRE_zSwYZ3TBqRM1FhwmiXryQNAQeYIg.RsOtr2Pj9k5V6i2VPfzu28N75RHTNXnUPIJqcgAejQQg.PNG.elepartsblog/04-2-.png\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: 1px solid rgb(0, 0, 0); cursor: pointer; clear: none;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">접속 상태는 원 상단의 DISCONNECT 버튼을 눌려 끊을 수 있습니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">연결을 끊으면 DISCONNECT 버튼이 CONNECT 버튼으로 바뀌며, 다시 누르면 연결됩니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">위에서 시리얼 출력을 추가해 주었으므로 시리얼 모니터를 확인하시면 아래와 같이 로그가 생성됩니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><img src=\"https://blogfiles.pstatic.net/MjAxOTA1MTZfMjIw/MDAxNTU3OTkyMjgxNDE1.lG18puA_XeFmpYdoAyWYH4FX2vvgfJFS_HKfMWvrg9sg.ECLaP0BhpZPIgmrW_HXwaQX_lBgzgMyw0CMy2xoIZCEg.PNG.elepartsblog/04-2-2.png?type=w2\" width=\"648\" height=\"244\" id=\"MjAxOTA1MTZfMjIw/MDAxNTU3OTkyMjgxNDE1.lG18puA_XeFmpYdoAyWYH4FX2vvgfJFS_HKfMWvrg9sg.ECLaP0BhpZPIgmrW_HXwaQX_lBgzgMyw0CMy2xoIZCEg.PNG.elepartsblog/04-2-2.png\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: 1px solid rgb(0, 0, 0); cursor: pointer; clear: none;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #ff0000;\">※ 좌측 [(시간표시) -&gt;]는 타임 스태프 표시 옵션을 켜두면 표시됩니다.</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">숫자 0,1,2는 notify로 전송되는 값이며 아래에서 확인하는 방법을 보도록 하겠습니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">Unknown Service 부분을 누르면 창이 확장되며, 데이터 수신 버튼이 생성됩니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><img src=\"https://blogfiles.pstatic.net/MjAxOTA1MTZfMTk0/MDAxNTU3OTkyMjgxNjI4.JEqAfnKi68NMDTkDhAstVPaDwh7MtptPxfTIlwtDD4Qg.O9eb8UpFtyM-if3MvziU41kBCZ7smAgaYKTCYmfm5icg.JPEG.elepartsblog/04-3.jpg?type=w2\" width=\"430\" height=\"592\" id=\"MjAxOTA1MTZfMTk0/MDAxNTU3OTkyMjgxNjI4.JEqAfnKi68NMDTkDhAstVPaDwh7MtptPxfTIlwtDD4Qg.O9eb8UpFtyM-if3MvziU41kBCZ7smAgaYKTCYmfm5icg.JPEG.elepartsblog/04-3.jpg\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: 1px solid rgb(0, 0, 0); cursor: pointer; clear: none;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">위의&nbsp;<span style=\"color: #ff0000;\"><b>빨간 원 부분이 데이터 수신(1회 / 연속) 버튼</b></span>입니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">해당 버튼을 누르면<b><span style=\"color: #0075c8;\">&nbsp;파란 사각형 부분에 ESP32가 블루투스 notify로 보내는 값이 표시</span></b>됩니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">ESP32에서는 수신 여부와 관계없이 주기적으로 데이터를 보내고 있으므로 1회 수신을 누를 때마다 값이 쭉쭉 커지는 것을 확인 가능합니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">연속 수신 버튼을 누른 뒤 ESP32의 시리얼 모니터를 확인하시면 송신 데이터가 동일하게 올라가는 것을 확인하실 수 있습니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><img src=\"https://blogfiles.pstatic.net/MjAxOTA1MTZfMjEw/MDAxNTU3OTkyMjgxOTU5.rtUcFwBWHiUTLSUsz7-cUgHxF6P2lA7gjFBP4SgdNU8g.-rJlgV9G2fV8y4yKGtLYcBv0Z5mTDB7qPPVrLbw6UxQg.PNG.elepartsblog/04-3-2.png?type=w2\" width=\"740\" height=\"291\" id=\"MjAxOTA1MTZfMjEw/MDAxNTU3OTkyMjgxOTU5.rtUcFwBWHiUTLSUsz7-cUgHxF6P2lA7gjFBP4SgdNU8g.-rJlgV9G2fV8y4yKGtLYcBv0Z5mTDB7qPPVrLbw6UxQg.PNG.elepartsblog/04-3-2.png\" alt=\"\" class=\"_photoImage\" data-lazy-src=\"\" style=\"border: 1px solid rgb(0, 0, 0); cursor: pointer; clear: none;\" /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><span style=\"color: #ff0000;\">※ 시리얼 모니터의 값이 123456이면 앱의 value는 56-34-12 형태로 표시됩니다.</span></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">간단히 확인 가능한 데이터 송신 예제는 이것으로 마치도록 하겠습니다.</p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\"><br /></p>\r\n<p style=\"padding: 0px; line-height: 1.5; color: #557a74; font-family: 돋움; text-align: justify; background-color: #ffffff;\">이외에도 다른 BLE 예제를 nRF 앱으로 테스트하시면 스마트폰에서 ESP32로 데이터를 보내는 예제 코드 등을 확인해 보실 수 있습니다.</p>\r\n<p>\r\n   <p>&nbsp;</p>\r\n   </p>\r\n<div class=\"autosourcing-stub-extra\" style=\"line-height: 1.5; zoom: 1; opacity: 1;\">\r\n   <p style=\"margin: 11px 0px 7px; padding: 0px; line-height: 1.5; font-size: 12px; font-family: Dotum; font-style: normal; font-weight: normal;\"><strong style=\"padding: 0px 7px 0px 0px;\">[출처]</strong><span>&nbsp;</span><a href=\"https://blog.naver.com/elepartsblog/221539140298\" target=\"_blank\" style=\"text-decoration: none;\">ESP32 사용해보기 - 04. 블루투스 예제 동작 테스트</a><span style=\"padding: 0px 7px 0px 5px;\">|</span><strong style=\"padding: 0px 7px 0px 0px;\">작성자</strong><span>&nbsp;</span><a href=\"https://blog.naver.com/elepartsblog\" target=\"_blank\" style=\"text-decoration: none;\">미디어엘레파츠</a></p>\r\n   </div>','https://blog.naver.com/elepartsblog/221539140298','',4,0,6,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-05-23 13:04:39',0,'2019-05-23 13:04:39','210.101.103.92','','','','','','','','','','','',''),(418,-418,'',418,0,0,'','','html1','[Linux] Raspberry Pi 3 무선랜(WiFi) 설정 방법','<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">Raspberry Pi 3에 내장된 무선랜(WiFi)를 사용하기 위해 필요한 설정 방법에 대해서 다룹니다.</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">Raspbian 2018년 11월 13일 버전으로 테스트 완료했습니다.</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span id=\"docs-internal-guid-00b4e529-7fff-fe49-88bf-b3c188e558a2\"><br /><br /></span></p>\r\n<div dir=\"ltr\" style=\"box-sizing: border-box; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 0pt;\">\r\n   <table style=\"max-width: 100%; width: 510.236pt; border-width: initial; border-style: none; border-color: initial;\"><colgroup><col width=\"*\" /></colgroup>\r\n      <tbody>\r\n         <tr style=\"height: 0pt;\">\r\n            <td style=\"border-width: 1pt; border-style: solid; border-color: #000000; vertical-align: top; background-color: #d9ead3; padding: 5pt;\"><br />\r\n               <p dir=\"ltr\" style=\"padding-top: 0px !important; padding-bottom: 0px !important; margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> &nbsp;&nbsp;&nbsp;1. raspi-config를 사용시 문제점</span></p>\r\n               <br />\r\n               <p dir=\"ltr\" style=\"padding-top: 0px !important; padding-bottom: 0px !important; margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> &nbsp;&nbsp;&nbsp;2. 커맨드 명령으로 WiFi 연결 설정 및 테스트</span></p>\r\n               <br />\r\n               <p dir=\"ltr\" style=\"padding-top: 0px !important; padding-bottom: 0px !important; margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> &nbsp;&nbsp;&nbsp;3. 두 장소 이상에서 무선랜(WIFI) 사용하기</span></p>\r\n               <br /></td>\r\n            </tr>\r\n         </tbody>\r\n      </table>\r\n   </div>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">최종 업데이트 - 2018. 11. 24</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /><br /><br /></p>\r\n<h1 dir=\"ltr\" style=\"font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; background-color: #ffffff; line-height: 1.38; margin-top: 20pt; margin-bottom: 6pt;\"><span style=\"box-sizing: border-box; font-size: 20pt; font-family: Arial; background-color: transparent; font-weight: 400; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">1. raspi-config를 사용시 문제점</span></h1>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">최근 라즈비안 버전의 &nbsp;</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">라즈베리파이 설정 도구 raspi-config</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">에 와이파이를 설정할 수 있는 방법이 추가되었습니다. </span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">하지만 실행시켜보면 아래 화면처럼 설정 파일에 평문 패스워드가 입력이 됩니다.</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">이 방법으로 해도 문제없이 동작은 하지만 보안상 문제가 있을듯 하면 wpa_passphrase 명령을 사용해야 할 듯 보입니다. </span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"></span></p>\r\n<div dir=\"ltr\" style=\"box-sizing: border-box; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 0pt;\">\r\n   <table style=\"max-width: 100%; width: 769px; border-width: initial; border-style: none; border-color: initial;\"><colgroup></colgroup>\r\n      <tbody>\r\n         <tr style=\"height: 0pt;\">\r\n            <td style=\"vertical-align: top; background-color: #1d1f21; padding: 5pt;\">\r\n               <p dir=\"ltr\" style=\"padding-top: 0px !important; padding-bottom: 0px !important; margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #81a2be; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">pi@raspberrypi:~ $ cat /etc/wpa_supplicant/wpa_supplicant.conf</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">update_config=1</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">country=KR</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">network={</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ssid=</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #b5bd68; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">\"webnautes\"</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;psk=</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #b5bd68; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">\"qwerty2018\"</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">}</span></p>\r\n               </td>\r\n            </tr>\r\n         </tbody>\r\n      </table>\r\n   </div>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /><br /><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">wpa_passphrase &nbsp;명령을 사용하면 평문 패스워드를 암호화서 사용할 수 있게 해줍니다. &nbsp;&nbsp;자세한 내용은 다음 장을 확인하세요. </span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"></span></p>\r\n<div dir=\"ltr\" style=\"box-sizing: border-box; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 0pt;\">\r\n   <table style=\"max-width: 100%; width: 769px; border-width: initial; border-style: none; border-color: initial;\"><colgroup></colgroup>\r\n      <tbody>\r\n         <tr style=\"height: 0pt;\">\r\n            <td style=\"vertical-align: top; background-color: #1d1f21; padding: 5pt;\">\r\n               <p dir=\"ltr\" style=\"padding-top: 0px !important; padding-bottom: 0px !important; margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #81a2be; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">pi@raspberrypi:~ $ sudo wpa_passphrase webnautes qwerty2018</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">network={</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ssid=</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #b5bd68; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">\"webnautes\"</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #969896; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">#psk=\"qwerty2018\"</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;psk=ba9073738f6920d7e2309d0db9ab7a6b525dd1d7de8aa074d09bdfea0b8066c4</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">}</span></p>\r\n               </td>\r\n            </tr>\r\n         </tbody>\r\n      </table>\r\n   </div>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /><br /><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">또한 &nbsp;raspi-config에서 WiFi 국가를 한국으로 변경했다면 다음처럼 문제가 생길 수 있습니다.</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<div dir=\"ltr\" style=\"box-sizing: border-box; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 0pt;\">\r\n   <table style=\"max-width: 100%; width: 769px; border-width: initial; border-style: none; border-color: initial;\"><colgroup></colgroup>\r\n      <tbody>\r\n         <tr style=\"height: 0pt;\">\r\n            <td style=\"vertical-align: top; background-color: #1d1f21; padding: 5pt;\">\r\n               <p dir=\"ltr\" style=\"padding-top: 0px !important; padding-bottom: 0px !important; margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #81a2be; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">pi@raspberrypi:~ $ cat /etc/wpa_supplicant/wpa_supplicant.conf</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #f0f0f0; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">update_config=1</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">country=KR</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #81a2be; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">pi@raspberrypi:~ $ sudo iwlist wlan0 scan</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #ff0000; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">wlan0 &nbsp;&nbsp;&nbsp;&nbsp;Interface doesn\'t support scanning : Invalid argument</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #c5c8c6; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><br class=\"kix-line-break\" /></span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Consolas; color: #81a2be; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">pi@raspberrypi:~ $</span></p>\r\n               </td>\r\n            </tr>\r\n         </tbody>\r\n      </table>\r\n   </div>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">디폴트 값으로 되돌리려면 raspi-config에서</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> Localisation Options &nbsp;&gt;  Change Wi-fi Country &gt; US United States</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">를 선택하면 됩니다. </span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /><br /><br /></p>\r\n<h1 dir=\"ltr\" style=\"font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; background-color: #ffffff; line-height: 1.38; margin-top: 20pt; margin-bottom: 6pt;\"><span style=\"box-sizing: border-box; font-size: 20pt; font-family: Arial; background-color: transparent; font-weight: 400; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">2. 커맨드 명령으로 WiFi 연결 설정 및 테스트</span></h1>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">2-1. </span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">iwconfig </span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">명령을 사용하면 라즈베리파이에 연결되어 있는 네트워크 어댑터들을 보여주는데 무선 네트워크 기능이 없으면 </span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">no wireless extensions</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">라고 출력됩니다.</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">리스트 중 </span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">wlan0</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">이 Raspberry Pi 3에 내장되어있는 무선랜 어댑터입니다. </span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><img src=\"https://lh6.googleusercontent.com/z_3nH7kytG-3OHu9Y2CYTiHSEHfiT_jt1XcnfjW3NzAfsm5GCWghJ3Q-l9MnbrYnVTOezl_3dy1j2lqW1uqGddu4y0_W2W7emejpvcjOUFgWI4S2uW8EeVMYSveHtUOTfU-biEvU\" width=\"681\" height=\"192\" style=\"border: 1pt solid rgb(0, 0, 0); max-width: 100%; transform: rotate(0rad);\" /></span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /><br /><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">2-2. </span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">sudo iwlist wlan0 scan</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> 명령을 사용하여 접속 가능한 주변 무선 네트워크(AP, 무선공유기)를 검색합니다.</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">이미 무선 네트워크의 SSID를 알고 있다면 다음 단계를 진행하세요.</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">간혹 아래 명령어를 실행시켰는데 &nbsp;</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">wlan0 No scan results</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">라고 나올 수도 있습니다. </span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">이유는 모르겠지만 여러번 다시 실행시켜보다보면 아래와 같은 결과가 나옵니다.</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><img src=\"https://lh6.googleusercontent.com/-3zn2R__1OHr5573CidKdbtw9dAZ6BRpjEzHIHnM-1KSGY8m7_a_y0RCGBhSg1XaPJ4NnqpoWHKYEv5dAjNycrtiQQcxMPa5fbsr-qsW4S1SqaqXemom4ktG9Ah7RPLF9eSMhb5b\" width=\"681\" height=\"488\" style=\"border: 1pt solid rgb(0, 0, 0); max-width: 100%; transform: rotate(0rad);\" /></span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">검색 결과에서 다음 2가지를 확인하면 됩니다.</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">ESSID:”</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; color: #0000ff; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">webnautes</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">”</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> &nbsp;→  webnautes가 무선 네트워크 이름입니다. </span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">&nbsp;</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">IE: IEEE 802.11i/</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; color: #0000ff; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">WPA2</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> Version 1 &nbsp;</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">&nbsp;→ &nbsp;무선 네트워크 접속시 </span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">WPA2 </span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">보안정책을 사용해야 합니다.</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /><br /><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">2-3. </span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">/etc/wpa_supplicant/wpa_supplicant.conf 설정 파일</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">을 수정하여</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> 접속할 무선 네트워크</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">와</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> 무선 네트워크 접속시 사용할 보안 정책</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">을 설정할 수 있습니다.</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">보안 상의 이유로</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> wpa_supplicant.conf 설정 파일</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">에 </span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">접속할 무선 네트워크의 암호</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">를 직접 입력하지 않습니다.</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">대신에 </span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">wpa_passphrase</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> 명령을 사용하여 &nbsp;</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">접속할 무선 네트워크의 암호</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">에 대한 </span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">&nbsp;PSK</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">를 생성하여 입력합니다.</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">wpa_passphrase</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> 명령은 다음처럼 사용합니다.</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<div dir=\"ltr\" style=\"box-sizing: border-box; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 0pt;\">\r\n   <table style=\"max-width: 100%; width: 510.236pt; border-width: initial; border-style: none; border-color: initial;\"><colgroup><col width=\"*\" /></colgroup>\r\n      <tbody>\r\n         <tr style=\"height: 0pt;\">\r\n            <td style=\"vertical-align: top; background-color: #f8f8f8; padding: 5pt;\">\r\n               <p dir=\"ltr\" style=\"padding-top: 0px !important; padding-bottom: 0px !important; margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;\"><span style=\"box-sizing: border-box; font-size: 10pt; font-family: Consolas; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">$ </span><span style=\"box-sizing: border-box; font-size: 10pt; font-family: Consolas; color: #980000; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">wpa_passphrase &nbsp;접속할_무선_네트워크의_SSID &nbsp;접속할_무선_네트워크의_암호</span></p>\r\n               </td>\r\n            </tr>\r\n         </tbody>\r\n      </table>\r\n   </div>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">접속할 무선 네트워크의 SSID</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">가 webnautes이고 </span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">접속할 무선 네트워크의 암호</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">가 testpassword 인경우 입니다.</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">wpa_passphrase</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> 명령을 실행하면 암호 testpassword에 대한 PSK가 생성됩니다. (빨간색 사각형 부분)</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><img src=\"https://lh5.googleusercontent.com/45n6CsdBDAHP8mQNaTl13cT3hqc4_X6_cd7M4zpSFqMzqq5_ZhU1Q-HFQaUYZS-Iy1HdgvDtEPRgcklj9J0HJZpk8KiPruAku1Kj71Qw1n7dZobvNyHBBiTn5I7Xoi9PiLBHeECY\" width=\"681\" height=\"105\" style=\"border: none; max-width: 100%; transform: rotate(0rad);\" /></span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /><br /><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">2-4.</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> /etc/wpa_supplicant/wpa_supplicant.conf 설정 파일</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">에 위 명령의 결과를 전부 복사해와서 </span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">#psk</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">로 시작하는 줄만 삭제합니다.</span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<div dir=\"ltr\" style=\"box-sizing: border-box; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; margin-left: 0pt;\">\r\n   <table style=\"max-width: 100%; width: 510.236pt; border-width: initial; border-style: none; border-color: initial;\"><colgroup><col width=\"*\" /></colgroup>\r\n      <tbody>\r\n         <tr style=\"height: 0pt;\">\r\n            <td style=\"vertical-align: top; background-color: #f0f0f0; padding: 5pt;\">\r\n               <p dir=\"ltr\" style=\"padding-top: 0px !important; padding-bottom: 0px !important; margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;\"><span style=\"box-sizing: border-box; font-size: 10pt; font-family: Consolas; color: #444444; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">$</span><span style=\"box-sizing: border-box; font-size: 10pt; font-family: Consolas; color: #980000; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"></span><span style=\"box-sizing: border-box; font-size: 10pt; font-family: Consolas; color: #980000; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">sudo nano /etc/wpa_supplicant/wpa_supplicant.conf</span></p>\r\n               </td>\r\n            </tr>\r\n         </tbody>\r\n      </table>\r\n   </div>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><img src=\"https://lh4.googleusercontent.com/UeaD-TPV7F2jMIYmchIXOgc6Q_74aDLXwxGzkEYMsz6FYtRyk5hmN_z-BzMUtoxG59YmGtkgJGDXESh8k1nr0bRTPILGFS2T1zowyM6M3dDQf5gdHm3DLIZWUgv134AO7EJ3FkHQ\" width=\"681\" height=\"201\" style=\"border: 1pt solid rgb(0, 0, 0); max-width: 100%; transform: rotate(0rad);\" /></span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /><br /><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">다음처럼 설정 파일에 더 적어줘야 하는 옵션들이 있지만 보통 없어도 잘 됩니다. </span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"><img src=\"https://lh5.googleusercontent.com/Mabz7uM-_L05gpnboRqapm9elMRJ5NVCadnNM4WG7-JDnFU8n1k8eiHYj98g7aOLAFdh_oEJPJ4Gq8ePElUdI5B60ZDlRAxDxZdNDgXAVRd09mFjdSLfL0QjlYLArhQlhhgrPgLm\" width=\"624\" height=\"164\" style=\"border: none; max-width: 100%; transform: rotate(0rad);\" /></span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /><br /><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">2-5. </span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; color: #980000; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">Raspberry Pi를 재부팅을 해야 적용됩니다. </span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">랜선을 연결한 상태에서 재부팅하세요. &nbsp;WiFi 어댑터에 할당된 IP를 확인하고 이후에는 랜선 없이 사용하면 됩니다. </span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">ifconfig</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\"> 명령을 실행해보면 WiFi 어댑터인 </span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-weight: 700; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">wlan0</span><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">에 아이피가 할당된 것을 볼 수 있습니다. </span></p>\r\n<p dir=\"ltr\" style=\"margin-top: 0pt; margin-bottom: 0pt; font-family: &quot;Noto Sans KR&quot;, &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; line-height: 1.38; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"box-sizing: border-box; font-size: 11pt; font-family: Arial; background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;\">이후 사용시에도','https://webnautes.tistory.com/903','',0,0,4,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-05-23 13:17:51',0,'2019-05-23 13:17:51','210.101.103.92','','','','','','','','','','','',''),(419,-419,'',419,0,0,'','','html1','[Linux] root 계정에서 paho python 동작 에러시 조치사항','<p>라즈베리파이등에서 paho 사용시 일반 pi계정에서는 정상동작하는데 sudo 사용시에 아래와 같은 에러가 나오는 경우가 있음.</p>\r\n<p>...</p>\r\n<p>import paho.mqtt.client as paho&nbsp;</p>\r\n<p>ImportError: No module named paho.mqtt.client</p>\r\n<p>&nbsp;</p>\r\n<p>------&gt; 아래와 같은 조치로 해결가능함.</p>\r\n<p><span style=\"color: #242729; font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 15px;\">&nbsp;</span></p>\r\n<p><span style=\"color: #242729; font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 15px;\">cd /usr/lib/python2.7/dist-packages</span></p>\r\n<p><span style=\"color: #242729; font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 15px;\">sudo ln -s /home/pi/.local/lib/python2.7/site-packages/paho</span></p>','https://stackoverflow.com/questions/48752469/cannot-run-paho-mqtt-client-importerror-no-module-named-paho-mqtt-client','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-06-07 10:09:04',0,'2019-06-07 10:09:04','210.101.103.92','','','','','','','','','','','',''),(420,-420,'',420,0,0,'','','html1','[ETC] QHD 모니터 해상도 설정하기','<p>NVIDA 제어판 &gt; 해상도 변경 &gt; 사용자 정의 해상도에서 \"사용자 정의 해상도 만들기\" 에서</p>\r\n<p>2560 x 1440 설정후, 하단 표준방식에서 CVT로 하면 됨.</p>','','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2019-06-08 00:54:54',1,'2019-06-08 00:54:54','192.168.219.103','','','','','','','','','','','',''),