Renesas CN058-1 Quick Start Manual
Renesas CN058-1 Quick Start Manual

Renesas CN058-1 Quick Start Manual

Smart lock with aws iot

Advertisement

Quick Links

Smart Lock with AWS IoT
Quick Start Guide of Smart Lock with AWS IoT
Introduction
This quick start guide describes the setup process of CN058-1 smart lock with AWS IoT. The device connects to AWS
IoT Cloud Server by low power WIFI module DA16200, mobile phone connects to the AWS IoT by the designed
"smart lock" App to monitor and control door lock situation. Provisioning DA16200, managing fingerprint, opening
the door lock by NFC card or fingerprint, controlling the door lock and monitoring the status of the door lock can all
be realized by this system. Highlighted parts in this demo include low power WIFI module DA16200, RA2E1 MCU
with the optimized processing and Renesas's low power process technology, Zhongyin fingerprint module with
Renesas high performance low pin count MCU RX651, and NFC reader IC for contactless communication.
Target Device
DA16200 module
RA2E1 MCU
ZYCM01-AS168 fingerprint module with Renesas RX651
PTX105R Pmod
Contents
1)
Kit Contents .................................................................................................................... 2
1.1
Hardware Components ............................................................................................................... 2
1.2
Software Components ................................................................................................................ 3
2)
Features .......................................................................................................................... 3
2.1
Fingerprint module ..................................................................................................................... 3
2.1
EK-RA2E1 ..................................................................................................................................... 3
2.2
SparkFun Qwiic WiFi Shield - DA16200 .................................................................................... 3
2.3
NFC module ................................................................................................................................. 3
2.4
AWS-IoT server ........................................................................................................................... 4
3)
Image ............................................................................................................................... 4
4)
Set Up the Demo ............................................................................................................. 5
4.1
Download Code to EK-RA2E1 Board ........................................................................................ 5
4.2
Download image to DA16200 ..................................................................................................... 7
4.3
AWS IoT Configuration ............................................................................................................... 8
4.4
Install Mobile Phone App ........................................................................................................... 8
5)
Run the Demo ................................................................................................................. 9
5.1
Provisioning................................................................................................................................. 9
5.2
Fingerprint Management .......................................................................................................... 10
5.3
AWS IoT monitoring .................................................................................................................. 12
6)
Reference Documents .................................................................................................. 13
Rev.2.00
Jul, 2023
Quick Start Guide
Rev.2.00
Jul, 2023
Page 1 of 13

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CN058-1 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Renesas CN058-1

  • Page 1: Table Of Contents

    Introduction This quick start guide describes the setup process of CN058-1 smart lock with AWS IoT. The device connects to AWS IoT Cloud Server by low power WIFI module DA16200, mobile phone connects to the AWS IoT by the designed “smart lock”...
  • Page 2: Kit Contents

    CN058-1 Smart Lock with AWS IoT CN058-1 Smart Lock with AWS IoT Quick Start Guide 1) Kit Contents To set up this demo, the following components are needed: Hardware Components • EK-RA2E1 • SparkFun Qwiic WiFi Shield - DA16200, with Arduino interface •...
  • Page 3: Software Components

    CN058-1 Smart Lock with AWS IoT CN058-1 Smart Lock with AWS IoT Quick Start Guide Software Components The following software components are needed: Category Item Remark Firmware CN058_1_Smart_Lock_RA2E1_EUthing_0628.mot Needs to be downloaded to RA2E1 MCU Software SEGGER J-Link V7.22 A tool to program the...
  • Page 4: Aws-Iot Server

    CN058-1 Smart Lock with AWS IoT CN058-1 Smart Lock with AWS IoT Quick Start Guide AWS-IoT server Any control and detection information from or send to mobile phone must be forwarded through the network. Here AWS-IoT server acts as a medium to connect the device and the mobile phone.
  • Page 5: Set Up The Demo

    CN058-1 Smart Lock with AWS IoT CN058-1 Smart Lock with AWS IoT Quick Start Guide 4) Set Up the Demo Download Code to EK-RA2E1 Board Step 1. Power EK-RA2E1 board by Micro USB cable. Plug In Micro USB Cable Step 2. Open J-Link Commander from Start menu in All Programs, SEGGER folder.
  • Page 6 CN058-1 Smart Lock with AWS IoT CN058-1 Smart Lock with AWS IoT Quick Start Guide Step 3. Enter the below commands to program target device. Device R7FA2E1A9 Speed 12000 Loadfile D:\smart_lock\CN058_1_Smart_Lock_RA2E1_EUthing_0628.mot Type “s” command to select “SWD” interface and start to program Step 4.
  • Page 7: Download Image To Da16200

    CN058-1 Smart Lock with AWS IoT CN058-1 Smart Lock with AWS IoT Quick Start Guide Download image to DA16200 Use a serial communication tool like "Tera Term" to download the firmware to DA16200MOD and debug it through output log information.
  • Page 8: Aws Iot Configuration

    RTOS. AWS IoT Configuration In this demo, an account called “Thing name” for testing with AWS-IoT of Renesas’s account server, without your own AWS-IoT account server. Currently, “Doorlock_SST_for_Europe” has been assigned to this thing name, and this demo can be tested with SST IAM account. Please contact China SST for the account name and the password.
  • Page 9: Run The Demo

    CN058-1 Smart Lock with AWS IoT CN058-1 Smart Lock with AWS IoT Quick Start Guide 5) Run the Demo Provisioning DA16200 supports a provisioning feature called Soft AP mode for an easy network configuration. Do this provisioning with the mobile network data off on your mobile phone and Wi-Fi turned on. Once provisioning is completed, turn on your mobile network data again.
  • Page 10: Fingerprint Management

    CN058-1 Smart Lock with AWS IoT CN058-1 Smart Lock with AWS IoT Quick Start Guide Fingerprint Management Fingerprint management page on Android Application is used to manage user’s fingerprint information, including enrollment and deletion. Even though the maximum of 100 fingerprint can be enrolled actually, in this demo only 12 of fingerprint is made as an example.
  • Page 11 CN058-1 Smart Lock with AWS IoT CN058-1 Smart Lock with AWS IoT Quick Start Guide Click “Delete All” to delete all User’s name is empty after deleting Wait for deleting all fingerprints fingerprints successfully all fingerprints successfully Some error messages are shown below: “userX”...
  • Page 12: Aws Iot Monitoring

    CN058-1 Smart Lock with AWS IoT CN058-1 Smart Lock with AWS IoT Quick Start Guide AWS IoT monitoring AWS IoT page is used to make the door opened or closed and monitor the door’s status. For this demo, there are four methods to open the door, fingerprint verification, button on the board pressed, approach of NFC card and open-door key on the mobile phone’s App clicked.
  • Page 13: Reference Documents

    CN058-1 Smart Lock with AWS IoT CN058-1 Smart Lock with AWS IoT Quick Start Guide 6) Reference Documents UM-WI-038 User Manual DA16200 Getting Started with AT-Command for AWS-IoT 1v0 UM-WI-017 User Manual DA16200 AWS-IoT Server Setup_1v4 UM-WI-016 User Manual DA16200 Doorlock Application Using AWS IoT_1v6 SparkFun's New Qwiic Wi-Fi Shield Uses Renesas’...
  • Page 14: Revision History

    Revision History Description Rev. Date Page Summary — 1.00 Jan., 2022 First edition issued 2.00 July., 2023 Add opening door with NFC card...
  • Page 15 Unit Products The following usage notes are applicable to all Micro processing unit and Microcontroller unit products from Renesas. For detailed usage notes on the products covered by this document, refer to the relevant sections of the document as well as any technical updates that have been issued for the products.
  • Page 16: Corporate Headquarters

    Renesas Electronics disclaims any and all liability for any damages or losses incurred by you or any third parties arising from the use of any Renesas Electronics product that is inconsistent with any Renesas Electronics data sheet, user’s manual or other Renesas Electronics document.

Table of Contents