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
  • 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 Connected Cloud Challenge - IoT based Advertisement BillBoards/Hordings - #BlogPost-4
  • 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: sami9974
  • Date Created: 10 May 2020 5:31 AM Date Created
  • Views 417 views
  • Likes 2 likes
  • Comments 0 comments
  • connectedcloud
  • connected cloud
  • mqtt
  • postgresql
  • django
  • psoc6
  • aws_iot
  • cypress
Related
Recommended

Connected Cloud Challenge - IoT based Advertisement BillBoards/Hordings - #BlogPost-4

sami9974
sami9974
10 May 2020

Due to this COVID-19 pandemic situation, I got my Hardware very late, so I will skip the writing about PSoC introduction/architechture and their specification which is also available on the Internet.

Let's jump to the practicals and directly hands-on to PSoC-6 hardware and programming.

image

image

Demo of Default Code in Box

we only need to power up the device while keeping all the onboard switches and jumper at the right places. All the drivers are only required if we are also planning to monitor all the data sent on the Serial port monitor as well. In this demo, we can test the AP and station functionality of the onboard WiFi-BT combo module along with the CapSense touch slider, buttons, ambient light sensor, and TFT display.

In this demo, on the first startup the PSoC 6 MCU acts as an AP named "WICED Config" and an HTTP web server. It hosts a wifi setup webpage where you can easily configure it to connect with one of the local WiFi networks in STA mode. After successful configuration and it switches to STA from AP mode. Now It hosts another webpage, that displays the voltage of the ambient light sensor on the CY8CKIT-028-TFT shield. It also displays the current duty cycle of a PWM controlling the red LED on the kit. The Increase and Decrease Buttons on the webpage change the duty cycle of that PWM by 5%. CapSense buttons and sliders on the kit can also control the PWM duty cycle and thus the brightness of the LED.

image

Figure: Info Displayed on TFT Display after first time powering it up

image

Figure: WICED Config AP is visible in available WiFi network list

image

Figure: Successfully connected to WICED Config AP by entering the password displayed on TFT Display

image

Figure: PSoC hosted Webpage (192.168.0.1) displayed in the browser during AP mode

image

Figure: Choose the local WiFi Network from available network

image

Figure: Entering the password info and connecting to the desired Local WiFi Network

image

Figure: Info displayed after a successful connection to local WiFi Network

image

Figure 15:Info Displayed on TFT display after successful local WiFi network connection

image

Figure: Webpage hosted on PSoC6 (192.168.43.232) in STA mode

image

Figure: Info displayed on UART monitor during successful local WiFi network connection

image

Figure: CapSense slider position monitoring on UART console

 

  • 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 © 2025 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