Go to Cloud (G2C) click U S E R M A N U A L The WiFi IoT gateway Click board™ which connects your IoT devices with the Click Cloud service provided by Mikroelektronika. Simple and reliable.
To our valued customers 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.
Table of Contents Introduction to Go to Cloud (G2C) click mikroBUS™ pins 4 7 Onboard indicators and LED indicators 8 Pins description 8 UART interface – configuration 9 Boot-up sequence 10 Firmware update 12
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.
Figure 1: Figure 2: ESP-WROOM-02 MK64FN1 M0VDC12 MCU 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.
IO13 IO15 IO0 UART0_TX UART0_RX UART0_CTS UART0_RTS ESP_RXD ESP_TXD VOUT-3.3 JTAG_TMS JTAG_TCLK JTAG_TDO JTAG_TDI MCU_RST 2 4 6 8 10 E1 D1 D2 C1 C2 B1 A9 A10 A1 B2 A2 A3 B3 C3 D3 D4 A4 B4 C4 D5 B5 A5 A6 B6 C5 C6 D6 A7 B7 C7 D7 VOUT-3.3 LD2 USB LD3 STAT C1 LD4 CONN 2.2µF VCC-5V VCC-USB CN1 6 VBUS DD+ ID GND VCC-5V D1 PMEG3010ER,115 1 2 3 4 5 R10 1M R12 27 R11 27 2.
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.
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.
∫ 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.
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.
mode. If there is no response from the USB HID Bootloader application while the Go to Cloud (G2C) click is in the bootloader mode, the normal operation of the Go to Cloud (G2C) click will be resumed and the MK64F MCU will not be visible for the USB HID Bootloader application anymore. After a connection with the USB Bootloader application is established, the STAT LED will be turned on and it will stay that way as long as the bootloader mode is active.
Firmware update The Go to Cloud (G2C) click is shipped with the latest the application will detect the onboard MK64F MCU, as version of firmware. However, the firmware will be displayed on the picture below: continuously improved in the future. Therefore, the Go to Cloud (G2C) click has a firmware update option, in a form of a micro USB connector (CN1) and an implementation of the HID bootloader within the firmware itself.
Note that there is a five seconds timeout interval during which the Go to Cloud (G2C) click operates in a firmware update mode as explained in the Boot-up sequence section of this manual. After this, the Go to Cloud (G2C) click is restarted and will continue running in a normal mode, completely skipping the bootloader, and will be undetectable for the HID bootloader application. If this happens, it is necessary to disconnect the USB cable and connect it again, initiating another five seconds interval.
DISCLAIMER All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any other copyright material. No part of this manual, including product and software described herein, may be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika.
If you want to learn more about our products, please visit our website at www.mikroe.com If you are experiencing some problems with any of our products or just need additional information, please place your ticket at www.mikroe.com/support If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com Designed by Mikroelektronika Ltd.