Skip to content

아두이노이더넷 쉴드로 기상청 날씨데이타 가져오기

기상청의 공개된 정보를 가져와서 날씨를 표시한다.

WIZnet

Published December 29, 2022

Original author: 아두이노로 놀기Original source (new tab)

아두이노이더넷 쉴드로 기상청 날씨데이타 가져오기

Components

Hardware components

Project description

기상청 날씨누리에서 원하는 지역을 선택한 후 RSS데이타를 가져오면 된다. 지금 아두이노 이더넷 쉴드 W5100을 가지고 있으니, 아두이노 우노와 이더넷 쉴드 W5100을 사용하여 날씨정보를 가져와야 겠다. 먼저 아두이노 IDE의 예제중 Ethernet>WebClientRepeating을 사용한다. /* Repeating Web client This sketch connects to a a web server and makes a request using a Wiznet Ethernet shield. You can use the Arduino Ethernet shield, or the Adafruit Ethernet shield, either one will work, as long as it's got a Wiznet Ethernet module on board. This example uses DNS, by assigning the Ethernet client with a MAC address, IP address, and DNS address. Circuit: * Ethernet shield attached to pins 10, 11, 12, 13…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.