---
title: "WIZ550io+ATMega328で IoT製作、MQTTも"
url: "https://maker.wiznet.io/WIZnet/projects/wiz550io-atmega328%E3%81%A7-iot%E8%A3%BD%E4%BD%9C%E3%80%81mqtt%E3%82%82/"
markdown_url: "https://maker.wiznet.io/WIZnet/projects/wiz550io-atmega328%E3%81%A7-iot%E8%A3%BD%E4%BD%9C%E3%80%81mqtt%E3%82%82/md"
type: "UCC: User Created Content"
author: "Knakashima"
author_url: "http://knaka0209.blogspot.kr/2015/10/wiz550io-1.html"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "Knakashima"
original_url: "http://knaka0209.blogspot.kr/2015/10/wiz550io-1.html"
published: "2023-04-26"
language: "en"
hardware: ["WIZnet WIZ550io"]
likes: 1
views: 244
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# WIZ550io+ATMega328で IoT製作、MQTTも

> IoT produced in WIZ550io + ATMega328, also MQTT

Original author: Knakashima (source: http://knaka0209.blogspot.kr/2015/10/wiz550io-1.html)

## Components

- **WIZnet WIZ550io** x 1 ([docs](https://docs.wiznet.io/Product/ioModule/wiz550io))

## Documents and links

- [Source code](https://gist.github.com/kuc-arc-f/16a716a241e1a193a521#file-mqtt-arduino_sensor_3-ino) (code)

## Article

### **IoT produced in WIZ550io + ATMega328, also MQTT**

### **#1 Overview : **

### **With MQTT, Author controlled LED at the first as a test. Then sensing CDS to monitor on the web with sending the value to the MQTT server. Installed module the WIZ550io in SPI communication with 100BaseTX.**

### **#2 Parts :**

### **WIZ550io v1.1 **

### **ATmega328P-PU**

### **Step-down regulator 3.3**

### **470uF capacitor **

### **Micro USB**

### **#3 Wired :**

![](http://2.bp.blogspot.com/-n2tcl8GdX6g/ViiwoHrtJdI/AAAAAAAACOk/4NK0usjrQ0Y/s320/wiz550-1_ins_w800.png)

**[WIZ550io] to [ATmega328] MOSI ——— D11 MISO ——— D12 SCLK ——— D13 SCSn ——— D10 3.3V ——— 3.3V GND ——— GND**

This information is for SPI communication .

![](http://1.bp.blogspot.com/-I7nErjXn5hQ/ViX5gxbVu_I/AAAAAAAACNk/1v6gD_jkvyw/s320/Screenshot_2015-10-20-13-33-48.png)

User can refer this posting (<http://knaka0209.blogspot.jp/2015/10/mqtt-2.html>) how to build LED control with MQTT

This below picture is the hardware for sensing the illumination with CDS.

![](http://3.bp.blogspot.com/-DKYDK3x87w8/VirPg4f0VmI/AAAAAAAACO8/awWQLtFtZ_Y/s320/IMGP4742.JPG)![](http://4.bp.blogspot.com/-ggEvLPtpoB4/Vi2j5tbASfI/AAAAAAAACQE/OiytK1Ot004/s320/Screenshot_2015-10-26-11-57-20.png)

**#4 Summary**

The Author says UNO will be easier than this. In the project, one thing realizing is switch response of the via MQTT is fast and also can control or sensing multiple things.

**#5 Reference article**

arduino-mqtt – lib

<http://knolleary.net/arduino-client-for-mqtt/>

paho-mqtt javascript

<http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.javascript.git/>

**#6 Related Articles**
MQTT Preparation. Arduino EtherNet, PAHO-MQTT (over WebSocket)[Http://Knaka0209.Blogspot.Jp/2015/10/mqtt-1.Html](http://knaka0209.blogspot.jp/2015/10/mqtt-1.html)MQTT use of knitting. IoT type switch Arduino EtherNet

<http://knaka0209.blogspot.jp/2015/10/mqtt-2.html>

To ATmega328P-PU, and writes the sketch (ARDUINO as ISP)

<http://knaka0209.blogspot.jp/2015/10/ATmega328-1.html>

Author : Knakashima

Blog : http://knaka0209.blogspot.kr/2015/10/wiz550io-1.html

Code : https://gist.github.com/kuc-arc-f/16a716a241e1a193a521#file-mqtt-arduino_sensor_3-ino

TAG: WIZ550io, ATMega328, MQTT

---

Source: https://maker.wiznet.io/WIZnet/projects/wiz550io-atmega328%E3%81%A7-iot%E8%A3%BD%E4%BD%9C%E3%80%81mqtt%E3%82%82/
