element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Connected Cloud Challenge
  • Challenges & Projects
  • Design Challenges
  • Connected Cloud Challenge
  • More
  • Cancel
Connected Cloud Challenge
Blog The Bio Highway – Getting Started or the First Mile
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: vlasov01
  • Date Created: 30 Mar 2020 10:43 AM Date Created
  • Views 484 views
  • Likes 4 likes
  • Comments 0 comments
  • cypress psoc 6
  • amazon free rtos
  • getting started guide
  • aws iot
Related
Recommended

The Bio Highway – Getting Started or the First Mile

vlasov01
vlasov01
30 Mar 2020

I’ve done a couple of personal projects on AWS building simple Alexa skills, but I’m not an expert in AWS. And I’ve used different MCUs, but never used Cypress PSoCs. After I’ve listen to a couple of AWS podcasts on AWS IoT I’ve decided to start my first week of challenge by following Getting Started with Amazon FreeRTOS and PSoC62+43xxx . It is only five pages long, so I thought it will be a good start for me. And I started this journey on my Win 10 32-bit PC.

  1. I’ve cloned  Amazon FreeRTOS from Cypress’ GitHub repository with demo projects.

git clone --recurse-submodules https://github.com/cypresssemiconductorco/amazon-freertos.git --branch 201910-MTBAFR1951

201910-MTBAFR1951 is the latest branch as of end of March 2020.

image

    2. Configuring AWS IoT and your Amazon FreeRTOS took much longer time for me as I’ve decided to took a free AWS course Introduction to AWS Identity and Access Management (IAM) It is a less than 10 minutes course about key concepts of IAM on AWS, like policies, actions, resources.

Then I followed Amazon FreeRTOS User Guide - Setting Up Your AWS Account and Permissions . By following this guide I’ve created a group and my first policy for this user.

{
 "Version": "2012-10-17",
 "Statement": [
        {
 "Effect": "Allow",
 "Action": [
 "freertos:*",
 "iot:*"
 ],
 "Resource": "*"
        }
    ]
}

image

Than I’ve created a new user group to manage Amazon FreeRTOS  and IoT resources on AWS. And then created a new admin user in this group.

image

 

Than I’ve registered my Cypress MCU Board with AWS IoT following another Getting Started steps https://docs.aws.amazon.com/freertos/latest/userguide/get-started-freertos-thing.html. I’ve created a new thing group.

image

and created a new thing type with two attributes and added my MCU to it.

image

In the next step I’ve created a new security certificate with public and private keys and downloaded them.  As well I’ve created my first bisSensor02-Policy policy for my device, which is allowing my device to connect and publish messages to my topics.

 

 

{
 "Version": "2012-10-17",
 "Statement": [
 {
 "Effect": "Allow",
 "Action": [
 "iot:Publish"
 ],
 "Resource": [
 "arn:aws:iot:us-east-1:<my resource id>:topic/person/02",
 "arn:aws:iot:us-east-1: <my resource id>:topic/analyze/02"
 ]
 },
 {
 "Effect": "Allow",
 "Action": [
 "iot:Connect"
 ],
 "Resource": [
  "arn:aws:iot:us-east-1:495107556926:client/sdk-java",
  "arn:aws:iot:us-east-1:495107556926:client/basicPubSub",
 "arn:aws:iot:us-east-1:495107556926:client/sdk-nodejs-*"
 ]
 }
 ]
 }

 

At this point I've just completed the first two steps in the section Before You Begin of the Getting Started with Amazon FreeRTOS and PSoC62+43xxx

And I'll need to revise them as I will continue my journey.

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube