element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 2189 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.
  • mahmood.hassan
    mahmood.hassan over 5 years ago in reply to alton

    Yes you can easily control and monitor multiple pots with single RPi.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • alton
    alton over 5 years ago

    Aawesome.

     

    Can you add small clear tube and water pump. When it signals dry... pump will water plant. Give it 3-5 seconds depending on how much pumps out at a given time.

    then send a notice to cell phone msg of plant A dry,  plant A watered.

     

    also, can I set up to 6 potted plants with a single raspberry pi?

     

    plz email me at altonddavisjr@yahoo.com so I can receive info quickest.

     

    thx boss!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 6 years ago

    A very good starting point, an inspiring source of ideas with solid bases. Really nice project.

     

    Enrico

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

    You may be able to trick them into flowering by varying their environment. In nature these plants don't have much of a chance to reproduce so often have to time flowering for optimal chance of reseeding. Flowering is expensive in terms of water loss so I suspect that some will only flower briefly following a sufficient rain shower, which they may never experience as a house plant with careful watering. Some require the wind or animals to carry their seed any distance so they may need physical disturbance to trigger flowering, which once again they probably don't tend to experience indoors on a window ledge. Temperature changes may indicate seasonal changes which are otherwise hidden by more constant indoor temperatures. 

     

    Some perhaps need to reach a certain size before they are able to support the flower. If you look at my photos you can see how the weight of the flower offshoot has started to pull the plant over. Any smaller and it may have pulled the plant out of the ground. Others have had much smaller flowers and next to no offshoot so size would be less of an issue.

    • 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

    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.

    image

     

    So I have to wait for more than a decade image to find out if it will ever give a flower or not.

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