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
Remote Monitoring & Control
  • Challenges & Projects
  • Project14
  • Remote Monitoring & Control
  • More
  • Cancel
Remote Monitoring & Control
Blog Micro Monster - Succulent Plants Monitoring System (part-6) Final Testing and Demo
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Remote Monitoring & Control to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: mahmood.hassan
  • Date Created: 15 Aug 2019 4:53 AM Date Created
  • Views 2611 views
  • Likes 9 likes
  • Comments 11 comments
  • secure iot
  • internet of thins
  • bluemix platform
  • ibm watson
  • cypress psoc6 wi-fi bt pioneer kit
  • plant life
  • iot world
  • psoc6
  • ibm
Related
Recommended

Micro Monster - Succulent Plants Monitoring System (part-6) Final Testing and Demo

mahmood.hassan
mahmood.hassan
15 Aug 2019
image

Remote Monitoring & Control

Enter Your Electronics & Design Project for a chance to win up to a $200 Shopping Cart of Product!

Back to The Project14 homepage image

Project14 Home
Monthly Themes
Monthly Theme Poll

 

Finally I am able to interface all the sensors and successfully transmit all the data to the IBM IoT platform. There is definitely some room for improvement especially in selection of sensors etc. Currently, Instead of completely reinstalling the firmware I have used two specific locations in external flash to store the different constants, including WiFi credential and only one copy is replaced during update firmware request. And when factory reset request is received the other copy of initial data replace the newly added data.

 

image

 

Hardware Used:

  • PSoC6 WiFi BT kit
  • Grove Base Shield for Arduino
  • Grove Light Sensor
  • Grove Rotation Sensor
  • Grove LCD with RGB backlight
  • Grove Buzzer
  • Soil Moisture senor
  • DHT22
  • Li-Ion battery for remote operation

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

 

Software Used:

  • WICED STUDIO
    • Cypress is no longer supporting this software and its sdk has lots and lots of issues. Unfortunately wireless capabilities of this kit can only be used with this tool. I have to spend most of my time in sorting out the software issues. On the other hand modus toolbox is pretty good software but doesn't software wireless connectivity image. Even tough designing a wireless connectivity application is pretty easy and fun with this software.
  • Modus Toolbox
    • For initial sensor interface debugging and testing.

 

image

Auto Reconnect in case of connection failure.

Challenges Faced:

    Measuring the MCU temperature reading from its builtin temperature sensor. The die temperature sensor only works if ADC is configured with internal Vref of 1.2V. If this reference voltage is used to measure external analog sensors then either you need to add extra hardware to reduce the analog signal maximum level or continuously reinitialize the ADC so it can work with 3.3V analog signals. Its was sounding pretty easy but when I start working with WICED STUDIO its analog libraries were a mess. It functions need several parameter but using none of these. Usually when you use SDK function to initialize adc, you provide ADC configuration and ADC channel that you want to read to initialize. But in here whatever the channel you select to read or ADC configuration it will simply ignore everything and Initialize ADC with particular fixed setting and every time it read all 16 channels whether these are used/initlaize or not. I have to completely rewrite the ADC library with RTOS functionality.

Unlike modus toolbox, PSoC creator or any other embedded software there is not a single peripheral which has all the necessary libraries at one place. You really have to dig deep to understand its functionality.

PSoC6 mcu from cypress have a unique feature of bi-directional GPIO functionality. But in wiced studio you cant find out whether certain GPIO is capable of bi-directional operation or not because when you want to communicate with DHT22 you need to connect it with only these GPIO pins.

The most confusing thing about this software is availability of several functions to do the same thing image.

 

Future Work:

    Addition of rotatable platform to the system because these plants are pretty small and when placed indoor these start bending toward window (source of light) and you need to continuously rotate the pot to keep them straight.

    Replace the existing soil moisture sensor with capacitive one.

    Fully reinstalling the firmware over the MQTTS/HTTPS connection is not completed yet.

    Node-Red based remote device management.

 

Could Interface:

The Final Interface with some gauges and charts.

image

Real Time could storage of all the incoming data for later use.

image

 

PART 1: Micro Monster - Succulent Plants Monitoring System

PART 2: Establishing and Testing the Secure Connection

PART 3: Remote Device Restart, Factory Reset and Data storage on External Flash

PART 4: Remote Firmware Download and Update

PART 5: Sensors Interfacing

PART 6: Final Testing and Demo

  • Sign in to reply

Top Comments

  • beacon_dave
    beacon_dave over 6 years ago in reply to dubbie +3
    "One day I hope it will flower - assuming it does actually flower." I had to wait around 15years for this one to flower, but it was quite impressive when it did. Unfortunately the flower only lasted a…
  • dubbie
    dubbie over 6 years ago +2
    This has been a very interesting project and I have enjoyed reading your blogs. I have a small cactus plant, which is many years old now, probably 10 or more, it is now maybe10 cm high, double it's original…
  • mahmood.hassan
    mahmood.hassan over 6 years ago in reply to beacon_dave +2
    its very beautiful.
  • beacon_dave
    beacon_dave over 6 years ago in reply to dubbie

    None of mine ever flowered for the first 10 years or so. About half of them then started flowering occasionally after that dormant period.

     

    I had one weird one which was an active water seeker. If you left any water within about a 12" radius of its pot, it would bend toward it and if it was soil (e.g. another plant pot) attempt to drop a root into it.

     

    One of them grew to about 4foot high and became something of a 'health and safety hazard'. It eventually exploded under its own weight and made quite a mess in the process... However it did solve the problem of how to move/re-pot it.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dubbie
    dubbie over 6 years ago in reply to beacon_dave

    Perhaps I've only got five more years to wait then. I wonder if I could make some energy harvesting system that collects energy for five years so that it can monitor when the cactus flowers, I wouldn't want to miss it.

     

    Dubbie

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mahmood.hassan
    mahmood.hassan over 6 years ago in reply to beacon_dave

    its very beautiful.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 6 years ago in reply to dubbie

    "One day I hope it will flower - assuming it does actually flower."

     

    I had to wait around 15years for this one to flower, but it was quite impressive when it did.

     

    image

     

    image

    image

    image

     

    Unfortunately the flower only lasted a few hours.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mahmood.hassan
    mahmood.hassan over 6 years ago in reply to dubbie

    This one is my first cactus plant and its more than 4 years old. These are the definitely really tough plants.

    In my experience Roses and Jasmines are also very tough plants may be tougher than these when its come to extreme outdoor environment. I have seen them surviving well in the dry and around 50C hot summer, in really wet soil during monsoon season and ~0C winter season.

     

    Unfortunately not every cactus plant gives flowers.

    • Cancel
    • Vote Up +1 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 © 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