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
Low Power IoT Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Low Power IoT Design Challenge
  • More
  • Cancel
Low Power IoT Design Challenge
Blog Solar Powered Smart Composter - Sensing  (Blog2)
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: asokfair
  • Date Created: 30 Oct 2021 1:28 PM Date Created
  • Views 857 views
  • Likes 2 likes
  • Comments 0 comments
  • low_power_iot
  • infineon;
  • lowpower
  • iot
  • design:
Related
Recommended

Solar Powered Smart Composter - Sensing  (Blog2)

asokfair
asokfair
30 Oct 2021

Hi Everyone,

 

In the last blog (blog1) i explained about the overall concept and designs. In this blog i write about how i have interfaced sensors which

required for this "Smart Coposter".

 

image

 

Total Three sensing part in this design and 3 sensors are used.

 

Temperature Sensing:

For the composting process temperature is an important parameter to sense the compositing stages. Based on the temperature we can divide the stages

into three stages.

               1. WARM (IDLE)

               2. ACTIVE

               3. HOT

image

These stages are classified based on the temperature level. In general people use a composter  temperature sensor to measure manually. I'm going to

use the MLX90614 - IR based temperature sensor in my smart composter design.

 

This MLX90614 sensor has 4 Pins, (VDD, GND, SCL, SDA) Interfaced to the PSoC6 via I2C interface. I have used the default I2C Pins P6_0, P6_1 for

I2C communication. Two temperature levels are read from the MLX9061 sensor (Ambient and Object Temperature).

 

I2C Frame:

image

Motion Sensing:

In this part the spinning of Composter is sensed with the help of Bosch 6 axis Accelerometer (BLI16)). This sensor is interfaced to PSoC6 over I2C.

I have used a Cypress Eink Display Shield board which has a motion sensor. My initial thought was to use Infineon 3D magnetic sensor to detect

the spin but chooses motion sensor, since the setup is going to be mounted on the composter.

 

The rotating angle is calculated from the Accelerometer data. And used logic to sense the spin of Composter

 

The Eink display was used to show the Temperature, Composter state and Alerts. I chose Eink over TFT since it's battery operated low power design.

 

Tilt Sensing:

In this part the Tilt switch is used detect the open/close of Composter lid , which helps the user for tracking the load/unload information .

 

ModusTool Box:

 

The tool MTB i used for developing the software. I started with PSoC6 Empty application and then added required components via library manager.

I used different FreeRTOS tasks for running Eink Display, Sensor  and Cloud. For Eink dislay graphics i have used emWin tool to create bitmap arrays.

All the sensor values are pinted on consloe like below.

image

 

The sensor working demo is shown below.

 

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

 

The next blog (blog3) tells about the Cloud (AWS) interface and Alexa Skills.

  • 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