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:

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 >>