Mikroe Go to Cloud click Manuale utente

U S ER M ANU A L
Go to Cloud
(G2C) click
The WiFi IoT gateway Click board™which
connects your IoT devices with the Click
Cloud service provided by MikroElektronika.
Simple and reliable.

Page 2
Nebojsa Matic
General Manager
I want to express my thanks to you for being interested in our products
and for having confidence in MikroElektronika.
The primary aim of our company is to design and produce high quality
electronic products and to constantly improve the performance thereof in
order to better suit your needs.
To our valued customers

Table of Contents
Introduction to Go to Cloud (G2C) click 4
mikroBUS™pins 7
Onboard indicators and LED indicators 8
Pins description 8
UART interface – configuration 9
Boot-up sequence 10
Firmware update 12

Page 4
Introduction to Go to Cloud (G2C) click
Go to Cloud (G2C) click is composed of two main components:
∫MK64FN1M0VDC12, a 32-bit ARM® Cortex® M4 microcontroller, from NXP
∫ESP WROOM-02, a Wi-Fi connector module, from Espressif systems
The ESP-WROOM-02 is used as the connector module which can establish a link with the Click cloud service over the Internet.
It is an all-in-one solution, with the complete Wi-Fi stack on-board, which allows a very simple operation. This feature, along
with the proven reliability, small form-factor, and low count of components it requires, makes the ESP WROOM-02 module
an ideal solution for using it on the Go to Cloud (G2C) click.
The ESP-WROOM-02 module uses the UART communication interface, and it can be controlled by using simple AT
commands. However, the MK64FN1M0VDC12 MCU is added too, introducing an additional application layer, exposing
only a set of commands that allow connection with the Click Cloud, reducing the possibility of errors and failures due
to wrongly set connection parameters and simplifying HOST MCU application. The MCU is also used to drive status
LEDs, which are used to indicate a successful connection to the Internet, a successful connection with the Click Cloud
service, as well as some other types of indication.

Page 5
Figure 2:
MK64FN1
M0VDC12 MCU
Figure 1:
ESP-WROOM-02
Finally, there is a micro USB connector, which is used to update the firmware of the Go to Cloud (G2C) click. The
firmware update is simple, error-proof, and straight-forward. More information about the update procedure can be
found in this manual.

Page 6
VCC-3.3
VOUT-3.3 VOUT-3.3 VOUT-3.3
IO14
IO12
IO13
IO15
IO2
ESP_RST
ESP_TXD
ESP_RXD
C3 10µF
VCC-3.3
VOUT-3.3
ESP_EN
LD1
PWR
18
18
17
17
16
16
15
15
14
14
13
13
12
12
11
11
10
109
8
7
6
5
4
3
2
1
GND
IO0
IO2
IO15
IO13
IO12
IO14
EN
3.3V
IO4
RXD
TXD
GND
IO5
RST
TOUT
IO16
GND
ESP-WROOM-02
U2
JTAG_TCLK
JTAG_TDI
JTAG_TDO
JTAG_TMS
MCU_RST
MCU_RST
UART0_RTS
UART0_CTS
UART0_RX
UART0_TX
ESP_TXD
ESP_RXD
ESP_RST
ESP_EN
UART0_TX
UART0_RX
UART0_CTS
JTAG_TMS
JTAG_TCLK
JTAG_TDO
JTAG_TDI
VOUT-3.3 VOUT-3.3
MCU_RST
R6
10k
R7
10k
R8
10k
R9
10k
R14
10k
R15
10k
C4 0.10µF
C2
0.10µF
UART0_RTS
Y2
32.768kHz
C8
12pF
C9
12pF
LD3
STAT
STATUS_LED
LD4
CONN
CONN_LED
CONN_LED
R1
1k
R3
1k
12
34
56
78
910
J1
VCC-5V
VCC-5V
STATUS_LED
IO0
IO0
R13
10k
IO15
IO13
R4
1k
C3
D11
E11
F11
E1
D1
D2
C1
C2
B1
A9
A10
A1
B2
A2
A3
B3
D3
D4
A4
B4
C4
A6
A5
B5
D5
B6
C5
C6
D6
A7
A8
D7
C7
B7
L2
L1
K2
K1
E2
E7
F7
A11
C11
K10
L10
H2
H1
L6
G7
E6
F3
G4
H7
K3
H4
E4
E3
F4
L11
K11
L7
B11
G2
G1
F2
F1
J2
J1
H10
MK64FN1M0VDC12
J11
H11
G11
G10
G9
G8
E10
D10
C10
B10
E9
D9
C9
F10
F9
F8
E8
B9
D8
C8
ADC0_SE16/CMP1_IN2/AD C0_S E21
ADC1_SE16/CM P2_IN2/AD C0_SE22
NC
NC
PTE0
PTE1/LLWU_P0
PTA4/LLWU_P3
DAC0_OUT/CMP1_IN3/ADC0_S E23
VREF _OUT/CMP1_IN5 CMP0_IN5/ADC 1_SE18
PTA0
PTA1
PTA2
PTA3
DAC1_OUT/CMP0_IN4 CMP2_IN3/ADC 1_SE23
XTAL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VCC-3.3
VCC-USB
VCC-USB
R2
1k
GP0
GP1
GP0 GP1
D1
PMEG3010ER,115
D2
PMEG3010ER,115
Y1
12MHz
C6
12pF
C7
12pF
Figure 3: Main Schematic

Page 7
mikroBUS™pins
An additional JTAG interface in the form of 2x5 pin header is used only during the production phase for the upload of
the initial firmware and it should not be used by the user, as it may lead to malfunction of the Go to Cloud (G2C) click
due to an internal firmware damage.

Page 8
Onboard indicators and LED indicators
NOTE: The Go to Cloud (G2C) click requires both 3.3V and 5V for a proper operation.
Pins description:
∫ RST - Hardware reset - (INPUT) This pin is used to reset the MCU. This pin is internally pulled up to a HIGH logic level. Driving
this pin to a LOW logic level for 50 ms, a reset function will be performed. After each reset cycle, the complete boot sequence
of the Go to Cloud (G2C) click is repeated.

Page 9
∫ CTS - Clear to send [1] - (INPUT) A LOW logic level on this pin means that HOST MCU
is ready to receive data sent from Go to Cloud (G2C) click.
∫ RTS - Request to send [1] - (OUTPUT) A LOW logic level on this pin means that the Go to Cloud (G2C) click
is ready to accept incoming data from the host MCU. There is also a secondary function of this pin: if set to a HIGH
logic level during the boot-up sequence, the five-second bootloader timeout will be completely skipped, allowing for
a faster start of the Go to Cloud (G2C) click. More information about the secondary function of this pin is provided in the
Boot-up section of this manual.
∫ GP0, GP1 - General purpose pins[1] - (INPUT) A LOW logic level on this pin means that HOST MCU
is ready to receive data sent from Go to Cloud (G2C) click.
[1] The current version of the firmware (ver.F091) does not have these options implemented yet, but they are
planned to be added in future updates.
UART interface – configuration:
∫Baud rate: 57600
∫Data bits: 8
∫Parity: NO
∫Stop bit: 1

Page 10
The complete control of the Go to Cloud (G2C) click is done over the UART interface, by using AT commands. The list
of the available AT commands, along with the explanation and example for each of them can be found in the
AT Command Manual.
The Go to Cloud (G2C) click firmware accepts AT commands, which can be sent over the UART interface pins of
the mikroBUS™, either from a terminal application on a personal computer (with the addition of the USB-to-UART
adapter) or from the host MCU. When transmitting the AT command string, a timing interval between consecutive
characters should not exceed 5 seconds. The timing interval greater than 5 seconds is considered as the EOL for any
AT command (end-of-line), and the received command will be parsed as such.
More information about all the available AT commands with the detailed explanation can be found in the AT Commands Manual.
UART interface – configuration:
After the power-on, the Go to Cloud (G2C) click will start in the bootloader mode, which will be terminated after 5
seconds. During these 5 seconds, the MK64F MCU onboard the Go to Cloud (G2C) click will be visible to the USB
HID Bootloader application, allowing its firmware to be updated. When the connection with the USB HID Bootloader
application is established, it will take over the control of the Go to Cloud (G2C) click and will keep it in the bootloader
Questo manuale è adatto per i seguenti modelli
1
Indice
Manuali Portale popolari di altre marche

LST
LST M500RFE-AS Manuale utente

Kinnex
Kinnex Media Gateway Manuale utente

2N Telekomunikace
2N Telekomunikace 2N StarGate Manuale utente

Mitsubishi Heavy Industries
Mitsubishi Heavy Industries Superlink SC-WBGW256 Manuale utente

ZyXEL Communications
ZyXEL Communications ZYWALL2 ET 2WE Manuale utente

Telsey
Telsey CPVA 500 - SIP Manuale utente











