(475,-475,'',475,0,0,'','','html1','[ETC] 3.3V SOT-23 IC','<h3 class=\"mb10\" style=\"margin-top: 0px; margin-right: 0px; margin-left: 0px; padding: 5px 0px 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 19px; line-height: inherit; font-family: &quot;Nanum Gothic&quot;, &quot;Apple SD Gothic Neo&quot;, Droidsans, AppleSDGothic, sans-serif; color: #222222; margin-bottom: 10px !important;\">AP2112K-3.3TRG1</h3>\r\n<div class=\"imageArea\" style=\"margin: 0px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 13px; line-height: inherit; font-family: &quot;Nanum Gothic&quot;, &quot;Apple SD Gothic Neo&quot;, Droidsans, AppleSDGothic, sans-serif; float: left; width: 300px; text-align: center; color: #222222;\">\r\n   <div class=\"slides_container hide\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; position: relative;\">\r\n      <div class=\"goodsimg_box\" style=\"margin: 0px 0px 10px; padding: 0px; border: 1px solid rgb(222, 222, 222); font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: 300px; font-family: inherit; display: table; height: 300px; width: 300px;\"><a href=\"https://img2.eleparts.co.kr/goods/1/2018/08/6559752_tmp_14f3a5f5b1bb10dac77d775339afeca36703large.jpg\" rel=\"group1\" title=\"확대이미지1\" class=\"cboxElement\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; text-decoration-line: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none;\" target=\"_blank\"><img src=\"https://img2.eleparts.co.kr/goods/1/2018/08/6559752_tmp_14f3a5f5b1bb10dac77d775339afeca36703view.jpg\" class=\"goodsimg mb10\" style=\"margin: auto; padding: 0px; border: 0px; font: inherit; max-width: 300px; max-height: 300px; width: auto; height: auto; vertical-align: middle;\" /></a></div>\r\n      </div>\r\n   <p class=\"warningTxt mt20 mb20 left\" style=\"margin-left: 5px; padding: 0px 0px 0px 15px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: 18px; font-family: inherit; text-align: left; color: #d53f3e; background-image: url(&quot;../images/icon/icon-notice_r.png&quot;); background-position: 0px 3px; background-size: initial; background-repeat: no-repeat; background-attachment: initial; background-origin: initial; background-clip: initial; margin-top: 20px !important; margin-bottom: 20px !important;\"><span class=\"bold_ex\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 800; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit;\">이미지는 참조용으로만 사용됩니다.</span><br style=\"margin: 0px; padding: 0px;\" />정확한 사양은 제품 데이터시트를 확인하세요.</p>\r\n   <div class=\"goodsSns pdt20 bar_top2 left\" style=\"margin: 0px; padding-top: 20px !important; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-width: 1px 0px 0px; border-top-style: solid; border-right-style: initial; border-bottom-style: initial; border-left-style: initial; border-top-color: #dddddd; border-right-color: initial; border-bottom-color: initial; border-left-color: initial; border-image: initial; font: inherit; text-align: left !important;\"><span class=\"snsbox hand \" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; cursor: pointer;\"><img src=\"https://www.eleparts.co.kr/data/skin/default/images/board/icon/sns_f0.gif\" alt=\"페이스북\" title=\"페이스북\" valign=\"middle\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit;\" /></span>&nbsp;<span class=\"snsbox hand \" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; cursor: pointer;\"><img src=\"https://www.eleparts.co.kr/data/skin/default/images/board/icon/sns_t0.gif\" alt=\"트위터\" title=\"트위터\" valign=\"middle\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit;\" /></span>&nbsp;<span class=\"snsbox hand  kakao-link-btn\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; cursor: pointer;\"><img src=\"https://www.eleparts.co.kr/data/skin/default/images/board/icon/sns_k0.gif\" alt=\"카카오톡\" title=\"카카오톡\" valign=\"middle\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit;\" /></span>&nbsp;</div>\r\n   </div>\r\n<div class=\"textArea\" style=\"margin: 0px 0px 0px 20px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 13px; line-height: inherit; font-family: &quot;Nanum Gothic&quot;, &quot;Apple SD Gothic Neo&quot;, Droidsans, AppleSDGothic, sans-serif; float: left; width: 568px; color: #222222;\">\r\n   <h3 class=\"mb10\" style=\"margin-top: 0px; margin-right: 0px; margin-left: 0px; padding: 5px 0px 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 19px; line-height: inherit; font-family: inherit; margin-bottom: 10px !important;\">AP2112K-3.3TRG1&nbsp;<span class=\"redicon tooltip\" data-tooltip-text=\"해외재고상품입니다. 주문/결제후 취소가 불가능합니다.\" style=\"margin: 0px; padding: 2px 4px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 11px; line-height: inherit; font-family: inherit; color: #ffffff; background-color: #448bcb; border-radius: 2px; vertical-align: middle;\">해외</span>&nbsp;<span class=\"ico ico--nocancel\" style=\"margin: 0px 0px 0px 5px; padding: 0px; border: 0px; font: inherit; display: inline-block; vertical-align: middle; width: 79.5px; height: 17px; background-image: url(&quot;/data/skin/mobile_ver3_default/assets/images/icon/Icon_Status_11_Non_2_Withdraw.svg&quot;); background-position: 50% 50%; background-size: 79.5px 17px; background-repeat: no-repeat; background-attachment: initial; background-origin: initial; background-clip: initial;\"></span>&nbsp;<a style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; cursor: pointer;\"><span class=\"ico ico--5\" style=\"margin: 0px 0px 0px 5px; padding: 0px; border: 0px; font: inherit; display: inline-block; vertical-align: middle; width: 44.5px; height: 17px; background-image: url(&quot;/data/skin/mobile_ver3_default/assets/images/icon/Icon_Status_08_RoHS.svg&quot;); background-position: 50% 50%; background-size: 44.5px 17px; background-repeat: no-repeat; background-attachment: initial; background-origin: initial; background-clip: initial;\"></span></a></h3>\r\n   <p class=\"mb10 smmary pdt5\" style=\"padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; color: #828282; margin-bottom: 10px !important; padding-top: 5px !important;\">Diodes Incorporated AP2112K-3.3TRG1, 포장단위:5ea</p>\r\n   <ul class=\"goodsInfoList\" style=\"margin: 0px; padding: 15px 0px 10px; border-width: 1px 0px; border-top-style: solid; border-right-style: initial; border-bottom-style: solid; border-left-style: initial; border-top-color: #dddddd; border-right-color: initial; border-bottom-color: #dddddd; border-left-color: initial; border-image: initial; font: inherit; list-style: none; color: #686868; box-sizing: border-box;\">\r\n      <li style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none;\"><span style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 800; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; display: inline-block; width: 88px; height: 25px; color: #313131;\">제품번호</span>&nbsp;<span class=\"orange2 bold_ex\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 800; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; color: #f15c35;\">EPXKD9T8</span></li>\r\n      <li style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none;\"><span style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 800; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; display: inline-block; width: 88px; height: 25px; color: #313131;\">브랜드</span>&nbsp;DIODES&nbsp;<button class=\"btn_white_s ml10\" style=\"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; padding: 3px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: 0px; cursor: pointer; appearance: button; border-width: 1px; border-style: solid; border-color: #cdcdcd; font-family: 돋음; border-radius: 2px; background: none rgb(255, 255, 255); color: #686868; font-size: 11px; font-weight: bold; line-height: 13px; margin-left: 10px !important;\">브랜드샵&nbsp;<span class=\"icon_house\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; display: inline-block; width: 11px; height: 10px; background: url(&quot;../images/icon/icon_opt.png&quot;) 0px 0px no-repeat;\"></span></button>&nbsp;<button class=\"btn_white_s _brandtooltip\" style=\"margin: 0px; padding: 3px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: 0px; cursor: pointer; appearance: button; border-width: 1px; border-style: solid; border-color: #cdcdcd; font-family: 돋음; border-radius: 2px; background: none rgb(255, 255, 255); color: #686868; font-size: 11px; font-weight: bold; line-height: 13px;\">A/S정보&nbsp;<span class=\"icon_opt\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; display: inline-block; width: 11px; height: 10px; background: url(&quot;../images/icon/icon_opt.png&quot;) 0px -20px no-repeat;\"></span></button>\r\n         <div class=\"brandtooltip\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; position: relative;\">&nbsp;</div>\r\n         </li>\r\n      <li style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none;\"><span style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 800; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; display: inline-block; width: 88px; height: 25px; color: #313131;\">제조사</span>&nbsp;DIODES</li>\r\n      </ul>\r\n   <ul class=\"goodsInfoList2 clearbox\" style=\"margin: 0px; padding: 15px 0px 5px; border-width: 0px 0px 1px; border-top-style: initial; border-right-style: initial; border-bottom-style: solid; border-left-style: initial; border-top-color: initial; border-right-color: initial; border-bottom-color: #dddddd; border-left-color: initial; border-image: initial; font: inherit; list-style: none; color: #686868; box-sizing: border-box;\">\r\n      <li style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; float: left; width: 275px; height: 30px;\"><span style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 800; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; display: inline-block; min-width: 88px; max-width: 150px; width: auto; color: #313131;\">평균발송일</span>&nbsp;14일(03/22) (94% 근무일기준)</li>\r\n      <li style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; float: left; width: 275px; height: 30px;\"><span style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 800; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; display: inline-block; min-width: 88px; max-width: 150px; width: auto; color: #313131;\">부품패키지</span>&nbsp;SOT-25</li>\r\n      <li style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; float: left; width: 275px; height: 30px;\"><span style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 800; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; display: inline-block; min-width: 88px; max-width: 150px; width: auto; color: #313131;\">포장</span>&nbsp;<span class=\"warningTxt underline mt10 bold mb20 tooltip\" data-tooltip-text=\"본 제품은 컷테이프 포장입니다.<br>재고 상태에 따라 여러개의 컷테이프로 나뉘어 배송될수 있습니다.<br>예) 100개 -> 10개 + 90개\" style=\"margin-right: 0px; margin-left: 5px; padding: 0px 0px 0px 15px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: bold; font-stretch: inherit; line-height: 18px; font-family: inherit; text-decoration-line: underline; color: rgb(213, 63, 62); background-image: url(&quot;../images/icon/icon-notice_r.png&quot;); background-position: 0px 3px; background-size: initial; background-repeat: no-repeat; background-attachment: initial; background-origin: initial; background-clip: initial; margin-top: 10px !important; margin-bottom: 20px !important;\">컷테이프</span></li>\r\n      <li style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; float: left; width: 275px; height: 30px;\"><span style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 800; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; display: inline-block; min-width: 88px; max-width: 150px; width: auto; color: #313131;\">M.O.Q</span>5</li>\r\n      <li style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; float: left; width: 275px; height: 30px;\"><span style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 800; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; display: inline-block; min-width: 88px; max-width: 150px; width: auto; color: #313131;\">판매단위</span>5</li>\r\n      </ul>\r\n   <div class=\"companyInfoBox mt20 pdt20 pdl20\" style=\"margin-top: 20px !important; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 20px !important; padding-right: 0px; padding-bottom: 0px; padding-left: 20px !important; border: 2px solid rgb(239, 239, 239); font-style: inherit; font-variant: inherit; font-weight: bold; font-stretch: inherit; font-size: 23px; line-height: inherit; font-family: inherit; color: #212121; background-color: #f9f9f9; box-sizing: border-box;\">\r\n      <h4 style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 13px; line-height: inherit; font-family: inherit; color: #313131;\">주요사양&nbsp;<span style=\"margin: 0px; padding: 0px; border: 0px; font: inherit;\">(정확한 사양은 제조사 데이터시트를 참고하세요)</span></h4>\r\n      <ul class=\"dotList2 pdt10 pdb20\" style=\"margin: 0px; padding-top: 10px !important; padding-right: 0px; padding-bottom: 20px !important; padding-left: 0px; border: 0px; font: inherit; list-style: none;\">\r\n         <li style=\"margin: 0px; padding: 0px 0px 0px 10px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: 20px; font-family: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; color: #676767; background: url(&quot;../images/common/graydot.png&quot;) left center no-repeat; text-align: left;\">전류-출력: 600mA</li>\r\n         <li style=\"margin: 0px; padding: 0px 0px 0px 10px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: 20px; font-family: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; color: #676767; background: url(&quot;../images/common/graydot.png&quot;) left center no-repeat; text-align: left;\">동작온도: -40°C ~ 85°C</li>\r\n         <li style=\"margin: 0px; padding: 0px 0px 0px 10px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: 20px; font-family: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; color: #676767; background: url(&quot;../images/common/graydot.png&quot;) left center no-repeat; text-align: left;\">패키지/케이스: SC-74A</li>\r\n         <li style=\"margin: 0px; padding: 0px 0px 0px 10px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: 20px; font-family: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; color: #676767; background: url(&quot;../images/common/graydot.png&quot;) left center no-repeat; text-align: left;\">전압 드롭아웃: 0.4V @ 600mA</li>\r\n         <li style=\"margin: 0px; padding: 0px 0px 0px 10px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: 20px; font-family: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; color: #676767; background: url(&quot;../images/common/graydot.png&quot;) left center no-repeat; text-align: left;\">전압 드롭아웃(최대): 0.4V @ 600mA</li>\r\n         <li style=\"margin: 0px; padding: 0px 0px 0px 10px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: 20px; font-family: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; color: #676767; background: url(&quot;../images/common/graydot.png&quot;) left center no-repeat; text-align: left;\">실장 유형: 표면실장(SMD, SMT)</li>\r\n         <li style=\"margin: 0px; padding: 0px 0px 0px 10px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: 20px; font-family: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; color: #676767; background: url(&quot;../images/common/graydot.png&quot;) left center no-repeat; text-align: left;\">포장: 컷테이프 및 릴(TR)</li>\r\n         <li style=\"margin: 0px; padding: 0px 0px 0px 10px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: 20px; font-family: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; color: #676767; background: url(&quot;../images/common/graydot.png&quot;) left center no-repeat; text-align: left;\">출력구성: 포지티브</li>\r\n         <li style=\"margin: 0px; padding: 0px 0px 0px 10px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: 20px; font-family: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; color: #676767; background: url(&quot;../images/common/graydot.png&quot;) left center no-repeat; text-align: left;\">출력유형: 고정</li>\r\n         </ul>\r\n      </div>\r\n   <a href=\"https://www.eleparts.co.kr/goods/view?no=6559752#goodContent_3\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; text-decoration-line: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none;\" target=\"_blank\">\r\n      <p class=\"warningTxt underline red mt10 bold mb20 tooltip\" data-tooltip-text=\"현재 보고 있는 상품보다 더 낮은 가격의 대체상품이 있을 경우에 표시되는 주의표시입니다.\" style=\"margin-left: 5px; padding: 0px 0px 0px 15px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: bold; font-stretch: inherit; line-height: 18px; font-family: inherit; text-decoration-line: underline; color: #d53f3e; background-image: url(&quot;../images/icon/icon-notice_r.png&quot;); background-position: 0px 3px; background-size: initial; background-repeat: no-repeat; background-attachment: initial; background-origin: initial; background-clip: initial; margin-top: 10px !important; margin-bottom: 20px !important;\">더 저렴한 대체상품이 있습니다</p>\r\n      </a></div>','https://www.eleparts.co.kr/goods/view?no=6559752','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-02-28 12:47:58',0,'2021-02-28 12:47:58','192.168.219.104','','','','','','','','','','','',''),(476,-476,'',476,0,0,'','','html1','[Arduino] ESP32 CAM upload','<p><img src=\"http://bk94005.com:8080/board/data/editor/2103/20210306102722_8e9d1126e4926c08bca189a0ff408ae3_oy6f.png\" alt=\"esp32_cam_upload1.png\" style=\"width: 800px; height: 457px;\" /></p>\r\n<p>&nbsp;</p>\r\n<p>ESP32 Cam upload&nbsp; 방법 설명 이미지</p>\r\n<p>출처는 링크 &gt;&gt;&nbsp;https://www.youtube.com/watch?v=1xZ-0UGiUsY&amp;t=175s</p>','https://www.youtube.com/watch?v=1xZ-0UGiUsY&t=175s','https://www.google.com/search?q=esp32+cam+upload&source=lnms&tbm=isch&sa=X&ved=2ahUKEwiM5NyUwZrvAhUDQd4KHQzKDT0Q_AUoAXoECBIQAw&biw=2560&bih=1297#imgrc=tgy6eZ75mpIJHM',0,1,4,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-03-06 10:28:03',0,'2021-03-06 10:28:03','192.168.219.104','','','','','','','','','','','',''),(477,-477,'',477,0,0,'','','html1','[Eagle] Eagle Cad Via홀에 솔더마스크 적용','<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1;\">앞서 via 홀에 솔더마스크가 적용되지 않았다고 올렸는데요.</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1;\">검색해보니 금방 원인을 찾았습니다.&nbsp;</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><span class=\"imageblock\" style=\"box-sizing: border-box; display: inline-block; width: 638px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/99DB383C5B0578EE2A\" width=\"638\" filename=\"K-20180523-840197.jpg\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto;\" /></span></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\">via 홀의 property를 확인해 봅니다. Drill 사이즈는 15.7mil 입니다.&nbsp;</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\">그리고 아래쪽에 Stop체크박스가 있습니다.&nbsp;</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><span class=\"imageblock\" style=\"box-sizing: border-box; display: inline-block; width: 558px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/99F2B1345B05797F07\" width=\"558\" filename=\"K-20180523-837477.jpg\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto;\" /></span></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\">[Edit] - [Design Rules] 를 선택합니다.</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\">&nbsp;</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><span class=\"imageblock\" style=\"box-sizing: border-box; display: inline-block; width: 640px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/99B2B5385B0579DB13\" width=\"640\" filename=\"K-20180523-837570.jpg\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; cursor: pointer; height: auto;\" /></span></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\">Masks 탭에서 아래쪽 Limit 란을 수정하면 그 이하 사이즈의 via 홀은 마스크가 덮이게 됩니다.&nbsp;</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\">아까 확인한 Drill은 15.7mil 이었으므로 16mil로 수정해 보았습니다.</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><span class=\"imageblock\" style=\"box-sizing: border-box; display: inline-block; width: 531px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/991A4D415B057A7F22\" width=\"531\" filename=\"K-20180523-844582.jpg\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto;\" /></span></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\">수정하기 전의 솔더마스크 거버 파일은 위와 같았습니다.&nbsp;</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><span class=\"imageblock\" style=\"box-sizing: border-box; display: inline-block; width: 531px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/99C6B7415B057A7F17\" width=\"531\" filename=\"K-20180523-844782.jpg\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto;\" /></span></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\">Design Rules를 수정한 후의 솔더마스크는 위와 같이 via 홀이 제거된 것을 볼 수 있습니다.</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><br /></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\"><span class=\"imageblock\" style=\"box-sizing: border-box; display: inline-block; width: 435px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/99C412435B057AF30D\" width=\"435\" filename=\"K-20180523-836451.jpg\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto;\" /></span></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1; clear: none; float: none;\">솔더마스크 없이 특정 via 홀의 솔더를 노출시켜야 할 경우에는 property에서 Stop 란에 체크하면 됩니다.&nbsp;</p>\r\n<p><br style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1;\" /><br style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1;\" /><span style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1;\">출처:&nbsp;</span><a href=\"https://pashiran.tistory.com/830\" style=\"color: #000000; text-decoration-line: none; transition: all 0.3s ease 0s; font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1;\" target=\"_blank\">https://pashiran.tistory.com/830</a><span style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 14px; background-color: #f1f1f1;\">&nbsp;[이종훈\'s 작업실]</span></p>','https://pashiran.tistory.com/830','',0,0,14,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-03-07 12:05:19',1,'2021-03-07 12:05:19','210.101.103.92','','','','','','','','','','','',''),(478,-478,'',478,0,0,'','','html1','[ETC] MP1482 Step-Down Converter','<p>*아래 제품이 MP1482 사용<strong style=\"color: #888888; font-family: Verdana, Dotum, AppleGothic, sans-serif; font-size: 11px;\"><font face=\"Verdana\" size=\"5\">&nbsp;</font></strong><strong style=\"color: #888888; font-family: Verdana, Dotum, AppleGothic, sans-serif; font-size: 11px;\"><font face=\"Verdana\" size=\"5\">&nbsp;</font></strong></p>\r\n<p><span style=\"font-family: Verdana; font-size: x-large; background-color: #ffffff; color: #888888; font-weight: bold;\">&nbsp;</span><img alt=\"\" src=\"http://homemadeclub.co.kr/web/upload/NNEditor/20180716/B-05-01%20%EC%82%AC%EB%B3%B8-007_shop1_140651.jpg\" style=\"font-family: Verdana; font-size: x-large; background-color: #ffffff; color: #888888; font-weight: bold; margin: 0px; padding: 0px; border: none; vertical-align: top;\" />&nbsp;</p>\r\n<p><img src=\"https://www.jotrin.com/productFiles/familyImages/MPS/MP1482_170_1_2.jpg\" alt=\"MP14820S 블록 선도\" style=\"margin: 0px; padding: 0px; vertical-align: middle; border: 0px; max-width: 600px; color: #666666; font-family: Verdana, Helvetica, &quot;Segoe UI&quot;, 微软雅黑, 宋体; text-align: center; background-color: #ffffff;\" /></p>\r\n<p>* Out Voltage 구하는 공식</p>\r\n<p>Vout = 0.923 * ( (R1+R2) / R2 )</p>\r\n<p>---&gt; R1 : 10k is R2 : 26.1K ===&gt; Vout : 3.3V</p>\r\n<p>---&gt; R1 : 10k is R2 : 44.2K ===&gt; Vout : 5.0V</p>','https://www.monolithicpower.com/en/documentview/productdocument/index/version/2/document_type/Datasheet/lang/en/sku/MP1482/document_id/344','http://homemadeclub.co.kr/product/detail.html?product_no=430&cate_no=51',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-03-09 14:16:48',0,'2021-03-09 14:16:48','192.168.219.104','','','','','','','','','','','',''),(479,-479,'',479,0,0,'','','html1','[Arduino] Reliable data transmission(아두이노간 시리얼 통신)','<p><iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/eq5YpKHXJDM\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"></iframe></p>','https://www.youtube.com/watch?v=eq5YpKHXJDM','https://github.com/beneater/error-detection-videos',1,0,4,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-03-14 02:25:15',1,'2021-03-14 02:25:15','192.168.219.104','','','','','','','','','','','',''),(480,-480,'',480,0,0,'','','html1','[ETC] RS232 포트 구조','<p>RS232 포트 구조</p>\r\n<p>*강원전자 USB to 시리얼(RS232) 케이블 이미지에서 발췌</p>\r\n<p><img src=\"http://bk94005.com:8080/board/data/editor/2103/20210315084232_0014fad601780f7bba015213a042afa1_v0w1.png\" alt=\"usb_to_serial.png\" style=\"width: 630px; height: 610px;\" /></p>','https://www.navimro.com/p/items/K12136348/?access_google_shopping&utm_source=google&utm_medium=shopping&gclid=CjwKCAiAhbeCBhBcEiwAkv2cY9G_1lTtLd_NJuw6S0NKEHV3V3IlG9y1F7fVc8Ia5ZU-o-erZGPY1RoCszEQAvD_BwE','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-03-15 08:42:44',0,'2021-03-15 08:42:44','210.101.103.92','','','','','','','','','','','','');
INSERT INTO `g5_write_tech` VALUES (481,-481,'',481,0,0,'','','html1','[Arduio] HB100 Doppler radar with Arduino','<header class=\"entry-header\" style=\"box-sizing: inherit; border: 0px; font-family: Domine, Arial, Helvetica, sans-serif; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #555555;\">\r\n   <h1 class=\"post-title entry-title\" style=\"box-sizing: inherit; border: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-weight: normal; font-stretch: normal; font-size: 28px; line-height: 1.2; font-family: Oswald, Arial, Helvetica, sans-serif; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline; clear: both; color: #000000; position: relative; text-align: center;\"><a href=\"https://stoppi-homemade-physics.de/dopplerradar/\" rel=\"bookmark\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #000000; text-decoration-line: none; transition: all 0.2s linear 0s;\" target=\"_blank\">Dopplerradar</a></h1>\r\n   </header>\r\n<div class=\"entry-content clearfix\" style=\"box-sizing: inherit; border: 0px; margin: 10px 0px; outline: 0px; padding: 0px; vertical-align: baseline; position: relative; line-height: 1.7; overflow: hidden;\">\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\">Mittels Dopplerradar lassen sich Geschwindigkeiten von bewegten Objekten bestimmen. Basis bildet der Dopplereffekt. Vom Sensor wird eine elektromagnetische Welle mit einer bestimmten Frequenz ausgesendet. Trifft diese auf ein ruhendes Objekt, so wird eine Welle mit gleicher Frequenz reflektiert. Diese trifft dann wieder auf den Sensor und wird mit der ausgesandten Welle im sog. Mixer überlagert. Das Resultat ist eine sog. Schwebung. Besitzen die beiden Wellen die selbe Frequenz, so besitzt die überlagerte Schwebung eine Frequenz von 0 Hz.</p>\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\">Trifft die ausgestrahlte Welle aber auf ein bewegtes Objekt, so wird je nach Bewegungsrichtung die reflektierte Welle eine höhere (bei Annäherung des Objekts) bzw. niedrigere (bei Entfernung des Objekts) Frequenz besitzen.</p>\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\">Überlagert sich nun diese reflektierte Welle mit der ausgesandten, so entsteht eine Schwebung mit der Frequenz (f_ausgesandt – f_reflektiert). Diese wird an den Arduino weitergeleitet und von diesem gemessen. Die Frequenz der reflektierten Wellen bzw. in weiterer Folge auch die Frequenz der Schwebung hängt von der Geschwindigkeit v des bewegten Objekts ab. Aus der Schwebungsfrequenz lässt sich also die Geschwindigkeit des bewegten Objekts berechnen.</p>\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\">Als Sensor kommt das weit verbreitete Modul HB100 zum Einsatz. Dieses kann für wenige Euro auf ebay erstanden werden.</p>\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\">Hinweis: Probleme hatte ich mit der Spannungsversorgung des HB100. Verwendete ich direkt den +5V-pin des Arduino, so konnte ich damit keine gute Sensibilität erzielen. Deshalb wählte ich für beide Schaltungsvarianten einen LM317 Spannungsregler und wählte die Widerstände so, dass der LM317 ca. +5.1V lieferte. Damit versorgte ich dann den HB100.</p>\r\n   <h3 style=\"color: #111111; font-family: &quot;Playfair Display&quot;, Arial, sans-serif; font-size: 24px; box-sizing: inherit; border: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; line-height: 1; margin: 0.6em 0px; outline: 0px; padding: 0px; vertical-align: baseline; clear: both;\">Variante 1:</h3>\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-254 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_18-300x186.jpg\" alt=\"\" width=\"705\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_18-300x186.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_18-1024x634.jpg 1024w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_18-768x476.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_18.jpg 1167w\" sizes=\"(max-width: 705px) 100vw, 705px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-248 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_01-300x171.jpg\" alt=\"\" width=\"885\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_01-300x171.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_01-1024x584.jpg 1024w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_01-768x438.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_01.jpg 1302w\" sizes=\"(max-width: 885px) 100vw, 885px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-262 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_13-300x225.jpg\" alt=\"\" width=\"704\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_13-300x225.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_13-768x576.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_13-480x360.jpg 480w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_13.jpg 1024w\" sizes=\"(max-width: 704px) 100vw, 704px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-263 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_17-300x225.jpg\" alt=\"\" width=\"705\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_17-300x225.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_17-768x576.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_17-480x360.jpg 480w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_17.jpg 1024w\" sizes=\"(max-width: 705px) 100vw, 705px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-251 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_08-300x225.jpg\" alt=\"\" width=\"705\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_08-300x225.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_08-768x576.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_08-480x360.jpg 480w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_08.jpg 1024w\" sizes=\"(max-width: 705px) 100vw, 705px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-253 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_15-225x300.jpg\" alt=\"\" width=\"617\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_15-225x300.jpg 225w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_15.jpg 768w\" sizes=\"(max-width: 617px) 100vw, 617px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\">&nbsp;</p>\r\n   <hr style=\"color: #555555; font-family: Domine, Arial, Helvetica, sans-serif; font-size: 13px; box-sizing: content-box; height: 1px; background-color: #cccccc; border: 0px; margin-bottom: 1.5em;\" />\r\n   <h3 style=\"color: #111111; font-family: &quot;Playfair Display&quot;, Arial, sans-serif; font-size: 24px; box-sizing: inherit; border: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; line-height: 1; margin: 0.6em 0px; outline: 0px; padding: 0px; vertical-align: baseline; clear: both;\">Variante 2:</h3>\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-255 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_01-300x131.jpg\" alt=\"\" width=\"1034\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_01-300x131.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_01-1024x448.jpg 1024w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_01-768x336.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_01.jpg 1201w\" sizes=\"(max-width: 1034px) 100vw, 1034px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-256 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_03-300x225.jpg\" alt=\"\" width=\"704\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_03-300x225.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_03-768x576.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_03-480x360.jpg 480w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_03.jpg 1024w\" sizes=\"(max-width: 704px) 100vw, 704px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-257 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_05-300x225.jpg\" alt=\"\" width=\"705\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_05-300x225.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_05-768x576.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_05-480x360.jpg 480w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_05.jpg 1024w\" sizes=\"(max-width: 705px) 100vw, 705px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-258 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_07-300x225.jpg\" alt=\"\" width=\"704\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_07-300x225.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_07-768x576.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_07-480x360.jpg 480w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_07.jpg 1024w\" sizes=\"(max-width: 704px) 100vw, 704px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n   <p style=\"color: #555555; font-family: inherit; font-size: 13px; box-sizing: inherit; border: 0px; font-style: inherit; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><iframe loading=\"lazy\" width=\"673\" height=\"505\" src=\"https://www.youtube.com/embed/TwmwfbFrPk4\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"allowfullscreen\" style=\"box-sizing: inherit; border-width: 0px; border-style: initial; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%;\"></iframe></p>\r\n   <hr style=\"color: #555555; font-family: Domine, Arial, Helvetica, sans-serif; font-size: 13px; box-sizing: content-box; height: 1px; background-color: #cccccc; border: 0px; margin-bottom: 1.5em;\" />\r\n   <div id=\"urvanov-syntax-highlighter-60541efd2ccbe523492353\" class=\"urvanov-syntax-highlighter-syntax crayon-theme-classic urvanov-syntax-highlighter-font-monaco urvanov-syntax-highlighter-os-pc print-yes notranslate\" data-settings=\" minimize scroll-mouseover\" style=\"box-sizing: border-box; border-image: initial; margin: 12px 0px; outline: 0px; padding: 0px; vertical-align: baseline; text-size-adjust: none; width: 631.312px; height: auto; border-width: 1px !important; border-style: solid !important; border-color: #999999 !important; overflow: hidden !important; position: relative !important; direction: ltr !important; text-shadow: none !important; background: rgb(253, 253, 253) !important; line-height: 15px !important;\">\r\n      <header class=\"entry-header\" style=\"color: #555555; font-family: Domine, Arial, Helvetica, sans-serif; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\">\r\n         <h1 class=\"post-title entry-title\" style=\"box-sizing: inherit; border: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-weight: normal; font-stretch: normal; font-size: 28px; line-height: 1.2; font-family: Oswald, Arial, Helvetica, sans-serif; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline; clear: both; color: #000000; position: relative; text-align: center;\"><a href=\"https://stoppi-homemade-physics.de/dopplerradar/\" rel=\"bookmark\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; background-color: transparent; color: #000000; text-decoration-line: none; transition: all 0.2s linear 0s;\" target=\"_blank\">Dopplerradar</a></h1>\r\n         </header>\r\n      <div class=\"entry-content clearfix\" style=\"box-sizing: inherit; border: 0px; margin: 10px 0px; outline: 0px; padding: 0px; vertical-align: baseline; position: relative; line-height: 1.7; overflow: hidden;\">\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\">Mittels Dopplerradar lassen sich Geschwindigkeiten von bewegten Objekten bestimmen. Basis bildet der Dopplereffekt. Vom Sensor wird eine elektromagnetische Welle mit einer bestimmten Frequenz ausgesendet. Trifft diese auf ein ruhendes Objekt, so wird eine Welle mit gleicher Frequenz reflektiert. Diese trifft dann wieder auf den Sensor und wird mit der ausgesandten Welle im sog. Mixer überlagert. Das Resultat ist eine sog. Schwebung. Besitzen die beiden Wellen die selbe Frequenz, so besitzt die überlagerte Schwebung eine Frequenz von 0 Hz.</p>\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\">Trifft die ausgestrahlte Welle aber auf ein bewegtes Objekt, so wird je nach Bewegungsrichtung die reflektierte Welle eine höhere (bei Annäherung des Objekts) bzw. niedrigere (bei Entfernung des Objekts) Frequenz besitzen.</p>\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\">Überlagert sich nun diese reflektierte Welle mit der ausgesandten, so entsteht eine Schwebung mit der Frequenz (f_ausgesandt – f_reflektiert). Diese wird an den Arduino weitergeleitet und von diesem gemessen. Die Frequenz der reflektierten Wellen bzw. in weiterer Folge auch die Frequenz der Schwebung hängt von der Geschwindigkeit v des bewegten Objekts ab. Aus der Schwebungsfrequenz lässt sich also die Geschwindigkeit des bewegten Objekts berechnen.</p>\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\">Als Sensor kommt das weit verbreitete Modul HB100 zum Einsatz. Dieses kann für wenige Euro auf ebay erstanden werden.</p>\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\">Hinweis: Probleme hatte ich mit der Spannungsversorgung des HB100. Verwendete ich direkt den +5V-pin des Arduino, so konnte ich damit keine gute Sensibilität erzielen. Deshalb wählte ich für beide Schaltungsvarianten einen LM317 Spannungsregler und wählte die Widerstände so, dass der LM317 ca. +5.1V lieferte. Damit versorgte ich dann den HB100.</p>\r\n         <h3 style=\"color: #111111; font-family: &quot;Playfair Display&quot;, Arial, sans-serif; font-size: 24px; font-style: inherit; box-sizing: inherit; border: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; line-height: 1; margin: 0.6em 0px; outline: 0px; padding: 0px; vertical-align: baseline; clear: both;\">Variante 1:</h3>\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-254 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_18-300x186.jpg\" alt=\"\" width=\"705\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_18-300x186.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_18-1024x634.jpg 1024w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_18-768x476.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_18.jpg 1167w\" sizes=\"(max-width: 705px) 100vw, 705px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-248 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_01-300x171.jpg\" alt=\"\" width=\"885\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_01-300x171.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_01-1024x584.jpg 1024w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_01-768x438.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_01.jpg 1302w\" sizes=\"(max-width: 885px) 100vw, 885px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-262 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_13-300x225.jpg\" alt=\"\" width=\"704\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_13-300x225.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_13-768x576.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_13-480x360.jpg 480w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_13.jpg 1024w\" sizes=\"(max-width: 704px) 100vw, 704px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-263 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_17-300x225.jpg\" alt=\"\" width=\"705\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_17-300x225.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_17-768x576.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_17-480x360.jpg 480w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_17.jpg 1024w\" sizes=\"(max-width: 705px) 100vw, 705px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-251 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_08-300x225.jpg\" alt=\"\" width=\"705\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_08-300x225.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_08-768x576.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_08-480x360.jpg 480w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_08.jpg 1024w\" sizes=\"(max-width: 705px) 100vw, 705px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-253 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_15-225x300.jpg\" alt=\"\" width=\"617\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_15-225x300.jpg 225w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_b_15.jpg 768w\" sizes=\"(max-width: 617px) 100vw, 617px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\">&nbsp;</p>\r\n         <hr style=\"color: #555555; font-family: Domine, Arial, Helvetica, sans-serif; font-size: 13px; font-style: inherit; box-sizing: content-box; height: 1px; background-color: #cccccc; border: 0px; margin-bottom: 1.5em;\" />\r\n         <h3 style=\"color: #111111; font-family: &quot;Playfair Display&quot;, Arial, sans-serif; font-size: 24px; font-style: inherit; box-sizing: inherit; border: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; line-height: 1; margin: 0.6em 0px; outline: 0px; padding: 0px; vertical-align: baseline; clear: both;\">Variante 2:</h3>\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-255 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_01-300x131.jpg\" alt=\"\" width=\"1034\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_01-300x131.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_01-1024x448.jpg 1024w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_01-768x336.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_01.jpg 1201w\" sizes=\"(max-width: 1034px) 100vw, 1034px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-256 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_03-300x225.jpg\" alt=\"\" width=\"704\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_03-300x225.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_03-768x576.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_03-480x360.jpg 480w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_03.jpg 1024w\" sizes=\"(max-width: 704px) 100vw, 704px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-257 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_05-300x225.jpg\" alt=\"\" width=\"705\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_05-300x225.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_05-768x576.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_05-480x360.jpg 480w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_05.jpg 1024w\" sizes=\"(max-width: 705px) 100vw, 705px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><img loading=\"lazy\" class=\" wp-image-258 aligncenter\" src=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_07-300x225.jpg\" alt=\"\" width=\"704\" srcset=\"https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_07-300x225.jpg 300w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_07-768x576.jpg 768w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_07-480x360.jpg 480w, https://stoppi-homemade-physics.de/wp-content/uploads/2021/02/Doppler_HB100_Arduino_c_07.jpg 1024w\" sizes=\"(max-width: 704px) 100vw, 704px\" style=\"box-sizing: inherit; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px auto 10px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; height: auto; clear: both; display: block;\" /></p>\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><iframe loading=\"lazy\" width=\"673\" height=\"505\" src=\"https://www.youtube.com/embed/TwmwfbFrPk4\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"allowfullscreen\" style=\"box-sizing: inherit; border-width: 0px; border-style: initial; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%;\"></iframe></p>\r\n         <hr style=\"color: #555555; font-family: Domine, Arial, Helvetica, sans-serif; font-size: 13px; font-style: inherit; box-sizing: content-box; height: 1px; background-color: #cccccc; border: 0px; margin-bottom: 1.5em;\" />\r\n         <p style=\"color: #555555; font-family: inherit; font-size: 13px; font-style: inherit; box-sizing: inherit; border: 0px; font-weight: inherit; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\">Arduino-Code:</p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">/* FreqMeasure - Example with LCD output</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp;* http://www.pjrc.com/teensy/td_libs_FreqMeasure.html</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp;*&nbsp;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp;* Slightly modified by @3zuli for use with HB100 doppler radar module</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp;*</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp;* This example code is in the public domain.</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp;*</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp;* Frequency input pin: 8. Connect the IF pin from the preamp board to this pin.</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp;* This should work with Arduino Uno, Nano, Pro mini and simillar.</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp;* For other boards, see the FreqMeasure documentation (link above).</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp;*</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp;*/</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">#include &lt;Wire.h&gt;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">#include &lt;FreqMeasure.h&gt;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">#include &lt;LiquidCrystal_I2C.h&gt;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\"><br /></span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">//LiquidCrystal_I2C lcd(0x27,16,2);&nbsp; // set the LCD address to 0x27 for a 16 chars and 2 line display. ACHTUNG: Adresse kann auch 0x3F sein !!!</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">LiquidCrystal_I2C lcd(0x3F,16,2);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\"><br /></span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">// Anschlüsse:</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">// GND - GND</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">// VCC - 5V</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">// SDA - ANALOG Pin 4</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">// SCL - ANALOG pin 5</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\"><br /></span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\"><br /></span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">double sum = 0;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">int count = 0;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\"><br /></span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">float f;&nbsp; &nbsp;// Frequenz</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">float v;&nbsp; &nbsp;// Geschwindigkeit</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\"><br /></span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\"><br /></span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">// ========================</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">// ======== SETUP =========</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">// ========================</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\"><br /></span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">void setup()</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp;{</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; Serial.begin(57600);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp;&nbsp;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; lcd.init();&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // initialize the lcd</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\"><br /></span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; // Print a message to the LCD.</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; lcd.backlight();</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp;&nbsp;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; lcd.setCursor(0,0);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; lcd.print(\"Dopplerradar\");</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; lcd.setCursor(0,1);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; lcd.print(\"Version 1.0\");</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp;&nbsp;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; delay(4000);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp;&nbsp;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; lcd.setCursor(0,0);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; lcd.print(\"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\");</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; lcd.setCursor(0,1);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; lcd.print(\"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\");&nbsp;&nbsp;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp;&nbsp;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; lcd.setCursor(0,0);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; lcd.print(\"f = \");</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; lcd.setCursor(0,1);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; lcd.print(\"v = \");</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp;&nbsp;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; FreqMeasure.begin();</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp;}</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\"><br /></span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\"><br /></span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">// ================================</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">// ======== HAUPTSCHLEIFE =========</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">// ================================</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\"><br /></span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">void loop()</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp;{</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; if (FreqMeasure.available())</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp;{</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; // average the readings together</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; sum = sum + FreqMeasure.read();</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; count = count + 1;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp;&nbsp;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; if (count &gt;= 10)</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; f = FreqMeasure.countToFrequency(sum / count);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; v = f / 19.49;&nbsp; &nbsp; &nbsp; &nbsp;// conversion from frequency to kilometers per hour</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp;&nbsp;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lcd.setCursor(4,0);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lcd.print(\"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \");</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lcd.setCursor(4,0);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lcd.print(f);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lcd.print(\" Hz\");</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lcd.setCursor(4,1);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lcd.print(\"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \");</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lcd.setCursor(4,1);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lcd.print(v);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lcd.print(\" km/h\");</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Serial.print(\"v = \");</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"Domine, Arial, Helvetica, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Serial.println(v,1);</span></font></p>\r\n         <p style=\"box-sizing: inherit; border: 0px; margin-bottom: 12px; outline: 0px; padding: 0px; vertical-align: baseline;\"><font color=\"#555555\" face=\"','https://stoppi-homemade-physics.de/dopplerradar/','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-03-19 12:49:26',0,'2021-03-19 12:49:26','210.101.103.92','','','','','','','','','','','',''),(482,-482,'',482,0,0,'','','html1','[Arduino] ESP32-CAM HTTP POST Photos to Local or Cloud Server using PHP and Arduino IDE','<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">In this guide, you’ll learn how to make HTTP POST requests using the ESP32-CAM board with Arduino IDE to send photos to a server. We’ll show how to post a JPG image to a local server (Raspberry Pi LAMP server) or to a cloud server (that you can access from anywhere). To save the images in the server, we’ll use PHP.</p>\r\n<div class=\"wp-block-image\" style=\"border: 0px; margin: 0px 0px 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">\r\n   <figure class=\"aligncenter size-full\" style=\"display: table; margin: 0px auto; clear: both; max-width: 100%; height: auto;\"><img loading=\"lazy\" width=\"724\" src=\"https://i1.wp.com/randomnerdtutorials.com/wp-content/uploads/2020/06/ESP32-CAM-Camera-Board-Send-HTTP-Post-Request-Images-to-Local-Cloud-Server-Arduino-IDE.jpg?resize=828%2C466&amp;quality=100&amp;strip=all&amp;ssl=1\" alt=\"ESP32-CAM Camera Board Send HTTP Post Request Images to Local or Cloud Server using Arduino IDE\" class=\"wp-image-97956\" srcset=\"https://i1.wp.com/randomnerdtutorials.com/wp-content/uploads/2020/06/ESP32-CAM-Camera-Board-Send-HTTP-Post-Request-Images-to-Local-Cloud-Server-Arduino-IDE.jpg?w=1280&amp;quality=100&amp;strip=all&amp;ssl=1 1280w, https://i1.wp.com/randomnerdtutorials.com/wp-content/uploads/2020/06/ESP32-CAM-Camera-Board-Send-HTTP-Post-Request-Images-to-Local-Cloud-Server-Arduino-IDE.jpg?resize=300%2C169&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https://i1.wp.com/randomnerdtutorials.com/wp-content/uploads/2020/06/ESP32-CAM-Camera-Board-Send-HTTP-Post-Request-Images-to-Local-Cloud-Server-Arduino-IDE.jpg?resize=1024%2C576&amp;quality=100&amp;strip=all&amp;ssl=1 1024w, https://i1.wp.com/randomnerdtutorials.com/wp-content/uploads/2020/06/ESP32-CAM-Camera-Board-Send-HTTP-Post-Request-Images-to-Local-Cloud-Server-Arduino-IDE.jpg?resize=768%2C432&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 828px) 100vw, 828px\" style=\"height: auto; max-width: 100%;\" /></figure>\r\n   </div>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">To build this project, you need to follow the next steps. Follow the LAMP Server or the Hosting Server instructions depending if you want to access the photos locally or from anywhere.</p>\r\n<ol style=\"border: 0px; margin: 0px 0px 1.5em 3em; padding: 0px; list-style-position: initial; list-style-image: initial; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">\r\n   <li style=\"border: 0px; margin: 0px; padding: 0px;\">Hosting your PHP Application\r\n      <ol style=\"border: 0px; margin: 0px 0px 0px 1.5em; padding: 0px; list-style-position: initial; list-style-image: initial;\">\r\n         <li style=\"border: 0px; margin: 0px; padding: 0px;\"><a href=\"https://randomnerdtutorials.com/esp32-cam-http-post-php-arduino/#1-1\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #1b78e2;\" target=\"_blank\">Raspberry Pi LAMP Server (local access)</a></li>\r\n         <li style=\"border: 0px; margin: 0px; padding: 0px;\"><a href=\"https://randomnerdtutorials.com/esp32-cam-http-post-php-arduino/#1-2\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #1b78e2;\" target=\"_blank\">Hosting Server (access from anywhere)</a></li>\r\n         </ol>\r\n      </li>\r\n   <li style=\"border: 0px; margin: 0px; padding: 0px;\">PHP scripts to save and display photos in the server\r\n      <ol style=\"border: 0px; margin: 0px 0px 0px 1.5em; padding: 0px; list-style-position: initial; list-style-image: initial;\">\r\n         <li style=\"border: 0px; margin: 0px; padding: 0px;\"><a href=\"https://randomnerdtutorials.com/esp32-cam-http-post-php-arduino/#2-1\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #1b78e2;\" target=\"_blank\">Raspberry Pi LAMP Server (local access)</a></li>\r\n         <li style=\"border: 0px; margin: 0px; padding: 0px;\"><a href=\"https://randomnerdtutorials.com/esp32-cam-http-post-php-arduino/#2-2\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #1b78e2;\" target=\"_blank\">Hosting Server (access from anywhere)</a></li>\r\n         </ol>\r\n      </li>\r\n   <li style=\"border: 0px; margin: 0px; padding: 0px;\"><a href=\"https://randomnerdtutorials.com/esp32-cam-http-post-php-arduino/#3\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #1b78e2;\" target=\"_blank\">Program the ESP32-CAM with Arduino IDE</a></li>\r\n   <li style=\"border: 0px; margin: 0px; padding: 0px;\"><a href=\"https://randomnerdtutorials.com/esp32-cam-http-post-php-arduino/#4\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #1b78e2;\" target=\"_blank\">Testing and Final Demonstration</a></li>\r\n   </ol>\r\n<h2 style=\"border: 0px; margin: 34px 0px 18px; padding: 0px; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 36px; line-height: 1.3em; position: relative; color: #3a3a3a; background-color: #ffffff;\">1. Hosting Your PHP Application</h2>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">The goal of this project is to have a local or cloud server to store and access your ESP32-CAM photos.</p>\r\n<p id=\"1-1\" style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\"><span style=\"border: 0px; margin: 0px; padding: 0px; font-weight: 700;\">1. Raspberry Pi local server</span>:</p>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">With a&nbsp;<a href=\"https://randomnerdtutorials.com/raspberry-pi-apache-mysql-php-lamp-server/\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #1b78e2;\" target=\"_blank\">Raspberry Pi LAMP server</a>, you can access your images locally (as illustrated below).</p>\r\n<div class=\"wp-block-image\" data-slot-rendered-dynamic=\"true\" style=\"border: 0px; margin: 0px 0px 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">\r\n   <figure class=\"aligncenter size-large\" style=\"display: table; margin: 0px auto; clear: both; max-width: 100%; height: auto;\"><img loading=\"lazy\" width=\"724\" src=\"https://i2.wp.com/randomnerdtutorials.com/wp-content/uploads/2020/06/ESP32-CAM-Camera-Board-Send-Photo-Image-to-Raspberry-Pi-LAMP-Server-PHP-Script-Arduino.png?resize=828%2C720&amp;quality=100&amp;strip=all&amp;ssl=1\" alt=\"ESP32-CAM Camera Board Send Photo Image to Raspberry Pi LAMP Server PHP Script Arduino\" class=\"wp-image-97923\" srcset=\"https://i2.wp.com/randomnerdtutorials.com/wp-content/uploads/2020/06/ESP32-CAM-Camera-Board-Send-Photo-Image-to-Raspberry-Pi-LAMP-Server-PHP-Script-Arduino.png?w=900&amp;quality=100&amp;strip=all&amp;ssl=1 900w, https://i2.wp.com/randomnerdtutorials.com/wp-content/uploads/2020/06/ESP32-CAM-Camera-Board-Send-Photo-Image-to-Raspberry-Pi-LAMP-Server-PHP-Script-Arduino.png?resize=300%2C261&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https://i2.wp.com/randomnerdtutorials.com/wp-content/uploads/2020/06/ESP32-CAM-Camera-Board-Send-Photo-Image-to-Raspberry-Pi-LAMP-Server-PHP-Script-Arduino.png?resize=768%2C668&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 828px) 100vw, 828px\" style=\"height: auto; max-width: 100%;\" /></figure>\r\n   </div>\r\n<div id=\"content_btf_wrapper\" class=\"adunitwrapper content_btf_wrapper mv-size-300x250 mv-dynamic-size\" data-wrapper=\"content_btf\" style=\"border: 0px; margin: 10px auto 20px; padding: 0px; overflow: hidden; position: relative; height: 264px; width: 300px; text-align: center; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff; min-height: 264px; visibility: hidden;\">\r\n   <div id=\"content_btf\" class=\"content_btf adunit\" style=\"border: 0px; margin: 0px; padding: 0px; position: relative;\">&nbsp;</div>\r\n   <div class=\"adunitlabel\" style=\"border: 0px; margin: 0px auto; padding: 0px; position: absolute; bottom: 0px; width: inherit; color: #a5a5a5; text-align: left; min-width: 160px; font-size: 12px !important; line-height: 12px !important;\"><button class=\"mv-ad-report-button\" data-target=\"content_btf\" data-adtype=\"display\" aria-label=\"Report this ad\" style=\"font-family: &quot;Open Sans&quot;, sans-serif; font-size: 20px; line-height: 12px; margin: 0px; vertical-align: baseline; border-width: initial; border-style: none; border-color: initial; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; cursor: pointer; appearance: button; padding: 0px; color: #ffffff; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; float: right; position: relative; width: 300px; top: 0px; outline: none;\"></button>\r\n      <div class=\"mediavine\" style=\"border: 0px; margin: 0px; padding: 0px;\"><a href=\"https://www.mediavine.com/\" target=\"_blank\" rel=\"noopener\" aria-label=\"mediavine\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #a5a5a5;\"><img alt=\"\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAAUCAMAAAA0oWYGAAAANlBMVEUAAACkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKT0RuBeAAAAEXRSTlMAECAwQFBgcHuEj5+vv8/f7w0rGDcAAANcSURBVEjHzZbLlsMoDEQLMMYBPaj//9lZCDt2Oj1nZtesHCKbS0klwLFnACh9SwDQWkaM1Cj4I2OSDUAjtQAw8gUAyD6V9e9AcgA7SW6AktQEJPeMKQCaqqpKBoDDVNX2c1JVVW0k1PUsvRUAQLOIA4BNVVUK0FRUKwBsomIdaajoyEhdRaUAQFfRkZC6yjm0wUmyBSQTlAH9YgLMAQySJHcAyUiS/ZokSc6Mdv3wUXC+1AOyne/3a/IgSUH2kCa+ewBISnKW9c8agkmSc0G+ApIFOoFEeUN2ANtcUbHeN8i1nb7iznVJWa8bAAhJ1kCZZYXMbQV7RnpCxq9SSZKWZGHIBIQbLh5NpyZvSJ8+fVpaW/TYA7cH5NrZLME2CwLOErKR9BOSCiRZkEaSM8YIJblvS5SAHGjcPXyzIM9FbpBHziWXkhe9lLL7Eu0GeYreVlgD6krNByRf4YkTctZccsklLyUXJBekAJOyfSxS/Am5X+5rj4KY2w0yGTktdMoeBd+X3tnu6SZZcFdylru7b0qOpSTKtgI6yemkoMbDBemiotpPyHFV236DrCR186AakWZb5fOpJA39nm4TUbEd35Uctx7VSfqYtHSQIj+MY+kOOT4hB8kODaV3kiz59PJDSZ8kj3aH5Anzm5IPyNmMswp5/F/I7CQbDpKewrS1Lis/lRyNqzB+Qv4nJbkP0ia93iF9iIgej3RrNJcLcilTYhqD5OgkJX0qqauz3NM9RMT2S8n6r0pyjyYj2X43zgBQZzTOC1JJej/GOtgqSc7w+IeSM+X5hJz5q3F+VzI+cKS7cY6Ucsr5akE575M3/76Ajc+ufzZpz/hRk+Xsw+8WlFJKKYfTyJYXZP8FMuLqA3KamZnbFoaYFgTz1sxfd0i2q5jjfvVQ0q9GfKXbYwFdbx1L0bR9h2zhn8jIx7HI/ddjMVlk+3WMdWotaSu+KYnI14dxOKOk2deyCfMTUmITe1wJvlwwWG+QM46AdcF4G+p0VBh1poCc9wtGwepRzDjLM8Z1WkRgjtK+QzYz84piZg1J3XyPyTXcCup6VjnWVc3NfMfuZlavGavAy8183Y+yuLkWpOHmmgFkdXPJSOLvFWRZs68LSAkD/pkr+XuUPg8AqDozgPya/W8B/gPQAm/tWHkI8wAAAABJRU5ErkJggg==\" style=\"height: 10px !important; max-width: 100%; border: 0px !important; margin: 0px !important; padding: 0px !important; box-shadow: none !important; width: 82px !important; min-width: 82px !important; min-height: 10px !important;\" /></a></div>\r\n      </div>\r\n   </div>\r\n<ul style=\"border: 0px; margin: 0px 0px 1.5em 3em; padding: 0px; list-style: square; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">\r\n   <li style=\"border: 0px; margin: 0px; padding: 0px;\">You can run a&nbsp;<a href=\"https://randomnerdtutorials.com/raspberry-pi-apache-mysql-php-lamp-server/\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #1b78e2;\" target=\"_blank\">LAMP (Linux, Apache, MySQL, PHP) server</a>&nbsp;on a Raspberry Pi to&nbsp;<a href=\"https://randomnerdtutorials.com/esp32-esp8266-raspberry-pi-lamp-server/\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #1b78e2;\" target=\"_blank\">access data in your local network</a>. Raspberry Pi LAMP Server: Local Linux server that you use to access your images locally.</li>\r\n   </ul>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff; text-align: center;\"><a href=\"https://randomnerdtutorials.com/raspberry-pi-apache-mysql-php-lamp-server/\" target=\"_blank\" class=\"button\" rel=\"noopener noreferrer\" style=\"border: 0px; margin: 0px; padding: 10px 20px; background-color: #2f4468; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #ffffff; display: inline-block; font-size: 20px;\">Setup Local RPi LAMP Server »</a></p>\r\n<p id=\"1-2\" style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\"><span style=\"border: 0px; margin: 0px; padding: 0px; font-weight: 700;\">2. Cloud server (Bluehost hosting solution)</span></p>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">You also can visualize the ESP32-CAM photos from anywhere in the world by accessing your own server + domain. Here’s a high level overview on how it works:</p>\r\n<div class=\"wp-block-image\" data-slot-rendered-dynamic=\"true\" style=\"border: 0px; margin: 0px 0px 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">\r\n   <figure class=\"aligncenter size-large\" style=\"display: table; margin: 0px auto; clear: both; max-width: 100%; height: auto;\"><img loading=\"lazy\" width=\"724\" src=\"https://i0.wp.com/randomnerdtutorials.com/wp-content/uploads/2020/06/ESP32-CAM-Camera-Board-Send-Photo-Image-to-Cloud-Server-PHP-Script-Arduino.png?resize=828%2C706&amp;quality=100&amp;strip=all&amp;ssl=1\" alt=\"ESP32-CAM Camera Board Send Photo Image to Cloud Server PHP Script Arduino\" class=\"wp-image-97921\" srcset=\"https://i0.wp.com/randomnerdtutorials.com/wp-content/uploads/2020/06/ESP32-CAM-Camera-Board-Send-Photo-Image-to-Cloud-Server-PHP-Script-Arduino.png?w=900&amp;quality=100&amp;strip=all&amp;ssl=1 900w, https://i0.wp.com/randomnerdtutorials.com/wp-content/uploads/2020/06/ESP32-CAM-Camera-Board-Send-Photo-Image-to-Cloud-Server-PHP-Script-Arduino.png?resize=300%2C256&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https://i0.wp.com/randomnerdtutorials.com/wp-content/uploads/2020/06/ESP32-CAM-Camera-Board-Send-Photo-Image-to-Cloud-Server-PHP-Script-Arduino.png?resize=768%2C655&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 828px) 100vw, 828px\" style=\"height: auto; max-width: 100%;\" /></figure>\r\n   </div>\r\n<div id=\"content_2_btf_wrapper\" class=\"adunitwrapper content_btf_wrapper mv-size-336x280\" data-wrapper=\"content_2_btf\" style=\"border: 0px; margin: 10px auto 20px; padding: 0px; overflow: hidden; position: relative; height: 294px; width: 336px; text-align: center; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff; min-height: 294px; visibility: hidden;\">\r\n   <div id=\"content_2_btf\" class=\"content_btf adunit\" style=\"border: 0px; margin: 0px; padding: 0px; position: relative;\">&nbsp;</div>\r\n   <div class=\"adunitlabel\" style=\"border: 0px; margin: 0px auto; padding: 0px; position: absolute; bottom: 0px; width: inherit; color: #a5a5a5; text-align: left; min-width: 160px; font-size: 12px !important; line-height: 12px !important;\"><button class=\"mv-ad-report-button\" data-target=\"content_2_btf\" data-adtype=\"display\" aria-label=\"Report this ad\" style=\"font-family: &quot;Open Sans&quot;, sans-serif; font-size: 20px; line-height: 12px; margin: 0px; vertical-align: baseline; border-width: initial; border-style: none; border-color: initial; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; cursor: pointer; appearance: button; padding: 0px; color: #ffffff; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; float: right; position: relative; width: 336px; top: 0px; outline: none;\"></button>\r\n      <div class=\"mediavine\" style=\"border: 0px; margin: 0px; padding: 0px;\"><a href=\"https://www.mediavine.com/\" target=\"_blank\" rel=\"noopener\" aria-label=\"mediavine\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #a5a5a5;\"><img alt=\"\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAAUCAMAAAA0oWYGAAAANlBMVEUAAACkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKT0RuBeAAAAEXRSTlMAECAwQFBgcHuEj5+vv8/f7w0rGDcAAANcSURBVEjHzZbLlsMoDEQLMMYBPaj//9lZCDt2Oj1nZtesHCKbS0klwLFnACh9SwDQWkaM1Cj4I2OSDUAjtQAw8gUAyD6V9e9AcgA7SW6AktQEJPeMKQCaqqpKBoDDVNX2c1JVVW0k1PUsvRUAQLOIA4BNVVUK0FRUKwBsomIdaajoyEhdRaUAQFfRkZC6yjm0wUmyBSQTlAH9YgLMAQySJHcAyUiS/ZokSc6Mdv3wUXC+1AOyne/3a/IgSUH2kCa+ewBISnKW9c8agkmSc0G+ApIFOoFEeUN2ANtcUbHeN8i1nb7iznVJWa8bAAhJ1kCZZYXMbQV7RnpCxq9SSZKWZGHIBIQbLh5NpyZvSJ8+fVpaW/TYA7cH5NrZLME2CwLOErKR9BOSCiRZkEaSM8YIJblvS5SAHGjcPXyzIM9FbpBHziWXkhe9lLL7Eu0GeYreVlgD6krNByRf4YkTctZccsklLyUXJBekAJOyfSxS/Am5X+5rj4KY2w0yGTktdMoeBd+X3tnu6SZZcFdylru7b0qOpSTKtgI6yemkoMbDBemiotpPyHFV236DrCR186AakWZb5fOpJA39nm4TUbEd35Uctx7VSfqYtHSQIj+MY+kOOT4hB8kODaV3kiz59PJDSZ8kj3aH5Anzm5IPyNmMswp5/F/I7CQbDpKewrS1Lis/lRyNqzB+Qv4nJbkP0ia93iF9iIgej3RrNJcLcilTYhqD5OgkJX0qqauz3NM9RMT2S8n6r0pyjyYj2X43zgBQZzTOC1JJej/GOtgqSc7w+IeSM+X5hJz5q3F+VzI+cKS7cY6Ucsr5akE575M3/76Ajc+ufzZpz/hRk+Xsw+8WlFJKKYfTyJYXZP8FMuLqA3KamZnbFoaYFgTz1sxfd0i2q5jjfvVQ0q9GfKXbYwFdbx1L0bR9h2zhn8jIx7HI/ddjMVlk+3WMdWotaSu+KYnI14dxOKOk2deyCfMTUmITe1wJvlwwWG+QM46AdcF4G+p0VBh1poCc9wtGwepRzDjLM8Z1WkRgjtK+QzYz84piZg1J3XyPyTXcCup6VjnWVc3NfMfuZlavGavAy8183Y+yuLkWpOHmmgFkdXPJSOLvFWRZs68LSAkD/pkr+XuUPg8AqDozgPya/W8B/gPQAm/tWHkI8wAAAABJRU5ErkJggg==\" style=\"height: 10px !important; max-width: 100%; border: 0px !important; margin: 0px !important; padding: 0px !important; box-shadow: none !important; width: 82px !important; min-width: 82px !important; min-height: 10px !important;\" /></a></div>\r\n      </div>\r\n   </div>\r\n<ul style=\"border: 0px; margin: 0px 0px 1.5em 3em; padding: 0px; list-style: square; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">\r\n   <li style=\"border: 0px; margin: 0px; padding: 0px;\"><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https://randomnerdtutorials.com/bluehost\" target=\"_blank\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #1b78e2;\">Bluehost (user-friendly with cPanel)</a>: free domain name when you sign up for the 3-year plan. I recommend choosing the unlimited websites option; Note that any hosting service that offers PHP will work with this tutorial. If you don’t have a hosting account, I recommend&nbsp;<a href=\"https://randomnerdtutorials.com/bluehost\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #1b78e2;\" target=\"_blank\">signing up for Bluehost</a>.</li>\r\n   </ul>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff; text-align: center;\"><a href=\"https://randomnerdtutorials.com/bluehost\" target=\"_blank\" class=\"button\" rel=\"noopener noreferrer\" style=\"border: 0px; margin: 0px; padding: 10px 20px; background-color: #2f4468; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #ffffff; display: inline-block; font-size: 20px;\">Get Hosting and Domain Name with Bluehost »</a></p>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">When buying a hosting account, you’ll also have to purchase a domain name. This is what makes this project interesting: you’ll be able to go your domain name (http://example.com) and see your ESP32-CAM photos. If you like our projects, you might consider signing up to Bluehost, because you’ll be supporting our work.</p>\r\n<h2 id=\"2-1\" style=\"border: 0px; margin: 34px 0px 18px; padding: 0px; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 36px; line-height: 1.3em; position: relative; color: #3a3a3a; background-color: #ffffff;\">2.1. Preparing Your&nbsp;<em style=\"border: 0px; margin: 0px; padding: 0px;\">.php</em>&nbsp;File and&nbsp;<em style=\"border: 0px; margin: 0px; padding: 0px;\">uploads</em>&nbsp;Folder (Raspberry Pi LAMP Server)</h2>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">This section prepares your&nbsp;<em style=\"border: 0px; margin: 0px; padding: 0px;\">.php</em>&nbsp;file and&nbsp;<em style=\"border: 0px; margin: 0px; padding: 0px;\">uploads</em>&nbsp;folder for your Raspberry Pi LAMP Server. If you’re using your own server + domain name, skip to the next section.</p>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">Having a&nbsp;<a href=\"https://randomnerdtutorials.com/raspberry-pi-apache-mysql-php-lamp-server/\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #1b78e2;\" target=\"_blank\">Raspberry Pi running Apache and PHP</a>, in the Raspberry Pi board terminal window navigate to the&nbsp;<em style=\"border: 0px; margin: 0px; padding: 0px;\">/var/www/html/</em>&nbsp;directory:</p>\r\n<pre class=\"wp-block-code\" style=\"border: 0px; margin-top: 0px; margin-bottom: 1.4em; padding: 20px; background: rgba(0, 0, 0, 0.05); font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 18px; line-height: normal; overflow: auto; max-width: 100%; color: #3a3a3a;\">\r\n   <code style=\"border: 0px; margin: 0px; padding: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 15px; line-height: normal; font-family: Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace; white-space: pre-wrap; overflow-wrap: break-word;\">pi@raspberrypi:~ $ cd /var/www/html/</code>\r\n   </pre>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">Create a new folder called&nbsp;<em style=\"border: 0px; margin: 0px; padding: 0px;\">uploads</em>:</p>\r\n<pre class=\"wp-block-code\" data-slot-rendered-dynamic=\"true\" style=\"border: 0px; margin-top: 0px; margin-bottom: 1.4em; padding: 20px; background: rgba(0, 0, 0, 0.05); font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 18px; line-height: normal; overflow: auto; max-width: 100%; color: #3a3a3a;\">\r\n   <code style=\"border: 0px; margin: 0px; padding: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 15px; line-height: normal; font-family: Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace; white-space: pre-wrap; overflow-wrap: break-word;\">pi@raspberrypi:/var/www/html $ mkdir uploads\r\npi@raspberrypi:/var/www/html $ ls\r\nuploads</code>\r\n   </pre>\r\n<div id=\"content_3_btf_wrapper\" class=\"adunitwrapper content_btf_wrapper mv-size-0x0 native\" data-wrapper=\"content_3_btf\" style=\"border: 0px; margin: 10px auto 20px; padding: 0px; overflow: hidden; position: relative; height: 264px; width: 300px; text-align: center; max-width: 600px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff; min-height: 297px; visibility: hidden;\">\r\n   <div id=\"content_3_btf\" class=\"content_btf adunit\" style=\"border: 0px; margin: 0px; padding: 0px;\">&nbsp;</div>\r\n   <div class=\"adunitlabel\" style=\"border: 0px; margin: 0px auto; padding: 0px; position: absolute; bottom: 0px; width: inherit; color: #a5a5a5; text-align: left; min-width: 160px; font-size: 12px !important; line-height: 12px !important;\"><button class=\"mv-ad-report-button\" data-target=\"content_3_btf\" data-adtype=\"display\" aria-label=\"Report this ad\" style=\"font-family: &quot;Open Sans&quot;, sans-serif; font-size: 20px; line-height: 12px; margin: 0px; vertical-align: baseline; border-width: initial; border-style: none; border-color: initial; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; cursor: pointer; appearance: button; padding: 0px; color: #ffffff; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; float: right; position: relative; width: 300px; top: 0px; outline: none;\"></button>\r\n      <div class=\"mediavine\" style=\"border: 0px; margin: 0px; padding: 0px;\"><a href=\"https://www.mediavine.com/\" target=\"_blank\" rel=\"noopener\" aria-label=\"mediavine\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #a5a5a5;\"><img alt=\"\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAAUCAMAAAA0oWYGAAAANlBMVEUAAACkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKT0RuBeAAAAEXRSTlMAECAwQFBgcHuEj5+vv8/f7w0rGDcAAANcSURBVEjHzZbLlsMoDEQLMMYBPaj//9lZCDt2Oj1nZtesHCKbS0klwLFnACh9SwDQWkaM1Cj4I2OSDUAjtQAw8gUAyD6V9e9AcgA7SW6AktQEJPeMKQCaqqpKBoDDVNX2c1JVVW0k1PUsvRUAQLOIA4BNVVUK0FRUKwBsomIdaajoyEhdRaUAQFfRkZC6yjm0wUmyBSQTlAH9YgLMAQySJHcAyUiS/ZokSc6Mdv3wUXC+1AOyne/3a/IgSUH2kCa+ewBISnKW9c8agkmSc0G+ApIFOoFEeUN2ANtcUbHeN8i1nb7iznVJWa8bAAhJ1kCZZYXMbQV7RnpCxq9SSZKWZGHIBIQbLh5NpyZvSJ8+fVpaW/TYA7cH5NrZLME2CwLOErKR9BOSCiRZkEaSM8YIJblvS5SAHGjcPXyzIM9FbpBHziWXkhe9lLL7Eu0GeYreVlgD6krNByRf4YkTctZccsklLyUXJBekAJOyfSxS/Am5X+5rj4KY2w0yGTktdMoeBd+X3tnu6SZZcFdylru7b0qOpSTKtgI6yemkoMbDBemiotpPyHFV236DrCR186AakWZb5fOpJA39nm4TUbEd35Uctx7VSfqYtHSQIj+MY+kOOT4hB8kODaV3kiz59PJDSZ8kj3aH5Anzm5IPyNmMswp5/F/I7CQbDpKewrS1Lis/lRyNqzB+Qv4nJbkP0ia93iF9iIgej3RrNJcLcilTYhqD5OgkJX0qqauz3NM9RMT2S8n6r0pyjyYj2X43zgBQZzTOC1JJej/GOtgqSc7w+IeSM+X5hJz5q3F+VzI+cKS7cY6Ucsr5akE575M3/76Ajc+ufzZpz/hRk+Xsw+8WlFJKKYfTyJYXZP8FMuLqA3KamZnbFoaYFgTz1sxfd0i2q5jjfvVQ0q9GfKXbYwFdbx1L0bR9h2zhn8jIx7HI/ddjMVlk+3WMdWotaSu+KYnI14dxOKOk2deyCfMTUmITe1wJvlwwWG+QM46AdcF4G+p0VBh1poCc9wtGwepRzDjLM8Z1WkRgjtK+QzYz84piZg1J3XyPyTXcCup6VjnWVc3NfMfuZlavGavAy8183Y+yuLkWpOHmmgFkdXPJSOLvFWRZs68LSAkD/pkr+XuUPg8AqDozgPya/W8B/gPQAm/tWHkI8wAAAABJRU5ErkJggg==\" style=\"height: 10px !important; max-width: 100%; border: 0px !important; margin: 0px !important; padding: 0px !important; box-shadow: none !important; width: 82px !important; min-width: 82px !important; min-height: 10px !important;\" /></a></div>\r\n      </div>\r\n   </div>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">At the moment,&nbsp;<em style=\"border: 0px; margin: 0px; padding: 0px;\">/var/www/html</em>&nbsp;is owned by root, use the next commands to change to the pi user and give it all permissions so that you can save photos using a PHP script later on.</p>\r\n<pre class=\"wp-block-code\" style=\"border: 0px; margin-top: 0px; margin-bottom: 1.4em; padding: 20px; background: rgba(0, 0, 0, 0.05); font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 18px; line-height: normal; overflow: auto; max-width: 100%; color: #3a3a3a;\">\r\n   <code style=\"border: 0px; margin: 0px; padding: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 15px; line-height: normal; font-family: Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace; white-space: pre-wrap; overflow-wrap: break-word;\">sudo chown -R pi:pi /var/www/html\r\nchmod -R 777 /var/www/html/</code>\r\n   </pre>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">Finally, create a new&nbsp;<em style=\"border: 0px; margin: 0px; padding: 0px;\">upload.php</em>&nbsp;file:</p>\r\n<pre class=\"wp-block-code\" style=\"border: 0px; margin-top: 0px; margin-bottom: 1.4em; padding: 20px; background: rgba(0, 0, 0, 0.05); font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 18px; line-height: normal; overflow: auto; max-width: 100%; color: #3a3a3a;\">\r\n   <code style=\"border: 0px; margin: 0px; padding: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 15px; line-height: normal; font-family: Monaco, Consolas, &quot;Andale Mono&quot;, &quot;DejaVu Sans Mono&quot;, monospace; white-space: pre-wrap; overflow-wrap: break-word;\">pi@raspberrypi:/var/www/html $ nano upload.php</code>\r\n   </pre>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">This PHP script is responsible for receiving incoming images from the ESP32-CAM, rename the images with a timestamp and store them in the&nbsp;<em style=\"border: 0px; margin: 0px; padding: 0px;\">uploads&nbsp;</em>folder. Edit the newly created file (<em style=\"border: 0px; margin: 0px; padding: 0px;\">upload.php</em>) and copy the following snippet:</p>\r\n<pre class=\" language-c\" data-slot-rendered-dynamic=\"true\" style=\"border: 0px; margin-top: 0.5em; margin-bottom: 20px; padding: 1em; background: rgb(245, 242, 240); font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 18px; line-height: 1.5; overflow: auto; max-width: 100%; text-shadow: rgb(255, 255, 255) 0px 1px; word-break: normal; overflow-wrap: normal; tab-size: 4; hyphens: none; max-height: 40em;\">\r\n   <code class=\" language-c\" style=\"border: 0px; margin: 0px; padding: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 15px; line-height: 1.5; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; background: 0px 0px; text-shadow: rgb(255, 255, 255) 0px 1px; word-spacing: normal; word-break: normal; overflow-wrap: normal; tab-size: 4; hyphens: none;\"><span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">&lt;</span><span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">?</span>php\r\n<span class=\"token comment\" style=\"border: 0px; margin: 0px; padding: 0px; list-style-type: none; color: #708090;\">// Rui Santos</span><span class=\"token comment\" style=\"border: 0px; margin: 0px; padding: 0px; list-style-type: none; color: #708090;\">// Complete project details at https://RandomNerdTutorials.com/esp32-cam-post-image-photo-server/</span><span class=\"token comment\" style=\"border: 0px; margin: 0px; padding: 0px; list-style-type: none; color: #708090;\">// Code Based on this example: w3schools.com/php/php_file_upload.asp</span>\r\n$target_dir <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">=</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"uploads/\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span>\r\n$datum <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">=</span><span class=\"token function\" style=\"border: 0px; margin: 0px; padding: 0px; color: #dd4a68;\">mktime</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span><span class=\"token function\" style=\"border: 0px; margin: 0px; padding: 0px; color: #dd4a68;\">date</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\'H\'</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">+</span><span class=\"token number\" style=\"border: 0px; margin: 0px; padding: 0px; color: #990055;\">0</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">,</span><span class=\"token function\" style=\"border: 0px; margin: 0px; padding: 0px; color: #dd4a68;\">date</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\'i\'</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">,</span><span class=\"token function\" style=\"border: 0px; margin: 0px; padding: 0px; color: #dd4a68;\">date</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\'s\'</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">,</span><span class=\"token function\" style=\"border: 0px; margin: 0px; padding: 0px; color: #dd4a68;\">date</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\'m\'</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">,</span><span class=\"token function\" style=\"border: 0px; margin: 0px; padding: 0px; color: #dd4a68;\">date</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\'d\'</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">,</span><span class=\"token function\" style=\"border: 0px; margin: 0px; padding: 0px; color: #dd4a68;\">date</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\'y\'</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span>\r\n$target_file <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">=</span> $target_dir <span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">.</span><span class=\"token function\" style=\"border: 0px; margin: 0px; padding: 0px; color: #dd4a68;\">date</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\'Y.m.d_H:i:s_\'</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">,</span> $datum<span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">.</span><span class=\"token function\" style=\"border: 0px; margin: 0px; padding: 0px; color: #dd4a68;\">basename</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span>$_FILES<span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">[</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"imageFile\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">]</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">[</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"name\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">]</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span>\r\n$uploadOk <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">=</span><span class=\"token number\" style=\"border: 0px; margin: 0px; padding: 0px; color: #990055;\">1</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span>\r\n$imageFileType <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">=</span><span class=\"token function\" style=\"border: 0px; margin: 0px; padding: 0px; color: #dd4a68;\">strtolower</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span><span class=\"token function\" style=\"border: 0px; margin: 0px; padding: 0px; color: #dd4a68;\">pathinfo</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span>$target_file<span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">,</span>PATHINFO_EXTENSION<span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span><span class=\"token comment\" style=\"border: 0px; margin: 0px; padding: 0px; list-style-type: none; color: #708090;\">// Check if image file is a actual image or fake image</span><span class=\"token keyword\" style=\"border: 0px; margin: 0px; padding: 0px; color: #0077aa;\">if</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span><span class=\"token function\" style=\"border: 0px; margin: 0px; padding: 0px; color: #dd4a68;\">isset</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span>$_POST<span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">[</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"submit\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">]</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">{</span>\r\n  $check <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">=</span><span class=\"token function\" style=\"border: 0px; margin: 0px; padding: 0px; color: #dd4a68;\">getimagesize</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span>$_FILES<span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">[</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"imageFile\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">]</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">[</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"tmp_name\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">]</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span><span class=\"token keyword\" style=\"border: 0px; margin: 0px; padding: 0px; color: #0077aa;\">if</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span>$check <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">!=</span><span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">=</span> false<span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">{</span>\r\n    echo <span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"File is an image - \"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">.</span> $check<span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">[</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"mime\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">]</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">.</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\".\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span>\r\n    $uploadOk <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">=</span><span class=\"token number\" style=\"border: 0px; margin: 0px; padding: 0px; color: #990055;\">1</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">}</span><span class=\"token keyword\" style=\"border: 0px; margin: 0px; padding: 0px; color: #0077aa;\">else</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">{</span>\r\n    echo <span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"File is not an image.\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span>\r\n    $uploadOk <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">=</span><span class=\"token number\" style=\"border: 0px; margin: 0px; padding: 0px; color: #990055;\">0</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">}</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">}</span><span class=\"token comment\" style=\"border: 0px; margin: 0px; padding: 0px; list-style-type: none; color: #708090;\">// Check if file already exists</span><span class=\"token keyword\" style=\"border: 0px; margin: 0px; padding: 0px; color: #0077aa;\">if</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span><span class=\"token function\" style=\"border: 0px; margin: 0px; padding: 0px; color: #dd4a68;\">file_exists</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span>$target_file<span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">{</span>\r\n  echo <span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"Sorry, file already exists.\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span>\r\n  $uploadOk <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">=</span><span class=\"token number\" style=\"border: 0px; margin: 0px; padding: 0px; color: #990055;\">0</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">}</span><span class=\"token comment\" style=\"border: 0px; margin: 0px; padding: 0px; list-style-type: none; color: #708090;\">// Check file size</span><span class=\"token keyword\" style=\"border: 0px; margin: 0px; padding: 0px; color: #0077aa;\">if</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span>$_FILES<span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">[</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"imageFile\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">]</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">[</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"size\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">]</span><span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">&gt;</span><span class=\"token number\" style=\"border: 0px; margin: 0px; padding: 0px; color: #990055;\">500000</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">{</span>\r\n  echo <span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"Sorry, your file is too large.\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span>\r\n  $uploadOk <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">=</span><span class=\"token number\" style=\"border: 0px; margin: 0px; padding: 0px; color: #990055;\">0</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">}</span><span class=\"token comment\" style=\"border: 0px; margin: 0px; padding: 0px; list-style-type: none; color: #708090;\">// Allow certain file formats</span><span class=\"token keyword\" style=\"border: 0px; margin: 0px; padding: 0px; color: #0077aa;\">if</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span>$imageFileType <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">!=</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"jpg\"</span><span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">&amp;&amp;</span> $imageFileType <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">!=</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"png\"</span><span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">&amp;&amp;</span> $imageFileType <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">!=</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"jpeg\"</span><span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">&amp;&amp;</span> $imageFileType <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">!=</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"gif\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">{</span>\r\n  echo <span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"Sorry, only JPG, JPEG, PNG &amp; GIF files are allowed.\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span>\r\n  $uploadOk <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">=</span><span class=\"token number\" style=\"border: 0px; margin: 0px; padding: 0px; color: #990055;\">0</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">}</span><span class=\"token comment\" style=\"border: 0px; margin: 0px; padding: 0px; list-style-type: none; color: #708090;\">// Check if $uploadOk is set to 0 by an error</span><span class=\"token keyword\" style=\"border: 0px; margin: 0px; padding: 0px; color: #0077aa;\">if</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span>$uploadOk <span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">==</span><span class=\"token number\" style=\"border: 0px; margin: 0px; padding: 0px; color: #990055;\">0</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">{</span>\r\n  echo <span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"Sorry, your file was not uploaded.\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span><span class=\"token comment\" style=\"border: 0px; margin: 0px; padding: 0px; list-style-type: none; color: #708090;\">// if everything is ok, try to upload file</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">}</span><span class=\"token keyword\" style=\"border: 0px; margin: 0px; padding: 0px; color: #0077aa;\">else</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">{</span><span class=\"token keyword\" style=\"border: 0px; margin: 0px; padding: 0px; color: #0077aa;\">if</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span><span class=\"token function\" style=\"border: 0px; margin: 0px; padding: 0px; color: #dd4a68;\">move_uploaded_file</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span>$_FILES<span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">[</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"imageFile\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">]</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">[</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"tmp_name\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">]</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">,</span> $target_file<span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">{</span>\r\n    echo <span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"The file \"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">.</span><span class=\"token function\" style=\"border: 0px; margin: 0px; padding: 0px; color: #dd4a68;\">basename</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">(</span> $_FILES<span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">[</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"imageFile\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">]</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">[</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"name\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">]</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">)</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">.</span><span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\" has been uploaded.\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">}</span><span class=\"token keyword\" style=\"border: 0px; margin: 0px; padding: 0px; color: #0077aa;\">else</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">{</span>\r\n    echo <span class=\"token string\" style=\"border: 0px; margin: 0px; padding: 0px; color: #669900;\">\"Sorry, there was an error uploading your file.\"</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">;</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">}</span><span class=\"token punctuation\" style=\"border: 0px; margin: 0px; padding: 0px; color: #999999;\">}</span><span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">?</span><span class=\"token operator\" style=\"border: 0px; margin: 0px; padding: 0px; color: #9a6e3a; background: rgba(255, 255, 255, 0.5);\">&gt;</span></code>\r\n   </pre>\r\n<div id=\"content_4_btf_wrapper\" class=\"adunitwrapper content_btf_wrapper mv-size-300x250 mv-dynamic-size\" data-wrapper=\"content_4_btf\" style=\"border: 0px; margin: 10px auto 20px; padding: 0px; overflow: hidden; position: relative; height: 264px; width: 300px; text-align: center; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff; min-height: 264px; visibility: hidden;\">\r\n   <div id=\"content_4_btf\" class=\"content_btf adunit\" style=\"border: 0px; margin: 0px; padding: 0px; position: relative;\">&nbsp;</div>\r\n   <div class=\"adunitlabel\" style=\"border: 0px; margin: 0px auto; padding: 0px; position: absolute; bottom: 0px; width: inherit; color: #a5a5a5; text-align: left; min-width: 160px; font-size: 12px !important; line-height: 12px !important;\"><button class=\"mv-ad-report-button\" data-target=\"content_4_btf\" data-adtype=\"display\" aria-label=\"Report this ad\" style=\"font-family: &quot;Open Sans&quot;, sans-serif; font-size: 20px; line-height: 12px; margin: 0px; vertical-align: baseline; border-width: initial; border-style: none; border-color: initial; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; cursor: pointer; appearance: button; padding: 0px; color: #ffffff; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; float: right; position: relative; width: 300px; top: 0px; outline: none;\"></button>\r\n      <div class=\"mediavine\" style=\"border: 0px; margin: 0px; padding: 0px;\"><a href=\"https://www.mediavine.com/\" target=\"_blank\" rel=\"noopener\" aria-label=\"mediavine\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #a5a5a5;\"><img alt=\"\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAAUCAMAAAA0oWYGAAAANlBMVEUAAACkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKT0RuBeAAAAEXRSTlMAECAwQFBgcHuEj5+vv8/f7w0rGDcAAANcSURBVEjHzZbLlsMoDEQLMMYBPaj//9lZCDt2Oj1nZtesHCKbS0klwLFnACh9SwDQWkaM1Cj4I2OSDUAjtQAw8gUAyD6V9e9AcgA7SW6AktQEJPeMKQCaqqpKBoDDVNX2c1JVVW0k1PUsvRUAQLOIA4BNVVUK0FRUKwBsomIdaajoyEhdRaUAQFfRkZC6yjm0wUmyBSQTlAH9YgLMAQySJHcAyUiS/ZokSc6Mdv3wUXC+1AOyne/3a/IgSUH2kCa+ewBISnKW9c8agkmSc0G+ApIFOoFEeUN2ANtcUbHeN8i1nb7iznVJWa8bAAhJ1kCZZYXMbQV7RnpCxq9SSZKWZGHIBIQbLh5NpyZvSJ8+fVpaW/TYA7cH5NrZLME2CwLOErKR9BOSCiRZkEaSM8YIJblvS5SAHGjcPXyzIM9FbpBHziWXkhe9lLL7Eu0GeYreVlgD6krNByRf4YkTctZccsklLyUXJBekAJOyfSxS/Am5X+5rj4KY2w0yGTktdMoeBd+X3tnu6SZZcFdylru7b0qOpSTKtgI6yemkoMbDBemiotpPyHFV236DrCR186AakWZb5fOpJA39nm4TUbEd35Uctx7VSfqYtHSQIj+MY+kOOT4hB8kODaV3kiz59PJDSZ8kj3aH5Anzm5IPyNmMswp5/F/I7CQbDpKewrS1Lis/lRyNqzB+Qv4nJbkP0ia93iF9iIgej3RrNJcLcilTYhqD5OgkJX0qqauz3NM9RMT2S8n6r0pyjyYj2X43zgBQZzTOC1JJej/GOtgqSc7w+IeSM+X5hJz5q3F+VzI+cKS7cY6Ucsr5akE575M3/76Ajc+ufzZpz/hRk+Xsw+8WlFJKKYfTyJYXZP8FMuLqA3KamZnbFoaYFgTz1sxfd0i2q5jjfvVQ0q9GfKXbYwFdbx1L0bR9h2zhn8jIx7HI/ddjMVlk+3WMdWotaSu+KYnI14dxOKOk2deyCfMTUmITe1wJvlwwWG+QM46AdcF4G+p0VBh1poCc9wtGwepRzDjLM8Z1WkRgjtK+QzYz84piZg1J3XyPyTXcCup6VjnWVc3NfMfuZlavGavAy8183Y+yuLkWpOHmmgFkdXPJSOLvFWRZs68LSAkD/pkr+XuUPg8AqDozgPya/W8B/gPQAm/tWHkI8wAAAABJRU5ErkJggg==\" style=\"height: 10px !important; max-width: 100%; border: 0px !important; margin: 0px !important; padding: 0px !important; box-shadow: none !important; width: 82px !important; min-width: 82px !important; min-height: 10px !important;\" /></a></div>\r\n      </div>\r\n   </div>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff; text-align: center;\"><a class=\"rntwhite\" href=\"https://github.com/RuiSantosdotme/ESP32-CAM-Arduino-IDE/raw/master/ESP32-CAM-HTTP-POST-Image/upload.php\" target=\"_blank\" style=\"border: 2px solid rgb(235, 235, 235); margin: 0px; padding: 6px; background: rgb(245, 242, 240); transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #3a3a3a !important;\">View raw code</a></p>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">Save your file and exit (Ctrl+X, Y, and Enter key):</p>\r\n<h2 id=\"2-2\" style=\"border: 0px; margin: 34px 0px 18px; padding: 0px; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 36px; line-height: 1.3em; position: relative; color: #3a3a3a; background-color: #ffffff;\">2.2. Preparing Your&nbsp;<em style=\"border: 0px; margin: 0px; padding: 0px;\">.php</em>&nbsp;Files and&nbsp;<em style=\"border: 0px; margin: 0px; padding: 0px;\">uploads</em>&nbsp;Folder (Hosting Service)</h2>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">If you prefer to run your server remotely and access the photos from anywhere, you need a hosting account. After signing up for a&nbsp;<a rel=\"noreferrer noopener\" href=\"https://randomnerdtutorials.com/bluehost\" target=\"_blank\" style=\"border: 0px; margin: 0px; padding: 0px; background-color: transparent; transition: color 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; text-decoration-line: none; color: #1b78e2;\">hosting account and setting up a domain name</a>, you can login to your cPanel or similar dashboard. After that, open the File Manager.</p>\r\n<p style=\"border: 0px; margin-bottom: 1.4em; padding: 0px; color: #3a3a3a; font-family: &quot;Open Sans&quot;, sans-serif; font-size: 18px; background-color: #ffffff;\">Open the “<span style=\"border: 0px; margin: 0px; padding: 0px; font-weight: 700;\">Advanced</span>” tab and select “<span','https://randomnerdtutorials.com/esp32-cam-http-post-php-arduino/','',0,0,4,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-03-25 07:39:01',0,'2021-03-25 07:39:01','210.101.103.92','','','','','','','','','','','',''),(483,-483,'',483,0,0,'','','html1','[Arduino] Uart로 로라(LoRa)통신하기','<p>Uart로 동작하는 LoRa 모듈을 이용하 아두이노간 통신방식 설명 블로그.</p>\r\n<p><br /></p>','http://blog.naver.com/PostView.nhn?blogId=gss3695&logNo=221572865899','',3,0,4,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-03-28 11:04:03',1,'2021-03-28 11:04:03','192.168.219.104','','','','','','','','','','','',''),(484,-484,'',484,0,0,'','','html1','[ETC] 우분투&mqtt 트러블 슛팅, mqttBroker의 모든것','<h1 id=\"우분투에-설치된-mqtt-브로커-포트가-안열림\" style=\"box-sizing: inherit; font-size: 2.5rem; line-height: 1.5; margin-bottom: 1rem; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; letter-spacing: -0.072px;\">우분투에 설치된 MQTT 브로커 포트가 안열림.</h1>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">우분투에 MQTT브로커를 설치한 후 기본 실행하면 기본 포트가<br style=\"box-sizing: inherit;\" />127.0.0.1:1883에 run 한다.<br style=\"box-sizing: inherit;\" />그래서 우선 우분투 iptables로 포트 1883을 열고 127.0.0.1:1883에 포트포워딩을 하면 되겠다 생각했는데 레퍼런스를 찾아보니 다들 아니 대부분 0.0.0.0에 서버 바인딩을 하라는 것이었다.</p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\"><a href=\"https://stackoverflow.com/questions/45260068/setting-up-mosquitto-on-home-server\" style=\"box-sizing: inherit; color: #0ca678; text-decoration-line: none;\" target=\"_blank\">https://stackoverflow.com/questions/45260068/setting-up-mosquitto-on-home-server</a></p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\"><img src=\"https://media.vlpt.us/images/adguy/post/e21e2af4-b5c1-43b1-958e-d51918ca998f/image.png\" style=\"box-sizing: inherit; max-width: 100%; height: auto; display: block; margin: 3rem auto;\" /></p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">찾아보니 mosquitto.conf 파일을 vim으로 listening 1833 0.0.0.0으로 insert 하고</p>\r\n<h2 id=\"해결1\" style=\"box-sizing: inherit; font-size: 2rem; line-height: 1.5; margin-bottom: 1rem; margin-top: 2.5rem; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; letter-spacing: -0.072px;\">해결1</h2>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">run command를 mosquitto -c mosquitto.conf -v 해서 적용하라는 것이었다.<br style=\"box-sizing: inherit;\" />(-c conf파일 적용도 처음 알았다. 이거 알기 전까지 시간이 많이 소모되었다.. api문서는언제 시간내서 한번 정독을 해야 겠다 !!!)</p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">\r\n   <code style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; background: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; font-size: 15.3px; border-radius: 3px; color: #24292e;\">vim mosquitto.conf</code>\r\n   &nbsp;파일을 열어보면 아래와 같이 설정되어 있다.<br style=\"box-sizing: inherit;\" />아래 allow_anonymous true 값이 없을땐 default로 false가 되어 있는데, 자꾸 authorized error가 떳다.. 권한에러<br style=\"box-sizing: inherit;\" />그래서 api문서 좀 읽어보니 저게 필요하겠다 싶어 true 주니 권한에러 안 뜨더라..<br style=\"box-sizing: inherit;\" /><img src=\"https://media.vlpt.us/images/adguy/post/aef2bc02-8fd0-4535-bfa7-2a337c3246e8/image.png\" style=\"box-sizing: inherit; max-width: 100%; height: auto; display: block; margin: 3rem auto;\" /></p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">그리고 우분투의 방화병 정책 iptables에서 INPUT OUTPUT에 포트를 개방해서 들어오고 나갈수 있게 설정하고,<br style=\"box-sizing: inherit;\" />stakoverflow 보면 포트 포워딩까지 해줘야 한다고 했다.</p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">포트 열려있는지는 아래서 체크하면 된다. (나랑 같이 싸운 포트 오픈 체크 페이지..)<br style=\"box-sizing: inherit;\" /><a href=\"https://www.yougetsignal.com/tools/open-ports/\" style=\"box-sizing: inherit; color: #0ca678; text-decoration-line: none;\" target=\"_blank\">https://www.yougetsignal.com/tools/open-ports/</a><br style=\"box-sizing: inherit;\" /><img src=\"https://media.vlpt.us/images/adguy/post/b28ae415-c10e-4052-a2ac-0239499ed9ed/image.png\" style=\"box-sizing: inherit; max-width: 100%; height: auto; display: block; margin: 3rem auto;\" /></p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">열린 포트 보려면 간단하게&nbsp;\r\n   <code style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; background: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; font-size: 15.3px; border-radius: 3px; color: #24292e;\">netstat -ntlp</code>\r\n   &nbsp;입력하면 된다. TCP 중에서(t), Listening상태[열린포트]인 애들만(l), 상세정보까지(p), 10진수 숫자로(n) 표기한다.<br style=\"box-sizing: inherit;\" />\r\n   <code style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; background: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; font-size: 15.3px; border-radius: 3px; color: #24292e;\">netstat -ano</code>\r\n   도 편하다. windows에선 항상 저걸 사용해서.. ㅎ<br style=\"box-sizing: inherit;\" />그러면 아래처럼 뜨는데 Recv-Q, Send-Q는 받았는데 처리못한거, 보냈는데 처리 못한거란다.. 현재는 22번 ssh가 ESTABLISHED 상태다. 포트 22번이 열려있다.<br style=\"box-sizing: inherit;\" /><img src=\"https://media.vlpt.us/images/adguy/post/3005ad1d-051a-4821-9537-824c482c69a9/image.png\" style=\"box-sizing: inherit; max-width: 100%; height: auto; display: block; margin: 3rem auto;\" /></p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">여기서 내가 또 해맨게 포트 포워딩을 하면 오히려 port가 close가 되는 것이었다.<br style=\"box-sizing: inherit;\" />인터넷 찾아보니 프리라우팅 하는 방법이,</p>\r\n<pre class=\" language-c\" style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; font-size: 0.875rem; padding: 1rem; border-radius: 4px; line-height: 1.5; overflow-x: auto; letter-spacing: 0px; box-shadow: rgba(0, 0, 0, 0.02) 0px 0px 2px; background: rgb(251, 252, 253); color: #24292e;\">\r\n   <code class=\" language-c\" style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace;\">iptables <span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>A PREROUTING <span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>t nat <span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>p tcp  <span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>d <span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">220.92</span><span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">.18</span><span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">.202</span><span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">--</span>dport <span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">1883</span><span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>j DNAT <span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">--</span>to <span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">0.0</span><span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">.0</span><span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">.0</span><span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">:</span><span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">1883</span>\r\niptables <span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>A PREROUTING <span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>t nat <span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>p tcp  <span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>d <span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">220.92</span><span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">.18</span><span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">.202</span><span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">--</span>dport <span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">1883</span><span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>j DNAT <span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">--</span>to <span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">127.0</span><span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">.0</span><span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">.1</span><span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">:</span><span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">1883</span></code>\r\n   </pre>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">이고 그전에 FORWARD단에서 가로채니 그것도 ACCEPT 설정해줘야 해서</p>\r\n<pre class=\" language-c\" style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; font-size: 0.875rem; padding: 1rem; border-radius: 4px; line-height: 1.5; overflow-x: auto; letter-spacing: 0px; box-shadow: rgba(0, 0, 0, 0.02) 0px 0px 2px; background: rgb(251, 252, 253); color: #24292e;\">\r\n   <code class=\" language-c\" style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace;\">iptables <span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>A FORWARD <span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>p tcp <span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">--</span>dport <span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">1883</span><span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>d <span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">0.0</span><span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">.0</span><span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">.0</span><span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>j ACCEPT \r\niptables <span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>A FORWARD <span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>p tcp <span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">--</span>dport <span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">1883</span><span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>d <span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">127.0</span><span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">.0</span><span class=\"token number\" style=\"box-sizing: inherit; color: #986801;\">.1</span><span class=\"token operator\" style=\"box-sizing: inherit; color: #0184bc;\">-</span>j ACCEPT</code>\r\n   </pre>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">0.0.0.0:183, 127.0.0.1 둘다 테스트해보았다. 그랬더니<br style=\"box-sizing: inherit;\" />prerouting 적용하자마자 위에 yougetsignal 사이트에서 내 서버 포트가 계속 closed 되는 것이었다. 이미 Broker hosting이 0.0.0.0으로 되어 있어서 포트 포워딩 설정하면 중복이되니까 맛이 가는건가??왜 포트 closed 가 되는지 이해가 안갔음.</p>\r\n<h2 id=\"해결2\" style=\"box-sizing: inherit; font-size: 2rem; line-height: 1.5; margin-bottom: 1rem; margin-top: 2.5rem; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; letter-spacing: -0.072px;\">해결2</h2>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">어쨋든 포트포워딩은 다 빼버리니까 connect이 되었다. 즉 적용된건 1883포트를 INPUT OUTPUT를 accept으로 설정했고,<br style=\"box-sizing: inherit;\" />브로커를 돌렸다<br style=\"box-sizing: inherit;\" /><strong style=\"box-sizing: inherit;\">(알게 된점은 해당 포트 방화벽을 열었다 하더라도 실제 프로그램이 작동하지 않으면 포트는 closed 된다는 것이었다. 열려 있는게 아니라..이런건 블로그 e북등을 봐도 가르쳐 주는 사람이 없다 질문해서 알아내야 한다..)</strong></p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">이 포트 여는데 거의 2~3일이 걸렸다. ㅠㅠ 레퍼런스대로 해서 안됐을때가 본 실력이 나오는듯하다..</p>\r\n<h2 id=\"추가\" style=\"box-sizing: inherit; font-size: 2rem; line-height: 1.5; margin-bottom: 1rem; margin-top: 2.5rem; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; letter-spacing: -0.072px;\">추가</h2>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">아래 publish subscription 테스트.<br style=\"box-sizing: inherit;\" />즉 .conf 파일에서 listening 설정을 1883 0.0.0.0 으로 바인딩 해두면 내부 locallost나 127.0.0.1 로 통신이 가능하다...<br style=\"box-sizing: inherit;\" /><strong style=\"box-sizing: inherit;\">(PREROUTING이나 FORWARD 설정을 안해도 리스닝을 0.0.0.0 해두니 자동으로 외부 1883과 내부 로컬 1883 포트가 포워딩이 된다니.. 신기하네)</strong></p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\"><img src=\"https://media.vlpt.us/images/adguy/post/4e7e30a1-53e1-4dee-950d-1b4bff36da4f/%EB%A6%AC%EB%88%85%EC%8A%A4%20mqtt%20test.png\" style=\"box-sizing: inherit; max-width: 100%; height: auto; display: block; margin: 3rem auto;\" /></p>\r\n<h1 id=\"systemctl-명령어\" style=\"box-sizing: inherit; font-size: 2.5rem; line-height: 1.5; margin-bottom: 1rem; margin-top: 2.5rem; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; letter-spacing: -0.072px;\">systemctl 명령어</h1>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">시스템 서비스를 컨트롤 할 수 있는 명령어.&nbsp;\r\n   <code style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; background: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; font-size: 15.3px; border-radius: 3px; color: #24292e;\">/etc/init.d</code>\r\n   &nbsp;디렉토리에 있는 링크파일들을 시작, 종료, 재시작등을 할 수 있다. init.d 디렉토리는 리눅스에 사용할 수 있는 프로그램 실행 파일 링크 enable오는 위치.</p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">systemctl enable /diable 은 부팅시 자동실행 여부를 선택하는 것 이고 systemctl start/stop 은 지금 서비스를 켜고 끄는 것을 의미한다.</p>\r\n<blockquote style=\"box-sizing: inherit; margin: 2rem 0px; border-left: 4px solid rgb(32, 201, 151); border-top-right-radius: 4px; border-bottom-right-radius: 4px; background: rgb(248, 249, 250); padding: 1rem 1rem 1rem 2rem; color: #212529; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">\r\n   <p style=\"box-sizing: inherit;\">systemctl enable 해당 서비스 :부팅시 자동 시작<br style=\"box-sizing: inherit; margin-top: 0px;\" />systemctl disable 해당 서비스 :부팅시 사용 안함<br style=\"box-sizing: inherit;\" />systemctl start 해당 서비스 :지금 일반 시작<br style=\"box-sizing: inherit;\" />systemctl stop 해당서비스 :지금 멈춤<br style=\"box-sizing: inherit;\" />sudo systemctl reset-failed :불필요한 서비스 삭제<br style=\"box-sizing: inherit; margin-bottom: 0px;\" />sudo journalctl | grep 내서비스이름 : 자세한 오류 및 기록 확인</p>\r\n   </blockquote>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">아래는 예전 버전(centOS 6인가..)<br style=\"box-sizing: inherit;\" />\r\n   <code style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; background: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; font-size: 15.3px; border-radius: 3px; color: #24292e;\">ex) service start mosquitto</code>\r\n   </p>\r\n<ul style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">\r\n   <li style=\"box-sizing: inherit;\">start : 중지된 서비스 시작</li>\r\n   <li style=\"box-sizing: inherit;\">stop : 실행 중 서비스 중지</li>\r\n   <li style=\"box-sizing: inherit;\">restart : 중지된거 시작, reload : 연결을 끊지 않는 채 서비스 설정 리로드, status : 서비스 실행 여부를 나타냄.</li>\r\n   </ul>\r\n<h1 id=\"mosquittoconf-설정-파일\" style=\"box-sizing: inherit; font-size: 2.5rem; line-height: 1.5; margin-bottom: 1rem; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; letter-spacing: -0.072px;\">mosquitto.conf 설정 파일</h1>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">참조 :&nbsp;<a href=\"https://m.blog.naver.com/PostView.nhn?blogId=phkaa&amp;logNo=220937990534&amp;proxyReferer=https:%2F%2Fwww.google.com%2F\" style=\"box-sizing: inherit; color: #0ca678; text-decoration-line: none;\" target=\"_blank\">https://m.blog.naver.com/PostView.nhn?blogId=phkaa&amp;logNo=220937990534&amp;proxyReferer=https:%2F%2Fwww.google.com%2F</a></p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">패스워드 파일 위치 예제: /usr/local/etc/mosquitto/pwfile.example</p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">참고 네이버 블로그:<a href=\"http://spectrumdig.blogspot.kr/2016/02/mqtt-broker-mosquitto.html\" style=\"box-sizing: inherit; color: #0ca678; text-decoration-line: none;\" target=\"_blank\">http://spectrumdig.blogspot.kr/2016/02/mqtt-broker-mosquitto.html</a></p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">mosquitto.conf 파일 적용하려면 broker를 restart해줘야 한다.</p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">eng:Quick Guide to The Mosquitto.conf File With Examples<br style=\"box-sizing: inherit;\" /><a href=\"http://www.steves-internet-guide.com/mossquitto-conf-file/\" style=\"box-sizing: inherit; color: #0ca678; text-decoration-line: none;\" target=\"_blank\">http://www.steves-internet-guide.com/mossquitto-conf-file/</a></p>\r\n<h1 id=\"etc\" style=\"box-sizing: inherit; font-size: 2.5rem; line-height: 1.5; margin-bottom: 1rem; margin-top: 2.5rem; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; letter-spacing: -0.072px;\">etc</h1>\r\n<ul style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">\r\n   <li style=\"box-sizing: inherit;\">mobaXterm 한글 깨지는 현상<br style=\"box-sizing: inherit;\" />터미널 창에서 오른쪽 마우스키 누르시고 change terminal settings-&gt; Windows-&gt;Translation-&gt;Remote character set: Use font encoding 선택 하시고 Windows-&gt; Apperance 에서 한글 지원 폰트로 변경 하시면 됩니다<br style=\"box-sizing: inherit;\" /><a href=\"https://okky.kr/article/459132\" style=\"box-sizing: inherit; color: #0ca678; text-decoration-line: none;\" target=\"_blank\">https://okky.kr/article/459132</a></li>\r\n   </ul>\r\n<h1 id=\"ssh-vs-ssl의-차이점\" style=\"box-sizing: inherit; font-size: 2.5rem; line-height: 1.5; margin-bottom: 1rem; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; letter-spacing: -0.072px;\">ssh vs ssl의 차이점</h1>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">\r\n   <code style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; background: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; font-size: 15.3px; border-radius: 3px; color: #24292e;\">ssh</code>\r\n   &nbsp;: Secure Shell Protocol<br style=\"box-sizing: inherit;\" />원격 조종에 있어 보안성 유지. 보통 22번 포트<br style=\"box-sizing: inherit;\" />원격접속 패킷을 보낼 때 데이터를 암호화 시켜줌. 자료를 올릴때 sftp를 사용<br style=\"box-sizing: inherit;\" />\r\n   <code style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; background: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; font-size: 15.3px; border-radius: 3px; color: #24292e;\">ssl</code>\r\n   &nbsp;: Secure Sockets Layer, 웹서버 인증이나 서버 인증.<br style=\"box-sizing: inherit;\" />웹브라우저와 서버간의 통신이 암호화 되므로 중간에 패킷을 가로챌수 없도록 하는 솔루션. 웹상에 결제나 인터넷 뱅킹과 같은 중요한 일을 할 때 사용되는 방식.<br style=\"box-sizing: inherit;\" />클라이언트가 서버에 접속하게 되면 서버 인증서를 정송 받음.</p>\r\n<h1 id=\"aws-가장쉽게-vpc-개념잡기\" style=\"box-sizing: inherit; font-size: 2.5rem; line-height: 1.5; margin-bottom: 1rem; margin-top: 2.5rem; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; letter-spacing: -0.072px;\">[AWS] 가장쉽게 VPC 개념잡기</h1>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\"><a href=\"https://medium.com/harrythegreat/aws-%EA%B0%80%EC%9E%A5%EC%89%BD%EA%B2%8C-vpc-%EA%B0%9C%EB%85%90%EC%9E%A1%EA%B8%B0-71eef95a7098\" style=\"box-sizing: inherit; color: #0ca678; text-decoration-line: none;\" target=\"_blank\">https://medium.com/harrythegreat/aws-%EA%B0%80%EC%9E%A5%EC%89%BD%EA%B2%8C-vpc-%EA%B0%9C%EB%85%90%EC%9E%A1%EA%B8%B0-71eef95a7098</a></p>\r\n<h2 id=\"tcpip-이론--ip-주소-서브넷-마스크-그리고-기본-게이트웨이\" style=\"box-sizing: inherit; font-size: 2rem; line-height: 1.5; margin-bottom: 1rem; margin-top: 2.5rem; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; letter-spacing: -0.072px;\">TCP/IP 이론 — IP 주소, 서브넷 마스크 그리고 기본 게이트웨이</h2>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">\r\n   <code style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; background: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; font-size: 15.3px; border-radius: 3px; color: #24292e;\">ipconfg</code>\r\n   &nbsp;치면 나오는 화면 중<br style=\"box-sizing: inherit;\" />\r\n   <code style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; background: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; font-size: 15.3px; border-radius: 3px; color: #24292e;\">이더넷 어댑터</code>\r\n   &nbsp;: pc의 랜카드, 이더넷은 LAN 영역에서 사용하는 표준 기술<br style=\"box-sizing: inherit;\" />\r\n   <code style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; background: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; font-size: 15.3px; border-radius: 3px; color: #24292e;\">IPv4</code>\r\n   &nbsp;: 0.0.0.0부터 255.255.255.255까지, 총 2의 32승 만큼의 주소를 가질 수 있다.<br style=\"box-sizing: inherit;\" />IP주소에는 클래스 개념이 있는데, 이는 번호의 영역이다.<br style=\"box-sizing: inherit;\" />A클래스 1~126, B클래스 128~ 191, C클래스 192~223<br style=\"box-sizing: inherit;\" />192.x..는 C클래스에 속함.<br style=\"box-sizing: inherit;\" />\r\n   <code style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; background: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; font-size: 15.3px; border-radius: 3px; color: #24292e;\">127번</code>\r\n   은 localhost 127.0.0.1번으로 자기 자신 주소이기에 클래스에서 제외함. 루프백 주소(loopback address)라고도 함.</p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">\r\n   <code style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; background: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; font-size: 15.3px; border-radius: 3px; color: #24292e;\">서브넷 마스크</code>\r\n   &nbsp;: IP주소와 쌍을 이뤄서 사용하는 개념. IP주소를 이 서브넷 마스크를 이요해 표기하는데 이를 서비넷 마스크 표기법이라 칭함.<br style=\"box-sizing: inherit;\" />192.168.0.4 의 IPv4가 있다 하면, 서브넷 마스크는 255.255.255.0인데 129.168.0에 255.255.255가 대응하고 4와 0이 대응하는 것을 알 수 있다. 이 때, 255,255,255에 대응하는 192. 168.0을 네트워크 ID라 하며 0에 대응하는 4를 호스트 ID라 한다. 서브넷 마스크의 네트워크 ID가 전화번호에 국번에 해당한다면 일련번호가 호스트 ID에 해당함.</p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">\r\n   <code style=\"box-sizing: inherit; font-family: &quot;Fira Mono&quot;, source-code-pro, Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; background: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; font-size: 15.3px; border-radius: 3px; color: #24292e;\">기본 게이트 웨이</code>\r\n   : 게이트웨이를 다른말로 라우터. 소프트웨어 측면을 강조할 때 게이트웨이, 하드웨어적 측면 강조할 땐 라우터.<br style=\"box-sizing: inherit;\" />보통 무선 공유기를 사용하면 무선공유기가 게이트웨이(=라우터) ex) 192.168.0.1 같은 것..<br style=\"box-sizing: inherit;\" />게이트 웨이는 인터넷으로 접속하기 위한 일종의 관문 역할. 라우터는 인터넷 공간에서 각기 다른 호스트 사이를 연결해주는 기능을 수행하는데 이러한 기능을 라우팅이라 부른다.</p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">pc와 게이트웨이 사이에 설정된 네트워크 ID는 동일하다고 볼 수 있다. ex)192.168.0 까지는 동일함. 스마트폰도 같은 wifi를 공유기 통해 사용한다면..<br style=\"box-sizing: inherit;\" />이처럼 동일한 네트워크 ID를 공유하는 장치들의 공간을 LAN(Local Area Network)영역이라고 한다. 그럼 호스트 ID는 랜 내부에서 사용되는 호스트들을 구분하기 위한 식별자이다.</p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\">LAN영역 안에도 많은 호스트(노트북은 1번, 스마트폰은 2번) 끼리 연결하는 경우, 다른 말로 출발지 IP주소와 목적지 IP주소의 네트워크 ID가 동일한 경우인데, 이런 경우네느 스위칭 이라고 부른다.</p>\r\n<p style=\"box-sizing: inherit; color: #222426; font-family: -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;Apple SD Gothic Neo&quot;, &quot;Malgun Gothic&quot;, &quot;맑은 고딕&quot;, 나눔고딕, &quot;Nanum Gothic&quot;, &quot;Noto Sans KR&quot;, &quot;Noto Sans CJK KR&quot;, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif; font-size: 18px; letter-spacing: -0.072px;\"><a href=\"https://medium.com/pocs/tcp-ip-%EC%9D%B4%EB%A1%A0-ip-%EC%A3%BC%EC%86%8C-%EC%84%9C%EB%B8%8C%EB%84%B7-%EB%A7%88%EC%8A%A4%ED%81%AC-%EA%B7%B8%EB%A6%AC%EA%B3%A0-%EA%B8%B0%EB%B3%B8-%EA%B2%8C%EC%9D%B4%ED%8A%B8%EC%9B%A8%EC%9D%B4-ccd6d832711e\" style=\"box-sizing: inherit; color: #0ca678; text-decoration-line: none;\" target=\"_blank\">https://medium.com/pocs/tcp-ip-%EC%9D%B4%EB%A1%A0-ip-%EC%A3%BC%EC%86%8C-%EC%84%9C%EB%B8%8C%EB%84%B7-%EB%A7%88%EC%8A%A4%ED%81%AC-%EA%B7%B8%EB%A6%AC%EA%B3%A0-%EA%B8%B0%EB%B3%B8-%EA%B2%8C%EC%9D%B4%ED%8A%B8%EC%9B%A8%EC%9D%B4-ccd6d832711e</a></p>','https://velog.io/@adguy/%EC%9A%B0%EB%B6%84%ED%88%ACmqtt-%ED%8A%B8%EB%9F%AC%EB%B8%94-%EC%8A%9B%ED%8C%85-mqttBroker%EC%9D%98-%EB%AA%A8%EB%93%A0%EA%B2%83','https://www.yougetsignal.com/tools/open-ports/',3,1,5,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-04-05 16:40:09',0,'2021-04-05 16:40:09','210.101.103.92','','','','','','','','','','','',''),(485,-485,'',485,0,0,'','','html1','[ETC] DC 극성 바꾸기','<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\"><strong><span style=\"box-sizing: border-box; font-size: 14pt;\">방향만 전환하기&nbsp;</span></strong></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">모터의 속도는 그대로 두고 작동 방향만&nbsp;반대로 바꾸는 제어만을 원한다면&nbsp;다음과 같이 릴레이 두개로 모터에 공급되는 전원의 +/-극성을 바꿔주는 방법이 있다.</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; float: none; text-align: center; clear: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"box-sizing: border-box; height: auto; max-width: 100%; display: inline-block; width: 448px;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/9923E0495C5838A41D\" width=\"448\" filename=\"relay_motor1.png\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto; vertical-align: middle;\" /></span></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; float: none; text-align: center; clear: none; padding-top: 0px !important; padding-bottom: 0px !important;\">위와 같이 릴레이 두개를 병렬로 연결하고&nbsp;아두이노에서 둘 다 NC로&nbsp;SET하면 모터에 전류는 흐르지 않는다.</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; float: none; text-align: center; clear: none; padding-top: 0px !important; padding-bottom: 0px !important;\">마찬가지로&nbsp;둘 다 NO일 경우에도 모터에는 전류가 흐르지 않아 모터는 정지 상태이다.&nbsp;&nbsp;&nbsp;</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; float: none; text-align: center; clear: none; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; float: none; text-align: center; clear: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"box-sizing: border-box; height: auto; max-width: 100%; display: inline-block; width: 448px;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/99ECAC495C5838A516\" width=\"448\" filename=\"relay_motor2.png\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto; vertical-align: middle;\" /></span></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; float: none; text-align: center; clear: none; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; float: none; text-align: center; clear: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"box-sizing: border-box; height: auto; max-width: 100%; display: inline-block; width: 448px;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/9931B5495C5838A522\" width=\"448\" filename=\"relay_motor3.png\" filemime=\"image/jpeg\" style=\"border: 0px; max-width: 100%; height: auto; vertical-align: middle;\" /></span></p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; text-align: center; padding-top: 0px !important; padding-bottom: 0px !important;\">위와 같이&nbsp;릴레이 상태를 둘 중 하나만 NO으로 하게 되면&nbsp;모터에 전류가 흐르게 되는데,</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; text-align: center; padding-top: 0px !important; padding-bottom: 0px !important;\">극성 방향은&nbsp;각각 반대가 되어 모터의 작동방향이 반대가 되게 된다.&nbsp;&nbsp;&nbsp;</p>\r\n<p style=\"font-family: &quot;Ubuntu Condensed&quot;, &quot;Noto Sans Korean&quot;; font-size: 15px; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>','https://makernambo.com/60','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-04-25 16:06:14',0,'2021-04-25 16:06:14','192.168.219.104','','','','','','','','','','','',''),(486,-486,'',486,0,0,'','','html1','[ETC] max485 이용한 RS485 모듈보드 자료','<div class=\"woocommerce-tabs wc-tabs-wrapper\" style=\"box-sizing: border-box; clear: both; margin-bottom: 50px; font-family: &quot;Open Sans&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #f5f5f5;\">\r\n   <div class=\"woocommerce-Tabs-panel woocommerce-Tabs-panel--description panel entry-content wc-tab\" id=\"tab-description\" role=\"tabpanel\" aria-labelledby=\"tab-title-description\" style=\"box-sizing: border-box; margin: 0px 0px 2em; padding: 10px 15px 15px; width: 847.5px; border: 1px solid rgb(236, 236, 236); background: rgb(255, 255, 255);\">\r\n      <h2 style=\"box-sizing: border-box; font-family: Montserrat, Helvetica, Arial, sans-serif; line-height: 20px; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 18px; text-transform: uppercase;\">DESCRIPTION</h2>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">The MAX485 TTL to RS-485 Interface Module allows uCs to use the RS-485 differential signaling for robust long distance serial communications.</p>\r\n      <h2 style=\"box-sizing: border-box; font-family: Montserrat, Helvetica, Arial, sans-serif; line-height: 20px; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 18px; text-transform: uppercase;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">PACKAGE INCLUDES:</span></h2>\r\n      <ul style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px;\">\r\n         <li style=\"box-sizing: border-box;\">MAX485 TTL to RS-485 Interface Module</li>\r\n         </ul>\r\n      <h2 style=\"box-sizing: border-box; font-family: Montserrat, Helvetica, Arial, sans-serif; line-height: 20px; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 18px; text-transform: uppercase;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">KEY FEATURES OF MAX485 TTL TO RS-485 INTERFACE MODULE:</span></h2>\r\n      <ul style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px;\">\r\n         <li style=\"box-sizing: border-box;\">Use MAX485 Interface chip</li>\r\n         <li style=\"box-sizing: border-box;\">Uses differential signaling for noise immunity</li>\r\n         <li style=\"box-sizing: border-box;\">Distances up to 1200 meters</li>\r\n         <li style=\"box-sizing: border-box;\">Speeds up to 2.5Mbit/Sec</li>\r\n         <li style=\"box-sizing: border-box;\">Multi-drop supports up to 32 devices on same bus</li>\r\n         <li style=\"box-sizing: border-box;\">Red power LED</li>\r\n         <li style=\"box-sizing: border-box;\">5V operation</li>\r\n         </ul>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">RS-485 provides for robust serial communications over long distances of up to 1200 meters (4000′) or in electrically noisy environments and is commonly used in industrial environments.&nbsp; It supports up to 2.5MBit/Sec data rates, but as distance goes up, the maximum data rate that can be supported comes down.</p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">You can think of RS-485 as RS232 on steroids.&nbsp; The data starts out as typical TTL level serial as far as the microcontroller is concerned while the RS-485 module takes care of converting the electrical signals between TTL and the differential signaling used by RS-485.</p>\r\n      <h3 style=\"box-sizing: border-box; line-height: 30px; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 20px;\">Multi-Drop Support for Multiple Devices</h3>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">A significant benefit of RS-485 is that it supports multiple devices (up to 32) on the same cable, commonly referred to as ‘multi-drop’.</p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">This works by passing the bus through each device where it picks off the signal as it passes through as shown below.</p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">These devices are typically setup in a Master / Slave configuration with one Master and one or more Slave devices.&nbsp; Since they all share the same bus, to avoid conflict the Slave devices only talk when they are asked for something by the Master such as requesting a temperature reading.</p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\"><img loading=\"lazy\" class=\"size-full wp-image-5417 aligncenter\" src=\"https://protosupplies.com/wp-content/uploads/2018/05/MAX485-Multi-Drop.jpg\" alt=\"MAX485 Multi-Drop Wiring\" width=\"673\" srcset=\"https://protosupplies.com/wp-content/uploads/2018/05/MAX485-Multi-Drop.jpg 673w, https://protosupplies.com/wp-content/uploads/2018/05/MAX485-Multi-Drop-400x149.jpg 400w, https://protosupplies.com/wp-content/uploads/2018/05/MAX485-Multi-Drop-350x131.jpg 350w, https://protosupplies.com/wp-content/uploads/2018/05/MAX485-Multi-Drop-300x112.jpg 300w, https://protosupplies.com/wp-content/uploads/2018/05/MAX485-Multi-Drop-280x104.jpg 280w\" sizes=\"(max-width: 673px) 100vw, 673px\" style=\"box-sizing: border-box; border: 0px none; vertical-align: middle; height: auto; max-width: 100%; clear: both; display: block; margin: 0px auto;\" /></p>\r\n      <h3 style=\"box-sizing: border-box; line-height: 30px; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 20px;\">Differential Signaling</h3>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">The RS-485 uses differential signaling and requires only 2 wires and a common ground.</p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">Differential signals operate by putting the signal on 1 wire and the inverse of the signal on the other wire.&nbsp; This improves the signals noise immunity and the ability to recover the signal at the far end of the cable as noise tends to couple into both lines equally and therefore cancels out at the receiving end.</p>\r\n      <h3 style=\"box-sizing: border-box; line-height: 30px; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 20px;\">Wiring RS-485</h3>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">These two differential data lines are labeled as A &amp; B.&nbsp; On the module, these are available on the screw terminal block as well as the two center pins on that end of the module.</p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">When connecting the modules together, the wiring is straight through, so A on one end should be connected to A on the other end and B connects to B.</p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">The wires should ideally be twisted pair.&nbsp; Using twisted pair becomes more important for longer runs or where there is a lot of electrical noise.&nbsp; For simple breadboard testing or other short runs, it is not necessary.&nbsp; A common ground is needed, but this can often be provided by the earth ground at each end for shorter runs.&nbsp; Network cable is often used for connecting RS-485 as it provides twisted pair, plus it can provide a ground wire as well.</p>\r\n      <h3 style=\"box-sizing: border-box; line-height: 30px; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 20px;\">Pull-up Resistors</h3>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">The module provides four 10K pull-up resistors on the data lines.</p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">There are two 20K resistors on the A/B differential lines.&nbsp; These pull the lines to a known state when data is not being transmitted.</p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">Finally there is a single 120 ohm resistor (R7).&nbsp; This resistor goes between the A/B differential lines on each end of the cable to prevent reflections.&nbsp; If using in a multi-drop configuration, the modules on the two ends of the line should keep these resistors.&nbsp; Modules in the middle of the line should have these resistors removed to prevent loading the lines too heavily as shown in the pic above.&nbsp; This requirement can often be ignored when the number of devices is small.</p>\r\n      <h3 style=\"box-sizing: border-box; line-height: 30px; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 20px;\">Module Connections</h3>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">The module has two 4-pin headers on the assembly.</p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">1 x 4 Header (Data side)</span></p>\r\n      <ul style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px;\">\r\n         <li style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">RO&nbsp;</span>&nbsp;=&nbsp; Receiver Output.&nbsp; Connects to a serial RX pin on the microcontroller</li>\r\n         <li style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">RE&nbsp;</span>&nbsp;= &nbsp;Receiver Enable.&nbsp; Active LOW.&nbsp; Connects to a digital output pin on a microcontroller. Drive LOW to enable receiver, HIGH to enable Driver</li>\r\n         <li style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">DE&nbsp;</span>&nbsp;= &nbsp; Driver Enable.&nbsp; Active&nbsp; HIGH.&nbsp; Typically jumpered to RE Pin.</li>\r\n         <li style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">DI&nbsp; =</span>&nbsp; &nbsp;Driver Input.&nbsp; Connects to serial TX pin on the microcontroller</li>\r\n         </ul>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">1 x 4 Header (Output side)</span></p>\r\n      <ul style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px;\">\r\n         <li style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">VCC</span>&nbsp;= &nbsp;5V</li>\r\n         <li style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">B</span>&nbsp; &nbsp; &nbsp; = &nbsp;Data ‘B’ Inverted Line. Common with the B</li>\r\n         <li style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">A&nbsp; &nbsp; &nbsp; =</span>&nbsp; Data ‘A’ Non-Inverted Line.&nbsp; Connects to A on far end module</li>\r\n         <li style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">GND</span>&nbsp;= &nbsp;Ground</li>\r\n         </ul>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">1 x 2 Screw Terminal Block (Output side)</span></p>\r\n      <ul style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px;\">\r\n         <li style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">B&nbsp; &nbsp; &nbsp;</span>&nbsp;= Data ‘B’ Inverted Line. Connects to B on far end module</li>\r\n         <li style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">A&nbsp; &nbsp; &nbsp;</span>&nbsp;= Data ‘A’ Non-Inverted Line.&nbsp; Connects to A on far end module</li>\r\n         </ul>\r\n      <h2 style=\"box-sizing: border-box; font-family: Montserrat, Helvetica, Arial, sans-serif; line-height: 20px; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 18px; text-transform: uppercase;\">OUR EVALUATION RESULTS:</h2>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">You will need RS-485 on both ends, so typically you will need two of these modules to implement a basic link unless you are trying to interface with a device that already has RS-485 implemented.</p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">When working with these devices, keep in mind that they are basically just level translators.&nbsp; From the microcontrollers perspective, the functionality is the same as if two RS232 serial ports are connected for communicating between the devices.&nbsp; If there is difficulty in using the devices, they can often be temporarily removed from the setup to see if the issue is with the RS-485 or something more basic in the setup.&nbsp; If they are removed from the setup, the RX/TX lines between the microcontrollers need to be crossed i.e. TX1 to RX2 and RX1 to TX2.</p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">The main tricky part when working with these devices is to ensure that the DE/RE lines are held in the correct state as the data is moved back and forth between the Master and Slave devices.&nbsp; This timing can be affected by the data rates being used.&nbsp; If you are getting garbage transmitted, this is usually the first place to look.<a href=\"https://protosupplies.com/wp-content/uploads/2018/05/MAX485-Module-Test-Setup.jpg\" style=\"box-sizing: border-box; background-color: transparent; color: #000000; text-decoration-line: none;\" target=\"_blank\"><img loading=\"lazy\" class=\"alignright wp-image-4911 size-medium\" src=\"https://protosupplies.com/wp-content/uploads/2018/05/MAX485-Module-Test-Setup-300x225.jpg\" alt=\"MAX485 Module Test Setup\" width=\"300\" srcset=\"https://protosupplies.com/wp-content/uploads/2018/05/MAX485-Module-Test-Setup-300x225.jpg 300w, https://protosupplies.com/wp-content/uploads/2018/05/MAX485-Module-Test-Setup-400x300.jpg 400w, https://protosupplies.com/wp-content/uploads/2018/05/MAX485-Module-Test-Setup.jpg 800w, https://protosupplies.com/wp-content/uploads/2018/05/MAX485-Module-Test-Setup-768x576.jpg 768w, https://protosupplies.com/wp-content/uploads/2018/05/MAX485-Module-Test-Setup-249x187.jpg 249w\" sizes=\"(max-width: 300px) 100vw, 300px\" style=\"box-sizing: border-box; border: 0px none; vertical-align: middle; height: auto; max-width: 100%; float: right; margin: 0px 0px 10px 20px;\" /></a></p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">The programs below create both a Master device and a Slave device.&nbsp; For this setup, you will need two Arduinos of any type (or other microcontrollers) and two of the RS-485 modules. &nbsp;You will download the Master software to one device and the Slave software to the second device.&nbsp; The programs use the SoftSerial library for communication in order to leave the hardware serial port available for monitoring the data on the Serial Monitor windows of the two Arduinos.&nbsp; If you are using a version of board that has multiple hardware serial ports, you can use one of those instead if you prefer but it is recommend to get the setup up and running as shown first, then start making mods.</p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">Both devices use the same pins for their soft serial port.&nbsp; Connect as follows from Arduino to RS-485 module on both devices</p>\r\n      <ul style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px;\">\r\n         <li style=\"box-sizing: border-box;\">Pin 10 (RX) connects to RO</li>\r\n         <li style=\"box-sizing: border-box;\">Pin 11 (TX) connects to DI</li>\r\n         <li style=\"box-sizing: border-box;\">Pin 3 (CTRL) connects to RE and DE.</li>\r\n         <li style=\"box-sizing: border-box;\">5V connects to VCC</li>\r\n         <li style=\"box-sizing: border-box;\">Gnd connects to Gnd</li>\r\n         </ul>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">Connect data lines A to A and B to B between RS-485 modules.&nbsp; You can use either the terminal block or the header pins to make these connections.</p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">The Master device allows you to type any character in the top portion of the Serial Monitor window and once you press enter, it will send that character to the Slave device.&nbsp; When the Slave&nbsp;<a href=\"https://protosupplies.com/wp-content/uploads/2018/05/MAX485-TTL-to-RS-485-Interface-Module-%E2%80%93-software.jpg\" style=\"box-sizing: border-box; background-color: transparent; color: #000000; text-decoration-line: none;\" target=\"_blank\"><img loading=\"lazy\" class=\"alignright wp-image-4914 size-medium\" src=\"https://protosupplies.com/wp-content/uploads/2018/05/MAX485-TTL-to-RS-485-Interface-Module-%E2%80%93-software-300x225.jpg\" alt=\"MAX485 TTL to RS-485 Interface Module – software\" width=\"300\" srcset=\"https://protosupplies.com/wp-content/uploads/2018/05/MAX485-TTL-to-RS-485-Interface-Module-–-software-300x225.jpg 300w, https://protosupplies.com/wp-content/uploads/2018/05/MAX485-TTL-to-RS-485-Interface-Module-–-software-400x300.jpg 400w, https://protosupplies.com/wp-content/uploads/2018/05/MAX485-TTL-to-RS-485-Interface-Module-–-software.jpg 800w, https://protosupplies.com/wp-content/uploads/2018/05/MAX485-TTL-to-RS-485-Interface-Module-–-software-768x576.jpg 768w, https://protosupplies.com/wp-content/uploads/2018/05/MAX485-TTL-to-RS-485-Interface-Module-–-software-249x187.jpg 249w\" sizes=\"(max-width: 300px) 100vw, 300px\" style=\"box-sizing: border-box; border: 0px none; vertical-align: middle; height: auto; max-width: 100%; float: right; margin: 0px 0px 10px 20px;\" /></a>receives the character, it will send what it received out to its own Serial Monitor window as well as echo it back to the Master device.&nbsp; Once the Master device receives the character back from the Slave, it will print it out to its own Serial Monitor window.&nbsp; Basically, if you type an ‘a’ and hit ENTER in the top window of the Master device and you see an ‘a’ appear in the bottom window, the command has made a full round trip.</p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">Note that if you want to use the Serial Monitor Window on both the Master and Slave device at the same time, or program both Arduinos without moving USB cables around and resetting COM ports and Arduino types, &nbsp;you will need to create two instances of the Arduino IDE.</p>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">To do that, you just need to open the IDE from the Start menu (or where ever you typically open it) twice.&nbsp; You cannot just open a 2nd window from an existing IDE.&nbsp; &nbsp;Once you have two separate IDEs running, open the Master software in one and the Slave software in the 2nd.&nbsp; Configure both for the COM port and the Arduino type you are using with each window.&nbsp; You will of course also need two USB cables to connect both Arduinos up to your PC at the same time.</p>\r\n      <h3 style=\"box-sizing: border-box; line-height: 30px; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 20px;\">Master RS-485 Device Software</h3>\r\n      <pre style=\"box-sizing: border-box; overflow: auto; font-family: monospace, monospace; font-size: 1em; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; word-break: break-all; overflow-wrap: break-word; color: #333333; background-color: #f5f5f5; border: 1px solid rgb(204, 204, 204); border-radius: 4px;\"><span style=\"box-sizing: border-box; color: #95a5a6;\">/*</span><span style=\"box-sizing: border-box; color: #95a5a6;\"> * RS485 Master Software</span><span style=\"box-sizing: border-box; color: #95a5a6;\"> * Exercise the MAX485 Module. &nbsp;This code runs on the first (Master)device.</span><span style=\"box-sizing: border-box; color: #95a5a6;\"> * Use the RS485_Slave_Test software for the second (Slave) device</span><span style=\"box-sizing: border-box; color: #95a5a6;\"> * This uses the SoftSerial.h library which comes with the Arduino IDE</span><span style=\"box-sizing: border-box; color: #95a5a6;\"> * Pins used for the soft serial port are fairly arbitrary and can be changed</span><span style=\"box-sizing: border-box; color: #95a5a6;\"> * as needed. &nbsp;Just redefine them below.</span><span style=\"box-sizing: border-box; color: #95a5a6;\"> */</span><span style=\"box-sizing: border-box; color: #5e6d03;\">#include</span><span style=\"box-sizing: border-box; color: #434f54;\">&lt;</span><span style=\"box-sizing: border-box; font-weight: bolder;\"><span style=\"box-sizing: border-box; color: #d35400;\">SoftwareSerial</span></span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #000000;\">h</span><span style=\"box-sizing: border-box; color: #434f54;\">&gt;</span><span style=\"box-sizing: border-box; color: #00979c;\">const</span><span style=\"box-sizing: border-box; color: #00979c;\">int</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_RX_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">=</span><span style=\"box-sizing: border-box; color: #000000;\">10</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">//Soft Serial Receive pin</span><span style=\"box-sizing: border-box; color: #00979c;\">const</span><span style=\"box-sizing: border-box; color: #00979c;\">int</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_TX_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">=</span><span style=\"box-sizing: border-box; color: #000000;\">11</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">//Soft Serial Transmit pin</span><span style=\"box-sizing: border-box; color: #00979c;\">const</span><span style=\"box-sizing: border-box; color: #00979c;\">int</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_CTRL_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">=</span><span style=\"box-sizing: border-box; color: #000000;\">3</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">//RS485 Direction control</span><span style=\"box-sizing: border-box; color: #00979c;\">const</span><span style=\"box-sizing: border-box; color: #00979c;\">int</span><span style=\"box-sizing: border-box; color: #000000;\">LED_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">=</span><span style=\"box-sizing: border-box; color: #000000;\">13</span><span style=\"box-sizing: border-box; color: #000000;\">;</span><span style=\"box-sizing: border-box; color: #00979c;\">const</span><span style=\"box-sizing: border-box; color: #00979c;\">int</span><span style=\"box-sizing: border-box; color: #000000;\">RS485_TRANSMIT</span><span style=\"box-sizing: border-box; color: #434f54;\">=</span><span style=\"box-sizing: border-box; color: #00979c;\">HIGH</span><span style=\"box-sizing: border-box; color: #000000;\">;</span><span style=\"box-sizing: border-box; color: #00979c;\">const</span><span style=\"box-sizing: border-box; color: #00979c;\">int</span><span style=\"box-sizing: border-box; color: #000000;\">RS485_RECEIVE</span><span style=\"box-sizing: border-box; color: #434f54;\">=</span><span style=\"box-sizing: border-box; color: #00979c;\">LOW</span><span style=\"box-sizing: border-box; color: #000000;\">;</span><span style=\"box-sizing: border-box; color: #434f54;\">// Create Soft Serial Port object and define pins to use</span><span style=\"box-sizing: border-box; font-weight: bolder;\"><span style=\"box-sizing: border-box; color: #d35400;\">SoftwareSerial</span></span><span style=\"box-sizing: border-box; color: #000000;\">RS485Serial</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_RX_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">,</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_TX_PIN</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span><span style=\"box-sizing: border-box; color: #434f54;\">// RX, TX</span><span style=\"box-sizing: border-box; color: #00979c;\">int</span><span style=\"box-sizing: border-box; color: #000000;\">byteReceived</span><span style=\"box-sizing: border-box; color: #000000;\">;</span><span style=\"box-sizing: border-box; color: #434f54;\">//===============================================================================</span><span style=\"box-sizing: border-box; color: #434f54;\">// &nbsp;Initialization</span><span style=\"box-sizing: border-box; color: #434f54;\">//===============================================================================</span><span style=\"box-sizing: border-box; color: #00979c;\">void</span><span style=\"box-sizing: border-box; color: #5e6d03;\">setup</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">{</span>\r\n &nbsp;<span style=\"box-sizing: border-box; font-weight: bolder;\"><span style=\"box-sizing: border-box; color: #d35400;\">Serial</span></span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">begin</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">9600</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Start the built-in serial port</span>\r\n &nbsp;<span style=\"box-sizing: border-box; font-weight: bolder;\"><span style=\"box-sizing: border-box; color: #d35400;\">Serial</span></span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">println</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #005c5f;\">\"Master Device\"</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span>\r\n &nbsp;<span style=\"box-sizing: border-box; font-weight: bolder;\"><span style=\"box-sizing: border-box; color: #d35400;\">Serial</span></span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">println</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #005c5f;\">\"Type in upper window, press ENTER\"</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span>\r\n &nbsp;\r\n &nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">pinMode</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">LED_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">,</span><span style=\"box-sizing: border-box; color: #00979c;\">OUTPUT</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Configure any output pins</span>\r\n &nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">pinMode</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_CTRL_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">,</span><span style=\"box-sizing: border-box; color: #00979c;\">OUTPUT</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;&nbsp;\r\n &nbsp;\r\n &nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">digitalWrite</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_CTRL_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">,</span><span style=\"box-sizing: border-box; color: #000000;\">RS485_RECEIVE</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Put RS485 in receive mode &nbsp;</span>\r\n &nbsp;\r\n &nbsp;<span style=\"box-sizing: border-box; color: #000000;\">RS485Serial</span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">begin</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">9600</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Start the RS485 soft serial port </span><span style=\"box-sizing: border-box; color: #000000;\">}</span><span style=\"box-sizing: border-box; color: #434f54;\">//===============================================================================</span><span style=\"box-sizing: border-box; color: #434f54;\">// &nbsp;Main</span><span style=\"box-sizing: border-box; color: #434f54;\">//===============================================================================</span><span style=\"box-sizing: border-box; color: #00979c;\">void</span><span style=\"box-sizing: border-box; color: #5e6d03;\">loop</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">{</span>\r\n &nbsp;<span style=\"box-sizing: border-box; color: #5e6d03;\">if</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; font-weight: bolder;\"><span style=\"box-sizing: border-box; color: #d35400;\">Serial</span></span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">available</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">)</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// A char(byte) has been entered in the Serial Monitor</span>\r\n &nbsp;<span style=\"box-sizing: border-box; color: #000000;\">{</span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #000000;\">byteReceived</span><span style=\"box-sizing: border-box; color: #434f54;\">=</span><span style=\"box-sizing: border-box; font-weight: bolder;\"><span style=\"box-sizing: border-box; color: #d35400;\">Serial</span></span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">read</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Read the byte</span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">digitalWrite</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_CTRL_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">,</span><span style=\"box-sizing: border-box; color: #000000;\">RS485_TRANSMIT</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Put RS485 in Transmit mode &nbsp;&nbsp;</span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #000000;\">RS485Serial</span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">write</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">byteReceived</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Send byte to Remote Arduino</span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">delay</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">1</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &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;<span style=\"box-sizing: border-box; color: #434f54;\">// Wait before going back to Receive mode</span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">digitalWrite</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_CTRL_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">,</span><span style=\"box-sizing: border-box; color: #000000;\">RS485_RECEIVE</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Put RS485 back into Receive mode &nbsp;&nbsp;&nbsp;</span>\r\n &nbsp;<span style=\"box-sizing: border-box; color: #000000;\">}</span>\r\n &nbsp;\r\n &nbsp;<span style=\"box-sizing: border-box; color: #5e6d03;\">if</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">RS485Serial</span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">available</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">)</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">//Data from the Slave is available</span>\r\n &nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #000000;\">{</span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">digitalWrite</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">LED_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">,</span><span style=\"box-sizing: border-box; color: #00979c;\">HIGH</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Show activity on LED</span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #000000;\">byteReceived</span><span style=\"box-sizing: border-box; color: #434f54;\">=</span><span style=\"box-sizing: border-box; color: #000000;\">RS485Serial</span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">read</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Read received byte</span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; font-weight: bolder;\"><span style=\"box-sizing: border-box; color: #d35400;\">Serial</span></span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">write</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">byteReceived</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Show on Serial Monitor</span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">delay</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">10</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">digitalWrite</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">LED_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">,</span><span style=\"box-sizing: border-box; color: #00979c;\">LOW</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Turn LED back off</span>\r\n &nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #000000;\">}</span> &nbsp;\r\n<span style=\"box-sizing: border-box; color: #000000;\">}</span></pre>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\">&nbsp;</p>\r\n      <h3 style=\"box-sizing: border-box; line-height: 30px; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 20px;\">Slave RS-485 Device Software</h3>\r\n      <pre style=\"box-sizing: border-box; overflow: auto; font-family: monospace, monospace; font-size: 1em; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; word-break: break-all; overflow-wrap: break-word; color: #333333; background-color: #f5f5f5; border: 1px solid rgb(204, 204, 204); border-radius: 4px;\"><span style=\"box-sizing: border-box; color: #95a5a6;\">/*</span><span style=\"box-sizing: border-box; color: #95a5a6;\"> * RS485 Slave Software</span><span style=\"box-sizing: border-box; color: #95a5a6;\"> * Exercise the MAX485 Module. &nbsp;This code runs on the second (slave)device.</span><span style=\"box-sizing: border-box; color: #95a5a6;\"> * Use the RS485_Master_Test software for the first (Master) device</span><span style=\"box-sizing: border-box; color: #95a5a6;\"> * This uses the SoftSerial.h library which comes with the Arduino IDE</span><span style=\"box-sizing: border-box; color: #95a5a6;\"> * Pins used for the soft serial port are fairly arbitrary and can be changed</span><span style=\"box-sizing: border-box; color: #95a5a6;\"> * as needed. &nbsp;Just redefine them below.</span><span style=\"box-sizing: border-box; color: #95a5a6;\"> */</span><span style=\"box-sizing: border-box; color: #5e6d03;\">#include</span><span style=\"box-sizing: border-box; color: #434f54;\">&lt;</span><span style=\"box-sizing: border-box; font-weight: bolder;\"><span style=\"box-sizing: border-box; color: #d35400;\">SoftwareSerial</span></span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #000000;\">h</span><span style=\"box-sizing: border-box; color: #434f54;\">&gt;</span><span style=\"box-sizing: border-box; color: #00979c;\">const</span><span style=\"box-sizing: border-box; color: #00979c;\">int</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_RX_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">=</span><span style=\"box-sizing: border-box; color: #000000;\">10</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">//Soft Serial Receive pin</span><span style=\"box-sizing: border-box; color: #00979c;\">const</span><span style=\"box-sizing: border-box; color: #00979c;\">int</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_TX_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">=</span><span style=\"box-sizing: border-box; color: #000000;\">11</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">//Soft Serial Transmit pin</span><span style=\"box-sizing: border-box; color: #00979c;\">const</span><span style=\"box-sizing: border-box; color: #00979c;\">int</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_CTRL_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">=</span><span style=\"box-sizing: border-box; color: #000000;\">3</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">//RS485 Direction control</span><span style=\"box-sizing: border-box; color: #00979c;\">const</span><span style=\"box-sizing: border-box; color: #00979c;\">int</span><span style=\"box-sizing: border-box; color: #000000;\">LED_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">=</span><span style=\"box-sizing: border-box; color: #000000;\">13</span><span style=\"box-sizing: border-box; color: #000000;\">;</span><span style=\"box-sizing: border-box; color: #00979c;\">const</span><span style=\"box-sizing: border-box; color: #00979c;\">int</span><span style=\"box-sizing: border-box; color: #000000;\">RS485_TRANSMIT</span><span style=\"box-sizing: border-box; color: #434f54;\">=</span><span style=\"box-sizing: border-box; color: #00979c;\">HIGH</span><span style=\"box-sizing: border-box; color: #000000;\">;</span><span style=\"box-sizing: border-box; color: #00979c;\">const</span><span style=\"box-sizing: border-box; color: #00979c;\">int</span><span style=\"box-sizing: border-box; color: #000000;\">RS485_RECEIVE</span><span style=\"box-sizing: border-box; color: #434f54;\">=</span><span style=\"box-sizing: border-box; color: #00979c;\">LOW</span><span style=\"box-sizing: border-box; color: #000000;\">;</span><span style=\"box-sizing: border-box; color: #434f54;\">// Create Soft Serial Port object and define pins to use</span><span style=\"box-sizing: border-box; font-weight: bolder;\"><span style=\"box-sizing: border-box; color: #d35400;\">SoftwareSerial</span></span><span style=\"box-sizing: border-box; color: #000000;\">RS485Serial</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_RX_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">,</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_TX_PIN</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span><span style=\"box-sizing: border-box; color: #00979c;\">int</span><span style=\"box-sizing: border-box; color: #000000;\">byteReceived</span><span style=\"box-sizing: border-box; color: #000000;\">;</span><span style=\"box-sizing: border-box; color: #00979c;\">int</span><span style=\"box-sizing: border-box; color: #000000;\">byteSent</span><span style=\"box-sizing: border-box; color: #000000;\">;</span><span style=\"box-sizing: border-box; color: #434f54;\">//===============================================================================</span><span style=\"box-sizing: border-box; color: #434f54;\">// &nbsp;Initialization</span><span style=\"box-sizing: border-box; color: #434f54;\">//===============================================================================</span><span style=\"box-sizing: border-box; color: #00979c;\">void</span><span style=\"box-sizing: border-box; color: #5e6d03;\">setup</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">{</span>\r\n &nbsp;<span style=\"box-sizing: border-box; font-weight: bolder;\"><span style=\"box-sizing: border-box; color: #d35400;\">Serial</span></span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">begin</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">9600</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Start the built-in hardware serial port</span>\r\n &nbsp;<span style=\"box-sizing: border-box; font-weight: bolder;\"><span style=\"box-sizing: border-box; color: #d35400;\">Serial</span></span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">println</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #005c5f;\">\"Slave Device\"</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;\r\n &nbsp;\r\n &nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">pinMode</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">LED_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">,</span><span style=\"box-sizing: border-box; color: #00979c;\">OUTPUT</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Configure any output pins</span>\r\n &nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">pinMode</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_CTRL_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">,</span><span style=\"box-sizing: border-box; color: #00979c;\">OUTPUT</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;\r\n &nbsp;\r\n &nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">digitalWrite</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_CTRL_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">,</span><span style=\"box-sizing: border-box; color: #000000;\">RS485_RECEIVE</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Put RS485 in receive mode</span>\r\n &nbsp;\r\n &nbsp;<span style=\"box-sizing: border-box; color: #000000;\">RS485Serial</span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">begin</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">9600</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Start the RS485 soft serial port </span><span style=\"box-sizing: border-box; color: #000000;\">}</span><span style=\"box-sizing: border-box; color: #434f54;\">//===============================================================================</span><span style=\"box-sizing: border-box; color: #434f54;\">// &nbsp;Main</span><span style=\"box-sizing: border-box; color: #434f54;\">//===============================================================================</span><span style=\"box-sizing: border-box; color: #00979c;\">void</span><span style=\"box-sizing: border-box; color: #5e6d03;\">loop</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">{</span>\r\n &nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Watch for data coming in on the soft serial port. &nbsp;If found, send a copy to the </span>\r\n &nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// hardware port to display on the local serial terminal and also echo a copy back out </span>\r\n &nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// the soft serial port to the Master device &nbsp;</span>\r\n &nbsp;<span style=\"box-sizing: border-box; color: #5e6d03;\">if</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">RS485Serial</span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">available</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">)</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// If data has come in from Master</span>\r\n &nbsp;<span style=\"box-sizing: border-box; color: #000000;\">{</span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #000000;\">byteSent</span><span style=\"box-sizing: border-box; color: #434f54;\">=</span><span style=\"box-sizing: border-box; color: #000000;\">RS485Serial</span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">read</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Read the byte </span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; font-weight: bolder;\"><span style=\"box-sizing: border-box; color: #d35400;\">Serial</span></span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">write</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">byteSent</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Show on local Serial Monitor window</span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">digitalWrite</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">LED_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">,</span><span style=\"box-sizing: border-box; color: #00979c;\">HIGH</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Show activity on LED</span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">delay</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">10</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n &nbsp;&nbsp;&nbsp;&nbsp;\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">digitalWrite</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_CTRL_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">,</span><span style=\"box-sizing: border-box; color: #000000;\">RS485_TRANSMIT</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Put RS485 in Transmit mode &nbsp;&nbsp;&nbsp;</span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #000000;\">RS485Serial</span><span style=\"box-sizing: border-box; color: #434f54;\">.</span><span style=\"box-sizing: border-box; color: #d35400;\">write</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">byteSent</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Send the byte back to Master</span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">delay</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">1</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &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;<span style=\"box-sizing: border-box; color: #434f54;\">// Wait before going back to Receive mode</span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">digitalWrite</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">SSERIAL_CTRL_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">,</span><span style=\"box-sizing: border-box; color: #000000;\">RS485_RECEIVE</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Put RS485 back into Receive mode </span>\r\n &nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #d35400;\">digitalWrite</span><span style=\"box-sizing: border-box; color: #000000;\">(</span><span style=\"box-sizing: border-box; color: #000000;\">LED_PIN</span><span style=\"box-sizing: border-box; color: #434f54;\">,</span><span style=\"box-sizing: border-box; color: #00979c;\">LOW</span><span style=\"box-sizing: border-box; color: #000000;\">)</span><span style=\"box-sizing: border-box; color: #000000;\">;</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"box-sizing: border-box; color: #434f54;\">// Turn LED back off</span>\r\n &nbsp;<span style=\"box-sizing: border-box; color: #000000;\">}</span> &nbsp;\r\n<span style=\"box-sizing: border-box; color: #000000;\">}</span></pre>\r\n      <h2 style=\"box-sizing: border-box; font-family: Montserrat, Helvetica, Arial, sans-serif; line-height: 20px; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 18px; text-transform: uppercase;\">BEFORE THEY ARE SHIPPED, THESE MODULES ARE:</h2>\r\n      <ul style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px;\">\r\n         <li style=\"box-sizing: border-box;\">Sample inspected and tested per incoming shipment</li>\r\n         </ul>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\"><em style=\"box-sizing: border-box;\">Notes:&nbsp;</em></p>\r\n      <ol style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px;\">\r\n         <li style=\"box-sizing: border-box;\"><i style=\"box-sizing: border-box;\">Note that due to the length of the module, if using with a breadboard,&nbsp; you will need to span two sections of the breadboard.</i></li>\r\n         <li style=\"box-sizing: border-box;\"><em style=\"box-sizing: border-box;\">For a simpler to use and more capable solution with auto direction control, check out the SCM TTL to RS-485 Interface Module below</em></li>\r\n         </ol>\r\n      <hr style=\"box-sizing: content-box; height: 0px; margin-top: 20px; margin-bottom: 20px; border-right: 0px; border-bottom: 0px; border-left: 0px; border-image: initial; border-top-style: solid; border-top-color: #eeeeee; overflow: visible;\" />\r\n      <h2 style=\"box-sizing: border-box; font-family: Montserrat, Helvetica, Arial, sans-serif; line-height: 20px; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 18px; text-transform: uppercase;\">TECHNICAL SPECIFICATIONS</h2>\r\n      <table class=\"table table-hover\" width=\"862\" style=\"border-spacing: 0px; background-color: transparent; width: 815px; max-width: 100%; margin-bottom: 20px; height: 140px;\">\r\n         <tbody style=\"box-sizing: border-box;\">\r\n            <tr style=\"box-sizing: border-box;\">\r\n               <td width=\"145\" style=\"box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: #dddddd;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">&nbsp;Operating Ratings</span></td>\r\n               <td width=\"264\" style=\"box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: #dddddd;\"></td>\r\n               <td width=\"229\" style=\"box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: #dddddd;\"></td>\r\n               </tr>\r\n            <tr style=\"box-sizing: border-box;\">\r\n               <td width=\"145\" style=\"box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: #dddddd;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; V<span style=\"box-sizing: border-box; font-size: 10.5px; line-height: 0; position: relative; vertical-align: baseline; bottom: -0.25em;\">cc</span></td>\r\n               <td width=\"264\" style=\"box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: #dddddd;\">Range</td>\r\n               <td width=\"229\" style=\"box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: #dddddd;\">4.75 to 5.25V</td>\r\n               </tr>\r\n            <tr style=\"box-sizing: border-box;\">\r\n               <td width=\"145\" style=\"box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: #dddddd;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I<span style=\"box-sizing: border-box; font-size: 10.5px; line-height: 0; position: relative; vertical-align: baseline; bottom: -0.25em;\">max</span></td>\r\n               <td width=\"264\" style=\"box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: #dddddd;\"></td>\r\n               <td width=\"229\" style=\"box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: #dddddd;\">5mA (typical measured)</td>\r\n               </tr>\r\n            <tr style=\"box-sizing: border-box;\">\r\n               <td width=\"145\" style=\"box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: #dddddd;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">Dimensions</span></td>\r\n               <td width=\"264\" style=\"box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: #dddddd;\">L x W (PCB)</td>\r\n               <td width=\"229\" style=\"box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: #dddddd;\">45 x 15mm (1.8 x 0.6″)</td>\r\n               </tr>\r\n            <tr style=\"box-sizing: border-box;\">\r\n               <td width=\"145\" style=\"box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: #dddddd;\"><span style=\"box-sizing: border-box; font-weight: bolder;\">Datasheets</span></td>\r\n               <td width=\"264\" style=\"box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: #dddddd;\"></td>\r\n               <td width=\"229\" style=\"box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: #dddddd;\"><span style=\"box-sizing: border-box; color: #0000ff;\"><span style=\"box-sizing: border-box; font-weight: bolder;\"><a href=\"https://datasheets.maximintegrated.com/en/ds/MAX1487-MAX491.pdf\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"box-sizing: border-box; background-color: transparent; color: #0000ff; text-decoration-line: none;\">MAX485</a></span></span></td>\r\n               </tr>\r\n            </tbody>\r\n         </table>\r\n      <hr style=\"box-sizing: content-box; height: 0px; margin-top: 20px; margin-bottom: 20px; border-right: 0px; border-bottom: 0px; border-left: 0px; border-image: initial; border-top-style: solid; border-top-color: #eeeeee; overflow: visible;\" />\r\n      <h2 style=\"box-sizing: border-box; font-family: Montserrat, Helvetica, Arial, sans-serif; line-height: 20px; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 18px; text-transform: uppercase;\">FURTHER READING</h2>\r\n      <p style=\"box-sizing: border-box; margin-bottom: 20px;\"><a href=\"http://www.gammon.com.au/forum/?id=11428\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"box-sizing: border-box; background-color: transparent; color: #000000; text-decoration-line: none;\">Nick Gammon has an excellent write-up on the RS485 standard and has implemented several useful libraries.</a></p>\r\n      </div>\r\n   </div>\r\n<section class=\"up-sells upsells products\" style=\"box-sizing: border-box; font-family: &quot;Open Sans&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #f5f5f5;\">\r\n   <h2 style=\"box-sizing: border-box; font-family: Montserrat, Helvetica, Arial, sans-serif; line-height: 20px; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 18px; text-transform: uppercase;\">YOU MAY ALSO LIKE…</h2>\r\n   <ul class=\"products columns-4\" style=\"box-sizing: border-box; margin: 0px -15px; clear: both; padding: 0px; list-style: outside none;\">\r\n      <li class=\"prodpage-classic product type-product post-6984 status-publish first instock product_cat-communications-and-interfacing product_cat-ic-breakout-modules product_tag-rs-485 has-post-thumbnail taxable shipping-taxable purchasable product-type-simple\" style=\"box-sizing: border-box; list-style: outside none; float: left; margin: 0px 0px 30px; padding: 0px 15px; position: relative; width: 292.484px; clear: both;\">\r\n         <div class=\"product-list-item text-custom-parent-hov prod-layout-classic\" style=\"box-sizing: border-box; position: relative; background: radial-gradient(at center center, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 50%, rgb(237, 237, 237) 100%);\"><a href=\"https://protosupplies.com/product/scm-ttl-to-rs-485-interface-module/\" class=\"woocommerce-LoopProduct-link woocommerce-loop-product__link\" style=\"box-sizing: border-box; background-color: transparent; color: #000000; text-decoration-line: none; display: block; position: relative;\" target=\"_blank\">\r\n               <div class=\"zn_badge_container\" style=\"box-sizing: border-box; position: absolute; top: 20px; left: 20px; z-index: 1;\">&nbsp;</div>\r\n               <span class=\"kw-prodimage\" style=\"box-sizing: border-box; text-align: center; overflow: hidden; position: relative; z-index: 0; display: block;\"><img src=\"https://protosupplies.com/wp-content/uploads/2019/02/SCM-TTL-to-RS-485-Adapter-Module-1-400x300.jpg\" class=\"kw-prodimage-img\" alt=\"SCM TTL to RS-485 Adapter Module\" loading=\"lazy\" srcset=\"https://protosupplies.com/wp-content/uploads/2019/02/SCM-TTL-to-RS-485-Adapter-Module-1-400x300.jpg 400w, https://protosupplies.com/wp-content/uploads/2019/02/SCM-TTL-to-RS-485-Adapter-Module-1-300x225.jpg 300w, https://protosupplies.com/wp-content/uploads/2019/02/SCM-TTL-to-RS-485-Adapter-Module-1-768x576.jpg 768w, https://protosupplies.com/wp-content/uploads/2019/02/SCM-TTL-to-RS-485-Adapter-Module-1-249x187.jpg 249w, https://protosupplies.com/wp-content/uploads/2019/02/SCM-TTL-to-RS-485-Adapter-Module-1.jpg 800w\" sizes=\"(max-width: 400px)','https://protosupplies.com/product/max485-ttl-to-rs-485-interface-module/','',0,0,4,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-04-30 08:30:41',1,'2021-04-30 08:30:41','210.101.103.92','','','','','','','','','','','',''),(487,-487,'',487,0,0,'','','html1','[ETC] 브릿지 다이오드를 이용한 AC -> DC 전파정류기','<p>&nbsp;</p>\r\n<p><br /></p>','https://donghwada.tistory.com/entry/%EB%B8%8C%EB%A6%BF%EC%A7%80-%EB%8B%A4%EC%9D%B4%EC%98%A4%EB%93%9C','',1,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-05-01 12:40:34',1,'2021-05-01 12:40:34','210.101.103.92','','','','','','','','','','','',''),(489,-489,'',489,0,0,'','','html1','[ETC] 크롬에서 마우스 우클릭 복사방지 해제 방법','<p>해당 페이지에서 F12, F1을 누르고 Dubugger항목에서 Disable JavaScript 를 해지하면 된다.</p>','https://teldama.tistory.com/entry/%EC%89%BD%EA%B3%A0-%EA%B0%84%EB%8B%A8%ED%95%9C-%EB%A7%88%EC%9A%B0%EC%8A%A4-%EC%9A%B0%ED%81%B4%EB%A6%AD-%EB%B3%B5%EC%82%AC%EB%B0%A9%EC%A7%80-%ED%95%B4%EC%A0%9C%EB%B0%A9%EB%B2%95%ED%81%AC%EB%A1%AC','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-05-14 11:28:49',0,'2021-05-14 11:28:49','210.101.103.92','','','','','','','','','','','',''),(490,-490,'',490,0,0,'','','html1','[ETC] 18650 charger and voltmeter','<p><iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/liu89AIH89Y\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"></iframe></p>','https://drive.google.com/file/d/1bIX916QLnuKPqnzxbAixqNn9qqlhm9Bv/view','https://www.youtube.com/watch?v=liu89AIH89Y',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-06-03 21:56:31',2,'2021-06-03 21:56:31','192.168.219.104','','','','','','','','','','','',''),(491,-491,'',491,0,0,'','','html1','[Arduino] WebServer 만들기(웹서버로 AP 설정하기-1) by Arduino library','<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><span style=\"box-sizing: border-box; font-size: 12pt;\">IOT제품을 만들려면, 처음 제품을 받았을때 집안의 AP와 연결을 해주어야 합니다.</span><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><span style=\"box-sizing: border-box; font-size: 12pt;\"><br style=\"box-sizing: border-box;\" /></span></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><span style=\"box-sizing: border-box; font-size: 12pt;\">그러기 위해서 ESP8266을 AP모드의 SERVER로 설정하여 집안의 AP정보를 입력해주어야 합니다.</span></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><span style=\"box-sizing: border-box; font-size: 12pt;\"><br style=\"box-sizing: border-box;\" /></span></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">android app을 이용하여 ESP8266에 AP정보를 전달하는 것은 이전에 해보았는데</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">이번에는 WEBSERVER를 이용해 보겠습니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: center; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><a href=\"http://answerofgod.tistory.com/entry/%ED%98%84%EC%9E%AC-%EC%97%B0%EA%B2%B0%EB%90%9C-APWIFI-%EC%A0%95%EB%B3%B4%EA%B0%80%EC%A0%B8%EC%98%A4%EA%B8%B0\" target=\"_blank\" class=\"tx-link\" style=\"box-sizing: border-box; background-color: transparent; color: #303030; text-decoration-line: none; transition: color 0.2s ease-in-out 0s;\"><span style=\"box-sizing: border-box; color: #ff0000;\">android app을 이용한 포스트 가기!!</span></a></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: center; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><span style=\"box-sizing: border-box; font-weight: 700;\"><span style=\"box-sizing: border-box; color: #ff0000;\"></span><a href=\"https://drive.google.com/open?id=0B0zY0_cE5KkfT3dUeVpIejNLc3c\" target=\"_blank\" class=\"tx-link\" style=\"box-sizing: border-box; background-color: transparent; color: #303030; text-decoration-line: none; transition: color 0.2s ease-in-out 0s;\"><span style=\"box-sizing: border-box; color: #ff0000;\">예제소스 다운로드</span></a></span><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">먼저 헤더파일부터 추가시키고 클래스를 선언해줍니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<div class=\"colorscripter-code\" style=\"box-sizing: border-box; font-size: 14px; background-color: #ffffff; color: #f0f0f0; overflow: auto; font-family: Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace !important; position: relative !important;\">\r\n   <table class=\"colorscripter-code-table\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-spacing: 0px; background-color: #272727; margin: 0px; padding: 0px; border-width: initial; border-style: none; border-color: initial; border-radius: 4px;\">\r\n      <tbody style=\"box-sizing: border-box;\">\r\n         <tr style=\"box-sizing: border-box;\">\r\n            <td style=\"box-sizing: border-box; padding: 6px; border-right: 2px solid rgb(79, 79, 79);\">\r\n               <div style=\"box-sizing: border-box; margin: 0px; padding: 0px; word-break: normal; text-align: right; color: #aaaaaa; line-height: 18.2px;\">\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">1</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">2</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">3</span></div>\r\n                  </div>\r\n               </td>\r\n            <td style=\"box-sizing: border-box; padding: 6px 0px;\">\r\n               <div style=\"box-sizing: border-box; margin: 0px; padding: 0px; color: #f0f0f0; line-height: 18.2px;\">\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; color: #0086b3; font-size: 10pt;\">#include</span><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">&lt;</span><span style=\"box-sizing: border-box; font-size: 10pt;\">ESP8266WebServer.h</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">&gt;</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">ESP8266WebServer&nbsp;Web(</span><span style=\"box-sizing: border-box; color: #c10aff; font-size: 10pt;\">80</span><span style=\"box-sizing: border-box; font-size: 10pt;\">);</span></div>\r\n                  </div>\r\n               </td>\r\n            <td style=\"box-sizing: border-box; padding: 0px 2px 4px 0px; vertical-align: bottom;\"><a href=\"http://colorscripter.com/info#e\" target=\"_blank\" style=\"box-sizing: border-box; background-color: transparent; color: white; text-decoration-line: none; transition: color 0.2s ease-in-out 0s;\"><span style=\"box-sizing: border-box; font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: #4f4f4f;\">cs</span></a></td>\r\n            </tr>\r\n         </tbody>\r\n      </table>\r\n   </div>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">Line 3 : 보통은 웹서버의 포트를 80으로 쓰기때문에 80으로 설정했습니다.(변경 가능합니다.)</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">그리고 만약에 포트를 넣지않으면 자동 80번입이다.&nbsp;</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">ESP8266WebServer.h에 80번 기본 설정되어 있습니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">다음으로 Webpage를 만들고 설정을 해줍니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<div class=\"colorscripter-code\" style=\"box-sizing: border-box; font-size: 14px; background-color: #ffffff; color: #f0f0f0; overflow: auto; font-family: Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace !important; position: relative !important;\">\r\n   <table class=\"colorscripter-code-table\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-spacing: 0px; background-color: #272727; margin: 0px; padding: 0px; border-width: initial; border-style: none; border-color: initial; border-radius: 4px;\">\r\n      <tbody style=\"box-sizing: border-box;\">\r\n         <tr style=\"box-sizing: border-box;\">\r\n            <td style=\"box-sizing: border-box; padding: 6px; border-right: 2px solid rgb(79, 79, 79);\">\r\n               <div style=\"box-sizing: border-box; margin: 0px; padding: 0px; word-break: normal; text-align: right; color: #aaaaaa; line-height: 18.2px;\">\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">1</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">2</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">3</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">4</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">5</span></div>\r\n                  </div>\r\n               </td>\r\n            <td style=\"box-sizing: border-box; padding: 6px 0px;\">\r\n               <div style=\"box-sizing: border-box; margin: 0px; padding: 0px; color: #f0f0f0; line-height: 18.2px;\">\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">ESP8266WebServer&nbsp;Web(</span><span style=\"box-sizing: border-box; color: #c10aff; font-size: 10pt;\">80</span><span style=\"box-sizing: border-box; font-size: 10pt;\">);</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">Web.on(</span><span style=\"box-sizing: border-box; color: #ffd500; font-size: 10pt;\">\"/\"</span><span style=\"box-sizing: border-box; font-size: 10pt;\">,indexpage);</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">Web.on(</span><span style=\"box-sizing: border-box; color: #ffd500; font-size: 10pt;\">\"/save\"</span><span style=\"box-sizing: border-box; font-size: 10pt;\">,savepage);</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">Web.</span><span style=\"box-sizing: border-box; color: #4be6fa; font-size: 10pt;\">begin</span><span style=\"box-sizing: border-box; font-size: 10pt;\">();</span></div>\r\n                  </div>\r\n               </td>\r\n            <td style=\"box-sizing: border-box; padding: 0px 2px 4px 0px; vertical-align: bottom;\"><a href=\"http://colorscripter.com/info#e\" target=\"_blank\" style=\"box-sizing: border-box; background-color: transparent; color: white; text-decoration-line: none; transition: color 0.2s ease-in-out 0s;\"><span style=\"box-sizing: border-box; font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: #4f4f4f;\">cs</span></a></td>\r\n            </tr>\r\n         </tbody>\r\n      </table>\r\n   </div>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">Line 3~4 : WebPage 설정부분입니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">Line 3 : WebPage의 루트(/)는 indexpage라는 함수에 정의되어 있고,</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">Line 4 : /save 는 savepage라는 함수에 정의되어 있습니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">Line 5 : 정의를 한 다음 begin메소드를 사용하여 준비시킵니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">여기까지는 setup() 안에서 해주면 됩니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<div class=\"colorscripter-code\" style=\"box-sizing: border-box; font-size: 14px; background-color: #ffffff; color: #f0f0f0; overflow: auto; font-family: Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace !important; position: relative !important;\">\r\n   <table class=\"colorscripter-code-table\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-spacing: 0px; background-color: #272727; margin: 0px; padding: 0px; border-width: initial; border-style: none; border-color: initial; border-radius: 4px;\">\r\n      <tbody style=\"box-sizing: border-box;\">\r\n         <tr style=\"box-sizing: border-box;\">\r\n            <td style=\"box-sizing: border-box; padding: 6px; border-right: 2px solid rgb(79, 79, 79);\">\r\n               <div style=\"box-sizing: border-box; margin: 0px; padding: 0px; word-break: normal; text-align: right; color: #aaaaaa; line-height: 18.2px;\">\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">1</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">2</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">3</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">4</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">5</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">6</span></div>\r\n                  </div>\r\n               </td>\r\n            <td style=\"box-sizing: border-box; padding: 6px 0px;\">\r\n               <div style=\"box-sizing: border-box; margin: 0px; padding: 0px; color: #f0f0f0; line-height: 18.2px;\">\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">void</span><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;indexpage()&nbsp;{</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;Web.send(</span><span style=\"box-sizing: border-box; color: #c10aff; font-size: 10pt;\">200</span><span style=\"box-sizing: border-box; font-size: 10pt;\">,&nbsp;</span><span style=\"box-sizing: border-box; color: #ffd500; font-size: 10pt;\">\"text/html\"</span><span style=\"box-sizing: border-box; font-size: 10pt;\">,&nbsp;</span><span style=\"box-sizing: border-box; color: #ffd500; font-size: 10pt;\">\"&lt;p&gt;JME&nbsp;PLUG&nbsp;Wifi(AP)&nbsp;Setting!!&lt;p&gt;&lt;/br&gt;&lt;form&nbsp;method=\'post\'&nbsp;action=\'save\'&gt;</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; color: #ffd500; font-size: 10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;SSID&lt;input&nbsp;type=\'text\'&nbsp;name=\'ssid\'&nbsp;&gt;&lt;/br&gt;</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; color: #ffd500; font-size: 10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;PASSWORD&lt;input&nbsp;type=\'text\'&nbsp;name=\'pw\'&nbsp;&gt;&lt;/br&gt;</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; color: #ffd500; font-size: 10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&lt;input&nbsp;type=\'submit\'&nbsp;value=\'Save\'&gt;&lt;/form&gt;\"</span><span style=\"box-sizing: border-box; font-size: 10pt;\">);</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">}</span></div>\r\n                  </div>\r\n               <div style=\"box-sizing: border-box; text-align: right; margin-top: -13px; margin-right: 5px; font-size: 9px; font-style: italic;\"><a href=\"http://colorscripter.com/info#e\" target=\"_blank\" style=\"box-sizing: border-box; background-color: transparent; color: #4f4f4f; text-decoration-line: none; transition: color 0.2s ease-in-out 0s;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">Colored by Color Scripter</span></a></div>\r\n               </td>\r\n            <td style=\"box-sizing: border-box; padding: 0px 2px 4px 0px; vertical-align: bottom;\"><a href=\"http://colorscripter.com/info#e\" target=\"_blank\" style=\"box-sizing: border-box; background-color: transparent; color: white; text-decoration-line: none; transition: color 0.2s ease-in-out 0s;\"><span style=\"box-sizing: border-box; font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: #4f4f4f;\">cs</span></a></td>\r\n            </tr>\r\n         </tbody>\r\n      </table>\r\n   </div>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">이 부분이 루트(/)페이지 입니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">기본적으로 html을 알아야 사용 할 수 있겠네요.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<div class=\"colorscripter-code\" style=\"box-sizing: border-box; font-size: 14px; background-color: #ffffff; color: #f0f0f0; overflow: auto; font-family: Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace !important; position: relative !important;\">\r\n   <table class=\"colorscripter-code-table\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-spacing: 0px; background-color: #272727; margin: 0px; padding: 0px; border-width: initial; border-style: none; border-color: initial; border-radius: 4px;\">\r\n      <tbody style=\"box-sizing: border-box;\">\r\n         <tr style=\"box-sizing: border-box;\">\r\n            <td style=\"box-sizing: border-box; padding: 6px; border-right: 2px solid rgb(79, 79, 79);\">\r\n               <div style=\"box-sizing: border-box; margin: 0px; padding: 0px; word-break: normal; text-align: right; color: #aaaaaa; line-height: 18.2px;\">\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">1</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">2</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">3</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">4</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">5</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">6</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">7</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">8</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">9</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">10</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">11</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">12</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">13</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">14</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">15</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">16</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">17</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">18</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">19</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">20</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">21</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">22</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">23</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">24</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">25</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">26</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">27</span></div>\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">28</span></div>\r\n                  </div>\r\n               </td>\r\n            <td style=\"box-sizing: border-box; padding: 6px 0px;\">\r\n               <div style=\"box-sizing: border-box; margin: 0px; padding: 0px; color: #f0f0f0; line-height: 18.2px;\">\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">void</span><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;savepage()&nbsp;{</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;Web.send(</span><span style=\"box-sizing: border-box; color: #c10aff; font-size: 10pt;\">200</span><span style=\"box-sizing: border-box; font-size: 10pt;\">,&nbsp;</span><span style=\"box-sizing: border-box; color: #ffd500; font-size: 10pt;\">\"text/html\"</span><span style=\"box-sizing: border-box; font-size: 10pt;\">,&nbsp;</span><span style=\"box-sizing: border-box; color: #ffd500; font-size: 10pt;\">\"&lt;p&gt;Your&nbsp;AP&nbsp;information&nbsp;is&nbsp;saved&nbsp;successfully&lt;p&gt;&lt;/br&gt;\"</span><span style=\"box-sizing: border-box; font-size: 10pt;\">);</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;String&nbsp;rcvSSID</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">=</span><span style=\"box-sizing: border-box; font-size: 10pt;\">Web.arg(</span><span style=\"box-sizing: border-box; color: #ffd500; font-size: 10pt;\">\"ssid\"</span><span style=\"box-sizing: border-box; font-size: 10pt;\">);</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;String&nbsp;rcvPW</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">=</span><span style=\"box-sizing: border-box; font-size: 10pt;\">Web.arg(</span><span style=\"box-sizing: border-box; color: #ffd500; font-size: 10pt;\">\"pw\"</span><span style=\"box-sizing: border-box; font-size: 10pt;\">);</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;</span><span style=\"box-sizing: border-box; color: #4be6fa; font-size: 10pt;\">int</span><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;lengthSSID</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">=</span><span style=\"box-sizing: border-box; font-size: 10pt;\">rcvSSID.length();</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;</span><span style=\"box-sizing: border-box; color: #4be6fa; font-size: 10pt;\">int</span><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;lengthPW</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">=</span><span style=\"box-sizing: border-box; font-size: 10pt;\">rcvPW.length();</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;Serial1.print(</span><span style=\"box-sizing: border-box; color: #ffd500; font-size: 10pt;\">\"ssid=\"</span><span style=\"box-sizing: border-box; font-size: 10pt;\">);</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;Serial1.println(rcvSSID);</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;Serial1.print(</span><span style=\"box-sizing: border-box; color: #ffd500; font-size: 10pt;\">\"password=\"</span><span style=\"box-sizing: border-box; font-size: 10pt;\">);</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;Serial1.println(rcvPW);&nbsp;&nbsp;</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">const</span><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;</span><span style=\"box-sizing: border-box; color: #4be6fa; font-size: 10pt;\">char</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">*</span><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;sid</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">=</span><span style=\"box-sizing: border-box; font-size: 10pt;\">rcvSSID.c_str();</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">const</span><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;</span><span style=\"box-sizing: border-box; color: #4be6fa; font-size: 10pt;\">char</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">*</span><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;pid</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">=</span><span style=\"box-sizing: border-box; font-size: 10pt;\">rcvPW.c_str();</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;EEPROM.write(addr_mode,station);&nbsp;&nbsp;&nbsp;&nbsp;</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">for</span><span style=\"box-sizing: border-box; font-size: 10pt;\">(</span><span style=\"box-sizing: border-box; color: #4be6fa; font-size: 10pt;\">int</span><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;i</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">=</span><span style=\"box-sizing: border-box; color: #c10aff; font-size: 10pt;\">0</span><span style=\"box-sizing: border-box; font-size: 10pt;\">;i</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">&lt;</span><span style=\"box-sizing: border-box; font-size: 10pt;\">lengthSSID;i</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">+</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">+</span><span style=\"box-sizing: border-box; font-size: 10pt;\">){</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;EEPROM.write(addr_ssid</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">+</span><span style=\"box-sizing: border-box; font-size: 10pt;\">i,sid[i]);&nbsp;</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serial1.print(sid[i]);&nbsp;&nbsp;&nbsp;</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;}</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">for</span><span style=\"box-sizing: border-box; font-size: 10pt;\">(</span><span style=\"box-sizing: border-box; color: #4be6fa; font-size: 10pt;\">int</span><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;i</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">=</span><span style=\"box-sizing: border-box; color: #c10aff; font-size: 10pt;\">0</span><span style=\"box-sizing: border-box; font-size: 10pt;\">;i</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">&lt;</span><span style=\"box-sizing: border-box; font-size: 10pt;\">lengthPW;i</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">+</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">+</span><span style=\"box-sizing: border-box; font-size: 10pt;\">){</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EEPROM.write(addr_pwd</span><span style=\"box-sizing: border-box; color: #ff3399; font-size: 10pt;\">+</span><span style=\"box-sizing: border-box; font-size: 10pt;\">i,pid[i]);</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serial1.print(pid[i]);</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;EEPROM.write(addr_ssid_length,lengthSSID);</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;EEPROM.write(addr_pwd_length,lengthPW);&nbsp;&nbsp;&nbsp;</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;EEPROM.commit();&nbsp;</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;Serial1.println(</span><span style=\"box-sizing: border-box; color: #ffd500; font-size: 10pt;\">\"JME&nbsp;Plug&nbsp;reboot\"</span><span style=\"box-sizing: border-box; font-size: 10pt;\">);</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;EspClass&nbsp;esp;</span></div>\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;&nbsp;esp.restart();&nbsp;</span></div>\r\n                  <div style=\"box-sizing: border-box; background-color: #303030; padding: 0px 6px; white-space: pre; line-height: 18.2px;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">&nbsp;</span><span style=\"box-sizing: border-box; font-size: 10pt; line-height: 17.3333px; background-color: #272727;\">}</span></div>\r\n                  </div>\r\n               <div style=\"box-sizing: border-box; text-align: right; margin-top: -13px; margin-right: 5px; font-size: 9px; font-style: italic;\"><a href=\"http://colorscripter.com/info#e\" target=\"_blank\" style=\"box-sizing: border-box; background-color: transparent; color: #4f4f4f; text-decoration-line: none; transition: color 0.2s ease-in-out 0s;\"><span style=\"box-sizing: border-box; font-size: 10pt;\">Colored by Color Scripter</span></a></div>\r\n               </td>\r\n            <td style=\"box-sizing: border-box; padding: 0px 2px 4px 0px; vertical-align: bottom;\"><a href=\"http://colorscripter.com/info#e\" target=\"_blank\" style=\"box-sizing: border-box; background-color: transparent; color: white; text-decoration-line: none; transition: color 0.2s ease-in-out 0s;\"><span style=\"box-sizing: border-box; font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: #4f4f4f;\">cs</span></a></td>\r\n            </tr>\r\n         </tbody>\r\n      </table>\r\n   </div>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">그리고 위 코드가 savepage입니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">웹에 띄워주는 부분은 Line 2이며, 그 밑으로는 ESP8266 내부적으로 돌아가는 부분입니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">여기까지 하고 돌리면 웹서버가 동작하지 않습니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">가장 중요한건 이 부분인데 loop()에 넣어주시면 됩니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<div class=\"colorscripter-code\" style=\"box-sizing: border-box; font-size: 14px; background-color: #ffffff; color: #f0f0f0; overflow: auto; font-family: Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace !important; position: relative !important;\">\r\n   <table class=\"colorscripter-code-table\" cellspacing=\"0\" cellpadding=\"0\" style=\"border-spacing: 0px; background-color: #272727; margin: 0px; padding: 0px; border-width: initial; border-style: none; border-color: initial; border-radius: 4px;\">\r\n      <tbody style=\"box-sizing: border-box;\">\r\n         <tr style=\"box-sizing: border-box;\">\r\n            <td style=\"box-sizing: border-box; padding: 6px; border-right: 2px solid rgb(79, 79, 79);\">\r\n               <div style=\"box-sizing: border-box; margin: 0px; padding: 0px; word-break: normal; text-align: right; color: #aaaaaa; line-height: 18.2px;\">\r\n                  <div style=\"box-sizing: border-box; line-height: 18.2px;\">1</div>\r\n                  </div>\r\n               </td>\r\n            <td style=\"box-sizing: border-box; padding: 6px 0px;\">\r\n               <div style=\"box-sizing: border-box; margin: 0px; padding: 0px; color: #f0f0f0; line-height: 18.2px;\">\r\n                  <div style=\"box-sizing: border-box; padding: 0px 6px; white-space: pre; line-height: 18.2px;\">Web.handleClient();</div>\r\n                  </div>\r\n               </td>\r\n            <td style=\"box-sizing: border-box; padding: 0px 2px 4px 0px; vertical-align: bottom;\"><a href=\"http://colorscripter.com/info#e\" target=\"_blank\" style=\"box-sizing: border-box; background-color: transparent; color: white; text-decoration-line: none; transition: color 0.2s ease-in-out 0s;\"><span style=\"box-sizing: border-box; font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: #4f4f4f;\">cs</span></a></td>\r\n            </tr>\r\n         </tbody>\r\n      </table>\r\n   </div>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">여기까지 하시면 웹페이지를 보실 수 있습니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">WIFI를 통하여 ESP8266에 접속합니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: center; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff; clear: none; float: none;\"><span class=\"imageblock\" style=\"box-sizing: border-box; max-width: 100%; height: auto; display: inline-block; width: 554px;\"><img srcset=\"https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=http%3A%2F%2Fcfile30.uf.tistory.com%2Fimage%2F273A843E5763990A107A91\" src=\"https://t1.daumcdn.net/cfile/tistory/273A843E5763990A10\" width=\"554\" filename=\"ap1.jpg\" filemime=\"image/jpeg\" style=\"box-sizing: border-box; border: 0px; vertical-align: middle; max-width: 100%; height: auto;\" /></span></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: center; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff; clear: none; float: none;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff; clear: none; float: none;\">접속을 하시면 SSID와 PASSWORD를 적는 곳 나옵니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: center; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff; clear: none; float: none;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: center; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff; clear: none; float: none;\"><span class=\"imageblock\" style=\"box-sizing: border-box; max-width: 100%; height: auto; display: inline-block; width: 522px;\"><img srcset=\"https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=http%3A%2F%2Fcfile25.uf.tistory.com%2Fimage%2F250B8A3E5763990B3578B1\" src=\"https://t1.daumcdn.net/cfile/tistory/250B8A3E5763990B35\" width=\"522\" filename=\"ap2.jpg\" filemime=\"image/jpeg\" style=\"box-sizing: border-box; border: 0px; vertical-align: middle; max-width: 100%; height: auto;\" /></span></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: center; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff; clear: none; float: none;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff; clear: none; float: none;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff; clear: none; float: none;\">적어준 후 Save버튼을 클릭합니다.<br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff; clear: none; float: none;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: center; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff; clear: none; float: none;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: center; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff; clear: none; float: none;\"><span class=\"imageblock\" style=\"box-sizing: border-box; max-width: 100%; height: auto; display: inline-block; width: 588px;\"><img srcset=\"https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=http%3A%2F%2Fcfile7.uf.tistory.com%2Fimage%2F2746C93E5763990C074A57\" src=\"https://t1.daumcdn.net/cfile/tistory/2746C93E5763990C07\" width=\"588\" filename=\"save.jpg\" filemime=\"image/jpeg\" style=\"box-sizing: border-box; border: 0px; vertical-align: middle; max-width: 100%; height: auto;\" /></span></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">페이지가 이동되면서 저장이 되었다는 문구가 나타납니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">UART로 연결된 debug 메세지입니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: center; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff; clear: none; float: none;\"><span class=\"imageblock\" style=\"box-sizing: border-box; max-width: 100%; height: auto; display: inline-block; width: 418px;\"><img srcset=\"https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=http%3A%2F%2Fcfile23.uf.tistory.com%2Fimage%2F2106333757639989353726\" src=\"https://t1.daumcdn.net/cfile/tistory/210633375763998935\" width=\"418\" filename=\"serial.jpg\" filemime=\"image/jpeg\" style=\"box-sizing: border-box; border: 0px; vertical-align: middle; max-width: 100%; height: auto;\" /></span></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">루트(/)에서 입력한 SSID와 PASSWORD값이 정확히 전달되었음을 알 수 있습니다.<br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">사실 이 소스코드를 그대로 사용하는데에는 무리가 있습니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">집안의 SSID를 알고있으면 상관이 없지만, SSID의 이름을 실수로 한글자만 틀려도 접속이 안됩니다.</p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\"><br style=\"box-sizing: border-box;\" /></p>\r\n<p style=\"box-sizing: border-box; margin-bottom: 10px; text-align: justify; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">다음 포스트에서는 ESP8266에서 주변 AP 리스트를 검색하여 선택한 후 접속하는 방법으로 해보겠습니다.</p>\r\n<p><br style=\"box-sizing: border-box; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\" /><br style=\"box-sizing: border-box; color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\" /><span style=\"color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">출처:&nbsp;</span><a href=\"https://answerofgod.tistory.com/582\" style=\"box-sizing: border-box; background-color: #ffffff; color: #303030; text-decoration-line: none; transition: color 0.2s ease-in-out 0s; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px;\" target=\"_blank\">https://answerofgod.tistory.com/582</a><span style=\"color: #333333; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\">&nbsp;[The Answer\'s Engineering Blog]</span></p>','https://answerofgod.tistory.com/582','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-06-20 22:40:54',0,'2021-06-20 22:40:54','192.168.219.104','','','','','','','','','','','',''),(492,-492,'',492,0,0,'','','html1','[ETC] LM393 비교기를 이용한 적외선(IR) 센서 모듈','<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">적외선 송수신기가 있어서 탐지 방향에서 물건을 만나면 적외선 수신기는</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">반사된 신호를 탐지한다. 효과적인 거리 범위는 20~30cm이며, 적정 전압은</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">3.3V~5V이다. 탐지 범위는 가변저항기로 조정할 수있으며, 로봇 충돌 회피,</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">라인 카운트, 흑백 라인 트랙킹 등에 사용할 수 있습니다.</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">1. 물체를 감지하면 low 시그널을 OUT포트에 출력합니다.&nbsp; 2~30cm의 거리와</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">35도의 범위로 탐지하며 가변저항을 조정하여 탐지거리를 조정합니다.</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">2. 센서 모듈 출력은 마이크로 컨트롤러의 IO 포트에 직접적으로 연결하거나</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">5V 릴레이에 직접연결될수 있습니다. VCC-VCC, GND-GND, OUT-IO</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">3. comparator로 LM393칩을 사용합니다.</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">4. 3-5V DC 파워를 사용하여. 파워가 공급되면 적색 led가 점등됩니다.</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">5. 회로 크기 : 32mm * 14mm</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\"><span style=\"font-size: 12px;\">&nbsp;</span></p>\r\n<p style=\"padding: 0px; font-family: verdana; background-color: #ffffff;\">&nbsp;</p>\r\n<h6 style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; background-color: #ffffff;\"><span style=\"font-size: 11px;\">// IR Obstacle Collision Detection Module</span><br /><span style=\"font-size: 11px;\">// Henry\'s Bench</span><br /><span style=\"font-size: 11px;\">\r\nint LED = 13; // Use the onboard Uno LED</span><br /><span style=\"font-size: 11px;\">int isObstaclePin = 7;  // This is our input pin</span><br /><span style=\"font-size: 11px;\">int isObstacle = HIGH;  // HIGH MEANS NO OBSTACLE</span><br /><span style=\"font-size: 11px;\"><br /></span></h6>\r\n<h6 style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; background-color: #ffffff;\"><span style=\"font-size: 11px;\">void setup() {</span><br /><span style=\"font-size: 11px;\">&nbsp; pinMode(LED, OUTPUT);</span><br /><span style=\"font-size: 11px;\">&nbsp; pinMode(isObstaclePin, INPUT);</span><br /><span style=\"font-size: 11px;\">&nbsp; Serial.begin(9600);</span><br /><span style=\"font-size: 11px;\">  }</span><br /><span style=\"font-size: 11px;\"><br /></span></h6>\r\n<h6 style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; background-color: #ffffff;\"><span style=\"font-size: 11px;\">void loop() {</span><br /><span style=\"font-size: 11px;\">&nbsp; isObstacle = digitalRead(isObstaclePin);</span><br /><span style=\"font-size: 11px;\">&nbsp; if (isObstacle == LOW)&nbsp;</span><span style=\"font-size: 11px;\">{</span><br /><span style=\"font-size: 11px;\">&nbsp; &nbsp; Serial.println(\"OBSTACLE!!, OBSTACLE!!\");</span><br /><span style=\"font-size: 11px;\">&nbsp; &nbsp; digitalWrite(LED, HIGH);</span><br /><span style=\"font-size: 11px;\">&nbsp; }&nbsp;</span><span style=\"font-size: 11px;\">else&nbsp;</span><span style=\"font-size: 11px;\">{</span></h6>\r\n<h6 style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; background-color: #ffffff;\"><span style=\"font-size: 11px;\">&nbsp; &nbsp; Serial.println(\"clear\");</span><br /><span style=\"font-size: 11px;\">&nbsp; &nbsp; digitalWrite(LED, LOW);</span><br /><span style=\"font-size: 11px;\">&nbsp; }</span></h6>\r\n<h6 style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; background-color: #ffffff;\"><span style=\"font-size: 11px;\">&nbsp; delay(200);</span><br /><span style=\"font-size: 11px;\">}</span></h6>','http://m.ww.gunul.co.kr/product/zoom.html?product_no=65','',2,0,7,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-06-24 16:20:36',2,'2021-06-24 16:20:36','210.101.103.92','','','','','','','','','','','',''),(493,-493,'',493,0,0,'','','html1','[ETC] IR 센서관련 링크들','<p>1. TSOP38238</p>\r\n<p><a href=\"https://www.adafruit.com/product/157#technical-details\" target=\"_blank\">https://www.adafruit.com/product/157#technical-details</a></p>\r\n<p><a href=\"https://www.eleparts.co.kr/goods/view?no=9353784\" target=\"_blank\">https://www.eleparts.co.kr/goods/view?no=9353784</a></p>\r\n<p>&nbsp;</p>\r\n<p>2. IR LED와 포토 레지스터를 이용한 센서만들기</p>\r\n<p><a href=\"https://blog.xcoda.net/78\" target=\"_blank\">https://blog.xcoda.net/78</a></p>\r\n<p>&nbsp;</p>\r\n<p>*발광부LED : <a href=\"https://www.eleparts.co.kr/goods/view?epx=EPX33JXY\" target=\"_blank\">https://www.eleparts.co.kr/goods/view?epx=EPX33JXY</a>&nbsp;</p>\r\n<p>*수광부 포토 트랜지스터 : <a href=\"https://www.eleparts.co.kr/EPX33JXV\" target=\"_blank\">https://www.eleparts.co.kr/EPX33JXV</a></p>\r\n<p>&nbsp;</p>\r\n<p>*IR LED 저항 : 40 ~ 100옴 / 포토레지스터 저항 : 1M 옴</p>\r\n<p><img src=\"https://t1.daumcdn.net/cfile/tistory/2654683D5686AEF91D\" /></p>\r\n<p>&nbsp;</p>\r\n<div class=\"area_title\" style=\"margin: 0px 0px 30px; padding: 0px 0px 15px; border-bottom: 1px solid rgb(239, 239, 239); color: #666666; font-family: 맑은고딕, NanumGothic, MalgunGothic, &quot;Spoqa Han Sans&quot;, sans-serif; font-size: 14px; background-color: #ffffff;\"><strong class=\"tit_category\"><a href=\"https://blog.xcoda.net/category/Programming/IoT_Embedded\" style=\"color: #6bacce; text-decoration-line: none; font-size: 16px;\" target=\"_blank\">Programming/IoT_Embedded</a></strong>\r\n   <h3 class=\"tit_post\" style=\"font-size: 34px; margin: 0px; padding: 5px 0px 10px; font-weight: normal; line-height: 43px; color: #222222;\">아두이노로 알아보는 적외선 센서</h3>\r\n   <span class=\"info_post\" style=\"font-size: 13px; color: #a7a7a7;\">dltpdn@gmail.com 이세우&nbsp;<span class=\"txt_bar\" style=\"display: inline-block; width: 1px; height: 9px; margin: 0px 9px 0px 5px; background-color: #ebebeb;\"></span>2016. 1. 2. 02:04</span></div>\r\n<div class=\"area_view\" style=\"margin: 0px; padding: 0px; font-size: 18px; line-height: 28px; color: #1c1c1c; overflow-wrap: break-word; font-family: 맑은고딕, NanumGothic, MalgunGothic, &quot;Spoqa Han Sans&quot;, sans-serif; background-color: #ffffff;\">\r\n   <div class=\"tt_article_useless_p_margin\" style=\"margin: 0px; padding: 0px;\">\r\n      <div style=\"margin: 0px; padding: 0px;\">아두이노와 같은 마이크로 콘트롤러를 이용해서 할 수 있는 것 들 중에 적외선을 이용하면 할 수 있는 것이 많은데요,</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">이번에는 적외선을 인식하는 센서와 적외선을 만들어내는 LED를 이용해서 실험해보고 원리를 알아 보려고 합니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">이번 실험에서는 적외선LED와 수신기를 이용해서 장애물 센서와 근접센서를 만들어 볼겁니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">이 실험을 위해서 필요한 부품은 아래와 같습니다.</div>\r\n      <ul style=\"margin: 0px auto 32px; padding: 0px 0px 0px 10px; list-style: none;\">\r\n         <li style=\"margin: 0px 0px 10px 24px; padding: 0px; list-style: disc;\">포토트랜지스터(적외선 수신) &nbsp;1개</li>\r\n         <li style=\"margin: 0px 0px 10px 24px; padding: 0px; list-style: disc;\">포토다이오드(적외선 송신)<a href=\"http://www.eleparts.co.kr/EPX33JXY\" style=\"color: #6bacce; text-decoration-line: none;\" target=\"_blank\">&nbsp;</a>1개</li>\r\n         <li style=\"margin: 0px 0px 10px 24px; padding: 0px; list-style: disc;\">저항 1M옴 ,</li>\r\n         <li style=\"margin: 0px 0px 10px 24px; padding: 0px; list-style: disc;\">저항 40옴~100옴 중 1개</li>\r\n         </ul>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">우선 적외선을 인식하기 위해서는 포토트랜지스터(Phototransister)라는 것이 필요합니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">이름이 어렵게 느껴지지만 별것 아닙니다. 가격도 저렴한 것은 130원 밖에 안합니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">이번 실험에서 사용할 부품은 아래 링크에서 구입할 수 있습니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><u><a href=\"https://www.eleparts.co.kr/EPX33JXV\" style=\"color: #6bacce; text-decoration-line: none;\" target=\"_blank\"><span style=\"color: #0900ff;\">https://www.eleparts.co.kr/EPX33JXV</span></a><span style=\"color: #0900ff;\">&nbsp;&nbsp;</span></u>(뭐 꼭 여기서 구입하라는 건 아닙니다)</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">\r\n         <p style=\"margin-right: auto; margin-bottom: 28px; margin-left: auto; padding-right: 0px; padding-left: 0px; line-height: 28px; text-align: center; clear: none; float: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"display: inline-block; width: 380px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/2230714A5686AEEC26\" width=\"380\" filename=\"evernote_image_1.png\" filemime=\"image/png\" style=\"border: 0px none; max-width: 100%; height: auto;\" /></span></p>\r\n         </div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">포토트랜지스터는 적외선을 인식하면 전류를 흐르게 하는 특징을 가지고 있습니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">그러니까 적외선 빛이 베이스(Base)가 되고 긴다리가 콜렉터(Collector), 짧은 다리가 에미터(Emitter)가 되는 트랜지스터 입니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">이런말이 어렵다면 패스 하셔도 됩니다만, 나중에는 슬슬 알아 두셔야 취미로 메이커(Maker) 활동을 하든</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">진지하게 임베디드 개발자를 하든 하실 수 있으니&nbsp;마음에 준비는 해두시는 게 좋습니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">어쨌든, 쉽게 다시 말하면 긴다리를 양극(+)에 짧은 다리를 음극(-)에 연결하고 그냥 두면 전기가 흐르지 않다가</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">적외선 빛을 쐬면 빛에 세기에 따라 전기가 흐른다는 겁니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">그럼 일단 포토트랜지스터를 아두이노 아날로그 A0핀으로 입력을 받도록 해볼까요?</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">\r\n         <p style=\"margin-right: auto; margin-bottom: 28px; margin-left: auto; padding-right: 0px; padding-left: 0px; line-height: 28px; text-align: center; clear: none; float: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"display: inline-block; width: 482px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/26073B415686AEEE27\" width=\"482\" filename=\"evernote_image_2.png\" filemime=\"image/png\" style=\"border: 0px none; max-width: 100%; height: auto;\" /></span></p>\r\n         </div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">저항은 1M옴을 사용했는데, 풀업의 의미입니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">(풀업저항에 대해 궁금하시면&nbsp;<u><a href=\"http://blog.xcoda.net/77\" style=\"color: #6bacce; text-decoration-line: none;\" target=\"_blank\"><span style=\"color: #0900ff;\">http://blog.xcoda.net/77</span></a></u>&nbsp;를 읽어 보세요.)</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">저항이 10K옴이 아니라 1M옴 이냐면, 풀업 저항이 크면 클 수록 입력 신호에 전위차가 커져서&nbsp;</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">아날로그 입력 핀에 감도가 좋아 지기 때문입니다. (이 부분은 나중에 전압분배 법칙을 따로 포스팅 하겠습니다.)</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">1M옴이 없으면 10k옴을 써도 무방합니다. 다만, 감도가 조금 더 떨어질 겁니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">어쨌든 이렇게 회로를 구성하고 아두이노에 코드를 업로드 합니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <table style=\"max-width: 100%; width: 101260px; table-layout: fixed; margin-left: 0px;\">\r\n         <tbody>\r\n            <tr>\r\n               <td style=\"margin: 0px; padding: 10px; font-size: 14px; line-height: 1.5; color: #666666; border-style: solid; border-color: #dbdbdb; width: 101238px;\">\r\n                  <div style=\"margin: 0px; padding: 0px;\">#define&nbsp;IRRX&nbsp;A0</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">int&nbsp;val&nbsp;=&nbsp;0;</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">void&nbsp;setup()&nbsp;{</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; Serial.begin(9600);</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">}</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">void&nbsp;loop()&nbsp;{</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; int&nbsp;r&nbsp;=&nbsp;analogRead(IRRX);</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; if(&nbsp;abs(r&nbsp;-&nbsp;val)&nbsp;&gt;&nbsp;0){</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; &nbsp; Serial.println(r);</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; &nbsp; val&nbsp;=&nbsp;r;</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; &nbsp; delay(100);</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; }</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">}</div>\r\n                  </td>\r\n               </tr>\r\n            </tbody>\r\n         </table>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">A0핀에서 아날로그로 입력을 받아서 시리얼모니터에 출력하는 아주 간단한 코드 입니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">이제 시리얼 모니터를 실행시키고 집에 있는 리모콘 하나를 가져다가 아무 버튼이나 눌러 봅니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">그러면 입력값이 조금이 다르게 찍히는걸 볼 수 있을 겁니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">아래 동영상은 실험 결과입니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><iframe src=\"https://www.youtube.com/embed/yhS_q_VRy8I\" allowfullscreen=\"\" height=\"315\" frameborder=\"0\" width=\"560\" style=\"max-width: 100%;\"></iframe></div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">다들 아시다 시피 리모콘은 적외선으로 신호를 보내기 때문에 리모콘 버튼을 누르는 것에 따라 포토레지스터로 부터 입력되는 값이&nbsp;</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">바뀌게 되고 이에 따라 아두이노 A0핀에 입력되는 전압도 달라 지게 됩니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">이번에는 리모콘을 치우고 우리가 적외선을 발신하는 장치를 만들어 봅니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">필요한 부품 링크입니다.&nbsp;<u><a href=\"http://www.eleparts.co.kr/EPX33JXY\" style=\"color: #6bacce; text-decoration-line: none;\" target=\"_blank\"><span style=\"color: #0900ff;\">http://www.eleparts.co.kr/EPX33JXY</span></a></u></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">가격은 120원 이네요.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">\r\n         <p style=\"margin-right: auto; margin-bottom: 28px; margin-left: auto; padding-right: 0px; padding-left: 0px; line-height: 28px; text-align: center; clear: none; float: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"display: inline-block; width: 481px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/223123375686AEF10A\" width=\"481\" filename=\"evernote_image_3.png\" filemime=\"image/png\" style=\"border: 0px none; max-width: 100%; height: auto;\" /></span></p>\r\n         </div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">적외선을 발생 시키는 LED인데요. 모양은 파란색 빛을 내는 LED와 똑 같습니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">그래서 섞어 놓으면 찾을 수가 없습니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">이 LED를 켜는데&nbsp; 저항이 필요할 텐데요.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">통상 아두이노로 LED를 켜는데 220옴을 쓰지만 IR LED는 220옴을 이용해서 켜면&nbsp;너무 약하게 켜집니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">물론 적외선 이기 때문에 우리 눈으로는 안보이는데, 핸드폰 카메라로 보면 불빛을 눈으로 볼 수 있습니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">\r\n         <p style=\"margin-right: auto; margin-bottom: 28px; margin-left: auto; padding-right: 0px; padding-left: 0px; line-height: 28px; text-align: center; clear: none; float: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"display: inline-block; width: 688px; height: auto; max-width: 100%;\"><span data-url=\"https://t1.daumcdn.net/cfile/tistory/26712C3C5686AEF51C?download\" data-lightbox=\"lightbox\" style=\"cursor: pointer;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/26712C3C5686AEF51C\" width=\"688\" filename=\"evernote_image_4.png\" filemime=\"image/png\" style=\"border: 0px none; cursor: pointer; max-width: 100%; height: auto;\" /></span></span></p>\r\n         </div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">위 사진에서 왼쪽에 불빛이 220옴으로 켠것이고 오른쪽이 40옴으로 켠것입니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">(다시 말하지만, 맨 눈으로는 안 보여요, 핸드폰 카메라로 보세요.)<br /><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">자, 그럼 저항을 몇 옴을 써야 할까요?</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">계산을 위해서 판매처에서 제공하는 데이타 시트를 확인합니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">\r\n         <p style=\"margin-right: auto; margin-bottom: 28px; margin-left: auto; padding-right: 0px; padding-left: 0px; line-height: 28px; text-align: center; clear: none; float: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"display: inline-block; width: 688px; height: auto; max-width: 100%;\"><span data-url=\"https://t1.daumcdn.net/cfile/tistory/261DEE4E5686AEF612?download\" data-lightbox=\"lightbox\" style=\"cursor: pointer;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/261DEE4E5686AEF612\" width=\"688\" filename=\"evernote_image_5.png\" filemime=\"image/png\" style=\"border: 0px none; cursor: pointer; max-width: 100%; height: auto;\" /></span></span></p>\r\n         </div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">위 표에서 Forward Current(100mA)가 IR LED의 사용 전류이고, Forward Voltage(1.3V~1.7V)가 사용 전압입니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">그럼 V = I * R이라는 오옴의 법칙에 따라 필요한 저항 값을 찾을 수 있겠네요.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">전류가 100mA(= 0.1A)이고 전압은 1.3V~ 1.7V이니까 그 중간 정도 인 1.5V로 보고 계산을 하면,</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">아두이노가 5V가 나오니까 5V에서 IR LED가 쓰는 1.5V를 빼면, 3.5V가 나오구요.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">그것을 사용 전류 0.1(단위를 마춰야 하니까 100mA를 0.1A로 바꿉니다)로 나누면 되겠군요.&nbsp;</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">식으로 다시 쓰면 : (5 - 1.5)V / 0.1A = 35옴</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">결국 35옴을 쓰면 가장 밝게 IR LED를 켤 수 있습니다.&nbsp;</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">근데 만약 여기서 조금만 전류나 전압이 세지면 LED는 바로 망가지는 벼랑끝 수치 이니까 약간 안전하게 수치를 낮출 필요가 있습니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">그래서 50옴 정도면 적당할 듯 한데, 제가 가진 저항이 없어서 100옴을 이용했습니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">실험 하실 분은 40옴에서 100옴 사이에 가지고 계신것 중 적당한것을 골라서 쓰시면 됩니다.<br />35옴 보다 작은 저항을 쓰면 IR LED가 타버려서 못쓰게 되고 100옴 보다 큰 저항을 쓰면 빛이 너무 약해서 실험이 잘 안됩니다.<br /><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">\r\n         <p style=\"margin-right: auto; margin-bottom: 28px; margin-left: auto; padding-right: 0px; padding-left: 0px; line-height: 28px; text-align: center; clear: none; float: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"display: inline-block; width: 473px; height: auto; max-width: 100%;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/2654683D5686AEF91D\" width=\"473\" filename=\"evernote_image_6.png\" filemime=\"image/png\" style=\"border: 0px none; max-width: 100%; height: auto;\" /></span></p>\r\n         </div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">이제 아두이노 코드를 아래와 같이 &nbsp;다시 업로드 합니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <table style=\"max-width: 100%; width: 101260px; table-layout: fixed; margin-left: 0px;\">\r\n         <tbody>\r\n            <tr>\r\n               <td style=\"margin: 0px; padding: 10px; font-size: 14px; line-height: 1.5; color: #666666; border-style: solid; border-color: #dbdbdb; width: 101238px;\">\r\n                  <div style=\"margin: 0px; padding: 0px;\">#define&nbsp;IRRX&nbsp;A0</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">#define&nbsp;LED&nbsp;13</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">int&nbsp;val&nbsp;=&nbsp;0;</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">void&nbsp;setup()&nbsp;{</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; pinMode(LED,&nbsp;OUTPUT);</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; Serial.begin(9600);</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">}</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">void&nbsp;loop()&nbsp;{</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; int&nbsp;r&nbsp;=&nbsp;analogRead(IRRX);</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; if(r&nbsp;&gt;&nbsp;999){</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; &nbsp; digitalWrite(LED,&nbsp;HIGH);</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; }else{</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; &nbsp; digitalWrite(LED,&nbsp;LOW);</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; }</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; if(&nbsp;abs(r&nbsp;-&nbsp;val)&nbsp;&gt;&nbsp;0){</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; &nbsp; Serial.println(r);</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; &nbsp; val&nbsp;=&nbsp;r;</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; &nbsp; delay(100);</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">&nbsp; }</div>\r\n                  <div style=\"margin: 0px; padding: 0px;\">}</div>\r\n                  </td>\r\n               </tr>\r\n            </tbody>\r\n         </table>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">그리고 디지털 13번 핀에 일반 LED도 하나 꼽아 두고, IR LED와 포토트랜지스터를 서로 마주보게 한 후에</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">시리얼모니터 값을 확인하고 그 사이에 손으로 장애물을 만들어서 값을 다시 확인 하면 그 차이를 볼 수 있습니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><iframe src=\"https://www.youtube.com/embed/AP_bKWs46BI\" allowfullscreen=\"\" height=\"315\" frameborder=\"0\" width=\"560\" style=\"max-width: 100%;\"></iframe></div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">이것을 이용하면 외부에서 누가 침입했는지, 어떤 통로를 누가 통과 했는지, 몇번 통과 했는지 등을 알 수 있고</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">실제로 방범이나 자동문 등에 사용하고 있습니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">또, IR LED와 포토트랜지스터를 사로 같은 방향으로 바라보게 하고 다시 실험을 해 보면,</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">앞에 아무것도 없을 때는 적외선 인식이 되지 않다가 앞에 무언가가 나타나면 적외선이 반사되어 인식이 되는 것을 알 수 있습니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><iframe src=\"https://www.youtube.com/embed/_La5Z3n9i3U\" allowfullscreen=\"\" height=\"315\" frameborder=\"0\" width=\"560\" style=\"max-width: 100%;\"></iframe></div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">이것을 이용하여 근접 센서에 응용할 수 있는데, 남자 화장실 소변기에 사람이 서거나 멀어지면 물이 내려가는</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">식으로 실제 사용하고 있습니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">또, 근접한 물체의 색이 검정색일때와 하얀색일때 반사 정도가 달라 지는 것을 확인 할 수 있는데,</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">이것을 이용해서 라인트레이서(선을 따라 자율 주행하는 자동차)를 만들기도 합니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><iframe src=\"https://www.youtube.com/embed/NBH4JoykTk0\" allowfullscreen=\"\" height=\"315\" frameborder=\"0\" width=\"560\" style=\"max-width: 100%;\"></iframe></div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">이와 같은 적외선 센서의 가장 큰 단점은 실내에서만 사용 할 수 있다는 것입니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">실외에서 태양의 직사광선을 받으면 태양광에 엄청난 적외선이 있기 때문에 제대로 인식할 수 없습니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">그래서 방범에 사용하는 적외선 센서 장치는 이렇게 작지 않고 엄청 크고 2중화하고,</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">썬글라스처럼 태양 빛을 차단하는 물질로 덮어 놓습니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\">전압도 12V~ 24V를 사용합니다.</div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">\r\n         <p style=\"margin-right: auto; margin-bottom: 28px; margin-left: auto; padding-right: 0px; padding-left: 0px; line-height: 28px; text-align: center; clear: none; float: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"display: inline-block; width: 688px; height: auto; max-width: 100%;\"><span data-url=\"https://t1.daumcdn.net/cfile/tistory/240475345686AEFE11?download\" data-lightbox=\"lightbox\" style=\"cursor: pointer;\"><img src=\"https://t1.daumcdn.net/cfile/tistory/240475345686AEFE11\" width=\"688\" filename=\"evernote_image_7.png\" filemime=\"image/png\" style=\"border: 0px none; cursor: pointer; max-width: 100%; height: auto;\" /></span></span></p>\r\n         </div>\r\n      <div style=\"margin: 0px; padding: 0px;\"><br /></div>\r\n      <div style=\"margin: 0px; padding: 0px;\">위 사진은 실제로 방범회사에서 설치할때 사용하는 것과 동일한 제품으로 제 집에서 사용하고 있는 적외선 센서입니다.<br />아두이노 보드와 비교해서 보시면 적외선 발생기와 수신기 크기가 얼마나 큰지 알 수 있을 겁니다.<br /><br />다음에는 리모콘 인식과 복제에 대해서 다뤄 볼까 합니다.</div>\r\n      </div>\r\n   </div>','https://blog.xcoda.net/78','',0,0,13,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-04-04 11:34:53',0,'2021-04-04 11:34:53','210.101.103.92','','','','','','','','','','','',''),(488,-488,'',488,0,0,'','','html1','[ETC] 화각과 초점거리의 관계','<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\">광각렌즈는 화각이 넓은 렌즈, 망원렌즈는 화각이 좁은 렌즈를 뜻한다. 흔히 화각은 초점거리로 대신해서 표현하기도 하는데 초점거리가 짧을수록 광각, 초점거리가 길수록 망원 (화각이 좁다) 렌즈로 불린다. 화각과 초점거리의 관계를 간단히 알아보려고 한다.</p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; text-align: center; clear: none; float: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"display: inline-block; width: 783px; height: auto; max-width: 100%;\"><img srcset=\"https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=http%3A%2F%2Fcfile26.uf.tistory.com%2Fimage%2F24621D4856B8311D1DBBD3\" src=\"https://t1.daumcdn.net/cfile/tistory/24621D4856B8311D1D\" width=\"783\" filename=\"초점거리와화각.jpg\" filemime=\"image/jpeg\" \"\"=\"\" style=\"border: none; vertical-align: top; max-width: 100%; height: auto;\" /></span></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; text-align: center; clear: none; float: none; padding-top: 0px !important; padding-bottom: 0px !important;\">&nbsp;</p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\"><span style=\"line-height: 1.5;\">외부의 빛이 렌즈를 지나 이미지센서(촬상면)에 맺히는 과정을 위 그림과 같이 간단히 표기하자. 이 때, 렌즈의 주점에서 초점까지의 거리가&nbsp;초점거리가 되고 이때의 각도가 화각이 된다. 계산에 사용하는 이미지센서의 크기는 대각선 길이를 사용하는데, 그 이유는 통상 렌즈를 설계할 때 이미지 서클 (렌즈를 지난 빛이 촬상면에 초점이 맞게 맺히는 원) 의 크기를 이미지 센서의 대각선 크기에 맞추기 때문이다.&nbsp;</span></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\">(이미지서클이 센서의 대각선 길이보다 작으면 사진의 가장자리가 어두워지는 비네팅(vignette)이 생기게 된다. 그래서 이미지센서가 클수록 렌즈도 같이 커지고 무거워지고 비싸진다.)</p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; text-align: center; clear: none; float: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"display: inline-block; width: 500px; height: auto; max-width: 100%;\"><img srcset=\"https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=http%3A%2F%2Fcfile23.uf.tistory.com%2Fimage%2F212F5436569CFBB81F4781\" src=\"https://t1.daumcdn.net/cfile/tistory/212F5436569CFBB81F\" width=\"500\" filename=\"01-1.jpg\" filemime=\"image/jpeg\" style=\"border: none; vertical-align: top; max-width: 100%; height: auto;\" /></span></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; text-align: center; padding-top: 0px !important; padding-bottom: 0px !important;\"><b>35mm 규격&nbsp;풀프레임 센서의 크기</b></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\">그럼 통상 많이 가지고 다니는 35mm 필름 규격 풀프레임 센서의 크기에 맞춰서 화각을 계산하기 위해 위와 같이 대각선의 길이를 구하고, 맨 위의 그림에서 정의한 값에 따라 식을 유도하면 아래와 같은 식이 완성된다.</p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; text-align: center; clear: none; float: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"display: inline-block; width: 200px; height: auto; max-width: 100%;\"><img srcset=\"https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=http%3A%2F%2Fcfile4.uf.tistory.com%2Fimage%2F232D7336569CFBB922A454\" src=\"https://t1.daumcdn.net/cfile/tistory/232D7336569CFBB922\" width=\"200\" filename=\"02.jpg\" filemime=\"image/jpeg\" style=\"border: none; vertical-align: top; max-width: 100%; height: auto;\" /></span></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\">tangent 함수의 정의에 따라 식을 세우고 풀어 보면 위와 같이 간단히 화각을 초점거리에 대한 식으로 유도할 수 있고, 풀어쓰면 아래와 같다.</p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; text-align: center; clear: none; float: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"display: inline-block; width: 480px; height: auto; max-width: 100%;\"><img srcset=\"https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=http%3A%2F%2Fcfile3.uf.tistory.com%2Fimage%2F263E4836569CFBBB101C86\" src=\"https://t1.daumcdn.net/cfile/tistory/263E4836569CFBBB10\" width=\"480\" filename=\"03.jpg\" filemime=\"image/jpeg\" style=\"border: none; vertical-align: top; max-width: 100%; height: auto;\" /></span></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\">생각보다 싱겁게 나와서...;;</p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\">초점거리를 화각으로 변환한 이유는 흔히 렌즈에 사용되는 스펙이 초점거리로 표기되어 있기 때문이다. 그러면 많이 사용하는 초점거리에 대한 변환 테이블은 아래와 같다. 중간에 radian 단위로 한 번 변환한 건 엑셀의 ATAN 함수 출력값이 radian으로 나오기 때문... 그래서 degree 단위로도 변환해서 표기했다.</p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; text-align: center; clear: none; float: none; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"display: inline-block; width: 288px; height: auto; max-width: 100%;\"><img srcset=\"https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=http%3A%2F%2Fcfile22.uf.tistory.com%2Fimage%2F263AC736569CFBBC13D359\" src=\"https://t1.daumcdn.net/cfile/tistory/263AC736569CFBBC13\" width=\"288\" filename=\"04.jpg\" filemime=\"image/jpeg\" style=\"border: none; vertical-align: top; max-width: 100%; height: auto;\" /></span></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\">8mm 정도의 초광각에서부터 새 찍는 600mm, 달도&nbsp;찍을 법한-_- 1000mm 까지... 변환 테이블 엑셀 파일은 아래에 첨부했다. 사실은 소니 FE 28-70mm 사용기를 남기려다가... 그 전에 한번쯤 정리하고 가고 싶어서 글을 씀.</p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; padding-top: 0px !important; padding-bottom: 0px !important;\"><br /></p>\r\n<p style=\"margin-bottom: 22px; padding-right: 0px; padding-left: 0px; word-break: break-all; font-size: 0.97em; line-height: 1.625rem; color: #555555; font-family: AppleSDGothicNeo, &quot;Noto Sans KR&quot;, sans-serif; text-align: center; padding-top: 0px !important; padding-bottom: 0px !important;\"><span class=\"imageblock\" style=\"display: inline-block; height: auto; max-width: 100%;\"><a href=\"https://guzene.tistory.com/attachment/cfile21.uf@250BFF42569CFED3105F9C.xlsx\" style=\"text-decoration-line: none; color: #04beb8;\" target=\"_blank\"><img src=\"https://t1.daumcdn.net/tistory_admin/assets/blog/tistory-af1fa83e63d817ec7910b82e312da535b5da0a3a/blogs/image/extension/xlsx.gif?_version_=tistory-af1fa83e63d817ec7910b82e312da535b5da0a3a\" alt=\"\" style=\"border: none; vertical-align: middle; max-width: 100%; height: auto;\" />&nbsp;초점거리 화각 변환 테이블.xlsx</a></span></p>','https://guzene.tistory.com/146','',0,0,1,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-05-14 11:27:21',0,'2021-05-14 11:27:21','210.101.103.92','','','','','','','','','','','',''),(494,-494,'',494,0,0,'','','html1','[ETC] 간이전기전도계전기전도도측정기','<p><br /></p>\r\n<p>&nbsp;</p>\r\n<div class=\"infoArea \" style=\"margin: 0px 42px 0px 0px; padding: 0px; color: #353535; font-family: Verdana, Dotum, AppleGothic, sans-serif;\">\r\n   <h3 style=\"margin: 0px; padding: 0px 10px 0px 40px; line-height: 16px; font-size: 16px; color: #2e2e2e; font-family: &quot;Nanum Gothic&quot;; word-spacing: -1px;\"><img src=\"http://intech5937.cafe24.com/web/easyscience/chemipoly/ESSM-502_850.jpg\" style=\"font-family: Verdana, Dotum, AppleGothic, sans-serif; margin: 0px; padding: 0px; border: none; vertical-align: top; color: #888888; font-size: 11px; text-align: -webkit-center; background-color: #ffffff;\" />간이전기전도계(전기전도도측정기)</h3>\r\n   <div class=\"icon\" style=\"margin: 0px; padding: 0px 0px 10px 10px;\">&nbsp;</div>\r\n   </div>\r\n<div class=\"detailArea \" style=\"margin: 0px; padding: 0px 0px 0px 400px; color: #353535; font-family: Verdana, Dotum, AppleGothic, sans-serif;\">\r\n   <div class=\"xans-element- xans-product xans-product-image imgArea\" style=\"margin: 0px 0px 0px -370px; padding: 0px; float: left; width: 370px;\">\r\n      <div class=\"keyImg \" style=\"margin: 0px auto; padding: 0px; width: 344px; height: 344px; border: 1px solid rgb(229, 229, 229); background-color: #ffffff; text-align: center; vertical-align: bottom;\"><a href=\"http://intech5937.cafe24.com/product/image_zoom2.html?product_no=294\" alt=\"P00000LH\" style=\"text-decoration-line: none; color: #000000;\" target=\"_blank\"><img src=\"http://intech5937.cafe24.com/web/product/extra/big/201703/294_shop1_141020.jpg\" alt=\"\" class=\"BigImage \" style=\"margin: 0px; padding: 0px; border: none; vertical-align: top; max-width: 344px; cursor: pointer;\" /><span id=\"zoomMouseGiude\" style=\"display: block; position: relative; width: 170px; margin: 0px auto;\"><img src=\"http://img.echosting.cafe24.com/design/skin/admin/ko_KR/txt_product_zoom.gif\" id=\"zoomGuideImage\" alt=\"마우스를 올려보세요.\" style=\"margin: 0px; padding: 0px; border: none; vertical-align: top; max-width: 344px; cursor: pointer; position: absolute; top: -27px; right: 0px;\" /></span></a></div>\r\n      <div class=\"xans-element- xans-product xans-product-addimage listImg\" style=\"margin: 0px auto; padding: 0px; overflow: hidden; width: 344px; background-image: url(&quot;/web/upload/goodymall61/product/bg_listImg.gif&quot;); background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-style: solid; border-color: #e5e5e5; border-image: initial; border-width: 0px 1px 1px;\">\r\n         <ul style=\"margin: 0px; padding: 0px; height: 76px; font-size: 0px; line-height: 0;\">\r\n            <li class=\"xans-record-\" style=\"margin: 0px 1px; padding: 0px; list-style: none; display: inline-block; width: 84px; text-align: center; font-size: 11px; line-height: 14px; vertical-align: top;\"><img src=\"http://intech5937.cafe24.com/web/product/small/201709/294_shop1_445804.jpg\" class=\"ThumbImage\" alt=\"\" style=\"margin: 0px; padding: 0px; border: none; vertical-align: top; width: 75px; height: 75px; cursor: pointer;\" /></li>\r\n            &nbsp;\r\n            <li class=\"xans-record-\" style=\"margin: 0px 1px; padding: 0px; list-style: none; display: inline-block; width: 84px; text-align: center; font-size: 11px; line-height: 14px; vertical-align: top;\"><img src=\"http://intech5937.cafe24.com/web/product/extra/small/201703/294_shop1_932885.jpg\" class=\"ThumbImage\" alt=\"\" style=\"margin: 0px; padding: 0px; border: none; vertical-align: top; width: 75px; height: 75px; cursor: pointer;\" /></li>\r\n            &nbsp;\r\n            <li class=\"xans-record-\" style=\"margin: 0px 1px; padding: 0px; list-style: none; display: inline-block; width: 84px; text-align: center; font-size: 11px; line-height: 14px; vertical-align: top;\"><img src=\"http://intech5937.cafe24.com/web/product/extra/small/201703/294_shop1_506695.jpg\" class=\"ThumbImage\" alt=\"\" style=\"margin: 0px; padding: 0px; border: none; vertical-align: top; width: 75px; height: 75px; cursor: pointer;\" /></li>\r\n            &nbsp;\r\n            <li class=\"xans-record-\" style=\"margin: 0px 1px; padding: 0px; list-style: none; display: inline-block; width: 84px; text-align: center; font-size: 11px; line-height: 14px; vertical-align: top;\"><img src=\"http://intech5937.cafe24.com/web/product/extra/small/201703/294_shop1_141020.jpg\" class=\"ThumbImage\" alt=\"\" style=\"margin: 0px; padding: 0px; border: none; vertical-align: top; width: 75px; height: 75px; cursor: pointer;\" /></li>\r\n            </ul>\r\n         </div>\r\n      <div class=\"control \" style=\"margin: 0px auto; padding: 0px; overflow: hidden; width: 344px; border-style: solid; border-color: #e5e5e5; border-image: initial; border-width: 0px 1px 1px; text-align: center; background: rgb(251, 250, 250);\"><a href=\"http://intech5937.cafe24.com/product/image_zoom2.html?product_no=294\" style=\"text-decoration-line: none; color: #000000;\" target=\"_blank\"><img src=\"http://intech5937.cafe24.com/web/upload/goodymall61/product/btn_product_zoom.gif\" alt=\"확대보기\" style=\"margin: 0px; padding: 0px; border: none; vertical-align: top;\" /></a></div>\r\n      <p class=\"prevImg\" style=\"padding: 0px; position: absolute; width: 30px; left: 10px; top: 254.797px; text-align: center;\"><a href=\"http://intech5937.cafe24.com/product/%EA%B0%84%EC%9D%B4%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EA%B3%84%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EB%8F%84%EC%B8%A1%EC%A0%95%EA%B8%B0/294/#none\" style=\"text-decoration-line: none; color: #000000;\" target=\"_blank\"><img src=\"http://intech5937.cafe24.com/web/upload/goodymall61/product/btn_product_prev.gif\" alt=\"이전상품\" style=\"margin: 0px; padding: 0px; border: none; vertical-align: top;\" /></a></p>\r\n      <p class=\"nextImg\" style=\"padding: 0px; position: absolute; width: 30px; right: 10px; top: 254.797px; text-align: center;\"><a href=\"http://intech5937.cafe24.com/product/%EA%B0%84%EC%9D%B4%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EA%B3%84%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EB%8F%84%EC%B8%A1%EC%A0%95%EA%B8%B0/294/#none\" style=\"text-decoration-line: none; color: #000000;\" target=\"_blank\"><img src=\"http://intech5937.cafe24.com/web/upload/goodymall61/product/btn_product_next.gif\" alt=\"다음 제품 보기\" style=\"margin: 0px; padding: 0px; border: none; vertical-align: top;\" /></a></p>\r\n      <div class=\"xans-element- xans-product xans-product-action button \" style=\"margin: 15px auto 0px; padding: 0px 0px 15px; float: none; width: 346px; border-top: 0px; text-align: center;\"><a href=\"http://intech5937.cafe24.com/product/%EA%B0%84%EC%9D%B4%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EA%B3%84%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EB%8F%84%EC%B8%A1%EC%A0%95%EA%B8%B0/294/#none\" style=\"text-decoration-line: none; color: #000000;\" target=\"_blank\"><img src=\"http://img.echosting.cafe24.com/skin/base_ko_KR/product/btn_recommend_email.gif\" alt=\"추천메일 보내기\" style=\"margin: 0px 3px; padding: 0px; border: none; vertical-align: top;\" /></a></div>\r\n      </div>\r\n   <div class=\"infoArea\" style=\"margin: 0px 42px 0px 0px; padding: 0px;\">\r\n      <div class=\"xans-element- xans-product xans-product-detaildesign\" style=\"margin: 0px; padding: 0px;\">\r\n         <table border=\"1\" summary=\"\" style=\"width: 408px; border-width: 0px; border-style: initial; border-color: initial; border-spacing: 0px; font-size: 11px; word-spacing: -1px; margin: 5px 0px 0px;\">\r\n            <tbody>\r\n               <tr class=\" xans-record-\">\r\n                  <th scope=\"row\" style=\"margin: 0px; padding: 3px 0px 4px 10px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top; font-weight: normal; width: 115px; text-align: left;\"><span style=\"font-size: 16px; font-weight: bold;\">상품명</span></th>\r\n                  <td style=\"margin: 0px; padding: 3px 10px 4px 0px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top;\"><span style=\"font-size: 16px; font-weight: bold;\">간이전기전도계(전기전도도측정기)</span></td>\r\n                  </tr>\r\n               <tr class=\" xans-record-\">\r\n                  <th scope=\"row\" style=\"margin: 0px; padding: 3px 0px 4px 10px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top; font-weight: normal; width: 115px; text-align: left;\"><span style=\"font-size: 12px; color: #555555;\">원산지</span></th>\r\n                  <td style=\"margin: 0px; padding: 3px 10px 4px 0px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top;\"><span style=\"font-size: 12px; color: #555555;\">고양시</span></td>\r\n                  </tr>\r\n               <tr class=\" xans-record-\">\r\n                  <th scope=\"row\" style=\"margin: 0px; padding: 3px 0px 4px 10px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top; font-weight: normal; width: 115px; text-align: left;\"><span style=\"font-size: 12px; color: #555555;\">소비자가</span></th>\r\n                  <td style=\"margin: 0px; padding: 3px 10px 4px 0px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top;\"><span style=\"font-size: 12px; color: #555555;\">18,000원</span></td>\r\n                  </tr>\r\n               <tr class=\" xans-record-\">\r\n                  <th scope=\"row\" style=\"margin: 0px; padding: 3px 0px 4px 10px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top; font-weight: normal; width: 115px; text-align: left;\"><span style=\"font-size: 12px; color: #008bcc; font-weight: bold;\">판매가</span></th>\r\n                  <td style=\"margin: 0px; padding: 3px 10px 4px 0px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top;\"><span style=\"font-size: 12px; color: #008bcc; font-weight: bold;\">14,500원</span></td>\r\n                  </tr>\r\n               <tr class=\" xans-record-\">\r\n                  <th scope=\"row\" style=\"margin: 0px; padding: 3px 0px 4px 10px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top; font-weight: normal; width: 115px; text-align: left;\"><span style=\"font-size: 12px; color: #555555;\">상품코드</span></th>\r\n                  <td style=\"margin: 0px; padding: 3px 10px 4px 0px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top;\"><span style=\"font-size: 12px; color: #555555;\">P00000LH</span></td>\r\n                  </tr>\r\n               <tr class=\" xans-record-\">\r\n                  <th scope=\"row\" style=\"margin: 0px; padding: 3px 0px 4px 10px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top; font-weight: normal; width: 115px; text-align: left;\"><span style=\"font-size: 12px; color: #555555;\">모델명</span></th>\r\n                  <td style=\"margin: 0px; padding: 3px 10px 4px 0px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top;\"><span style=\"font-size: 12px; color: #555555;\">ESSM-502</span></td>\r\n                  </tr>\r\n               <tr class=\" xans-record-\">\r\n                  <th scope=\"row\" style=\"margin: 0px; padding: 3px 0px 4px 10px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top; font-weight: normal; width: 115px; text-align: left;\"><span style=\"font-size: 12px; color: #555555;\">배송비</span></th>\r\n                  <td style=\"margin: 0px; padding: 3px 10px 4px 0px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top;\"><span style=\"font-size: 12px; color: #555555;\"><select name=\"delivery_cost_prepaid\" id=\"delivery_cost_prepaid\" style=\"font-size: 11px; font-family: 돋움, Dotum; color: #353535; vertical-align: middle; height: 24px; border-color: #d5d5d5; width: 273px; margin: 0px 0px 5px;\">&nbsp;<option value=\"P\" selected=\"selected\">주문시 결제(선결제)</option>&nbsp;<option value=\"C\">수령시 결제(착불)</option>&nbsp;</select>3,000원&nbsp;(100,000원 이상 구매 시 무료)</span></td>\r\n                  </tr>\r\n               </tbody>\r\n            </table>\r\n         </div>\r\n      <table border=\"1\" summary=\"\" style=\"width: 408px; border-width: 0px; border-style: initial; border-color: initial; border-spacing: 0px; font-size: 11px; word-spacing: -1px; margin: 5px 0px 0px;\">\r\n         <tbody>\r\n            <tr class=\"\">\r\n               <th scope=\"row\" style=\"margin: 0px; padding: 3px 0px 4px 10px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top; font-weight: normal; width: 115px; text-align: left;\">SNS 상품홍보</th>\r\n               <td class=\"social\" style=\"margin: 0px; padding: 2px 0px 0px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top;\"><img src=\"http://img.cafe24.com/images/ec_admin/icon/icon_facebook.gif\" alt=\"\" style=\"margin: 0px; padding: 0px; border: none; vertical-align: top; cursor: pointer;\" />&nbsp;<img src=\"http://img.cafe24.com/images/ec_admin/icon/icon_twitter.gif\" alt=\"\" style=\"margin: 0px; padding: 0px; border: none; vertical-align: top; cursor: pointer;\" />\r\n                  <ul class=\"xans-element- xans-product xans-product-customsns xans-record-\" style=\"margin: 0px; padding: 0px; display: inline; vertical-align: middle;\">\r\n                     <li style=\"margin: 0px; padding: 0px; list-style: none; display: inline; vertical-align: middle;\"></li>\r\n                     </ul>\r\n                  </td>\r\n               </tr>\r\n            </tbody>\r\n         </table>\r\n      <div id=\"zoom_wrap\" style=\"margin: 0px; padding: 0px; position: absolute; top: 30px; left: 380px; z-index: 100;\">&nbsp;</div>\r\n      <table border=\"1\" summary=\"\" style=\"width: 408px; border-width: 0px; border-style: initial; border-color: initial; border-spacing: 0px; font-size: 11px; word-spacing: -1px; margin: 5px 0px 0px;\">\r\n         <tbody class=\"xans-element- xans-product xans-product-option xans-record-\"></tbody>\r\n         </table>\r\n      <p class=\"info \" style=\"margin-top: 5px; padding: 8px 0px 0px 10px; border-top: 1px solid rgb(232, 232, 232); color: #757575; font-size: 11px;\">(최소주문수량 1개 이상)</p>\r\n      <div id=\"totalProducts\" class=\"\" style=\"margin: 10px 0px 0px; padding: 0px;\">\r\n         <p class=\"info \" style=\"padding: 0px 0px 5px 10px; font-size: 11px; color: #f65b54; line-height: 14px;\"><img src=\"http://img.echosting.cafe24.com/skin/base_ko_KR/product/ico_information.gif\" alt=\"\" style=\"margin: 0px 2px 0px 0px; padding: 0px; border: none; vertical-align: top;\" />&nbsp;수량을 선택해주세요.</p>\r\n         <table border=\"1\" summary=\"\" style=\"width: 408px; border-width: 0px; border-style: initial; border-color: initial; border-spacing: 0px; font-size: 11px; word-spacing: -1px; margin: 0px; background: rgb(255, 255, 255);\"><colgroup><col style=\"width: 284px;\" /><col style=\"width: 80px;\" /><col style=\"width: 110px;\" /></colgroup>\r\n            <thead>\r\n               <tr>\r\n                  <th scope=\"col\" style=\"margin: 0px; padding: 0px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top; font-weight: normal; font-size: 0px; width: 115px; text-align: left; height: 0px; line-height: 0;\">상품명</th>\r\n                  <th scope=\"col\" style=\"margin: 0px; padding: 0px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top; font-weight: normal; font-size: 0px; width: 115px; text-align: left; height: 0px; line-height: 0;\">상품수</th>\r\n                  <th scope=\"col\" style=\"margin: 0px; padding: 0px; border-width: 0px; border-style: initial; border-color: initial; vertical-align: top; font-weight: normal; font-size: 0px; width: 115px; text-align: left; height: 0px; line-height: 0;\">가격</th>\r\n                  </tr>\r\n               </thead>\r\n            <tbody class=\"\">\r\n               <tr>\r\n                  <td style=\"margin: 0px; padding: 9px 0px 9px 4px; border-right: 0px; border-bottom: 0px; border-left: 0px; border-top-style: solid; border-top-color: #9a9ba0; vertical-align: middle; color: #353535; line-height: 18px; overflow-wrap: break-word; word-break: break-all;\">간이전기전도계(전기전도도측정기)</td>\r\n                  <td style=\"margin: 0px; padding: 9px 0px; border-right: 0px; border-bottom: 0px; border-left: 0px; border-top-style: solid; border-top-color: #9a9ba0; vertical-align: middle; color: #353535; line-height: 18px; overflow-wrap: break-word; word-break: break-all;\"><span class=\"quantity\" style=\"position: relative; display: inline-block; width: 50px; vertical-align: top;\"><input id=\"quantity\" name=\"quantity_opt[]\" value=\"1\" type=\"text\" style=\"margin: 0px; padding-top: 0px; padding-bottom: 0px; padding-left: 3px; font-size: 11px; font-family: 돋움, Dotum; color: #353535; vertical-align: middle; height: 23px; width: 22px; border-width: 1px; border-style: solid; border-color: #d4d8d9; line-height: 23px; border-radius: 3px 0px 0px 3px;\" /><a href=\"http://intech5937.cafe24.com/product/%EA%B0%84%EC%9D%B4%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EA%B3%84%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EB%8F%84%EC%B8%A1%EC%A0%95%EA%B8%B0/294/#none\" style=\"text-decoration-line: none; color: #000000;\" target=\"_blank\"><img src=\"http://img.echosting.cafe24.com/skin/base_ko_KR/product/btn_count_up.gif\" alt=\"수량증가\" class=\"QuantityUp up\" style=\"margin: 0px; padding: 0px; border: none; vertical-align: middle; position: absolute; left: 28px; top: 0px;\" /></a><a href=\"http://intech5937.cafe24.com/product/%EA%B0%84%EC%9D%B4%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EA%B3%84%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EB%8F%84%EC%B8%A1%EC%A0%95%EA%B8%B0/294/#none\" style=\"text-decoration-line: none; color: #000000;\" target=\"_blank\"><img src=\"http://img.echosting.cafe24.com/skin/base_ko_KR/product/btn_count_down.gif\" alt=\"수량감소\" class=\"QuantityDown down\" style=\"margin: 0px; padding: 0px; border: none; vertical-align: middle; position: absolute; left: 28px; bottom: 0px; top: 12px;\" /></a></span></td>\r\n                  <td class=\"right\" style=\"margin: 0px; padding: 9px 9px 9px 0px; border-right: 0px; border-bottom: 0px; border-left: 0px; border-top-style: solid; border-top-color: #9a9ba0; vertical-align: middle; color: #ee6285; line-height: 18px; overflow-wrap: break-word; word-break: break-all; font-weight: bold; text-align: right;\"><span class=\"quantity_price\">14,500원</span></td>\r\n                  </tr>\r\n               </tbody>\r\n            <tbody></tbody>\r\n            <tfoot>\r\n               <tr>\r\n                  <td colspan=\"3\" style=\"margin: 0px; padding: 10px 9px; border-right: 0px; border-bottom: 0px; border-left: 0px; border-top-style: solid; border-top-color: #9a9ba0; vertical-align: middle; color: #353535;\"><strong>총 상품금액</strong>(수량) :&nbsp;<span class=\"total\" style=\"color: #ee6285;\"><strong><span style=\"font-size: 21px;\">14,500원</span></strong>&nbsp;(1개)</span></td>\r\n                  </tr>\r\n               </tfoot>\r\n            </table>\r\n         </div>\r\n      <div class=\"xans-element- xans-product xans-product-action \" style=\"margin: 0px; padding: 10px 0px;\">\r\n         <div class=\"btnArea img_on\" style=\"margin: 0px 0px 15px; padding: 0px; overflow: hidden; font-size: 0px; line-height: 0;\"><a href=\"http://intech5937.cafe24.com/product/%EA%B0%84%EC%9D%B4%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EA%B3%84%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EB%8F%84%EC%B8%A1%EC%A0%95%EA%B8%B0/294/#none\" class=\"first \" style=\"text-decoration-line: none; color: #000000; display: inline-block; vertical-align: top;\" target=\"_blank\"><img src=\"http://intech5937.cafe24.com/web/upload/goodymall61/product/btn_buy_big.gif\" alt=\"바로구매하기\" style=\"margin: 0px 6px 0px 10px; padding: 0px; border: none; vertical-align: top; font-size: 12px; line-height: 14px; cursor: pointer;\" /></a>&nbsp;<a href=\"http://intech5937.cafe24.com/product/%EA%B0%84%EC%9D%B4%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EA%B3%84%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EB%8F%84%EC%B8%A1%EC%A0%95%EA%B8%B0/294/#none\" class=\"\" style=\"text-decoration-line: none; color: #000000; display: inline-block; vertical-align: top;\" target=\"_blank\"><img src=\"http://intech5937.cafe24.com/web/upload/goodymall61/product/btn_cart_big.gif\" alt=\"장바구니 담기\" style=\"margin: 0px 6px 0px 0px; padding: 0px; border: none; vertical-align: top; font-size: 12px; line-height: 14px; cursor: pointer;\" /></a>&nbsp;<a href=\"http://intech5937.cafe24.com/product/%EA%B0%84%EC%9D%B4%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EA%B3%84%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EB%8F%84%EC%B8%A1%EC%A0%95%EA%B8%B0/294/#none\" class=\"\" style=\"color: #000000; display: inline-block; vertical-align: top;\" target=\"_blank\"><img src=\"http://intech5937.cafe24.com/web/upload/goodymall61/product/btn_wish2_on.gif\" alt=\"관심상품등록\" style=\"margin: 0px 6px 0px 0px; padding: 0px; border: none; vertical-align: top; font-size: 12px; line-height: 14px; cursor: pointer;\" /></a></div>\r\n         <div class=\"btnArea img_on\" style=\"margin: 0px 0px 15px; padding: 0px; overflow: hidden; font-size: 0px; line-height: 0;\">&nbsp;</div>\r\n         <div class=\"btnArea img_on\" style=\"margin: 0px 0px 15px; padding: 0px; overflow: hidden; font-size: 0px; line-height: 0;\"><br /></div>\r\n         </div>\r\n      </div>\r\n   </div>','http://intech5937.cafe24.com/product/%EA%B0%84%EC%9D%B4%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EA%B3%84%EC%A0%84%EA%B8%B0%EC%A0%84%EB%8F%84%EB%8F%84%EC%B8%A1%EC%A0%95%EA%B8%B0/294/','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-07-05 12:35:52',0,'2021-07-05 12:35:52','210.101.103.92','','','','','','','','','','','',''),(495,-495,'',495,0,0,'','','html1','[ETC] 배터리 잔량측정 모듈 max17043','<p>&nbsp;</p>\r\n<p>&nbsp;<span style=\"background-color: #ffffff; color: #656d78; font-family: Arial, Helvetica, sans-serif;\">product description</span></p>\r\n<span style=\"color: #656d78; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;\">LiPo batteries are a great way to power your project. They are small, light weight, and punched their bodies. Unfortunately, even the best batteries end up with very little power and are often unexpected (and worst-case) when they do so. When your board suddenly loses power, do not be surprised that the LiPo fuel gauge connects your battery to your project and uses sophisticated algorithms to detect the relative charge of the battery and to measure the battery voltage directly. In other words, it tells you how much fuel your microcontroller left in the tank. The LiPo fuel gauge communicates with your project via I2C, and an alert pin will also tell you when battery power is below a certain percentage.</span><br style=\"margin: 0px; padding: 0px; color: #656d78; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;\" /><span style=\"color: #656d78; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;\">Features:</span><br style=\"margin: 0px; padding: 0px; color: #656d78; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;\" /><span style=\"color: #656d78; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;\">Single-cell lithium-ion battery fuel gauge system</span><br style=\"margin: 0px; padding: 0px; color: #656d78; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;\" /><span style=\"color: #656d78; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;\">Can connect the circuit to monitor the battery.</span><br style=\"margin: 0px; padding: 0px; color: #656d78; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;\" /><span style=\"color: #656d78; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;\">Hardware and software reset.</span><br style=\"margin: 0px; padding: 0px; color: #656d78; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;\" /><br style=\"margin: 0px; padding: 0px; color: #656d78; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;\" /><span style=\"color: #656d78; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;\">Product Details</span><br style=\"margin: 0px; padding: 0px; color: #656d78; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;\" /><span style=\"color: #656d78; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;\">Product Size: 0.2 x 0.2 x 0.3 inch; 0.16 oz</span>','http://toolparts.co.kr/product/%EC%95%84%EB%91%90%EC%9D%B4%EB%85%B8-%EB%9D%BC%EC%A6%88%EB%B2%A0%EB%A6%AC%ED%8C%8C%EC%9D%B4-max17043-lithium-battery-detection-module-ad-conversion-ii/66230/','',2,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-07-11 10:19:24',0,'2021-07-11 10:19:24','192.168.219.101','','','','','','','','','','','',''),(496,-496,'',496,0,0,'','','html1','[ETC] BJT를 이용한 스위칭(전원제어 On/Off) 회로 설계법','<div class=\"se-component se-documentTitle se-l-default \" id=\"SE-47ff971e-106f-4a30-ab11-41a45d425872\" style=\"margin: 0px 0px 40px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: se-nanumgothic, &quot;\\\\B098눔고딕&quot;, nanumgothic, sans-serif, Meiryo; vertical-align: baseline; position: relative; color: #252525; background-color: #ffffff;\">\r\n   <div class=\"se-component-content\" style=\"font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; margin: 0px auto; padding: 0px 40px; border: 0px; vertical-align: baseline; max-width: 100%; position: relative;\">\r\n      <div class=\"se-section se-section-documentTitle se-l-default se-section-align-left\" style=\"font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; margin: 0px auto 0px 0px; padding: 40px 0px 29px; border: 0px; vertical-align: baseline;\">\r\n         <div class=\"pcol1\" style=\"color: #000000; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline;\">\r\n            <div class=\"se-module se-module-text se-title-text\" style=\"font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;\">\r\n               <p class=\"se-text-paragraph se-text-paragraph-align-left\" id=\"SE-7a41da53-1e8a-4719-9b6a-0ae542148a3a\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><br /></p>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   </div>\r\n<div class=\"se-main-container\" style=\"margin: 0px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: medium; line-height: inherit; font-family: se-nanumgothic, &quot;\\\\B098눔고딕&quot;, nanumgothic, sans-serif, Meiryo; vertical-align: baseline; color: #252525; background-color: #ffffff;\">\r\n   <div class=\"se-component se-text se-l-default\" id=\"SE-983c1f32-c3cc-48cc-af68-1e93d02106e0\" style=\"margin: 20px 0px 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; position: relative;\">\r\n      <div class=\"se-component-content\" style=\"margin: 0px auto; padding: 0px 40px; border: 0px; font: inherit; vertical-align: baseline; max-width: 100%;\">\r\n         <div class=\"se-section se-section-text se-l-default\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline;\">\r\n            <div class=\"se-module se-module-text\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline;\">\r\n               <p class=\"se-text-paragraph se-text-paragraph-align-left \" id=\"SE-b8f2bc69-1720-4e17-9ae6-c34b79133c17\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\">&nbsp;</p>\r\n               </div>\r\n            </div>\r\n         </div>\r\n      </div>\r\n   </div>','https://blog.naver.com/ansdbtls4067/221348896393','',1,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-07-14 21:33:33',2,'2021-07-14 21:33:33','192.168.219.101','','','','','','','','','','','',''),(498,-498,'',498,0,0,'','','html1','[Arduino] I2C 통신으로 MPU9250 센서 두 개 동시에 사용하기','<p>*I2C 통신으로 MPU9250 센서 두 개 동시에 사용하기</p>\r\n<p>&nbsp;</p>','https://blog.naver.com/PostView.nhn?blogId=jswcomkr&logNo=221565407288&parentCategoryNo=&categoryNo=48&viewDate=&isShowPopularPosts=true&from=search','',0,0,3,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-07-19 21:31:29',1,'2021-07-19 21:31:29','192.168.219.101','','','','','','','','','','','',''),(499,-499,'',499,0,0,'','','html1','[ETC] Mosfet 모스펫 알맞은 용량 찾기','<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\"><span _foo=\"font-size: 14pt;\" style=\"font-size: 14pt; line-height: 22px !important;\"><span style=\"font-weight: 600; font-family: AppleSDGothicNeo-Bold;\"><span _foo=\"color: #1c33ff;\" style=\"color: #1c33ff;\">4</span></span>. 나에게 필요한 모스펫 구분하기</span></p>\r\n<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\"><br /></p>\r\n<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\">모스펫을 찾기전에 단 2가지만 알고 계시면 됩니다.</p>\r\n<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\"><br /></p>\r\n<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\">입력할 전압, 제어할 전압</p>\r\n<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\">위의 예제에서는 입력할 전압이 5v</p>\r\n<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\">제어할 전압이 12v</p>\r\n<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\">였습니다.</p>\r\n<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\"><br /></p>\r\n<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\">&nbsp;</p>\r\n<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\"><span class=\"_img  fx\" thumburl=\"https://mblogthumb-phinf.pstatic.net/20150831_222/roboholic84_14410097410581Pwq8_PNG/%B1%D4%B0%DD.PNG?type=\" style=\"max-width: 100%;\"><img src=\"https://mblogthumb-phinf.pstatic.net/20150831_222/roboholic84_14410097410581Pwq8_PNG/%B1%D4%B0%DD.PNG?type=w2\" largesrc=\"javascript:location.href=\'https://mblogthumb-phinf.pstatic.net/20150831_222/roboholic84_14410097410581Pwq8_PNG/%B1%D4%B0%DD.PNG?type=w2\'\" id=\"img_12\" data-top=\"3267\" style=\"border: 0px; vertical-align: top; max-width: 100%;\" /></span>&nbsp;</p>\r\n<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\"><br /></p>\r\n<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\">붉은색으로 체크한 부분이&nbsp;</p>\r\n<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\">윗부분은 모스펫이&nbsp;제어할 전압 최대치</p>\r\n<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\">아랫 부분은 모스펫에&nbsp;입력할 전압 최대치 입니다.</p>\r\n<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\">다만 threshold voltage를 고려해야하는데&nbsp;</p>\r\n<p align=\"center\" _foo=\"text-align: center;\" style=\"padding: 0px; font-family: sans-serif; font-size: 16.002px; background-color: #ffffff;\">threshold voltage 또한 고려하셔야합니다. 4v이하는 동작하지 않는듯합니다.</p>','https://m.blog.naver.com/roboholic84/220467544049','',1,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-09-02 00:41:52',0,'2021-09-02 00:41:52','112.222.138.204','','','','','','','','','','','',''),(500,-500,'',500,0,0,'','','html1','[Linux] 쉘 스크립트로 파일명에 따른 하위폴더에 복사 이동','<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-8103df73-2ee0-405b-8c9f-545010911372\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: &quot;Apple SD Gothic Neo&quot;, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" id=\"SE-7ca6b899-f614-4ad3-86f8-2af349e89ba6\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\">카메라 스냅샷 이미지가 리눅스 pc(우분투) 특정 폴더에 저장되고 있습니다.</span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-697b8d6a-ae70-49d9-aacd-d1f5e4578eb0\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: &quot;Apple SD Gothic Neo&quot;, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" id=\"SE-0fd22af9-1564-4a7d-be4d-bf2d9f86c49a\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\">저장되는 이미지 파일명은 \"카메라명_년-월-일-시-분-초.jpg\" 형태로 되어 있습니다.</span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eff05ee7-7dc8-4068-bb1c-7ff1e5afdd96\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: &quot;Apple SD Gothic Neo&quot;, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" id=\"SE-04d0e97c-6421-4f02-93c7-408077e34f23\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\">예) CAM01_2021-09-06-15-10-01.jpg</span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-ca436d26-23a1-4a24-aa92-55fe04d2457c\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: &quot;Apple SD Gothic Neo&quot;, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" id=\"SE-827b122b-cabf-46bb-8482-4140ce89fc84\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\"></span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-22805bed-19c7-499d-a493-d64469d31e54\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: &quot;Apple SD Gothic Neo&quot;, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" id=\"SE-d8a83935-7c17-4123-9eec-94e3d44127a6\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\">이렇게 저장되는 파일들을 읽어서 </span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-e620bcf4-57e9-49bb-9c31-95bc91a71ac4\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: &quot;Apple SD Gothic Neo&quot;, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" id=\"SE-7f3d8252-488a-419e-9b3b-cb4f0e89cc04\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\">\"/이미지저장폴더/년/월/일\" 폴더를 만들어(없으면 폴더생성, 있으면 패스) 파일명중 해당 일자의 파일을 </span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: &quot;Apple SD Gothic Neo&quot;, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" id=\"SE-61fa5dbe-4ba8-4c48-9b7f-ef773fd3601c\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\">이동시키는 프로그램이 필요합니다.</span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: &quot;Apple SD Gothic Neo&quot;, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\">&nbsp;</span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: &quot;Apple SD Gothic Neo&quot;, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\"><span style=\"font-size: 13px; white-space: normal;\">#!/bin/sh</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">REPO_DIR=REPO</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">TARGET_DIR=output</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">for i in ${REPO_DIR}/*.jpg</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">do</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">NAME_1=`basename $i`</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">NAME_H=${NAME_1%%_*}</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">NAME_L=${NAME_1##*_}</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\"># echo NAME_1=$NAME_1 NAME_H=$NAME_H NAME_L=$NAME_L</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">YEAR=${NAME_L%%-*}</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">NAME_L=${NAME_L#*-}</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">MONTH=${NAME_L%%-*}</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">NAME_L=${NAME_L#*-}</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">DAY=${NAME_L%%-*}</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">NAME_L=${NAME_L#*-}</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">HH=${NAME_L%%-*}</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">NAME_L=${NAME_L#*-}</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">MIN=${NAME_L%%\\.*}</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">echo YEAR/M/D, HOUR/MIN=$YEAR,$MONTH,$DAY,$HH,$MIN</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">DIR=${YEAR}_${MONTH}_${DAY}_${HH}_${MIN}</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">if [ ! -d ${TARGET_DIR}/${DIR} ] ; then</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">mkdir -p ${TARGET_DIR}/${DIR}</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">cp $i ${TARGET_DIR}/${DIR}</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">fi</span><br style=\"font-size: 13px; white-space: normal;\" /><span style=\"font-size: 13px; white-space: normal;\">done</span></span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: &quot;Apple SD Gothic Neo&quot;, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\"><span style=\"font-size: 13px; white-space: normal;\">=======================================================</span></span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: &quot;Apple SD Gothic Neo&quot;, &quot;맑은 고딕&quot;, &quot;Malgun Gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\"></span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">#!/bin/sh</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\"># nntech01_2021-09-02-05-32-01.jpg*</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">REPO_DIR=img</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">TARGET_DIR=output</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">for i in ${REPO_DIR}/*.jpg</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">do</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; NAME_1=`basename $i`</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; NAME_H=${NAME_1%%_*}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; NAME_L=${NAME_1##*_}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; YEAR=${NAME_L%%-*}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; NAME_L=${NAME_L#*-}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; MONTH=${NAME_L%%-*}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; NAME_L=${NAME_L#*-}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; DAY=${NAME_L%%-*}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; NAME_L=${NAME_L#*-}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; HH=${NAME_L%%-*}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; NAME_L=${NAME_L#*-}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; MIN=${NAME_L%%-*}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; NAME_L=${NAME_L#*-}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; SEC=${NAME_L%%\\.*}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\"><br /></span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; #echo NAME_1=$NAME_1 NAME_H=$NAME_H NAME_L=$NAME_L</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; #echo YEAR/M/D, HOUR/MIN/SEC=$YEAR,$MONTH,$DAY,$HH,$MIN,$SEC</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; #DIR=${YEAR}_${MONTH}_${DAY}_${HH}_${MIN}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\"><br /></span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; DIR=${YEAR}_${MONTH}_${DAY}_${HH}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\"><br /></span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; if [ ! -d ${TARGET_DIR}/${DIR} ] ; then</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; mkdir -p ${TARGET_DIR}/${DIR}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; #cp $i ${TARGET_DIR}/${DIR}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; fi</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\"><br /></span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; if [ -d ${TARGET_DIR}/${DIR} ] ; then</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; &nbsp; &nbsp; cp $i ${TARGET_DIR}/${DIR}</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">&nbsp; &nbsp; fi</span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span class=\"se-fs- se-ff-   \" style=\"margin: 0px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; font-size: 13px;\"></span></font></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-eafc9b57-5989-4dbb-84e7-3ed39a58e9ca\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; background-color: #ffffff;\"><font color=\"#333333\" face=\"Apple SD Gothic Neo, 맑은 고딕, Malgun Gothic, 돋움, dotum, sans-serif\"><span style=\"font-size: 13px;\">done</span></font></p>\r\n<p><br /></p>','https://cafe.naver.com/carroty/360315','',1,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-09-06 17:01:45',0,'2021-09-06 17:01:45','112.222.138.204','','','','','','','','','','','',''),(497,-497,'',497,0,0,'','','html1','[ETC] 실무회로설계 블로그 자료 모음','<p>1.실무 회로설계에서 저항 선정법</p>\r\n<p>2.실무 회로설계에서 캐패시터 선정법</p>\r\n<p>3.실무 회로설계에서 배선류 선정법</p>\r\n<p>4.실무 회로설계에서 다이오드 설계법</p>\r\n<p>5.실무 회로설계에서 BJT(Bipolar Junction Transistor) 스위칭 회로 설계법</p>\r\n<p>6.실무 회로설계에서 FET(Field Effect Transistor) 스위칭 회로 설계법</p>\r\n<p>7.실무 회로설계에서 퓨즈 설계법</p>\r\n<p>8.실무 회로설계에서 LED(Light Emitting Diode) 회로 설계법</p>\r\n<p>9.실무 회로설계에서 7-Segment 회로 설계법</p>\r\n<p>10.실무 회로설계에서 기계적 스위치 입력 회로 설계법</p>\r\n<p>11.실무 회로설계에서 Op-Amp를 이용한 회로 설계법-1(Voltage Follower 회로설계)</p>\r\n<p>12.실무 회로설계에서 Op-Amp를 이용한 회로 설계법-2(Inverting, Non-Inverting 회로설계)</p>\r\n<p>13.실무 회로설계에서 Op-Amp를 이용한 회로 설계법-3(Differential, Comparator 회로설계)</p>\r\n<p>14.실무 회로설계에서 Op-Amp를 이용한 회로 설계법-4(여러 가지 응용 회로)</p>\r\n<p>15.실무 회로설계에서 SPI 통신 회로 설계법(SPI 통신 방식의 EEPROM)</p>\r\n<p>16.실무 회로설계에서 Auto-Direction Control RS-485 통신 회로 설계법(송수신 방향 자동제어)</p>\r\n<p>17.실무 회로설계에서 RS-232 통신 회로 설계법(None Flow-Control)</p>\r\n<p>18.실무 회로설계에서 RS-422 통신 회로 설계법</p>\r\n<p>19.실무 회로설계에서 CAN 통신 회로 설계법</p>\r\n<p>20.실무 회로설계에서 I2C 통신 회로 설계법(I2C 통신 방식의 온도센서)</p>\r\n<p>21.실무 회로설계에서 전력선, 통신선(신호선) 케이블 설계법</p>','https://blog.naver.com/ansdbtls4067/221329755138','',0,0,6,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-07-14 21:54:31',1,'2021-07-14 21:54:31','192.168.219.101','','','','','','','','','','','',''),(501,-501,'',501,0,0,'','','html1','[ETC] MCP73831 1cell 충전/모니터링 회로','<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-0f08dd42-36b4-4a55-87cb-107533da1b4f\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; font-family: &quot;apple sd gothic neo&quot;, &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" id=\"SE-3308295c-3aa9-443b-acaf-b427787d76db\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; font-size: 14px;\">5V 입력받아 5V 출력하는 구성입니다.</span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-dac35ed1-6c84-4954-ba6b-8319c8926956\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; font-family: &quot;apple sd gothic neo&quot;, &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" id=\"SE-502d99bd-270e-4303-ba9a-c92e23f53bff\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; font-size: 14px;\">배터리 충전은 MCP73831  을 사용합니다.</span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-9c147aa1-19f3-4383-ac15-63537e0ced5e\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; font-family: &quot;apple sd gothic neo&quot;, &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" id=\"SE-51f94a2e-e2c9-4fb9-a6ec-d12b895d6578\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; font-size: 14px;\">5V 출력은 Boost  IC LM2621 을 사용합니다.</span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-677a93f8-126a-4f38-8166-03bde17627e1\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; font-family: &quot;apple sd gothic neo&quot;, &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" id=\"SE-2f50117b-017d-4cc4-80b6-e56510264956\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; font-size: 14px;\">배터리 모니터링은 STC3100IST 를 사용합니다.</span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-01119bc0-2549-4bab-83b1-5673300c0f1f\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; font-family: &quot;apple sd gothic neo&quot;, &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" id=\"SE-efa8ef6f-f4dc-4edd-846d-7689a43083ac\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; font-size: 14px;\"></span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-b6dfcaab-0179-4964-95ad-2b37a1ecb25f\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; font-family: &quot;apple sd gothic neo&quot;, &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" id=\"SE-7ad5630d-a796-4ebb-8219-e3b085de18ed\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; font-size: 14px;\">외부전원인가시 P-Channel MOSFET 을 사용해 외부전원 직접사용하고,</span></p>\r\n<p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-5babaad8-4943-4c5c-9c41-465e67d9f3e7\" style=\"padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: 1.8; font-family: &quot;apple sd gothic neo&quot;, &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;, 돋움, dotum, sans-serif; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap; color: #333333; background-color: #ffffff;\"><span class=\"se-fs- se-ff-   \" id=\"SE-75f5afef-4def-4b75-962a-1a99f22216b3\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; font-size: 14px;\">외부전원 없을 시 배터리 전원으로 5V 출력하는 회로입니다.</span></p>\r\n<p></p>\r\n<p><span style=\"font-size: 14px;\">------------------------------------------------------------------------------------------------------</span></p>\r\n<p><span style=\"font-size: 14px;\">LM2621 : https://www.eleparts.co.kr/goods/view?no=6978928</span></p>\r\n<p><span style=\"background-color: #ffffff; color: #333333; font-family: &quot;apple sd gothic neo&quot;, &quot;맑은 고딕&quot;, &quot;malgun gothic&quot;, 돋움, dotum, sans-serif; white-space: pre-wrap; font-size: 14px;\">STC3100IST </span><span style=\"font-size: 14px;\">:&nbsp;https://www.eleparts.co.kr/goods/view?no=3444335</span></p>','https://cafe.naver.com/carroty/359741','',0,0,2,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-09-14 11:35:53',1,'2021-09-14 11:35:53','112.222.138.204','','','','','','','','','','','',''),(502,-502,'',502,0,0,'','','html1','[Arduino] ESP8266 HTTP Client PHP 연동 예제','<div class=\"se-component se-sectionTitle se-l-default\" id=\"SE-06558068-cbd9-4d73-9fd9-27fa26f55be7\" style=\"margin: 0px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 16.002px; line-height: inherit; font-family: se-nanumgothic, &quot;\\\\B098눔고딕&quot;, nanumgothic, sans-serif; vertical-align: baseline; position: relative; background-color: #ffffff;\">\r\n   <div class=\"se-component-content\" style=\"margin: 0px auto; padding: 0px 20px; border: 0px; font: inherit; vertical-align: baseline; max-width: 640px;\">\r\n      <div class=\"se-section se-section-sectionTitle se-l-default\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline;\">\r\n         <div class=\"se-module se-module-text\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline;\">\r\n            <div class=\"se-component se-text se-l-default\" id=\"SE-6dcd96bc-74b5-43e2-8da4-761b394034bc\" style=\"margin: 10px 0px 0px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: medium; line-height: inherit; font-family: se-nanumgothic, &quot;\\\\B098눔고딕&quot;, nanumgothic, sans-serif, Meiryo; vertical-align: baseline; position: relative;\">\r\n               <div class=\"se-component-content\" style=\"margin: 0px auto; padding: 0px 40px; border: 0px; font: inherit; vertical-align: baseline; max-width: 100%;\">\r\n                  <div class=\"se-section se-section-text se-l-default\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline;\">\r\n                     <div class=\"se-module se-module-text\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline;\">\r\n                        <p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-4a2b2c0a-1a64-4037-b32c-a3c8ac992062\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><span class=\"se-fs- se-ff-   \" id=\"SE-4db43f09-e77d-45b9-ae3d-990e48522ee6\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\">ESP8266 은 아두이노에서 가장 많이 사용되는 Wi-Fi 칩입니다. 서버로써 사용할 수도, 클라이언트로 사용할 수도 있습니다.</span></p>\r\n                        <p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-afd18c43-953a-47c4-8c87-a7110ab2d42b\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><span class=\"se-fs- se-ff-   \" id=\"SE-8448a876-237a-423c-80a7-b68e0559ac5a\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\"></span></p>\r\n                        <p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-d5bb2967-0fbd-48ca-91e1-f17689340bcc\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><span class=\"se-fs- se-ff-   \" id=\"SE-e539fbbf-f85a-42ce-af09-804ac71c71c5\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\">이번에는 클라이언트로 사용했으며, PHP 와 연동하여 사용하던 중 문제를 발견하였습니다. 바로 세션 기능이 동작하지 않았던 것이지요. </span></p>\r\n                        <p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-cecf60ae-f76f-4533-a585-8f5a984a4dcf\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><span class=\"se-fs- se-ff-   \" id=\"SE-9405652b-d155-4f5e-9752-1620471fdfcd\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\"></span></p>\r\n                        <p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-9f8ed2c3-e505-4823-8b5b-3281abc3ae2a\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><span class=\"se-fs- se-ff-   \" id=\"SE-0b003201-a95e-45e3-bd7c-134319adf4fd\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\">아래는 간단한 클라이언트 예제입니다. 단순히 특정 주소로 GET 을 보내고 응답을 받아옵니다.</span></p>\r\n                        <p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-4ae3437f-8374-4bf3-b67a-a0f955fdc5f9\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><span class=\"se-fs- se-ff-   \" id=\"SE-85996d08-f966-43ea-b2f1-ab38f864c391\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\"></span></p>\r\n                        <p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-e31d2c8c-a23d-4c85-a5cb-3b8fcb0d4867\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><span class=\"se-fs- se-ff-   \" id=\"SE-55c65a10-7269-42ab-9b57-8c7bf4ea4dbb\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\"><a href=\"https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266HTTPClient/examples/BasicHttpClient/BasicHttpClient.ino\" class=\"se-link\" target=\"_blank\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; text-decoration-skip-ink: none; word-break: break-all; color: #608cba !important;\">https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266HTTPClient/examples/BasicHttpClient/BasicHttpClient.ino</a></span></p>\r\n                        </div>\r\n                     </div>\r\n                  </div>\r\n               </div>\r\n            <div class=\"se-component se-oglink se-l-image __se-component\" id=\"SE-85953b60-16e8-4693-a168-495fbaa3c0fa\" style=\"margin: 30px 0px 0px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: medium; line-height: inherit; font-family: se-nanumgothic, &quot;\\\\B098눔고딕&quot;, nanumgothic, sans-serif, Meiryo; vertical-align: baseline; position: relative;\">\r\n               <div class=\"se-component-content\" style=\"margin: 0px auto; padding: 0px 40px; border: 0px; font: inherit; vertical-align: baseline; max-width: 100%;\">\r\n                  <div class=\"se-section se-section-oglink se-l-image se-section-align-\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; width: 450px; max-width: 450px;\">\r\n                     <div class=\"se-module se-module-oglink\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; position: relative; width: 450px; box-shadow: rgba(0, 0, 0, 0.08) 0px 1px 2px 0px; cursor: pointer;\"><a href=\"https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266HTTPClient/examples/BasicHttpClient/BasicHttpClient.ino\" class=\"se-oglink-thumbnail\" target=\"_blank\" style=\"text-decoration-line: none; margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; display: block; position: relative; z-index: 1; width: 110px;\"><img src=\"https://dthumb-phinf.pstatic.net/?src=%22https%3A%2F%2Favatars0.githubusercontent.com%2Fu%2F8943775%3Fs%3D400%26v%3D4%22&amp;type=ff120\" class=\"se-oglink-thumbnail-resource egjs-visible\" alt=\"\" style=\"border: 0px; margin: 0px; padding: 0px; font: inherit; vertical-align: top; width: 110px; height: auto; min-height: 110px;\" /></a><a href=\"https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266HTTPClient/examples/BasicHttpClient/BasicHttpClient.ino\" class=\"se-oglink-info\" target=\"_blank\" style=\"text-decoration-line: none; margin: 0px; padding: 21px 26px 18px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.4; font-family: inherit; vertical-align: baseline; position: absolute; display: block; box-sizing: border-box; inset: 0px 0px 0px 110px;\">&nbsp;\r\n                           <div class=\"se-oglink-info-container\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: middle; display: inline-block; max-width: 100%;\"><span class=\"se-oglink-title\" style=\"white-space: nowrap; overflow-wrap: normal; overflow: hidden; text-overflow: ellipsis; word-break: break-all; display: block; line-height: 15px; font-weight: 700; color: #333333; font-size: 15px;\">esp8266/Arduino</span>\r\n                              <p class=\"se-oglink-summary\" style=\"margin-top: 7px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: 18px; font-family: inherit; vertical-align: baseline; white-space: nowrap; overflow-wrap: normal; overflow: hidden; text-overflow: ellipsis; word-break: break-all; color: #999999;\">ESP8266 core for Arduino. Contribute to esp8266/Arduino development by creating an account on GitHub.</p>\r\n                              <p class=\"se-oglink-url\" style=\"margin-top: 9px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: 15px; font-family: inherit; vertical-align: baseline; white-space: nowrap; overflow-wrap: normal; overflow: hidden; text-overflow: ellipsis; word-break: break-all; color: #00a832;\">github.com</p>\r\n                              </div>\r\n                           </a></div>\r\n                     </div>\r\n                  </div>\r\n               </div>\r\n            <div class=\"se-component se-text se-l-default\" id=\"SE-d6395af0-837a-4b5c-ac41-f6c0e243b637\" style=\"margin: 30px 0px 0px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: medium; line-height: inherit; font-family: se-nanumgothic, &quot;\\\\B098눔고딕&quot;, nanumgothic, sans-serif, Meiryo; vertical-align: baseline; position: relative;\">\r\n               <div class=\"se-component-content\" style=\"margin: 0px auto; padding: 0px 40px; border: 0px; font: inherit; vertical-align: baseline; max-width: 100%;\">\r\n                  <div class=\"se-section se-section-text se-l-default\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline;\">\r\n                     <div class=\"se-module se-module-text\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline;\">\r\n                        <p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-593fe019-e10e-4f09-9d19-753ed205f636\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><span class=\"se-fs- se-ff-   \" id=\"SE-a274a3dc-9f16-454c-8734-dc789d27c0b3\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\">위에 설명한 것처럼 세션 기능은 동작하지 않습니다. 어떤 이유에서 동작하지 않는지, 무엇이 더 필요한지, 세션이 어떤 방식으로 동작하는지 공부와 연구를 하였고 결국 해결할 수 있었습니다.</span></p>\r\n                        <p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-2a1948a7-3746-4287-8278-acfc4c1a9a61\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><span class=\"se-fs- se-ff-   \" id=\"SE-345f7c34-a081-437d-8aff-1606e5324298\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\"></span></p>\r\n                        <p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-18fba03e-a8b4-44dd-a965-1a7e36c7748e\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><span class=\"se-fs- se-ff-   \" id=\"SE-d0efa59e-2394-4432-96a2-ed17193e3e05\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\">우선 세션을 유지하기 위해 쿠키를 사용합니다. PHPSESSID 라는 이름의 26자리 문자열의 키값이며, 최초 PHP 서버에서 보내줍니다. 그 키값을 받아서 다음 요청 시에 쿠키를 통해 보내주면, 이전 세션을 기억하는 원리로 동작합니다. 웹 브라우저에서는 이 동작을 자동으로 처리해주므로 우리가 전혀 신경 쓰지 못했던 것입니다. 길게 설명하는 것보다 아래의 소스를 보면 더 쉽게 이해가 될 겁니다.</span></p>\r\n                        <p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-cfea6fdb-d36c-4e0a-81df-084044050cc6\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><span class=\"se-fs- se-ff-   \" id=\"SE-5bb92d9c-e41e-4d46-8d39-b93eb442aa90\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\"></span></p>\r\n                        <p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-abfe9240-bbfd-410c-9be6-7bcded5a6f7a\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><span class=\"se-fs- se-ff-   \" id=\"SE-a112b22a-4bbb-48b5-976e-f79c1e3d27c5\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\"></span></p>\r\n                        <p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-56fe6467-f105-4905-9655-242ca2da7d53\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><span class=\"se-fs- se-ff-   \" id=\"SE-49fb5ece-3f81-44ae-8f80-99f42f270eb5\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\"></span></p>\r\n                        </div>\r\n                     </div>\r\n                  </div>\r\n               </div>\r\n            <div class=\"se-component se-sectionTitle se-l-default\" id=\"SE-c7cec33f-9d5f-47c0-929d-15163ad6b25d\" style=\"margin: 10px 0px 0px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: medium; line-height: inherit; font-family: se-nanumgothic, &quot;\\\\B098눔고딕&quot;, nanumgothic, sans-serif, Meiryo; vertical-align: baseline; position: relative;\">\r\n               <div class=\"se-component-content\" style=\"margin: 0px auto; padding: 0px 40px; border: 0px; font: inherit; vertical-align: baseline; max-width: 100%;\">\r\n                  <div class=\"se-section se-section-sectionTitle se-l-default\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline;\">\r\n                     <div class=\"se-module se-module-text\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline;\">\r\n                        <p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-a0b2c389-71d5-4d37-8d9e-eeaf77263c80\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.5; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><span class=\"se-fs- se-ff-   \" id=\"SE-4eb65703-fb52-4bdd-aa5b-5d982c299fc2\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 30px; line-height: inherit; vertical-align: baseline;\">아두이노 소스</span></p>\r\n                        </div>\r\n                     </div>\r\n                  </div>\r\n               </div>\r\n            <div class=\"se-component se-text se-l-default\" id=\"SE-efa65617-5500-466b-9a1e-a947a67aa54c\" style=\"margin: 10px 0px 0px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: medium; line-height: inherit; font-family: se-nanumgothic, &quot;\\\\B098눔고딕&quot;, nanumgothic, sans-serif, Meiryo; vertical-align: baseline; position: relative;\">\r\n               <div class=\"se-component-content\" style=\"margin: 0px auto; padding: 0px 40px; border: 0px; font: inherit; vertical-align: baseline; max-width: 100%;\">\r\n                  <div class=\"se-section se-section-text se-l-default\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline;\">\r\n                     <div class=\"se-module se-module-text\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline;\">\r\n                        <p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-ac0d175e-e77f-4314-80f7-2f9b7b34d18a\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><span class=\"se-fs- se-ff-   \" id=\"SE-0c7e4e73-64e0-4d16-bf9b-68205027c52b\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\">간단히 GET 요청을 약 0.5초 간격으로 5번 보내고 무한 대기하는 동작을 합니다.</span></p>\r\n                        <p class=\"se-text-paragraph se-text-paragraph-align- \" id=\"SE-56e65ad1-3a32-43de-97b3-92119141506e\" style=\"padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 0px; line-height: 1.8; font-family: inherit; vertical-align: baseline; word-break: break-word; overflow-wrap: break-word; white-space: pre-wrap;\"><span class=\"se-fs- se-ff-   \" id=\"SE-4deafeb7-f05a-4322-a4e6-bd1b3c735539\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; vertical-align: baseline;\">당연하지만 SSID 와 패스워드, PHP 서버의 주소는 수정해야 합니다.</span></p>\r\n                        </div>\r\n                     </div>\r\n                  </div>\r\n               </div>\r\n            <div class=\"se-component se-code se-l-default __se-component\" id=\"SE-a5caacc2-eb18-457c-991c-75c2f0f160a4\" style=\"margin: 30px 0px 0px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: medium; line-height: inherit; font-family: se-nanumgothic, &quot;\\\\B098눔고딕&quot;, nanumgothic, sans-serif, Meiryo; vertical-align: baseline; position: relative;\">\r\n               <div class=\"se-component-content\" style=\"margin: 0px auto; padding: 0px 40px; border: 0px; font: inherit; vertical-align: baseline; max-width: 100%;\">\r\n                  <div class=\"se-section se-section-code se-l-default\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; position: relative; background-color: #fdfdfd;\">\r\n                     <div class=\"se-module se-module-code se-fs-fs13\" style=\"margin: 0px; padding: 12px 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: inherit; font-family: inherit; vertical-align: baseline; overflow: auto hidden;\">\r\n                        <div class=\"se-code-source\" style=\"margin: 0px; padding: 0px 17px; border: 0px; font: inherit; vertical-align: baseline; display: inline-block;\">\r\n                           <div class=\"__se_code_view  language-javascript\" style=\"margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: 24px; font-family: &quot;Source Code Pro&quot;, sourcecodepro, se-sourcecodepro, Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace, sans-serif; vertical-align: baseline; background: none; white-space: pre; word-spacing: normal; word-break: normal; overflow-wrap: normal; tab-size: 4; hyphens: none;\">\r\n#include <span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">&lt;</span>ESP8266WiFi<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span>h<span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">&gt;</span>\r\n#include <span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">&lt;</span>ESP8266HTTPClient<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span>h<span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">&gt;</span>\r\n#include <span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">&lt;</span>WiFiClient<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span>h<span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">&gt;</span>\r\n#include <span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">&lt;</span>ESP8266WiFiMulti<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span>h<span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">&gt;</span>\r\nESP8266WiFiMulti WiFiMulti<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\nHTTPClient http<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span><span class=\"token se-code-keyword\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #137fb7;\">const</span> char<span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">*</span> ssid <span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">=</span><span class=\"token se-code-string\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #60911b;\">\"ssid\"</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span><span class=\"token se-code-keyword\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #137fb7;\">const</span> char<span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">*</span> password <span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">=</span><span class=\"token se-code-string\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #60911b;\">\"password\"</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span><span class=\"token se-code-keyword\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #137fb7;\">const</span> char<span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">*</span> szURL <span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">=</span><span class=\"token se-code-string\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #60911b;\">\"http://php_url_what_you_want\"</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\nunsigned long previousMillis <span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">=</span><span class=\"token se-code-number\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #e57523;\">0</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\nString strPHPSESSID<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\nint iWorkCount <span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">=</span><span class=\"token se-code-number\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #e57523;\">0</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\nString <span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">httpGETRequest</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-keyword\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #137fb7;\">const</span> char<span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">*</span> serverName<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span><span class=\"token se-code-keyword\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #137fb7;\">void</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">setup</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">{</span>\r\n  Serial<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">begin</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-number\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #e57523;\">115200</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\n  Serial<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">println</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\n  WiFi<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">mode</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-constant\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #e57523;\">WIFI_STA</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\n  WiFiMulti<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">addAP</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span>ssid<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">,</span> password<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span><span class=\"token se-code-keyword\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #137fb7;\">while</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span>WiFiMulti<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">run</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">!=</span><span class=\"token se-code-constant\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #e57523;\">WL_CONNECTED</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">{</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">delay</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-number\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #e57523;\">500</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\n    Serial<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">print</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-string\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #60911b;\">\".\"</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">}</span>\r\n  Serial<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">println</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-string\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #60911b;\">\"\"</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\n  Serial<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">println</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-string\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #60911b;\">\"Connected to WiFi\"</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\n  http<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">setReuse</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-boolean\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #e57523;\">true</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">}</span><span class=\"token se-code-keyword\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #137fb7;\">void</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">loop</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">{</span><span class=\"token se-code-keyword\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #137fb7;\">if</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">millis</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">-</span> previousMillis <span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">&gt;=</span><span class=\"token se-code-number\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #e57523;\">500</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">{</span><span class=\"token se-code-keyword\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #137fb7;\">if</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span>WiFiMulti<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">run</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">==</span><span class=\"token se-code-constant\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #e57523;\">WL_CONNECTED</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">{</span>\r\n      String res <span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">=</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">httpGETRequest</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span>szURL<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\n      Serial<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">print</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-string\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #60911b;\">\"Result: \"</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\n      Serial<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">println</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span>res<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span><span class=\"token se-code-comment\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #708091;\">// save the last HTTP GET Request</span>\r\n      iWorkCount<span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">++</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span><span class=\"token se-code-keyword\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #137fb7;\">if</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span>iWorkCount <span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">&gt;=</span><span class=\"token se-code-number\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #e57523;\">5</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">{</span>\r\n        Serial<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">println</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-string\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #60911b;\">\"Work done!!\"</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span><span class=\"token se-code-keyword\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #137fb7;\">while</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-number\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #e57523;\">1</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-keyword\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #137fb7;\">yield</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">}</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">}</span><span class=\"token se-code-keyword\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #137fb7;\">else</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">{</span>\r\n      Serial<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">println</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-string\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #60911b;\">\"WiFi Disconnected\"</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">}</span>\r\n    previousMillis <span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">=</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">millis</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">}</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">}</span>\r\nString <span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">httpGETRequest</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-parameter\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline;\">const char* serverName</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">{</span>\r\n  WiFiClient client<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\n  http<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">begin</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span>client<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">,</span> serverName<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span><span class=\"token se-code-keyword\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #137fb7;\">if</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span>strPHPSESSID<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">length</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">&gt;</span><span class=\"token se-code-number\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #e57523;\">0</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">{</span>\r\n    Serial<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">print</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-string\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #60911b;\">\"send PHPSESSID: \"</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\n    Serial<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">println</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span>strPHPSESSID<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\n    http<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">addHeader</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-string\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #60911b;\">\"Cookie\"</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">,</span><span class=\"token se-code-string\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #60911b;\">\"PHPSESSID=\"</span><span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">+</span> strPHPSESSID<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">}</span><span class=\"token se-code-keyword\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #137fb7;\">const</span> char <span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">*</span>keys<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">[</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">]</span><span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">=</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">{</span><span class=\"token se-code-string\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #60911b;\">\"Set-Cookie\"</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">}</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\n  http<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-function\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #df4a68;\">collectHeaders</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span>keys<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">,</span><span class=\"token se-code-number\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #e57523;\">1</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\n  int httpResponseCode <span class=\"token se-code-operator\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #a77f71;\">=</span> http<span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">.</span><span class=\"token se-code-constant\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #e57523;\">GET</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">(</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">)</span><span class=\"token se-code-punctuation\" style=\"margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; color: #666666;\">;</span>\r\n  String strResult <span class=\"token se-code-operator\" styl','https://m.blog.naver.com/grotesquedev/221785163293','',0,0,3,0,0,'admin','*B9FF5DF52BD3C5F13EA3D506E09A21D17ECF6557','최고관리자','bk94005@naver.com','','2021-10-03 23:14:26',1,'2021-10-03 23:14:26','192.168.219.101','','','','','','','','','','','',''),