SlideShare a Scribd company logo
아두이노와 함께하는
피지컬 컴퓨팅의 이해
부산전자공고 부설 전자계열공동실습소
김기태
아두이노 소개
아두이노 소개
- 2005년 이탈리아의
Massimo Banzi와 David Cuartielles 개발.
- 이탈리아어로 “절친한 친구, 강력한 친구” 의미.
- 소프트웨어나 전자 공학과 관련된 경험이 없는 초보자도 쉽게
사용할 수 있도록 설계.
- 많은 예술가, 디자이너, 취미로 작품을 제작하는 사람 등 창의적인 제품을
만들어내는 Maker 문화를 확산.
- 다양한 S/W와 연결되고 오픈 소스화를 통한 다양한 창의적 제품 제작.
- 가격이 합리적.
- 대부분의 운영체제(윈도우, 리눅스, 맥O/S)에서 동작.
- 외부 하드웨어 입출력 단자에 대한 설명이 명확하며, 컴퓨터에서 스케치
코드의 실행파일을 쉽게 아두이노로 전달.
- 오픈 소스이면서 방대한 라이브러리 통한 소프트웨어 지원 체제.
- 확장성이 높은 하드웨어.
아두이노 특징
아두이노 동작 원리
제어입력 출력
[ 센서 ] [ 아두이노 ] [ 액츄에이터 ]
[ 컴퓨터 ]
아두이노 구성
+
- 공식적인 아두이노 보드
- 각종 쉴드(Shield)
- 센서 및 전자부품
- 아두이노 개발환경 (IDE)
- 각종 라이브러리
6
아두이노 설치 및 동작
1. 아두이노 보드와 USB 케이블 준비
[아두이노 Uno] [A plug to B plug 타입의 USB 케이블]
아두이노 설치 및 동작
2. 아두이노 통합개발환경 다운로드
https://www.arduino.cc/en/Main/Software
Windows Installer 버전 다운
아두이노 설치 및 동작
2. 아두이노 통합개발환경 설치 1
아두이노 설치 및 동작
2. 아두이노 통합개발환경 설치 2
아두이노 설치 및 동작
2. 아두이노 통합개발환경 설치 3
아두이노 설치 및 동작
2. 아두이노 통합개발환경 설치 중
아두이노 설치 및 동작
2. 아두이노 통합개발환경 설치 완료
아두이노 설치 및 동작
3. 컴퓨터와 아두이노 보드 연결하기
- USB 케이블을 이용하여
Arduino보드와 컴퓨터를 연결
- 장치 관리자에서
포트 Arduino Uno(COMxx) 확인
아두이노 설치 및 동작
3. 컴퓨터와 아두이노 보드 연결하기
COM번호는 PC마다
다를 수 있음!
15
아두이노 설치 및 동작
4. 아두이노 하드웨어 및 소프트웨어
16
마이크로 컨트롤러(MCU) ATmega328
사용 전압 5V
입력 전원 7~20V
디지털 입력 / 출력 14개
PWM 출력 6개
아날로그 입력 6개
입력 / 출력 전류 40mA
3.3V 출력 전류 50mA
플래시 메모리 32KB
(0.5KB 부트로더 사용)
SRAM 2KB
EEPROM 1KB
클럭 속도 16MHz
17
리셋
버튼
아날로그 입력 6 개
전원
LED
테스트 LED
UART
TX/RX LED
디지털 입/ 출력 13개
ATmega3285V Ground(접지)
17
아두이노 설치 및 동작
4. 아두이노 하드웨어 및 소프트웨어
컴파일 버튼
– 코드에 오류가 있는지
검사할 때 사용
업로드 버튼 – 코드를 아두이노 보드에 업로드할 때 사용
시리얼 모니터 버튼
코드 윈도우
메시지 윈도우
아두이노 설치 및 동작
5. 동작확인
1. 아두이노 스케치 창에
LED blink 동작 코드 작성
2. 아이콘 클릭하여
업로드
아두이노 설치 및 동작
5. 동작확인
아두이노 보드의 상태 LED인 ‘L'쪽에 LED가 1초 간격으로 깜빡이는지 확인.
아두이노 설치 및 동작
6. 참고내용 (스케치의 기본 구조)
전역 변수
코드 실행 시, 최
초 한번만 실행
무한 반복
setup()
loop()
프로그램 업로드 완료
아두이노 설치 및 동작
6. 참고내용 (부품연결)
- 빨간색 전선은 반드시 + 에 사용.
- 검은색 전선은 반드시 – (GND)에 사용.
- 회로를 구성하거나, 변경할 때에는 반드시 USB연결선을 보드에서 분리.
- (+) 선과 ( - )선을 직접 서로 연결하지 않음.
(-) (+)
아두이노 설치 및 동작
6. 참고내용 (브레드보드)
(-), GND
(+), 5V
(틀린 사용)
(올바른 사용)
23

More Related Content

Viewers also liked

과천 디지털 창작집단 첫 모임 - 메이커 운동 자료 20160422
과천 디지털 창작집단 첫 모임 - 메이커 운동 자료 20160422과천 디지털 창작집단 첫 모임 - 메이커 운동 자료 20160422
과천 디지털 창작집단 첫 모임 - 메이커 운동 자료 20160422
봉조 김
 
Introduction to generative art
Introduction to generative artIntroduction to generative art
Introduction to generative art
Akinori Kinoshita
 
Smau Milano 2016 - Antonio Nicolò Iannaccone
Smau Milano 2016 - Antonio Nicolò IannacconeSmau Milano 2016 - Antonio Nicolò Iannaccone
Smau Milano 2016 - Antonio Nicolò Iannaccone
SMAU
 
Intro computational design_mega2016_1_with_recommendedplugins
Intro computational design_mega2016_1_with_recommendedpluginsIntro computational design_mega2016_1_with_recommendedplugins
Intro computational design_mega2016_1_with_recommendedplugins
Pirouz Nourian
 
Generative Design with Grasshopper®
Generative Design with Grasshopper®Generative Design with Grasshopper®
Generative Design with Grasshopper®
Antonio Turiello
 
Grasshopper alternative
Grasshopper alternativeGrasshopper alternative
Grasshopper alternativeladynoid
 
#아두이노 초급연수
#아두이노 초급연수#아두이노 초급연수
#아두이노 초급연수
gongdigi24
 
Thesis Digital Fabrication - SPIF
Thesis Digital Fabrication - SPIFThesis Digital Fabrication - SPIF
Thesis Digital Fabrication - SPIF
Gert-Willem Van Gompel
 
Interaction design methods
Interaction design methodsInteraction design methods
Interaction design methods
Timo Arnall
 
Incremental sheet forming
Incremental sheet formingIncremental sheet forming
Incremental sheet forming
Gustavo Peláez Lourido
 
Preparing Students for the 4th Industrial Revolution Implications for Scien...
Preparing Students for the 4th Industrial Revolution   Implications for Scien...Preparing Students for the 4th Industrial Revolution   Implications for Scien...
Preparing Students for the 4th Industrial Revolution Implications for Scien...
EduSkills OECD
 
Lesson 1 parametric design 2 final
Lesson 1   parametric design 2 finalLesson 1   parametric design 2 final
Lesson 1 parametric design 2 final
Itai Cohen
 
IoT, Fog Computing and the Blockchain
IoT, Fog Computing and the BlockchainIoT, Fog Computing and the Blockchain
IoT, Fog Computing and the Blockchain
kumar641
 
학교에선 알려주지 않는 오픈소스이야기 - 박치완님
학교에선 알려주지 않는 오픈소스이야기 - 박치완님학교에선 알려주지 않는 오픈소스이야기 - 박치완님
학교에선 알려주지 않는 오픈소스이야기 - 박치완님
NAVER D2
 
Parametric Design
Parametric DesignParametric Design
Parametric Design
Dipesh Pradhan
 
The Fourth Industrial Revolution
The Fourth Industrial RevolutionThe Fourth Industrial Revolution
The Fourth Industrial Revolution
Luca Lamera
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
avikdhupar
 
Arduino
ArduinoArduino
Are you ready for the 4th industrial revolution?
Are you ready for the 4th industrial revolution?Are you ready for the 4th industrial revolution?
Are you ready for the 4th industrial revolution?
Sylvain Kalache
 

Viewers also liked (20)

과천 디지털 창작집단 첫 모임 - 메이커 운동 자료 20160422
과천 디지털 창작집단 첫 모임 - 메이커 운동 자료 20160422과천 디지털 창작집단 첫 모임 - 메이커 운동 자료 20160422
과천 디지털 창작집단 첫 모임 - 메이커 운동 자료 20160422
 
Introduction to generative art
Introduction to generative artIntroduction to generative art
Introduction to generative art
 
Smau Milano 2016 - Antonio Nicolò Iannaccone
Smau Milano 2016 - Antonio Nicolò IannacconeSmau Milano 2016 - Antonio Nicolò Iannaccone
Smau Milano 2016 - Antonio Nicolò Iannaccone
 
Intro computational design_mega2016_1_with_recommendedplugins
Intro computational design_mega2016_1_with_recommendedpluginsIntro computational design_mega2016_1_with_recommendedplugins
Intro computational design_mega2016_1_with_recommendedplugins
 
Live coding
Live codingLive coding
Live coding
 
Generative Design with Grasshopper®
Generative Design with Grasshopper®Generative Design with Grasshopper®
Generative Design with Grasshopper®
 
Grasshopper alternative
Grasshopper alternativeGrasshopper alternative
Grasshopper alternative
 
#아두이노 초급연수
#아두이노 초급연수#아두이노 초급연수
#아두이노 초급연수
 
Thesis Digital Fabrication - SPIF
Thesis Digital Fabrication - SPIFThesis Digital Fabrication - SPIF
Thesis Digital Fabrication - SPIF
 
Interaction design methods
Interaction design methodsInteraction design methods
Interaction design methods
 
Incremental sheet forming
Incremental sheet formingIncremental sheet forming
Incremental sheet forming
 
Preparing Students for the 4th Industrial Revolution Implications for Scien...
Preparing Students for the 4th Industrial Revolution   Implications for Scien...Preparing Students for the 4th Industrial Revolution   Implications for Scien...
Preparing Students for the 4th Industrial Revolution Implications for Scien...
 
Lesson 1 parametric design 2 final
Lesson 1   parametric design 2 finalLesson 1   parametric design 2 final
Lesson 1 parametric design 2 final
 
IoT, Fog Computing and the Blockchain
IoT, Fog Computing and the BlockchainIoT, Fog Computing and the Blockchain
IoT, Fog Computing and the Blockchain
 
학교에선 알려주지 않는 오픈소스이야기 - 박치완님
학교에선 알려주지 않는 오픈소스이야기 - 박치완님학교에선 알려주지 않는 오픈소스이야기 - 박치완님
학교에선 알려주지 않는 오픈소스이야기 - 박치완님
 
Parametric Design
Parametric DesignParametric Design
Parametric Design
 
The Fourth Industrial Revolution
The Fourth Industrial RevolutionThe Fourth Industrial Revolution
The Fourth Industrial Revolution
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
 
Arduino
ArduinoArduino
Arduino
 
Are you ready for the 4th industrial revolution?
Are you ready for the 4th industrial revolution?Are you ready for the 4th industrial revolution?
Are you ready for the 4th industrial revolution?
 

Similar to 학교장리더십(피지컬컴퓨팅)

Softbox review and quickstartguide-20180926
Softbox review and quickstartguide-20180926Softbox review and quickstartguide-20180926
Softbox review and quickstartguide-20180926
봉조 김
 
Arduino 소개, RC카 만들기
Arduino 소개, RC카 만들기Arduino 소개, RC카 만들기
Arduino 소개, RC카 만들기Ji Hun Kim
 
피지컬 컴퓨팅 도구
피지컬 컴퓨팅 도구피지컬 컴퓨팅 도구
피지컬 컴퓨팅 도구
Kisoon Eom
 
[Td 2015]라즈베리파이에 windows 10 io t core 맛있게 발라 먹기(유정현)
[Td 2015]라즈베리파이에 windows 10 io t core 맛있게 발라 먹기(유정현)[Td 2015]라즈베리파이에 windows 10 io t core 맛있게 발라 먹기(유정현)
[Td 2015]라즈베리파이에 windows 10 io t core 맛있게 발라 먹기(유정현)
Sang Don Kim
 
아이씨엔 매거진- June 2013. Industrial Communication Network MAGAZINE
아이씨엔 매거진- June 2013. Industrial Communication Network MAGAZINE아이씨엔 매거진- June 2013. Industrial Communication Network MAGAZINE
아이씨엔 매거진- June 2013. Industrial Communication Network MAGAZINE
SeungMo Oh
 
[1C6]오픈소스 하드웨어 플랫폼과 Node.js로 구현하는 IoT 플랫폼
[1C6]오픈소스 하드웨어 플랫폼과 Node.js로 구현하는 IoT 플랫폼[1C6]오픈소스 하드웨어 플랫폼과 Node.js로 구현하는 IoT 플랫폼
[1C6]오픈소스 하드웨어 플랫폼과 Node.js로 구현하는 IoT 플랫폼
NAVER D2
 
Vr cctv 제작 ver1
Vr cctv 제작 ver1Vr cctv 제작 ver1
Vr cctv 제작 ver1
병재 김
 
Arduino Basic Programming
Arduino Basic ProgrammingArduino Basic Programming
Arduino Basic Programming
SangGyu Kim
 
오픈소스로 쉽게 따라해보는 Unreal과 IoT 연계 및 개발 방법 소개.pdf
오픈소스로 쉽게 따라해보는 Unreal과 IoT 연계 및 개발 방법 소개.pdf오픈소스로 쉽게 따라해보는 Unreal과 IoT 연계 및 개발 방법 소개.pdf
오픈소스로 쉽게 따라해보는 Unreal과 IoT 연계 및 개발 방법 소개.pdf
Tae wook kang
 
[엄마정치 메이커팀] 첫 만남
[엄마정치 메이커팀] 첫 만남[엄마정치 메이커팀] 첫 만남
[엄마정치 메이커팀] 첫 만남
yuna cho
 
Intuitive Understanding of Arduino for IoT
Intuitive Understanding of Arduino for IoTIntuitive Understanding of Arduino for IoT
Intuitive Understanding of Arduino for IoT
영광 송
 
한글시계웍샵_ SW
한글시계웍샵_ SW한글시계웍샵_ SW
한글시계웍샵_ SW
영광 송
 
모바일 스마트 홈 구축
모바일 스마트 홈 구축모바일 스마트 홈 구축
모바일 스마트 홈 구축
Devgear
 
arduino.ppt
arduino.pptarduino.ppt
arduino.ppt
MarkYang62
 
Smart Mirror for Digital Signage
Smart Mirror for Digital SignageSmart Mirror for Digital Signage
Smart Mirror for Digital Signage
주식회사솔루팜
 
ARTIK 710 IoT class
ARTIK 710 IoT class ARTIK 710 IoT class
ARTIK 710 IoT class
정출 김
 
한글시계웍샵_SW
한글시계웍샵_SW한글시계웍샵_SW
한글시계웍샵_SW
영광 송
 
원준갓의 IoT 수업
원준갓의 IoT 수업원준갓의 IoT 수업
원준갓의 IoT 수업
Won Jun Song
 
Start io t_with_raspberrypi
Start io t_with_raspberrypiStart io t_with_raspberrypi
Start io t_with_raspberrypi
Yeonah Ki
 
Maker 오해와 진실
Maker 오해와 진실Maker 오해와 진실
Maker 오해와 진실
유명환 FunFun Yoo
 

Similar to 학교장리더십(피지컬컴퓨팅) (20)

Softbox review and quickstartguide-20180926
Softbox review and quickstartguide-20180926Softbox review and quickstartguide-20180926
Softbox review and quickstartguide-20180926
 
Arduino 소개, RC카 만들기
Arduino 소개, RC카 만들기Arduino 소개, RC카 만들기
Arduino 소개, RC카 만들기
 
피지컬 컴퓨팅 도구
피지컬 컴퓨팅 도구피지컬 컴퓨팅 도구
피지컬 컴퓨팅 도구
 
[Td 2015]라즈베리파이에 windows 10 io t core 맛있게 발라 먹기(유정현)
[Td 2015]라즈베리파이에 windows 10 io t core 맛있게 발라 먹기(유정현)[Td 2015]라즈베리파이에 windows 10 io t core 맛있게 발라 먹기(유정현)
[Td 2015]라즈베리파이에 windows 10 io t core 맛있게 발라 먹기(유정현)
 
아이씨엔 매거진- June 2013. Industrial Communication Network MAGAZINE
아이씨엔 매거진- June 2013. Industrial Communication Network MAGAZINE아이씨엔 매거진- June 2013. Industrial Communication Network MAGAZINE
아이씨엔 매거진- June 2013. Industrial Communication Network MAGAZINE
 
[1C6]오픈소스 하드웨어 플랫폼과 Node.js로 구현하는 IoT 플랫폼
[1C6]오픈소스 하드웨어 플랫폼과 Node.js로 구현하는 IoT 플랫폼[1C6]오픈소스 하드웨어 플랫폼과 Node.js로 구현하는 IoT 플랫폼
[1C6]오픈소스 하드웨어 플랫폼과 Node.js로 구현하는 IoT 플랫폼
 
Vr cctv 제작 ver1
Vr cctv 제작 ver1Vr cctv 제작 ver1
Vr cctv 제작 ver1
 
Arduino Basic Programming
Arduino Basic ProgrammingArduino Basic Programming
Arduino Basic Programming
 
오픈소스로 쉽게 따라해보는 Unreal과 IoT 연계 및 개발 방법 소개.pdf
오픈소스로 쉽게 따라해보는 Unreal과 IoT 연계 및 개발 방법 소개.pdf오픈소스로 쉽게 따라해보는 Unreal과 IoT 연계 및 개발 방법 소개.pdf
오픈소스로 쉽게 따라해보는 Unreal과 IoT 연계 및 개발 방법 소개.pdf
 
[엄마정치 메이커팀] 첫 만남
[엄마정치 메이커팀] 첫 만남[엄마정치 메이커팀] 첫 만남
[엄마정치 메이커팀] 첫 만남
 
Intuitive Understanding of Arduino for IoT
Intuitive Understanding of Arduino for IoTIntuitive Understanding of Arduino for IoT
Intuitive Understanding of Arduino for IoT
 
한글시계웍샵_ SW
한글시계웍샵_ SW한글시계웍샵_ SW
한글시계웍샵_ SW
 
모바일 스마트 홈 구축
모바일 스마트 홈 구축모바일 스마트 홈 구축
모바일 스마트 홈 구축
 
arduino.ppt
arduino.pptarduino.ppt
arduino.ppt
 
Smart Mirror for Digital Signage
Smart Mirror for Digital SignageSmart Mirror for Digital Signage
Smart Mirror for Digital Signage
 
ARTIK 710 IoT class
ARTIK 710 IoT class ARTIK 710 IoT class
ARTIK 710 IoT class
 
한글시계웍샵_SW
한글시계웍샵_SW한글시계웍샵_SW
한글시계웍샵_SW
 
원준갓의 IoT 수업
원준갓의 IoT 수업원준갓의 IoT 수업
원준갓의 IoT 수업
 
Start io t_with_raspberrypi
Start io t_with_raspberrypiStart io t_with_raspberrypi
Start io t_with_raspberrypi
 
Maker 오해와 진실
Maker 오해와 진실Maker 오해와 진실
Maker 오해와 진실
 

학교장리더십(피지컬컴퓨팅)

  • 1. 아두이노와 함께하는 피지컬 컴퓨팅의 이해 부산전자공고 부설 전자계열공동실습소 김기태
  • 3. 아두이노 소개 - 2005년 이탈리아의 Massimo Banzi와 David Cuartielles 개발. - 이탈리아어로 “절친한 친구, 강력한 친구” 의미. - 소프트웨어나 전자 공학과 관련된 경험이 없는 초보자도 쉽게 사용할 수 있도록 설계. - 많은 예술가, 디자이너, 취미로 작품을 제작하는 사람 등 창의적인 제품을 만들어내는 Maker 문화를 확산. - 다양한 S/W와 연결되고 오픈 소스화를 통한 다양한 창의적 제품 제작.
  • 4. - 가격이 합리적. - 대부분의 운영체제(윈도우, 리눅스, 맥O/S)에서 동작. - 외부 하드웨어 입출력 단자에 대한 설명이 명확하며, 컴퓨터에서 스케치 코드의 실행파일을 쉽게 아두이노로 전달. - 오픈 소스이면서 방대한 라이브러리 통한 소프트웨어 지원 체제. - 확장성이 높은 하드웨어. 아두이노 특징
  • 5. 아두이노 동작 원리 제어입력 출력 [ 센서 ] [ 아두이노 ] [ 액츄에이터 ] [ 컴퓨터 ]
  • 6. 아두이노 구성 + - 공식적인 아두이노 보드 - 각종 쉴드(Shield) - 센서 및 전자부품 - 아두이노 개발환경 (IDE) - 각종 라이브러리 6
  • 7. 아두이노 설치 및 동작 1. 아두이노 보드와 USB 케이블 준비 [아두이노 Uno] [A plug to B plug 타입의 USB 케이블]
  • 8. 아두이노 설치 및 동작 2. 아두이노 통합개발환경 다운로드 https://www.arduino.cc/en/Main/Software Windows Installer 버전 다운
  • 9. 아두이노 설치 및 동작 2. 아두이노 통합개발환경 설치 1
  • 10. 아두이노 설치 및 동작 2. 아두이노 통합개발환경 설치 2
  • 11. 아두이노 설치 및 동작 2. 아두이노 통합개발환경 설치 3
  • 12. 아두이노 설치 및 동작 2. 아두이노 통합개발환경 설치 중
  • 13. 아두이노 설치 및 동작 2. 아두이노 통합개발환경 설치 완료
  • 14. 아두이노 설치 및 동작 3. 컴퓨터와 아두이노 보드 연결하기 - USB 케이블을 이용하여 Arduino보드와 컴퓨터를 연결 - 장치 관리자에서 포트 Arduino Uno(COMxx) 확인
  • 15. 아두이노 설치 및 동작 3. 컴퓨터와 아두이노 보드 연결하기 COM번호는 PC마다 다를 수 있음! 15
  • 16. 아두이노 설치 및 동작 4. 아두이노 하드웨어 및 소프트웨어 16 마이크로 컨트롤러(MCU) ATmega328 사용 전압 5V 입력 전원 7~20V 디지털 입력 / 출력 14개 PWM 출력 6개 아날로그 입력 6개 입력 / 출력 전류 40mA 3.3V 출력 전류 50mA 플래시 메모리 32KB (0.5KB 부트로더 사용) SRAM 2KB EEPROM 1KB 클럭 속도 16MHz
  • 17. 17 리셋 버튼 아날로그 입력 6 개 전원 LED 테스트 LED UART TX/RX LED 디지털 입/ 출력 13개 ATmega3285V Ground(접지) 17
  • 18. 아두이노 설치 및 동작 4. 아두이노 하드웨어 및 소프트웨어 컴파일 버튼 – 코드에 오류가 있는지 검사할 때 사용 업로드 버튼 – 코드를 아두이노 보드에 업로드할 때 사용 시리얼 모니터 버튼 코드 윈도우 메시지 윈도우
  • 19. 아두이노 설치 및 동작 5. 동작확인 1. 아두이노 스케치 창에 LED blink 동작 코드 작성 2. 아이콘 클릭하여 업로드
  • 20. 아두이노 설치 및 동작 5. 동작확인 아두이노 보드의 상태 LED인 ‘L'쪽에 LED가 1초 간격으로 깜빡이는지 확인.
  • 21. 아두이노 설치 및 동작 6. 참고내용 (스케치의 기본 구조) 전역 변수 코드 실행 시, 최 초 한번만 실행 무한 반복 setup() loop() 프로그램 업로드 완료
  • 22. 아두이노 설치 및 동작 6. 참고내용 (부품연결) - 빨간색 전선은 반드시 + 에 사용. - 검은색 전선은 반드시 – (GND)에 사용. - 회로를 구성하거나, 변경할 때에는 반드시 USB연결선을 보드에서 분리. - (+) 선과 ( - )선을 직접 서로 연결하지 않음. (-) (+)
  • 23. 아두이노 설치 및 동작 6. 참고내용 (브레드보드) (-), GND (+), 5V (틀린 사용) (올바른 사용) 23