R o c k e t ' M a n i a ' H u l k -김진헌
http://trivis.cafe24.com/rocket/
공개할 만한 것은 공개합시다.
學問如逆水行舟 不進則退.
학문은 물을 거슬러 오르는 배와 같아 나아가지 않으면 뒤로 물러난다.
2018-07-21T06:19:22+09:00
Textcube 1.10.7 : Tempo primo
[자동 저장 문서]
헐크
http://trivis.cafe24.com/rocket/entry/%EC%9E%90%EB%8F%99-%EC%A0%80%EC%9E%A5-%EB%AC%B8%EC%84%9C
2018-07-20T09:50:56+09:00
2018-03-26T15:59:27+09:00
<p class="MsoNormal" style="text-align: center;" align="center"><strong style="mso-bidi-font-weight: normal;"><span style="font-size: 14.0pt; line-height: 115%;"><span style="font-size: 10pt;">아두이노와 <span lang="EN-US"><span style="mso-spacerun: yes;"> </span>CNC Shield</span>를 사용한 <span lang="EN-US">Plotter </span>및 <span lang="EN-US">EggBot </span>제작기 </span></span></strong>By hulk</p>
<div class="MsoNormal" style="text-align: justify;" align="right"><span style="color: #000000; font-family: helvetica,arial,sans-serif; font-size: 9pt;">아두이노에는 다양한 쉴드(Shield)가 판매되고 있는데 이번에 도전할 대상은 CNC 쉴드이다. CNC 쉴드를 구동하는 라이브러리가 있는데 Grbl이라는 것이다. Grbl은 현재 ver 1.1 까지 나와있다. 이 Grbl 라이브러리 개발자에 한국계인 사람이 있는것 같다. Sungeun K. Jeon라는 분인데 유트브에서 이 분을 인터뷰 하는 것을 찾아 보기도 했다. Grbl이 저가형 3D 프린터의 원형인 Prusa 모델의 구동 라이브러리로 소개되어 있어 그 역사와 인지도는 아주 높다고 할 수 있다. 또한 안정성도 어느 정도 인정할 만 하다. DIY용 CNC 머신이나 Laser Engraver 에는 다 이것을 사용한다고 보면 된다.</span><br /><br /><span style="color: #000000; font-family: helvetica,arial,sans-serif; font-size: 9pt;">그럼 이번 도전의 핵심인 CNC 쉴드를 살펴 보자. <span style="font-family: helvetica,arial,sans-serif;"><span style="color: #000000; font-size: 9pt;"><span lang="EN-US">4</span>개의 모터 드라이버 칩을 장착할 수 있도록 지원한다<span lang="EN-US">. </span>노란색은 <span lang="EN-US">X, Y, Z </span>축을 빨간색은 <span lang="EN-US">Z</span>축과 동기화하여 사용가능 하며 점퍼로 사용여부를 설정 할 수 있다<span lang="EN-US">. </span>모터 드라이버 칩으로는 <span lang="EN-US"><a style="color: #000000;" href="https://www.pololu.com/product/1182">Pololu A4988</a></span><span lang="EN-US"> </span>과 <span lang="EN-US"><a style="color: #000000;" href="http://www.ti.com/lit/ds/symlink/drv8825.pdf">DRV8825</a></span><span lang="EN-US"> </span>가 많이 사용되고 있다<span lang="EN-US">. </span>열이 나는 부품이라 방열판이 추가로 제공 되고 있는 경우가 </span><span style="color: #333333; font-size: 9pt;"><span style="color: #000000;">대부분이다</span><span lang="EN-US"><span style="color: #000000; font-size: 9pt;">.</span></span></span></span></span><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/4467654509.png" alt="사용자 삽입 이미지" height="695" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/9864237254.png" alt="사용자 삽입 이미지" height="744" width="450" /></div><br />
<p class="MsoListParagraph" style="margin-left: 56.0pt; mso-para-margin-left: 0gd; text-indent: -18.0pt; mso-list: l0 level1 lfo1;">펌웨어 업로드</p>
<p class="MsoListParagraph" style="margin-left: 38.0pt; mso-para-margin-left: 0gd;"><span lang="EN-US">Grbl version 1.1</span>을 사용하는 <span lang="EN-US"><a href="https://github.com/cprezzi/grbl-servo">https://github.com/cprezzi/grbl-servo</a> </span>는 <span lang="EN-US"><a href="https://github.com/gnea/grbl">https://github.com/gnea/grbl</a> </span>의 스페셜 버전이다<span lang="EN-US">.</span></p>
<p class="MsoListParagraph" style="margin-left: 38.0pt; mso-para-margin-left: 0gd;">이 버전에서는<span lang="EN-US"> CNC</span>의<span lang="EN-US"> spindle </span>대신 <span lang="EN-US">RC Servo</span>를 사용할 수 있는 버전이다<span lang="EN-US">. $M03 $M05 </span>명령어 이후 <span lang="EN-US">S0~ S255 </span>값으로 서보 모터의 위치를 조절 할 수 있다<span lang="EN-US">. $30 = 255</span>로 <span lang="EN-US">S-</span>값의 최대치를 설정 할 수 있다<span lang="EN-US">.<span style="mso-spacerun: yes;"> </span>PWM </span>신호 폭을 <span lang="EN-US">0.5ms</span>에서 <span lang="EN-US">2.5ms</span>로 조절 가능한데 사용하는 서보의 특성을 보고<span lang="EN-US"> cpu_map.h </span>파일에서 수정하면 된다<span lang="EN-US">.<br /></span><span lang="EN-US">MG90S </span>모델의 경우 그 값은 아래와 같다<span lang="EN-US">.<br /></span><br />#ifdef SPINDLE_IS_SERVO</p>
<p class="MsoListParagraph"> #define SPINDLE_PWM_MAX_VALUE 38 // 2.5ms</p>
<p class="MsoListParagraph"> #ifndef SPINDLE_PWM_MIN_VALUE</p>
<p class="MsoListParagraph"> #define SPINDLE_PWM_MIN_VALUE 7 // 0.5ms</p>
<p class="MsoListParagraph"> #endif</p>
<p class="MsoListParagraph"> #else<br /><br />이것으로 그림을 그리게 하기 위해서는 먼저 Inkscape라는 프로그램을 이용해서 도안을 그려야 한다. 그림을 읽어서 하는 방법을 설명해 본다. 비트맵 따오기를 한 후 객체를 경로를 한 후 CNC Eggbot Tool를 사용하여 G-code로 변환한다. M03 변수를 서보 동작에 사용하므로 M03 S0과 M03 S150 이라는 G-Code를 생성하도록 하여 그림의 선과 선을 이동할 때 펜을 들어서 움직이고 내려서 그리게 된다.<br /><br /><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/6134283243.png" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/3271037654.png" alt="사용자 삽입 이미지" height="311" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/5238200327.png" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/4990093676.png" alt="사용자 삽입 이미지" height="450" width="296" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1519942332.png" alt="사용자 삽입 이미지" height="634" width="450" /></div>Eggbot에는 Gbrl 대신 <a href="https://github.com/plex3r/EggDuino">Eggduino</a>라는 펌웨어 프로그램을 다운로드 하고, Inkscape의 확장 툴인 Eggbot Tool을 사용하여 직접 G-Code를 전송할 수 있는데, 시리얼 접속시 아두이노가 리셋되는 것을 막아야 파이선에서 시리얼 포트를 빠르게 찾게 된다. 리셋이 안되게 하는 방법은 Reset 핀과 GND 사이에 100uF 정도의 전해 콘덴서를 꽂아 주면 잘 작동 하였다. <br />그외 필요한 화일은 <br />- Eggbot software 2.5: https://github.com/evil-mad/EggBot/ 에서 Eggbot extension을 <br />- Plotink: https://github.com/plex3r/plotink 에서는 모션과 시리얼<br />- https://pypi.org/project/pyserial/#files 에서는 pyserial을 받아서 <br />C:\각자의 설치 경로\inkscape-0.92.2-x64\inkscape\share\extensions과 <br />G:\각자의 설치 경로\inkscape-0.92.2-x64\inkscape\share\extensions\serial에 복사해 준다.</p>
<p class="MsoListParagraph">USB로 연결된 아두이노 우노가 Inkscape에서 잘 인식이 되어야 하는데 필자도 어려움을 겪어 포기할뻔 했다. 끈질긴 검색의 결과 성공했다 ^.^. eggbot_scanwin32.py에 보면 아래와 같이 USB 인식 ID가 있다. 그 부분을 다음과 같이 수정하면 된다. CH340 칩을 사용하는 경우이므로 다른 칩을 사용하는 UNO 보드일 경우 상황에 맞게 시스템 정보창에서 VID와 PID 값을 찾아 수정하면 될것이다.<br /><br />오리지널 hKey = _winreg.OpenKey( hReg, r"SYSTEM\CurrentControlSet\Enum\USB\VID_04D8&PID_FD92" )</p>
<p class="MsoListParagraph">수정 후 (CH340일 경우) hKey = _winreg.OpenKey( hReg, r"SYSTEM\CurrentControlSet\Enum\USB\VID_1A86&PID_7523" )</p>
<div></div>
<p class="MsoListParagraph">멋진 그림들을 많이 그려보자. 계란에도 멋진 그림을 넣어 보자. <br /><br /></p>
</div><p><strong><a href="http://trivis.cafe24.com/rocket/entry/%EC%9E%90%EB%8F%99-%EC%A0%80%EC%9E%A5-%EB%AC%B8%EC%84%9C?commentInput=true#entry25WriteComment">댓글 쓰기</a></strong></p>
리모콘으로 움직이는 자동차
헐크
http://trivis.cafe24.com/rocket/entry/%EB%A6%AC%EB%AA%A8%EC%BD%98%EC%9C%BC%EB%A1%9C-%EC%9B%80%EC%A7%81%EC%9D%B4%EB%8A%94-%EC%9E%90%EB%8F%99%EC%B0%A8
2017-12-05T17:16:37+09:00
2017-12-05T17:16:37+09:00
중국산 AVR 키트 하나 산거 조립을 해서 굴려 보았다.<br /><br />가격이 의외로 싼건 아니었는데 그래도 조립하면서 만드는 재미가 그런데로 좋았다.<br />부품이 모두 준비된 상태로 조립을 시작해서 마지막 굴리기 까지가 단번에 끝나니 조립식 장난감 만드는 느낌이었다.<br /><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/3897080095.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/7869591133.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/5467536788.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1270464414.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div>마지막 사진은 리모컨만 하니 재미가 없어서 BlueTooth 모듈을 더 연결해 보았다.<br />물론 프로그램을 다시 다 짜야 했지만. 중국 제조사에 소스가 올려진 것은 아니라서.<br />리모컨 부분은 아두이노 라이브러리를 찾아서 추가 하여서 해결 하였고, BlueTooth는 그냥 시리얼 통신이니까 그냥 코드 좀 추가 해서 해결.<br />조종은 구글앱을 찾아서 f, b, r, l, s 등 문자열을 날리는 걸로 찾아서 방향은 아두이노에서 앱과 문자열을 기준삼아 코딩하면 OK.<div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1074789844.jpg" alt="사용자 삽입 이미지" height="375" width="383" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/7982506550.jpg" alt="사용자 삽입 이미지" height="254" width="450" /></div><p><strong><a href="http://trivis.cafe24.com/rocket/entry/%EB%A6%AC%EB%AA%A8%EC%BD%98%EC%9C%BC%EB%A1%9C-%EC%9B%80%EC%A7%81%EC%9D%B4%EB%8A%94-%EC%9E%90%EB%8F%99%EC%B0%A8?commentInput=true#entry24WriteComment">댓글 쓰기</a></strong></p>
라큐블록 만들기
헐크
http://trivis.cafe24.com/rocket/entry/%EB%9D%BC%ED%81%90%EB%B8%94%EB%A1%9D-%EB%A7%8C%EB%93%A4%EA%B8%B0
2017-12-05T16:40:08+09:00
2017-12-05T16:39:51+09:00
오래전에 만들었던 La-Q 블록 만든거 올려 봅니다.<br />의외로 레고만 만들었는데 이거 만들어 보니 정말 재미있었네요.<br />일본 여행가서 예제 책이랑 부품만 따로 더 파는거 더 사니 더 다양한걸 만들수 있었네요.<br /><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/6879927601.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/6300107839.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/3002981625.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/6619359435.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/5827614275.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/9719026481.jpg" alt="사용자 삽입 이미지" height="297" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/9958051919.jpg" alt="사용자 삽입 이미지" height="515" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1006134203.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/5931182717.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/6527757052.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/6903900556.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/9810835855.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/6150354289.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/4602494290.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/6828299620.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1898352935.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/4257786150.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/6720718069.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/3318523030.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/4083412292.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><p><strong><a href="http://trivis.cafe24.com/rocket/entry/%EB%9D%BC%ED%81%90%EB%B8%94%EB%A1%9D-%EB%A7%8C%EB%93%A4%EA%B8%B0?commentInput=true#entry23WriteComment">댓글 쓰기</a></strong></p>
안드로이드폰으로 AVR 제어
헐크
http://trivis.cafe24.com/rocket/entry/AVRBluetoothAndroid
2013-01-28T09:38:01+09:00
2013-01-25T16:18:05+09:00
<p class="MsoNormal">안드로이드 폰을 이용한 구글 <span lang="EN-US">ADK </span>같은 장치를 만들고 싶어서 모듈을
좀 샀다<span lang="EN-US">.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:10.0pt;text-indent:-10.0pt;mso-char-indent-count:
-1.0"><span lang="EN-US">ADK</span>용은 아두이노랑 호환 되게 만들었는데 개인적으로 아두이노 써본 적이 없어서 그냥 <span lang="EN-US">AVR 128</span>에 맘데로 만들려고 한다<span lang="EN-US">.</span></p><p class="MsoNormal" style="margin-left:10.0pt;text-indent:-10.0pt;mso-char-indent-count:
-1.0"><span lang="EN-US" style="text-indent: -10pt; line-height: 1.7;">Bluetooth </span><span style="text-indent: -10pt; line-height: 1.7;">모듈은 시중에 저렴하게 나오는 </span><span lang="EN-US" style="text-indent: -10pt; line-height: 1.7;">HC-06</span><span style="text-indent: -10pt; line-height: 1.7;">으로
구매했다</span><span lang="EN-US" style="text-indent: -10pt; line-height: 1.7;">.</span></p>
<p class="MsoNormal" style="margin-left:10.0pt;text-indent:-10.0pt;mso-char-indent-count:
-1.0">그리고<span lang="EN-US"> AVR</span>도<span lang="EN-US"> 128</span>로 구매했다<span lang="EN-US">. </span>예전에 개미로봇 만들었던 소스를 그대로 참조하여<span lang="EN-US"> 128</span>로 바꾸었다<span lang="EN-US">. </span>통신 쪽 레지스터와 몇몇 정의들만 바꾸니 그대로 컴파일 되었다<span lang="EN-US">.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:10.0pt;text-indent:-10.0pt;mso-char-indent-count:
-1.0">최근<span lang="EN-US"> ATMEL</span>에서<span lang="EN-US"> STUDIO6</span>가 나와서 좀
써 보려 했는데<span lang="EN-US">. </span>컴파일은 잘 되는데 <span lang="EN-US">ISP</span>가 인식이 안되서
할 수 없이 버전 <span lang="EN-US">4</span>에서 다운로드 했다<span lang="EN-US">.<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:10.0pt;text-indent:-10.0pt;mso-char-indent-count:
-1.0"><span lang="EN-US"><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/4618274970.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div></span></p><p class="MsoNormal" style="margin-left:10.0pt;text-indent:-10.0pt;mso-char-indent-count:
-1.0">준비된 하드웨어 출력 단에<span lang="EN-US"> LED </span>하나 달아서 <span lang="EN-US">On /
OFF</span>를 해 보았다<span lang="EN-US">.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:10.0pt;text-indent:-10.0pt;mso-char-indent-count:
-1.0">급히 사다가 케이블이<span lang="EN-US"> ISP 6</span>핀 짜리 인 것을 간과해서 부득이<span lang="EN-US"> 8</span>핀을<span lang="EN-US"> 6</span>핀으로 바꾸는 케이블을 만들 수 밖에 없었다<span lang="EN-US">.<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:10.0pt;text-indent:-10.0pt;mso-char-indent-count:
-1.0"><span lang="EN-US"><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/3879023531.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div></span></p><p class="MsoNormal" style="margin-left:10.0pt;text-indent:-10.0pt;mso-char-indent-count:
-1.0">개미로봇 만들 때 시리얼로 문자를 전송 받으면 전진 후진 좌우로 가게 했었는데 시리얼만<span lang="EN-US">
Bluetooth</span>로 변한 거라 프로그램은 <span lang="EN-US">LED </span>동작 하는 부분으로만 바꾸면<span lang="EN-US"> OK.<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:10.0pt;text-indent:-10.0pt;mso-char-indent-count:
-1.0"><span lang="EN-US"><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1924958270.jpg" alt="사용자 삽입 이미지" height="374" width="325" /></div></span></p><p class="MsoNormal">노트북에 있는<span lang="EN-US"> Bluetooth</span>를 이용해서 접속하면<span lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/5244316631.jpg" alt="사용자 삽입 이미지" height="387" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/8056578581.jpg" alt="사용자 삽입 이미지" height="387" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/6062558078.jpg" alt="사용자 삽입 이미지" height="387" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/8201514109.jpg" alt="사용자 삽입 이미지" height="387" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/8546979294.jpg" alt="사용자 삽입 이미지" height="387" width="450" /></div></p><p class="MsoNormal">작동을 잘 하는 것이 확인 되었다<span lang="EN-US">. <o:p></o:p></span></p>
<p class="MsoNormal">이제 안드로이드로 넘어 가보자<span lang="EN-US">.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Mobot BTCar</span>라는 제작자가 만들어 올린 무료 프로그램을 받으면
똑 같은 것을 테스트해 볼 수 있다<span lang="EN-US">. </span>단지 안드로이드 폰의<span lang="EN-US">
Bluetooth</span>를 사용해서 키트에 접속한다는 차이 뿐<span lang="EN-US">.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Bluetooth Chat</span>이라는 프로그램이 있다<span lang="EN-US">. </span>이것은 구글<span lang="EN-US"> sdk</span>에서 주는<span lang="EN-US">
sample</span>인데 이것을 컴파일해서<span lang="EN-US"> pkg</span>로 만들어 인스톨 하면 된다<span lang="EN-US">. Uuid</span>를 바꾸어 컴파일 하면 된다고 구글링 하면 나온다<span lang="EN-US">. </span>한가지
시행착오를 겪은 건 <span lang="EN-US">pkg </span>파일을 컴파일만 한 것을 넣어 설치하면 안되고<span lang="EN-US">(</span>연결이 안됨<span lang="EN-US">) </span>꼭 배포용<span lang="EN-US"> pkg </span>로
암호 설정해서 만들어야 안드로이드 폰에서 정상 작동 하였다<span lang="EN-US">. <o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/3229244890.jpg" alt="사용자 삽입 이미지" height="800" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/5257525337.jpg" alt="사용자 삽입 이미지" height="800" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/2439143320.jpg" alt="사용자 삽입 이미지" height="800" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1919297664.jpg" alt="사용자 삽입 이미지" height="800" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/6885666891.jpg" alt="사용자 삽입 이미지" height="800" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/4470616405.jpg" alt="사용자 삽입 이미지" height="800" width="450" /></div></span></p><p class="MsoNormal">소정의 목표는 달성 했다<span lang="EN-US">.<o:p></o:p></span></p>
<p class="MsoNormal">이것을 응용하는 것은 고민해 보자<span lang="EN-US">.<o:p></o:p></span></p><p><strong><a href="http://trivis.cafe24.com/rocket/entry/AVRBluetoothAndroid?commentInput=true#entry22WriteComment">댓글 쓰기</a></strong></p>
영공방 시리즈 만들기(사는데로 계속 ~~~)
헐크
http://trivis.cafe24.com/rocket/entry/young
2013-01-30T15:32:49+09:00
2013-01-25T15:03:23+09:00
<div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/5490333708.jpg" alt="사용자 삽입 이미지" height="768" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/8328397561.jpg" alt="사용자 삽입 이미지" height="693" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1157528318.jpg" alt="사용자 삽입 이미지" height="680" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/4664678104.jpg" alt="사용자 삽입 이미지" height="642" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/6520986243.jpg" alt="사용자 삽입 이미지" height="698" width="436" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/8522684847.jpg" alt="사용자 삽입 이미지" height="713" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/2600162014.jpg" alt="사용자 삽입 이미지" height="709" width="427" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/2022641958.jpg" alt="사용자 삽입 이미지" height="690" width="408" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/3925686135.jpg" alt="사용자 삽입 이미지" height="702" width="417" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/4778870743.jpg" alt="사용자 삽입 이미지" height="731" width="416" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/6918936873.jpg" alt="사용자 삽입 이미지" height="836" width="414" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/4674495777.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/8847925120.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/2056026286.jpg" alt="사용자 삽입 이미지" height="673" width="414" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/7648140212.jpg" alt="사용자 삽입 이미지" height="744" width="325" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/3009648947.jpg" alt="사용자 삽입 이미지" height="674" width="402" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/9804791920.jpg" alt="사용자 삽입 이미지" height="673" width="428" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1467799732.jpg" alt="사용자 삽입 이미지" height="829" width="359" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/6875000580.jpg" alt="사용자 삽입 이미지" height="725" width="317" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1231585086.jpg" alt="사용자 삽입 이미지" height="768" width="335" /></div><br>산타가 주고 간 선물로 전원주택을 만들어 보았다.<br>크기가 제법 있는 모델이라 완성 후 볼만 한 것 같다.<br><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/3036628973.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/9886252372.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/6366344744.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/5791678851.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/3577438267.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><br>지붕 까지 붙이니 나름 분위기가 나는듯.<br><br><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/9839052635.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/4200047942.jpg" alt="사용자 삽입 이미지" height="337" width="450" /></div><br>LED 조명 설치 하고 난 후. 전원 주택이 약간 귀곡산장 분위기(?)가 나네요. ㅋㅋ<p><strong><a href="http://trivis.cafe24.com/rocket/entry/young?commentInput=true#entry21WriteComment">댓글 쓰기</a></strong></p>