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
0
69
2017 SW교육 학생동아리 Lecture 5.
2017 SW교육 학생동아리에서 진행한 "리눅스 서버를 연동한 드론 소프트웨어 프로그래밍"강의 자료입니다.
Jinny You
December 13, 2017
Tweet
Share
More Decks by Jinny You
See All by Jinny You
인디 앱 개발자와 Flutter
tinyjin
0
280
모던 웹 기술로 C++ 렌더링 엔진 테스트 자동화하기
tinyjin
0
19
그래픽 엔진 포팅 사례로 배우는 웹어셈블리 웹 컴포넌트 개발부터 디버깅, 최적화까지
tinyjin
0
210
韩国的打卡地:你喜欢海边吗?
tinyjin
0
21
LottieFiles로 시작하는 빠르고 효율적인 애니메이션 핸드오프
tinyjin
0
53
エンジニアが見つめるLottieアニメーション
tinyjin
0
75
ThorVG's Lottie Model in Action
tinyjin
0
160
국민대학교 사제동행 세미나
tinyjin
0
280
Cumulus - Application Weakness Monitoring Software
tinyjin
0
37
Other Decks in Education
See All in Education
プログラミング基礎#4(名古屋造形大学)
yusk1450
PRO
0
110
Utiliser Linkedin pour améliorer son personal branding
martine
0
120
Mathematics used in cryptography around us
herumi
2
670
Nodiレクチャー 「CGと数学」講義資料 2024/11/19
masatatsu
1
280
Diseño de estrategia de analítica del aprendizaje en tu centro educativo.
tecuribarri
0
110
XML and Related Technologies - Lecture 7 - Web Technologies (1019888BNR)
signer
PRO
0
2.6k
2024年度秋学期 統計学 第7回 データの関係を知る(2)ー 回帰と決定係数 (2024. 11. 6)
akiraasano
PRO
0
140
The Prison Industrial Complex by Billy Dee
oripsolob
0
210
TP5_-_UV.pdf
bernhardsvt
0
130
Human Perception and Cognition - Lecture 4 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
810
Ch2_-_Partie_2.pdf
bernhardsvt
0
120
Not Your Mother's Librarian for Nerd Nite TC
nerdgirlindustries
0
540
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.2k
Statistics for Hackers
jakevdp
797
220k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
580
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
4
190
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교육 학생동아리