<img src="http://moicle.com:1005/UA-55657540-1/OU/make3/1618343?pixel" class="__se_object" alt=""><embed src="http://player.bgmstore.net/NHwSS" width="422" height="180"><br><a target="_blank" href="http://bgmstore.net/view/NHwSS">BGM정보 : 브금저장소 - </a><a target="_blank" href="http://bgmstore.net/view/NHwSS" target="_blank">http://bgmstore.net/view/NHwSS</a><br><div style="text-align:center;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;text-align:left;font-size:large;line-height:1.5;">** 지난 맹그러보자 **</span></div> <div style="text-align:center;"><span style="line-height:21.6000003814697px;text-align:left;font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;"></span><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;text-align:left;"></span> <div style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;text-align:left;"><font size="4"><a target="_blank" href="http://todayhumor.com/?humorbest_1091358" style="color:#0000ff;text-decoration:none;">1. [맹그러보자] 엄마몰래 몰컴할때 꼭 필요한 몰컴 도우미! Feat블루투스</a> </font></div> <div style="text-align:left;"><a target="_blank" href="http://todayhumor.com/?humordata_1618164"><font size="4" style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">2. </font><span style="text-align:center;line-height:21.6000003814697px;"><font face="굴림, gulim, 돋움, Dotum, Helvetica, AppleGothic, sans-serif" size="4">[맹그러보자] 스마트폰 연동 디지털 도어락 ( Feat.블루투스 )</font></span></a></div> <div style="text-align:left;"><br></div> <div style="text-align:left;"><font size="3">지난 맹그러보자 에 달린 댓글들을 보니..</font></div> <div style="text-align:left;"><font size="3">대략 이랬었습니다. </font></div> <div style="text-align:left;"><font size="3"><br></font></div> <div style="text-align:left;"><div style="text-align:left;"><font size="3"><img src="http://thimg.todayhumor.co.kr/upfile/201507/1436448986S8oxkxXQqxeDIppVFQZiU22BHG.png" width="800" height="784" alt="스크린샷 2015-07-09 오후 10.36.02.png" class="chimg_photo tcx_image" style="border:none;"></font></div><font size="3"><br></font></div> <div style="text-align:center;"><span style="font-size:medium;line-height:1.5;">위와 같은 반응으로 인해서 표현 방식을 바꾸어 봣습니다.</span></div> <div style="text-align:center;"><font size="3">일단 다른 게시글 처럼 브금도 깔아보고 ㅎㅎ </font></div> <div style="text-align:center;"><font size="3">만화 타입으로 바꾸어 봤습니다 ㅎㅎ</font></div> <div style="text-align:left;"><br></div> <div style="text-align:center;"><font size="5">그럼 시작합니다 ㅎㅎ</font></div> <div style="text-align:left;"><br></div></div> <div style="text-align:center;"><br></div> <div style="text-align:center;"><br></div> <div style="text-align:center;"><img src="http://thimg.todayhumor.co.kr/upfile/201507/1436448298Q2VAMb36fj.jpg" width="345" height="529" alt="1-1.jpg" style="border:none;"></div> <div style="text-align:center;"><br></div> <div style="text-align:center;"><iframe width="720" height="438" src="http://serviceapi.nmv.naver.com/flash/convertIframeTag.nhn?vid=CA97388B1EC380C6A6CBD9DA3DC67EB9F2D6&outKey=V126d9d3d05c20fc2bfdfbb9ead3d6b3a7a4afb0d7a0f571725dcbb9ead3d6b3a7a4a" scrolling="no" style="font-size:9pt;line-height:1.5;"></iframe></div> <div style="text-align:center;"><br></div> <div style="text-align:center;"><br></div> <div style="text-align:center;"><img src="http://thimg.todayhumor.co.kr/upfile/201507/1436448298I6Kvhxuc9sju2df6UPLatg.jpg" width="345" height="471" alt="1-2.jpg" style="border:none;"></div> <div style="text-align:center;"><font size="4"><br></font></div> <div style="text-align:center;"><br></div> <div style="text-align:center;"><img src="http://thimg.todayhumor.co.kr/upfile/201507/14364482989jzgZ478Y8mEn9CIprUvU4vYT6juq36V.jpg" width="345" height="455" alt="2-1.jpg" style="border:none;"></div> <div style="text-align:center;">**선풍기를 동작하기기 위해 SSR 릴레이가 추가 되었습니다 **</div> <div style="text-align:center;"><br></div> <div style="text-align:center;"><div><font size="4">*** 쿠도이노 기본 연결하기 ***</font></div> <div><font size="4">기본 연결하기는 전원과 쿠도이노에 </font></div> <div><font size="4">소스코드를 업로드 하기 위한 기본 작업입니다!</font></div> <div><br class="Apple-interchange-newline"><img src="http://thimg.todayhumor.co.kr/upfile/201507/1436282845s6rb8MqlM2no.jpg" width="800" alt="20150707_233236.jpg" class="chimg_photo tcx_image" style="border:none;max-width:800px;height:auto;font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;text-align:left;"></div> <div><br></div></div> <div style="text-align:center;"><font size="4">위에 전선이 몇개 연결되었죠?</font></div> <div style="text-align:center;"><font size="4">11개! 맞습니다</font></div> <div style="text-align:center;"><font size="4">그리고 추가로 10K저항과 콘덴서가 달려있네요!</font></div> <div style="text-align:center;"><font size="4">잘 모르시겠다면 저기 사진 그대로 꼽아 보시면 됩니다!</font></div> <div style="text-align:center;"><br></div> <div style="text-align:center;"><br></div> <div style="text-align:center;"><div style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;"><span style="line-height:27px;"><font size="5">** 블루투스 연결 **</font></span></div> <div style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;"><font size="4">그다음 블루투스를 연결 합니다.</font></div> <div style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;"><font size="4">쿠도이노와 사진처럼 연결해주시고 블루투스 모듈에 전원을 연결해주시면 됩니다!</font></div> <div style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;"><font size="4"><br></font></div> <div style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;"><font size="4"></font> <div><img src="http://thimg.todayhumor.co.kr/upfile/201507/1436282873M2MfSyf2qU7xJWBCZ2KtK.jpg" width="800" alt="20150708_001824.jpg" class="chimg_photo tcx_image" style="border:none;max-width:800px;height:auto;"></div><br></div> <div style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;"><font size="4">위에 보면 딱4줄이 더 추가 되었습니다!</font></div> <div style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;"><font size="4">전선이 연결되었으면</font></div> <div style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;"><font size="4">팍! 하고 블루투스 모듈을 꼽아 주시면 됩니다!</font></div> <div style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;"><br></div> <div style="text-align:center;font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;"><br></div> <div style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;"><span style="text-align:left;line-height:27px;"></span><span style="line-height:21.6000003814697px;text-align:left;"></span><span style="line-height:21.6000003814697px;text-align:left;"></span> <div style="text-align:center;line-height:21.6000003814697px;font-size:large;"><img src="http://thimg.todayhumor.co.kr/upfile/201507/1436282904GzTFybRXsj4CNimABr9VLuDLAC3.jpg" width="800" alt="20150708_001849.jpg" class="chimg_photo tcx_image" style="border:none;max-width:800px;height:auto;"></div> <div><br></div></div></div> <div style="text-align:center;"><font size="4">아직까진 복잡하지 않지요?</font></div> <div style="text-align:center;"><br></div> <div style="text-align:center;"><font size="5">*** FTDI (전원 공급 및 소스코드 업로드) ***</font></div> <div style="text-align:center;"><font size="4">이제 쿠도이노에 소스코드를 업로드하려면 FTDI를 연결해야합니다</font></div> <div style="text-align:center;"><font size="4">역시 점퍼선이 이미 연결 해두었으니 자기 위치에</font></div> <div style="text-align:center;"><font size="4">딱! 하고 연결하시면 됩니다!</font></div> <div style="text-align:center;"><div style="text-align:center;"><img src="http://thimg.todayhumor.co.kr/upfile/201507/1436453603bbkVdipxrjvyOwYylcOpRqqD8hdDhN.jpg" width="800" height="450" alt="20150709_234137.jpg" class="chimg_photo tcx_image" style="border:none;"></div><br></div> <div style="text-align:center;"><br></div> <div style="text-align:center;"><br></div> <div style="text-align:center;"><br></div> <div style="text-align:center;"><font size="5">*** 소스 코드 ***</font></div> <div style="text-align:center;"><font size="4">아래 코드를 아두이노 스케치 프로그램에 복사하고 붙혀놓고</font></div> <div style="text-align:center;"><font size="4">업로드 하면됩니다.</font></div> <div style="text-align:center;"><br></div> <div style="text-align:left;"><div>#include //소프트웨어 시리얼 통신을 위한 라이브러리</div> <div> </div> <div>SoftwareSerial bt(9,10); // 디지털 9에 RX, 디지털 10에 TX 지정합니다.</div> <div> </div> <div>void setup()</div> <div>{</div> <div> Serial.begin(9600); // 컴퓨터와 시리얼 통신을 위해 초기화 및 속도 지정</div> <div> bt.begin(9600); // 블루투스와 시리얼 통신을 위해 초기화 및 속도 지정</div> <div> pinMode(2,OUTPUT); //디지털 2핀에 LED 연결</div> <div>}</div> <div>void loop()</div> <div>{</div> <div> String buff = ""; // 블루투스 문자열 버퍼 선언 및 초기화</div> <div> while(bt.available()) //블루투스에서 입력된 문자열이 있나?</div> <div> {</div> <div> buff += (char)bt.read(); //문자열 버퍼에 값을 추가</div> <div> }</div> <div> if(buff.length() > 0) //문자열 버퍼에 값이 추가 되었나?</div> <div> {</div> <div> if(buff == "*선풍기 켜#") //혹시 *선풍기 켜# 인가?</div> <div> {</div> <div> digitalWrite(2,HIGH); //디지털 2번 핀의 LED를 킨다.</div> <div> Serial.println("fan on");// 컴퓨터에 문자열을 출력</div> <div> }</div> <div> else if(buff == "*선풍기 꺼#") //아니면 *선풍기 꺼#인가?</div> <div> {</div> <div> digitalWrite(2,LOW);//디지털 2번 핀의 LED를 끈다.</div> <div> Serial.println("fan off"); // 컴퓨터에 문자열을 출력</div> <div> }</div> <div> }</div> <div>}</div> <div><br></div> <div><font size="3">아~~~주 심플한 소스코드입니다..</font></div> <div><br></div> <div style="text-align:center;"><font size="5">*** 배터리 연결과 릴레이 연결하기 ***</font></div> <div style="text-align:center;"><font size="4"><span style="line-height:27px;">사용하기 쉽게 배터리와 연결 해보았습니다.</span></font></div> <div> <div style="text-align:left;"><font size="4"><img src="http://thimg.todayhumor.co.kr/upfile/201507/1436453345VEJ4fVaSSAjnqjN66quVC5beh.jpg" width="800" height="450" alt="20150709_232004.jpg" class="chimg_photo tcx_image" style="border:none;"></font></div><font size="4"><br></font></div> <div><font size="4"><br></font></div> <div style="text-align:center;"><font size="5">*** 스마트폰 App 받기 ***</font></div> <div> <div style="text-align:left;"><font size="4"><img src="http://thimg.todayhumor.co.kr/upfile/201507/1436453387ERrZ3gZclRuLpnegREt5j.png" width="800" height="1200" alt="Screenshot_2015-07-09-23-37-13.png" class="chimg_photo tcx_image" style="border:none;"></font></div></div> <div><font size="4">스마트폰 앱은 구글 스토어 있는 아래 앱을 받으시면 됩니다.</font></div> <div><font size="4"><a target="_blank" href="https://play.google.com/store/apps/details?id=robotspace.simplelabs.amr_voice">https://play.google.com/store/apps/details?id=robotspace.simplelabs.amr_voice</a></font></div> <div><font size="4"><br></font></div> <div><font size="4"><br></font></div> <div><font size="4"><br></font></div></div> <div style="text-align:center;"><font size="4"><br></font></div> <div style="text-align:center;"><font size="4"><img src="http://thimg.todayhumor.co.kr/upfile/201507/1436448298zg66SDQRcRI1Ujog1SyQu4CDf5SlBt.jpg" width="345" height="323" alt="3.jpg" style="border:none;"></font></div> <div style="text-align:center;"><font size="4"><br></font></div> <div style="text-align:center;"><font size="4"><br></font></div> <div style="text-align:center;"><font size="4">아마 저대로 잘따라서 하셨다면</font></div> <div style="text-align:center;"><font size="4"><span style="line-height:27px;">동작하는 모습을 보실 수 있을거에요~</span></font></div> <div style="text-align:center;"><br></div> <div style="text-align:center;"><font size="4"><br></font></div> <div style="text-align:center;"><font size="4"><br></font></div> <div style="text-align:center;"><font size="4"><img src="http://thimg.todayhumor.co.kr/upfile/201507/1436448298c2SX69vrIPEYiHtACZP.jpg" width="345" height="235" alt="4-1.jpg" style="border:none;"></font></div> <div style="text-align:center;"><font size="4"><img src="http://thimg.todayhumor.co.kr/upfile/201507/1436448298VgG7KHm51r62KryalVDE.jpg" width="345" height="224" alt="4-2.jpg" style="border:none;"></font></div> <div style="text-align:center;"><font size="4"><br></font></div> <div style="text-align:center;"><font size="4"><br></font></div> <div style="text-align:center;"><font size="4">아..먼가 어색해 어색....</font></div>
댓글 분란 또는 분쟁 때문에 전체 댓글이 블라인드 처리되었습니다.