목차

-. W5100, W5500 chip inside Arduino

-. 전기/전자 기초

-. Arduino 소개

-. Arduino IDE 설치하기

-. 프로그래밍 기초

-. Peripheral 이론 및 실습

디지털 입출력, 아날로그 입력 및 아날로그 응용 실습


W5100, W5500 chip inside Arduino

Arduino Board

Arduino Ethernet Shield


전기/전자 기초

참고 자료

• 아두이노를 사용하기 전에 기초가 되는 지식들을 알아보겠습니다.

• 전기의 이해 - http://openstory.tistory.com/4 

• 옴의 법칙과 아날로그 & 디지털 설명 - http://openstory.tistory.com/5 

• 펄스폭변조(PWM) - http://openstory.tistory.com/6 

• 저항의 용도 - http://openstory.tistory.com/7 

• 브레드 보드(Bread board) - http://openstory.tistory.com/8

• 위 자료들은 인터넷 어디에서나 찾아볼 수 있는 기초 지식들입니다. 

• 기초를 확실하게 아시는 것이 아두이노를 시작하는데 많은 도움이 됩니다.


Arduino 소개

WHAT IS ARDUINO?

• Arduino is an open-source electronics platform based on easy-to-use hardware and software. It's intended for anyone making interactive projects.

Arduino IDE 설치하기

개발 환경 구축

Arduino IDE Sketch 설치
 
– 아두이노에서 제공하는 IDE 환경 설치 하기
 


한글 editing이 잘 안 될 때

• 제공된 arduino-core.jar, pde.jar 파일로 대체하면 됩니다.

pde.jar

arduino-core.jar


프로그래밍 기초

아두이노 기본구조

함수/변수


자료형

연산자

조건문

반복문


Peripheral 이론 및 실습

Feature
ATSAMD21G18 MCU with a 32-bit ARM® Cortex™-M0+ 48MHz(Clock Speed), 256KB(Flash Memory), 32K(SRAM) W5500 TCP/IP Embedded Ethernet Controller
Peripheral 실습

제공된 예제파일을 참고 바랍니다.


• LED_control_example
 
• SW_control_example
 
• interrupt_example

* LED는 긴 쪽을 (+)단자로, 짧은 쪽을 (-) 단자로 방향을 주의해서 연결해주세요.


Quiz

• delay를 사용하지 않고 1초에 한번 LED Toggle 시키기

Quiz_LED_control_example.zip


Peripheral 실습(2)

• potentialmeter_example

* LED는 긴 쪽을 (+)단자로짧은 쪽을 (-) 단자로 방향을 주의해서 연결해주세요.



+ Recent posts