[RE]이더넷 쉴드와 아두이노를 이용해 IoT 스마트 콘센트를 만들다
IoT smart device
0
Components
Hardware componentsProject description
This UXC is about creating a simple externally controllable IOT outlet using an Arduino Mega, an Ethernet shield, and a relay module.
![[RE]이더넷 쉴드와 아두이노를 이용해 IoT 스마트 콘센트를 만들다](/upload/_thumb/1280/ckeditor5/279227998%5F1698961283%2Epng.jpg)
![[RE]이더넷 쉴드와 아두이노를 이용해 IoT 스마트 콘센트를 만들다](/upload/_thumb/1280/ckeditor5/279227998%5F1698961297%2Epng.jpg)
Remove the sheath of the multi-tab wire and connect the 220V line to relay off and on (see circuit below)
![[RE]이더넷 쉴드와 아두이노를 이용해 IoT 스마트 콘센트를 만들다](/upload/_thumb/1280/ckeditor5/279227998%5F1698961351%2Epng.jpg)
Later, the relay module is connected to the mega so that it can be controlled by the Arduino mega.
![[RE]이더넷 쉴드와 아두이노를 이용해 IoT 스마트 콘센트를 만들다](/upload/_thumb/1280/ckeditor5/279227998%5F1698961391%2Epng.jpg)
The code used the web server code.
The author said he was able to check the messages toggled to cereal during the test,
![[RE]이더넷 쉴드와 아두이노를 이용해 IoT 스마트 콘센트를 만들다](/upload/_thumb/1280/ckeditor5/279227998%5F1698961453%2Epng.jpg)
It is said that the relay is actually operating and the power is ON-OFF.
![[RE]이더넷 쉴드와 아두이노를 이용해 IoT 스마트 콘센트를 만들다](/upload/_thumb/1280/ckeditor5/279227998%5F1698961561%2Egif.jpg)
본 UXC는 아두이노 메가와 이더넷 쉴드, 릴레이 모듈을 사용하여 간단하게 외부에서 제어 가능한 IOT 콘센트를 제작한 컨텐츠입니다.
![[RE]이더넷 쉴드와 아두이노를 이용해 IoT 스마트 콘센트를 만들다](/upload/_thumb/1280/ckeditor5/279227998%5F1698961283%2Epng.jpg)
![[RE]이더넷 쉴드와 아두이노를 이용해 IoT 스마트 콘센트를 만들다](/upload/_thumb/1280/ckeditor5/279227998%5F1698961297%2Epng.jpg)
멀티탭의 전선의 피복을 벗겨내 220V 라인을 릴레이로 끄고 켤 수 있게 연결(아래 회로 참)
![[RE]이더넷 쉴드와 아두이노를 이용해 IoT 스마트 콘센트를 만들다](/upload/_thumb/1280/ckeditor5/279227998%5F1698961351%2Epng.jpg)
이후에 아두이노 메가에서 제어 가능하게 릴레이 모듈을 메가에 연결.
![[RE]이더넷 쉴드와 아두이노를 이용해 IoT 스마트 콘센트를 만들다](/upload/_thumb/1280/ckeditor5/279227998%5F1698961391%2Epng.jpg)
코드는 웹서버 코드를 사용하였습니다.
저자가 Test시 시리얼로 토글되는 메시지를 확인할 수 있었다고 하였고,
![[RE]이더넷 쉴드와 아두이노를 이용해 IoT 스마트 콘센트를 만들다](/upload/_thumb/1280/ckeditor5/279227998%5F1698961453%2Epng.jpg)
실제로 릴레이가 동작하여 전원이 ON-OFF 됨을 확인하였다고 합니다.
![[RE]이더넷 쉴드와 아두이노를 이용해 IoT 스마트 콘센트를 만들다](/upload/_thumb/1280/ckeditor5/279227998%5F1698961561%2Egif.jpg)


