R o c k e t ' M a n i a ' H u l k -김진헌: AVR 카테고리 글 목록
http://trivis.cafe24.com/rocket/
공개할 만한 것은 공개합시다.
學問如逆水行舟 不進則退.
학문은 물을 거슬러 오르는 배와 같아 나아가지 않으면 뒤로 물러난다.
2017-12-06T23:35:19+09:00
Textcube 1.10.7 : Tempo primo
리모콘으로 움직이는 자동차
헐크
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>
안드로이드폰으로 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>
AVR Serial ISP 자작기
헐크
http://trivis.cafe24.com/rocket/entry/AVR%EC%9A%A9-Serial-ISP-%EC%9E%90%EC%9E%91%EA%B8%B0-2
2007-03-13T13:48:15+09:00
2007-03-12T15:43:16+09:00
<div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1050556124.jpg" alt="사용자 삽입 이미지" height="769" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1021049447.jpg" alt="사용자 삽입 이미지" height="645" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1167269709.jpg" alt="사용자 삽입 이미지" height="706" width="450" /></div><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1227581727.jpg" alt="사용자 삽입 이미지" height="384" width="450" /></div><p><strong><a href="http://trivis.cafe24.com/rocket/entry/AVR%EC%9A%A9-Serial-ISP-%EC%9E%90%EC%9E%91%EA%B8%B0-2?commentInput=true#entry10WriteComment">댓글 쓰기</a></strong></p>
AVR로 개미로봇 자작하기
헐크
http://trivis.cafe24.com/rocket/entry/AVR%EB%A1%9C-%EA%B0%9C%EB%AF%B8%EB%A1%9C%EB%B4%87-%EC%9E%90%EC%9E%91%ED%95%98%EA%B8%B0
2013-01-28T09:52:06+09:00
2007-01-09T13:44:36+09:00
<p><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1259367120.jpg" alt="사용자 삽입 이미지" height="667" width="450" /></div> </p>
<p><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1393610613.jpg" alt="사용자 삽입 이미지" height="719" width="450" /></div> </p>
<p><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1343185142.jpg" alt="사용자 삽입 이미지" height="719" width="450" /></div> </p>
<p><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1131548339.jpg" alt="사용자 삽입 이미지" height="719" width="450" /></div> </p>
<p><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1076845953.jpg" alt="사용자 삽입 이미지" height="719" width="450" /></div> </p>
<p><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1226799484.jpg" alt="사용자 삽입 이미지" height="719" width="450" /></div> </p>
<p><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1361939499.jpg" alt="사용자 삽입 이미지" height="719" width="450" /></div> </p>
<p><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1289649208.jpg" alt="사용자 삽입 이미지" height="719" width="450" /></div> </p>
<p><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1274893354.jpg" alt="사용자 삽입 이미지" height="719" width="450" /></div> </p>
<p><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1094962920.jpg" alt="사용자 삽입 이미지" height="719" width="450" /></div> </p>
<p><div class="imageblock center" style="text-align: center; clear: both;"><img src="http://trivis.cafe24.com/rocket/attach/1/1101398545.jpg" alt="사용자 삽입 이미지" height="719" width="450" /></div> </p><br>
<p align="center"><object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"><param name="Filename" value="/rocket/attachment/1274087245.avi"/><param name="AutoStart" value="false"/><!--[if !IE]> <--><object type="video/x-msvideo" data="/rocket/attachment/1274087245.avi" width="320" height="240"><param name="AutoStart" value="0"/><embed pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" src="/rocket/attachment/1274087245.avi" width="320" height="240" type="application/x-mplayer2" autostart="0"></embed></object><!--> <![endif]--></object></p>
<p>움직이는거 avi 화일입니다. 미디어플레이로 안보이면 다운해서 곰플레이어로 보세요.<br><div class="imageblock left" style="float: left; margin-right: 10px;"><a class="extensionIcon" href="http://trivis.cafe24.com/rocket/attachment/1282809409.zip"><img src="http://trivis.cafe24.com/rocket/resources/image/extension/zip.gif" alt="" /> 2006-03-04- 038.zip</a></div></p><p><strong><a href="http://trivis.cafe24.com/rocket/entry/AVR%EB%A1%9C-%EA%B0%9C%EB%AF%B8%EB%A1%9C%EB%B4%87-%EC%9E%90%EC%9E%91%ED%95%98%EA%B8%B0?commentInput=true#entry3WriteComment">댓글 쓰기</a></strong></p>