Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
2017 SW교육 학생동아리 Lecture 5.
Search
Jinny You
December 13, 2017
Education
81
0
Share
2017 SW교육 학생동아리 Lecture 5.
2017 SW교육 학생동아리에서 진행한 "리눅스 서버를 연동한 드론 소프트웨어 프로그래밍"강의 자료입니다.
Jinny You
December 13, 2017
More Decks by Jinny You
See All by Jinny You
나의 오픈소스 이야기 : 한 줄의 코드에서 글로벌 애니메이션 엔진까지
tinyjin
0
26
Next Gen Lottie: Powering Motion Graphics Across the Apple Ecosystem
tinyjin
0
21
디자이너와 개발자가 자주 겪는 Lottie 핸드오프 FAQ - Figma Config Watch Party Seoul
tinyjin
0
120
인디 앱 개발자와 Flutter
tinyjin
0
540
모던 웹 기술로 C++ 렌더링 엔진 테스트 자동화하기
tinyjin
0
90
그래픽 엔진 포팅 사례로 배우는 웹어셈블리 웹 컴포넌트 개발부터 디버깅, 최적화까지
tinyjin
0
510
韩国的打卡地:你喜欢海边吗?
tinyjin
0
72
LottieFiles로 시작하는 빠르고 효율적인 애니메이션 핸드오프
tinyjin
0
130
エンジニアが見つめるLottieアニメーション
tinyjin
0
150
Other Decks in Education
See All in Education
教育現場から見た Ruby on Rails
yasslab
PRO
0
150
Human-AI Interaction - Lecture 11 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1k
「機械学習と因果推論」入門 ② 回帰分析から因果分析へ
masakat0
0
660
Dashboards - Lecture 11 - Information Visualisation (4019538FNR)
signer
PRO
1
2.7k
アジャイルなマインドセットを「取り戻す」新人研修づくり
chinmo
2
550
AIには考えられないことを考えられる人になるために
iqbocchi
1
120
Gitがない時代 インターネットがない時代の 開発話
sapi_kawahara
0
130
Referendum Costituzionale Giustizia
nostradalmine
0
140
Data Presentation - Lecture 5 - Information Visualisation (4019538FNR)
signer
PRO
1
3.2k
fake vs real
latrrr
0
130
Data Processing and Visualisation Frameworks - Lecture 6 - Information Visualisation (4019538FNR)
signer
PRO
1
3k
プログラミング言語において文字列を複数行にわたって だらだらと記載するアレ
sapi_kawahara
0
120
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Chasing Engaging Ingredients in Design
codingconduct
0
190
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
140
Speed Design
sergeychernyshev
33
1.7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Technical Leadership for Architectural Decision Making
baasie
3
370
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Code Review Best Practice
trishagee
74
20k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
810
Transcript
Lecture 05 2017 SW교육 학생동아리 학습 목표 1. 아두이노와 빵판(Base
Board) 이해하기 2. 아두이노에 LED모듈 끼워보기
프로 아두이노 프로그래밍 하여 다양한 부품을 제어할 수 있는 마이크로
컨트롤러 저렴한 비용 유연성 크로스 플랫폼
프로 원리 이해하기 LED나 모터와 같은 부품들을 아두이노에 연결한 뒤
Arduino IDE 라는 프로그램을 활용해 프로그래밍하여 부품을 작동시키는 원리
https://www.arduino.cc/en/main/software 아두이노 첫걸음 – IDE 설치 아두이노를 프로그래밍 하기 위한
개발툴 Arduino IDE를 설치해보자 다운로드 https://www.arduino.cc/en/main/software
프로 아두이노 IDE 실행하기 메뉴 코드 에디터
프로 아두이노 연결하기 마이크로 5핀(휴대폰 충전기) 규격의 케이블을 활용하여 컴퓨터와
아두이노 연결 아두이노에 연결 컴퓨터에 연결
프로 아두이노 연결 확인 [툴] -> [포트] COM숫자의 형식으로 된
포트 정보 확인
프로 아두이노 핀 이해하기 GND = 전원 공급 핀 숫자
핀 = 모듈 연결 핀
프로 빵판(Bread Board) 이해하기 두줄 구간은 세로로, 다섯 줄 구간은
가로로, 연결되어 있다. 케이블을 서로 연결하려면 같은 라인에 연결해야 한다.
프로 아두이노에 LED 연결하기 [아두이노 LED 회로도] LED의 긴쪽(+) ->
핀에 연결 LED의 짧은쪽(-) -> 330옴 저항에 연결 저항 -> GND(전원 부)에 연결
프로 아두이노 코드 작성하기 아두이노 핀 15번 (LED가 연결된 핀
번호) 예제 1. 1초마다 깜빡이는 LED
프로 아두이노 업로드 하기 확인 버튼(체크표시) 클릭 후 업로드 버튼(화살표)
클릭
프로 코드 해석하기 pinMode(15, OUTPUT); -> 15번 핀을 출력으로 사용
digitalWrite(15, HIGH); -> 15번 핀에 출력 digitalWrite(15, LOW); -> 15번 핀 출력 해제 delay(1000); -> 1초 기다리기
프로 예제 응용하기 LED를 다중으로 연결하여 n초마다 깜박이는 LED만들기 1000
= 1초
감사합니다. 2017 SW교육 학생동아리