---
title: "Grove_WizFi360 + SNTP, GPIO CONTROL"
url: "https://maker.wiznet.io/viktor/projects/grove-wizfi360-sntp%2C-gpio-control/"
markdown_url: "https://maker.wiznet.io/viktor/projects/grove-wizfi360-sntp%2C-gpio-control/md"
type: "UCC: User Created Content"
author: "Amal Mathew"
author_url: "https://www.hackster.io/amalmathewtech/grove-wizfi360-sntp-gpio-control-b644f8?f=1"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "Amal Mathew"
original_url: "https://www.hackster.io/amalmathewtech/grove-wizfi360-sntp-gpio-control-b644f8?f=1"
published: "2022-10-19"
language: "en"
hardware: ["WIZnet WizFi360", "Arduino UNO"]
likes: 7
views: 970
comments: 1
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Grove_WizFi360 + SNTP, GPIO CONTROL

> Connecting the Grove_WizFi360, a serial transceiver module featuring WizNet's WizFi360 to PC and trying out some AT Commands.

Original author: Amal Mathew (source: https://www.hackster.io/amalmathewtech/grove-wizfi360-sntp-gpio-control-b644f8?f=1)

## Components

- **WIZnet WizFi360** x 1 ([docs](https://docs.wiznet.io/Product/Modules/Wi-Fi-Module/WizFi360))
- **Arduino UNO** x 1 ([docs](https://www.farnell.com/datasheets/1682209.pdf))

## Article

## **Story**

Grove - UART - WizFi360 is a serial transceiver module featuring the WizNet's WizFi360 WiFi module.With integrated TCP/IP protocol stack, this module lets your micro-controller interact with WiFi networks with only a few lines of code. Each WizFi360 module comes pre-programmed with an AT command set firmware, meaning you can send simple text commands to control the device.

Connectivity is provided via 2.4Ghz wireless connection, WizFi360 is compatible with IEEE802.11 b/g/n standards and supports SoftAP, Station and SoftAP+Station modes.

![](https://hackster.imgix.net/uploads/attachments/1510160/vector_grove_wizfi360_XAXyuJ5FYm.jpg?auto=compress%2Cformat&w=740&h=555&fit=max)

![](https://hackster.imgix.net/uploads/attachments/1510151/20221016_182304_BG6Hnju1lb.jpg?auto=compress%2Cformat&w=740&h=555&fit=max)

1 / 3

### **Gather the Parts:**

- Grove_WizFi360

- Seeed Studio Grove - Universal 4 Pin Buckled 5cm Cable

- Arduino Uno

- Seeed Studio Grove Base Shield V2.0 for Arduino

### **Parts Overview:**About WizFi360

![](https://hackster.imgix.net/uploads/attachments/1510159/image_AYxVZCKBXW.png?auto=compress%2Cformat&w=740&h=555&fit=max)

The WizFi360 wi-fi module is a cost-effective WiFi module that supports both TCP/IP and microcontrollers.

Connectivity is provided via 2.4Ghz wireless connection, WizFi360 is compatible with IEEE802.11 b/g/n standards and supports SoftAP, Station and SoftAP+Station modes.

WizFi360 provides time-to-market savings as a self-contained internet-enabling solution.

![](https://hackster.imgix.net/uploads/attachments/1510158/image_o11A1CNJYK.png?auto=compress%2Cformat&w=740&h=555&fit=max)

**Features :**

WizFi360 is perfect for mobiles wireless applications such as remote monitoring and sensor applications. Ease of integration and programming can vastly reduce development time and minimize system cost. The module has been designed to provide designers with a simple Wi-Fi solution that has following key features:

- WiFi 2.4G, 802.11 b/g/n

- Support Station / SoftAP / SoftAP+Station operation modes

- Support “Data pass-through” and “AT command data transfer” mode

- Support serial AT command configuration

- Support TCP Server / TCP Client / UDP operating mode

- Support configuration of operating channel 0 ~ 13

- Support auto 20MHz / 40MHz bandwidth

- Support WPA_PSK / WPA2_PSK encryption

- Serial port baud rate up from 600bps to 2Mbps with 16 common values

- Support up to 5 TCP / UDP links

- Obtaining IP address automatically from the DHCP server (Station mode)

- DHCP service for Wireless LAN clients (AP mode)

- Support DNS for communication with servers by domain name

- Support “Keep-Alive” to monitor TCP connection

- Support “Ping” for monitoring network status

- Built-in SNTP client for receiving the network time

- Support built-in unique MAC address and user configurable

- Support firmware upgrade by UART Download / OTA (via WLAN)

- Industrial grade (operating temperature range: -40 ° C ~ 85 ° C)

- KC, CE, FCC certification

Pinouts and vector images can be downloaded from my GitHub repo :<https://github.com/tinkererway/pinouts_tw/tree/main/WizNet/WizFi360>

For more information : <https://www.wiznet.io/product-item/wizfi360/>

### **Seeed Studio Grove System:**

[Grove](https://wiki.seeedstudio.com/Grove_System/) is a modular, standardized connector prototyping system. Grove takes a building block approach to assembling electronics. Compared to the jumper or solder based system, it is easier to connect, experiment and build and simplifies the learning system, but not to the point where it becomes dumbed down. Some of the other prototype systems out there takes the level down to building blocks. Good stuff to be learned that way, but the Grove system allows you to build real systems. It requires some learning and expertise to hook things up.

[Seeed Studio](https://www.seeedstudio.com/) is currently running a co-invent campaign and supports the makers of the world with their own Grove Sensor Module Design.

![](https://hackster.imgix.net/uploads/attachments/1510166/image_pOrUJ61ftL.png?auto=compress%2Cformat&w=740&h=555&fit=max)

<https://www.seeedstudio.com/blog/2022/07/15/ignite-your-passion-fire-your-thoughts-develop-your-grove-sensor-with-seeed-fusion-for-a-chance-to-win-over-300usd-cash-prize%EF%BF%BC/>

The Grove Module was part of sponsorship from Seeed Fusion PCBA Service.

Checkout their [Fusion PCBA](https://www.seeedstudio.com/fusion_pcb.html) Service if you are interested.

![](https://hackster.imgix.net/uploads/attachments/1510170/20221007_165049_ci3ZrrvEwb.jpg?auto=compress%2Cformat&w=740&h=555&fit=max)

1 / 4

**In this tutorial I will be showing two examples**

- The Wiznet's WizFi360 module accesses the NTP server and obtains time information.

- GPIO Control

Time From SNTP Server:

> Why to use RTC (Real Time Clock), when we have **Network Time Protocol** (NTP)

### **What is an NTP?**

NTP is an abbreviation for [Network Time Protocol.](http://www.ntp.org/ntpfaq/NTP-s-def.htm) It is a standard Internet Protocol (IP) for synchronizing computer clocks over a network.

This protocol synchronizes all networked devices to **Coordinated Universal Time** (UTC) within a few milliseconds ( 50 milliseconds over the public Internet and under 5 milliseconds in a LAN environment).

WizFi360 UART + AT command Test:

![](https://hackster.imgix.net/uploads/attachments/1510183/20221016_190846_ALLsqjEw1q.jpg?auto=compress%2Cformat&w=740&h=555&fit=max)

You may use any serial console application such as putty, Tera Term etc. instead of Arduino IDE's serial monitor.

![](https://hackster.imgix.net/uploads/attachments/1510178/javaw_doi3rrwz4c_ue2oQMa603.png?auto=compress%2Cformat&w=740&h=555&fit=max)

![](https://hackster.imgix.net/uploads/attachments/1510179/sqgbtbvjvg_C91ZS1thdX.png?auto=compress%2Cformat&w=740&h=555&fit=max)

AT Commands Reference : <https://docs.wiznet.io/img/products/wizfi360/wizfi360ds/wizfi360_atset_v1111k.pdf>

Watch Video:

[Embedded media](https://www.youtube.com/embed/cNs_RZura6A?rel=0)

GPIO Control:

Using AT commands we will be controlling pin number 16(PB10)

Anode of LED is connected to pin number 16 and Cathode of LED is connected to pin number 15(GND)

![](https://hackster.imgix.net/uploads/attachments/1510182/20221016_204558_QwmzkhSYAI.jpg?auto=compress%2Cformat&w=740&h=555&fit=max)

![](https://hackster.imgix.net/uploads/attachments/1510180/javaw_y37r8yuspv_r7Xs0SlcvN.png?auto=compress%2Cformat&w=740&h=555&fit=max)

Watch Video:

[Embedded media](https://www.youtube.com/embed/odWErGWx0sE?rel=0)

This work is licensed under the MIT License. Download Grove_WizFi360 design files from my [git hub repo](https://github.com/amalmathewtech/Grove_WizFi360)

**Thank you, Happy Making !**

---

Source: https://maker.wiznet.io/viktor/projects/grove-wizfi360-sntp%2C-gpio-control/
