Microchip Technology ATWINC15x0 Series User Manual
Microchip Technology ATWINC15x0 Series User Manual

Microchip Technology ATWINC15x0 Series User Manual

Wi-fi smart device enablement kit
Hide thumbs Also See for ATWINC15x0 Series:

Advertisement

Quick Links

®
Wi-Fi
Smart Device Enablement Kit User Guide

Introduction

The Wi-Fi Smart Device Enablement Kit is a small and easy demonstration and development platform for
Internet of Things (IoT) solutions. It is designed to demonstrate the design of typical IoT applications.
The kit is controlled by a SAML21G18B host MCU. It is equipped with an ATWINC15x0 IEEE
b/g/n network controller, an ATECC608A CryptoAuthentication
charge management controller, a MIC5317 High PSRR LDO, BME280 environment sensor and
VEML6030 light sensor. It can be programmed and debugged with an Atmel-ICE programmer through
SWD interface or programmed with an SAM-BA
The Wi-Fi Smart Device Enablement Kit is pre-programmed and configured for demonstrating
connectivity to the AWS
enabled device (for example, Echo Dot
application is provided for board registration and network configuration. It can be used to monitor and
control the kit. As an IoT edge, this firmware provides the control, monitoring, Wi-Fi connectivity and
security functions in a typical IoT scenario.
This board is used for evaluation/demonstration purposes only.
©
2019 Microchip Technology Inc.
ATWINC15x0 Smart Device
®
®
IoT cloud, working with Amazon Alexa
®
) to get the sensor data and control LED of the kit. A mobile
device, an MCP73833 Li-Ion/Li-Po
in-system programmer through USB interface.
®
. The user can speak to an Alexa-
User Guide
Kit
®
802.11
DS50002880A-page 1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ATWINC15x0 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Microchip Technology ATWINC15x0 Series

  • Page 1: Introduction

    As an IoT edge, this firmware provides the control, monitoring, Wi-Fi connectivity and security functions in a typical IoT scenario. This board is used for evaluation/demonstration purposes only. User Guide DS50002880A-page 1 © 2019 Microchip Technology Inc.
  • Page 2: Table Of Contents

    4. Board Debugging.....................40 4.1. UART Debug Interface....................... 40 4.2. Install a Terminal Emulator......................40 5. Design Documents and Related Links ..............42 6. Document Revision History ..................43 The Microchip Web Site....................44 User Guide DS50002880A-page 2 © 2019 Microchip Technology Inc.
  • Page 3 ATWINC15x0 Smart Device Kit Customer Change Notification Service................44 Customer Support......................44 Microchip Devices Code Protection Feature..............44 Legal Notice........................45 Trademarks........................45 Quality Management System Certified by DNV.............46 Worldwide Sales and Service..................47 User Guide DS50002880A-page 3 © 2019 Microchip Technology Inc.
  • Page 4: Overview

    SAML21G18B MCU, which controls all the other devices in this board. The ATWINC15x0 network controller module provides Wi-Fi and network capabilities. The ATECC608A is responsible for the certificate storage and authentication. An environment sensor, LED and button are used for demo purposes. User Guide DS50002880A-page 4 © 2019 Microchip Technology Inc.
  • Page 5: Board Layout

    ATWINC15x0 Smart Device Kit Overview Figure 1-1. Block Diagram 1.1.3 Board Layout The following are the top and bottom side layout of the board. Figure 1-2. Top Side User Guide DS50002880A-page 5 © 2019 Microchip Technology Inc.
  • Page 6: Power Supply

    For USB power – Short the jumper (shown in red) as shown in the following image. For Lithium battery – Short the jumper (shown in blue) as shown in the following image. User Guide DS50002880A-page 6 © 2019 Microchip Technology Inc.
  • Page 7 A 3 pin wire cable male connector with pitch 2.54 mm is required for the battery holder to connect to the Wi-Fi Smart Device Enablement Kit. Build the battery holder with connector, as shown in the following image. User Guide DS50002880A-page 7 © 2019 Microchip Technology Inc.
  • Page 8 LD1 color indicates the battery charging status, when LD1 is yellow, remove the USB power. The indication is shown in the following table. Table 1-1. LD1 Indication LD1 color Charging Status Standby Magenta Charging is in-progress Yellow Charging is complete User Guide DS50002880A-page 8 © 2019 Microchip Technology Inc.
  • Page 9: Schematic

    The board operates in the following sequence: When power is on, the Wi-Fi Smart Device Enablement Kit goes through the initialization phase where the MCU’s internal system, ATWINC15x0, and all connected sensors are initialized. User Guide DS50002880A-page 9 © 2019 Microchip Technology Inc.
  • Page 10: Led Indicators

    Alexa-enabled devices (for example, an Echo Dot). The following table shows the LD2 indication before successfully connecting to the AWS Cloud. User Guide DS50002880A-page 10 © 2019 Microchip Technology Inc.
  • Page 11: Buttons

    ECC608 in each of the secure Wi-Fi boards during the factory manufacturing process. The CA certificate used to sign the device certificates is also registered to the User Guide DS50002880A-page 11 © 2019 Microchip Technology Inc.
  • Page 12: Mcu Firmware

    The mobile application is available for users to register and control the board. The source code is published on GitHub for reference. ™ • Android • Android source code • iOS app • iOS app source code Figure 1-7. Application Logo User Guide DS50002880A-page 12 © 2019 Microchip Technology Inc.
  • Page 13: Getting Started

    Launch the mobile application. Click Sign up (below the Sign in button). Enter the Username, Password, and Email and click Sign up button. User Guide DS50002880A-page 13 © 2019 Microchip Technology Inc.
  • Page 14: Register The Board

    ID based on the user account ID in the database and shows the corresponding device on the application. Launch mobile application. User Guide DS50002880A-page 14 © 2019 Microchip Technology Inc.
  • Page 15 Log in to the application using user account. The application shows the registered devices. Initially, the list is empty. Tap Add devices option. Instructions to provision the network are shown in the application. User Guide DS50002880A-page 15 © 2019 Microchip Technology Inc.
  • Page 16 Follow the instructions, and plug in USB power to the USB port or use a lithium battery to provide power. For power supply settings, see 1.1.4 Power Supply. Connect J8 jumper (pin 2 and pin 3) to switch on the board as shown in the following image. User Guide DS50002880A-page 16 © 2019 Microchip Technology Inc.
  • Page 17 Tap Scanning QR Code to scan the QR code printed on the label of the ATWINC1510 module or tap Searching Device to go to next step. 10. Select the network to which the board needs to connect. User Guide DS50002880A-page 17 © 2019 Microchip Technology Inc.
  • Page 18 Getting Started 11. Enter the password of the network, and tap OK. 12. Enter the Device Name, and tap Set. A loading screen is shown to display the provisioning is in progress. User Guide DS50002880A-page 18 © 2019 Microchip Technology Inc.
  • Page 19: Control The Board

    The user can use the mobile application to monitor or control the Wi-Fi Smart Device Enablement Kit. After the user registers the board using the mobile application, they can select the board on the application. The following screen is shown to monitor or control the board: User Guide DS50002880A-page 19 © 2019 Microchip Technology Inc.
  • Page 20: Set Up The Board With Ios App

    To use the board, the user must create a user account. Perform the following steps to create and sign up for a user account using the iOS mobile application. Launch the mobile application. Click Sign up (below the Sign in button). User Guide DS50002880A-page 20 © 2019 Microchip Technology Inc.
  • Page 21 Enter the Username, Password, and Email and click Sign up button. A confirmation code is sent to the email. Check the email and enter the confirmation code as shown in the following screenshot. User Guide DS50002880A-page 21 © 2019 Microchip Technology Inc.
  • Page 22: Register The Board

    ID based on the user account ID in the database and shows the corresponding device on the application. Launch mobile application. Log in to the application using user account. User Guide DS50002880A-page 22 © 2019 Microchip Technology Inc.
  • Page 23 ATWINC15x0 Smart Device Kit Getting Started The application shows the registered devices. Initially, the list is empty. Tap Add devices option. Instructions to provision the network are shown in the application. User Guide DS50002880A-page 23 © 2019 Microchip Technology Inc.
  • Page 24 Provisioning mode. LD2 blinks red for every 0.5 sec. Tap Network Provisioning on the mobile application. The following screen is displayed. Following the instruction in the UI, go to iOS device setting page and select Wi-Fi Setting. User Guide DS50002880A-page 24 © 2019 Microchip Technology Inc.
  • Page 25 10. Select the board Wi-Fi Network (WiFiSmartDevice_F8F005XXXXXX). 11. Go back to the app and click the Next button. 12. Enter the Network SSID and password. (Only networks with WPA or WPA2 can be supported). User Guide DS50002880A-page 25 © 2019 Microchip Technology Inc.
  • Page 26 Getting Started 13. Enter the Device Name, and tap Set. A loading screen is shown to display the provisioning is in progress. 14. Upon successful provisioning, the application shows the device list. User Guide DS50002880A-page 26 © 2019 Microchip Technology Inc.
  • Page 27: Control The Board

    After the user uses the mobile application to register the board, they can select the board on the application GUI. The following screen is shown to monitor or control the board: Figure 2-2. Demo Kit Screen User Guide DS50002880A-page 27 © 2019 Microchip Technology Inc.
  • Page 28: Enable Amazon Alexa On The Board

    This skill is an Alexa Smart Home Skill, which is predefined by Amazon. The user can use the Alexa mobile application to enable this skill and perform the device discovery process to discover the board. In User Guide DS50002880A-page 28 © 2019 Microchip Technology Inc.
  • Page 29: Set Up Alexa On Amazon Echo Dot

    Launch Alexa mobile application, and tap ”≡” in the upper left hand corner. Select Skills. Type “Microchip wi-fi smart device” in the search bar, and tap Microchip Wi-Fi Smart Device Smart Home Skill. User Guide DS50002880A-page 29 © 2019 Microchip Technology Inc.
  • Page 30 ATWINC15x0 Smart Device Kit Getting Started Tap ENABLE TO USE. Enter the Username and Password created in 2.1.1 Create a User Account/2.2.1 Create a User Account and tap Sign in. User Guide DS50002880A-page 30 © 2019 Microchip Technology Inc.
  • Page 31 ATWINC15x0 Smart Device Kit Getting Started The application will show that the Microchip Sensor Skill is successfully linked. Close this window to continue. Tap Discover Devices in to discover the devices. User Guide DS50002880A-page 31 © 2019 Microchip Technology Inc.
  • Page 32 ATWINC15x0 Smart Device Kit Getting Started The application shows that Alexa is discovering devices. When one light device is found, the following screen appears. User Guide DS50002880A-page 32 © 2019 Microchip Technology Inc.
  • Page 33 ATWINC15x0 Smart Device Kit Getting Started Tap SET UP DEVICE option. 10. Tap SKIP to skip adding the device to a group. Demo Kit is set up successfully. User Guide DS50002880A-page 33 © 2019 Microchip Technology Inc.
  • Page 34 ATWINC15x0 Smart Device Kit Getting Started 11. Select the Devices icon, and tap Lights. A Device can be found in this page (in this case, the device name is “Demo Kit”). User Guide DS50002880A-page 34 © 2019 Microchip Technology Inc.
  • Page 35: Enable Microchip Sensor Board Skill

    2.3.3 Enable Microchip Sensor Board Skill Perform the following steps to enable Microchip Sensor Board Skill. Launch Alexa mobile application, and tap ”≡” in the upper left hand corner. Select Skills. User Guide DS50002880A-page 35 © 2019 Microchip Technology Inc.
  • Page 36 ATWINC15x0 Smart Device Kit Getting Started Type “sensor” in the search bar, then tap Microchip Sensor Skill. Tap ENABLE. User Guide DS50002880A-page 36 © 2019 Microchip Technology Inc.
  • Page 37: Control And Monitor The Wi-Fi Smart Device Enablement Kit Using Voice Commands With Echo Dot

    2.3.4.1.1 Example Voice Command In the following example, the board name is “demo kit”. The board name can be changed using the mobile application during the board registration procedure. User Guide DS50002880A-page 37 © 2019 Microchip Technology Inc.
  • Page 38 Echo Dot – PORT A 17 will be clear, please provide other command (PortA 17 on the board is set to low) User – Stop Echo Dot – Thank you for using the Microchip Sensor Board Demo. Have a nice day! User Guide DS50002880A-page 38 © 2019 Microchip Technology Inc.
  • Page 39: Board Development

    The user needs to migrate the board to connect the private AWS account when performing the customization. For more details on the programming procedure, firmware customization and cloud setup, refer the Developer’s Guide. User Guide DS50002880A-page 39 © 2019 Microchip Technology Inc.
  • Page 40: Board Debugging

    Use the following settings in the terminal emulator: Table 4-2. Terminal Setting Terminal Setting Value Port Depends on platform and other devices the user has connected to computer User Guide DS50002880A-page 40 © 2019 Microchip Technology Inc.
  • Page 41 ATWINC15x0 Smart Device Kit Board Debugging ...continued Terminal Setting Value BAUD rate 115200 Data 8 bit Parity none Stop 1 bit Flow control none Figure 4-2. Application Boot Up Log User Guide DS50002880A-page 41 © 2019 Microchip Technology Inc.
  • Page 42: Design Documents And Related Links

    Design Documents and Related Links • ATWINC15x0 Module Datasheet • SAML21G18B Host MCU ™ • ATECC608A CryptoAuthentication Device • BME280 • Demo application firmware and mobile application software • Wi-Fi Sensor board schematics User Guide DS50002880A-page 42 © 2019 Microchip Technology Inc.
  • Page 43: Document Revision History

    The unit is not intended to be a finished appliance, nor is it intended for incorporation into finished appliances that are made commercially available as single functional units to end users. User Guide DS50002880A-page 43 © 2019 Microchip Technology Inc.
  • Page 44: The Microchip Web Site

    Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. User Guide DS50002880A-page 44 © 2019 Microchip Technology Inc.
  • Page 45: Legal Notice

    SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries. GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.
  • Page 46: Quality Management System Certified By Dnv

    ATWINC15x0 Smart Device Kit © 2019, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. ISBN: 978-1-5224-4473-2 Quality Management System Certified by DNV ISO/TS 16949 Microchip received ISO/TS-16949:2009 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California ®...
  • Page 47: Worldwide Sales And Service

    New York, NY Sweden - Stockholm Tel: 631-435-6000 Tel: 46-8-5090-4654 San Jose, CA UK - Wokingham Tel: 408-735-9110 Tel: 44-118-921-5800 Tel: 408-436-4270 Fax: 44-118-921-5820 Canada - Toronto Tel: 905-695-1980 Fax: 905-695-2078 User Guide DS50002880A-page 47 © 2019 Microchip Technology Inc.

Table of Contents