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
1 Meter of Pi
  • Challenges & Projects
  • Design Challenges
  • 1 Meter of Pi
  • More
  • Cancel
1 Meter of Pi
Blog Space Vegetables - #5 : System concept and design
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: feiticeir0
  • Date Created: 22 Oct 2020 10:48 PM Date Created
  • Views 346 views
  • Likes 6 likes
  • Comments 0 comments
  • 1meterofpi
  • wiring
  • space vegetables
  • 1meter of pi
Related
Recommended

Space Vegetables - #5 : System concept and design

feiticeir0
feiticeir0
22 Oct 2020

image

Designing the System concept

 

The Space Vegetables project will have some electronics to control and some sensors to monitor.

The 1 Meter of Pi challenge will offer:

  • 1 Raspberry PI 4 2GB
  • 1 Automation HAT mini
  • 1 Enviro HAT
  • 1 PICO HAT Hacker

 

Because the Automation HAT and the Enviro HAT are not stackable, another Raspberry PI will have to be used. Since I have a Raspberry PI 3B+ available, that will be used and a Raspberry PI Zero W for the Twitter updates.

Raspberry PI 4 2GB

 

This is the more powerful Raspberry PI, so it will be used has the main Raspberry PI , the database server and the Web Services server.

The Enviro HAT will be connected to this Raspberry PI, plus the sensors - PH, TDS (EC) and a status light .

 

Database Server

To monitor the system status in time and check the values and progress, a SQLITE3 database will be used to store the values.

Values monitored:

  • Temperature
  • Humidity
  • Luminosity (turn on or off the grow lights)
  • Gas sensor
    • Carbon monoxide (CO)
    • Nitrogen monoxide (NO2)
    • Hydrogen (H2)
  • PH
  • TDS (or EC)
  • Pump Active
  • Lights ON

 

Web Services

Because we're going to use several Raspberry PIs for the project, there has to be communication between them .  The Raspberry PI 4 is the main server and will be the provider of the Web Services. The other Raspberry PIs will query it for values, and eventually will use it to change values.

 

The Web Services will be implemented using Flask and REST . I will be explaining what is REST and Python Web Services when the time comes for the code.

 

image

 

Raspberry PI 3B+

The Automation HAT mini will be connected to this Raspberry PI. It will control:

  • Water Pump
  • Air Pump
  • Nutrients PUMP
  • Grow Lights

The pumps will be controlled using the web services or the timers defined in the code.

 

image

 

Raspberry PI Zero

 

The raspberry PI zero will send daily updates to the Space Vegetables Twitter account.

With a camera it will take pictures of the vegetables grow status, along with same environmental status and post it to Twitter. The code to post to Twitter has already been shared here, if someone wants to know how to do it.

The environmental parameters will be requested using the Web Services provided by the Raspberry PI 4. In time, all the code will be shared.

image

 

This a general design of the system. When I start putting it together, wiring schematics will posted, along with pictures .

  • 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