2019년 2월 5일 TJ Bot 만들기 시작
[ Summary ]
- 최소한의 준비물 세팅
라즈베리파이 3 Model B+, 랜선, SD카드 16기가, SD카드 리더기, USB 마이크, 스피커
- 라즈베리 공식 홈페이지에서 SD 카드에 설치할 NOOBS OS 다운로드 (1시간 정도 걸리므로 시간날 때 미리 다운로드 받기.)
TJ Bot에 직접 라즈베리 OS를 깔아서 완전히 처음부터 만들어보려고 한다. 직접 하는 것은 때로 몰라서 어렵고 낯설게 느껴지지만 개발 공부를 하다보면 실전에서 그런 벽을 무수히 만나게 된다. 한번도 배워보지 못했던 라이브러리를 documentation 사이트에서 읽어보고 하나하나 하라는대로 그 과정을 시작해서 완전히 빠져드는 것은 힘들지만 끝나고나면 보람이 있다.
Udacity 강의에 고마운 점은 완전히 모르는 기술 분야에 대해서 documentation을 읽고 고민해보면서 차근차근 문서, 아주 낯선 튜토리얼(보통 documentation 튜토리얼이 응용이 어느 정도 된 상태를 가정해서 설명해서 그대로만 따라하기가 어려운 경우가 많았다.) 을 읽고 또 읽고 또 읽고 하다보면 어느새 그 기술을 이용해서 개발할 수 있는 포인트가 많았는데 지금도 비슷한 기분이 든다. 내게는 아직 낯설지만! 한 번 해보자 ^_^
내가 따라서 만들 tjbot github 주소는 아래와 같다. IBM TJ Bot 공식 깃헙인 것 같다. TJ 는 Thomas John Watson 즉 IBM 창업자의 이름을 따서 TJ 라고 IBM 연구원이 지었다는 얘기를 읽었다. 나름 흥미로웠어서 글에서 언급해보았다.
https://github.com/ibmtjbot/tjbot
위 문서를 따라가다보면 아래와 같은 설명이 나온다. 라즈베리 파이를 사용하려면 먼저 OS를 설치해야한다는 사실을 알고 있어서 다행히도 첫 번째 조건 라즈베리 파이 3 + SD 카드 preloaded with NOOBS 란 NOOBS 라즈베리 OS를 SD 카드에 설치하라는 내용이라는 것을 이해할 수 있었다.
Electronics
There are a number of components you can add to TJBot to bring him to life. Not all of these are required for all recipes.
- Raspberry Pi 3 + SD card preloaded with NOOBS. This is a required component to make TJBot work! 🤖
- NeoPixel RGB LED (8mm). Note that if you are using other kinds of LEDs, you may need to add a resistor; this LED doesn’t require one.
- Female-to-female jumper wires. TJBot will only need 3 of these wires, so you’ll have extra.
- Female-to-male jumper wires. TJBot will only need 3 of these wires, so you’ll have extra.
- USB Microphone. Other brands of USB microphones should also work.
- Mini Bluetooth Speaker. Any small speaker with either a 3.5mm audio jack or Bluetooth will work. Note that if you are using the 3.5mm audio jack, you may wish to add a USB Audio Adapter to avoid audio interference with the LED.
- Servo Motor. Note that the red (middle) wire is 5v, the brown wire is ground, and the orange wire is data.
- Raspberry Pi Camera. Either the 5MP or 8MP camera will work.
하핫, 그런데 다운로드 시간이 거의 1시간 정도 되는 것 같다. 아래 공유한 라즈베리에서 NOOBS os 공식 홈페이지에서 Lite 버전말고 Offline and network install 이라고 되어있는 NOOBS zip 파일을 다운로드 받으려고 하니 꽤 시간이 걸린다. 오늘의 교훈 ! 라즈베리 파이를 사용하려면 OS는 시간 많을 때 미리 다운로드 받아두기~~ 🙂
https://www.raspberrypi.org/downloads/noobs/