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
Smarter Life
  • Challenges & Projects
  • Design Challenges
  • Smarter Life
  • More
  • Cancel
Smarter Life
Blog PSoC4 Smarter Life Challenge - DAS Project : Update Week2
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: bose
  • Date Created: 10 Nov 2013 3:06 PM Date Created
  • Views 417 views
  • Likes 0 likes
  • Comments 2 comments
  • security
  • psoc4
  • projects
  • das_project
  • smarter_life
  • smart
  • updates
Related
Recommended

PSoC4 Smarter Life Challenge - DAS Project : Update Week2

bose
bose
10 Nov 2013

There has been some more progress on the DAS project with the Stage 1 completed and order placed on Element 14 side.

 

Here are the updates:

Stage 1: Preparation - Complete

  • Download necessary software + Datasheets - Complete
    • Downloaded schematics and Family datasheet for PSoC 4200

    • All Manual and Appnotes downloaded - Getting sleep reading them though
  • Development Suit - Partially complete but the rest would be helpful for the community
    • Installed PSoC Creator 3

    • Need to check for Keil and gnu arm embedded GCC compilation
  • Pioneer Kit Shipment - Received
  • Ordering Coupons – Placed order
  • Received order coupons thanks to Element 14 and sponsors
  • To reduce ambiguity and avoid issues at later time Updated the order with both GSM modems
  • Need to check for order shipment

 

Stage 2: Ordering & Start-up

  • Prerequisite for this stage is the availability of the PSoC4 Pioneer kit
  • Placed order – Need to track
  • Start-up Software
    • Basic framework to perform the application development

      • Need to Sort out the watchdog issue for wakeup cycle + reset

      • Need to assemble Touch pad buttons(4 Number)
    • Initial setup for Capacitive touch testing done
    • Button interface – Pin Interrupt example done
    • External metallic object capacitive touch interfacing – Done using old lock
    • Trial SPI and I2C communication tests using protocol analyzer
    • Trial UART communication
    • Trial on PWM LED dimming and configuration done
      • LED Blink using PWM done

      • Advanced Dimming PrISM interface done
  • Software and menu design for locally available Nokia 5110 display
    • Need to prepare the connector the display

  • Look for appropriate licensing scheme to open source the complete design – Done
    • Using CC-BY-SA for OSS + OSHW support

 

I have published all the example programs used to complete the stage 2 steps:

PSoC4 Smarter Life Challenge - DAS Project :Example 1 Blinky

PSoC4 Smarter Life Challenge - DAS Project :Example 2 Key Interrupt

PSoC4 Smarter Life Challenge - DAS Project :Example 3 LED Dimming (PWM based)

PSoC4 Smarter Life Challenge - DAS Project :Example 4 (PrISM LED Dimming)

PSoC4 Smarter Life Challenge - DAS Project :Example 5 CapSense Linear Slider with and without Tuner

PSoC4 Smarter Life Challenge - DAS Project :Example 6 Arbitary Metal object CapSense

 

The UART and I2C based command interpreters are mandate for the next stage. Its better to have UART as it can communicate over asynchronous form.

I2C is good but need frequent updates to get messages. Possibly a composition buffer would help. Or TLV structure.

 

The Issue 1 that I posted in the last update, was a tough one so finally I had to order both the GSM units. Now its up to the actual power test to have the correct selection.

 

Issue 2:

I am trying to perform some low power sleep however the Watchdog however its not working very well.

It seams that even though PSoC 4 has 3 counters for WDT they cant be used independently.

More details of this have been posted as a discussion: Need help with watchdog

 

Here is a short video of what I achieved so far with the Touch sensing for an Old lock to behave as an arbitrary metal target to perform CapSense:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

The focus of this video is to show that how we can go to deep sleep and momentarily wake-up to perform the sensing after which we go back to sleep.

The multimeter is measuring the current consumption of the PSoC4 chip.

I hope that we can still improve on the power figure that I obtained here.

 

Update Week 3 >>

  • Sign in to reply
  • vsluiter
    vsluiter over 12 years ago

    Nice tests, and THANKS a LOT for posting all the demo code!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 12 years ago

    Nice demo of using an interesting object for capacitive touch sense.

     

    I also liked the power consumption measurements.  It helps give the viewer a good sense for how much and how fast the PSOC can do a transition.

     

    DAB


    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
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