My Final Project: The Green Guardian

Presentation

Slide:

You can view my presentation here:

Overview

Video Presentation:

In Use:

My Final Project (Documentation)

This is where I will start defining my final project.

I have decided to create an interative model of a home that I am renovating. I will use this to plan for material purchases including square footage for flooring, tiling, countertops, drywall, paint coverage, baseboards and window trim lengths, location and sizing of appliances and furniture, and the location of electrical outlets and can lights etc.

Intial Planning and 2D Design

I first used a website called Planner 5D to start mapping out the floor plan before creating the CAD model.

floorplan

3D Modeling

I then used OnShape and created a 3D model of a section of the house using my 2D plan as a guide. Here are some photos of the model I made in OnShape:

House Model

I chose to make some of the walls as separate parts because I am thinking about taking a wall/closet out.

House Model- Wall Removed
Files

Here is the STL File of the model:

House Model STL

Change of Plans...

Intially, I wanted to create an interactive model of my house. While I have used many skills from this course during the home renovation process, including mapping a plan for laying floor and tile, making custom furniture etc, I have decided to create something that with more functionality and usability. Therefore, I have decided to make a plant moisture sensor that will alert me when it is time to water the plant so that hopefully, my plants stay healthier and live longer!

Week 18. Project Development

Project Overview

Overview

My project incorporates a diverse range of skills and processes that have been practiced throughout this course. The aforementioned components are outlined below:

  1. 2D and 3D Design: 2D Design: In the project, 2D design is involved in creating the layout and schematics for the electronic circuit. This includes designing the traces, connections, and components on the PCB using computer-aided design (CAD) software. 3D Design: The housing and enclosure for the moisture sensor, LEDs, and electronics are designed in 3D. This includes creating a 3D model of the components using CAD software. The 3D design ensures that the physical components fit together seamlessly.
  2. Additive and Subtractive Fabrication Processes: Additive Fabrication: The 3D printing of the housing and enclosure is an additive process. Layer by layer, the 3D printer adds material to build up the desired structures. Subtractive Fabrication: The milling of the custom PCB involves a subtractive process. Material is removed from a blank PCB to create the circuit traces and pads using a milling machine.
  3. Electronics Design and Production: Design: The electronic circuit for interfacing the moisture sensor, LEDs, and Seeed Studio board is designed using CAD software. This involves creating the circuit layout, specifying components, and designing the connections. Production: The designed circuit is translated into a physical form through the production of a custom PCB. The milling process creates the necessary circuit traces and features on a blank PCB.
  4. Embedded Microcontroller Interfacing and Programming: Interfacing: The Seeed Studio development board interfaces with the electronic circuit and the various components, including the moisture sensor and LEDs. Programming: The microcontroller on the Seeed Studio board is programmed to read data from the moisture sensor, interpret it, and control the activation of the LEDs based on the moisture levels.
  5. System Integration and Packaging: Integration: All individual components, including the 3D-printed housing, custom milled PCB, moisture sensor, LEDs, and Seeed Studio board, are integrated into a cohesive system. Packaging: The 3D-printed housing serves as the packaging for the system. It encapsulates and protects the electronic components while providing easy access for maintenance.

In summary, the project demonstrates a comprehensive integration of 2D and 3D design, additive and subtractive fabrication processes, electronics design and production, embedded microcontroller interfacing and programming, as well as system integration and packaging. Each element contributes to the functionality and aesthetic of the Smart Plant Moisture Monitoring System.

Project Proposal: “The Green Guardian”

What will it do?

The proposed project is a Smart Plant Moisture Monitoring System that continuously monitors the soil moisture level and provides real-time feedback. The system will employ a moisture sensor to measure soil moisture content. The data collected will be processed by a Seeed Studio board, and the results will be indicated using red, yellow and green LEDs. The subtractive process will involve milling a custom PCB for the electronic circuit.

In the proposed system, the red, yellow, and green LEDs will serve as visual indicators to convey the soil moisture status. Here's how the LEDs will function based on the moisture readings:

By utilizing these color-coded LEDs, the system provides clear and intuitive feedback to the user about the moisture status of the soil. This visual representation allows for quick and easy assessment, even without having to check specific moisture readings. It enhances the user experience by translating complex data into a simple and actionable visual display.

Who's done what beforehand?

Similar projects focusing on soil moisture monitoring without automated watering systems have been undertaken by hobbyists and researchers in the domain of precision agriculture. However, this project's uniqueness lies in the integration of 2D and 3D design, the use of a Seeed Studio board, and the emphasis on milling a custom PCB.

What will you design?

The project will involve designing a housing for the moisture sensor, LEDs, and electronics using 3D design software. This housing will be modular and designed for easy assembly and disassembly. Additionally, the electronic circuit will be designed using CAD software, and a custom PCB will be milled for the project.

What materials and components will be used?

Where will they come from?

The components can be sourced from electronics suppliers such as Seeed Studio, Amazon, or local electronics stores. The 3D printing filament and milling tools can be obtained from various online suppliers.

How much will they cost?

Costs will vary based on the specific components chosen and the supplier. A rough estimate would be in the range of $30 to $50, depending on the quality and features of the selected components.

What parts and systems will be made?

3D-printed housing for the moisture sensor, LEDs, and electronics. Custom milled PCB for the electronic circuit. Enclosure for housing the electronic components. Electronic circuit for interfacing the moisture sensor, LEDs, and Seeed Studio board.

What processes will be used?

What questions need to be answered?

Some of the questions I will need to answer include:

By addressing these aspects, the project will showcase mastery of 2D and 3D design, additive and subtractive fabrication processes, electronics design, embedded programming, and system integration, with the added benefit of my plants living longer!

Project Plan

In order to complete my project over the course of 10 weeks, I have developed a project plan:

In order to complete my project over the course of 10 weeks, I have developed a project plan:

Week 1: Project Kickoff (Sep 21 - Sep 27):

Week 2: Initial Planning (Sep 28 - Oct 2):

Week 3: Project Initiation and Planning (Oct 5 - Oct 9):

Week 4: PCB Design (Oct 12 - Oct 15):

Week 5: PCB Milling Preparation (Oct 19 - Oct 22):

Week 6: PCB Milling (Oct 26 - Oct 29):

Week 7: Electronics Assembly (Nov 2 - Nov 5):

Week 8: 3D Design and Printing (Nov 9 - Nov 12):

Week 9: System Integration (Nov 16 - Nov 19):

Week 10: Testing, Optimization, and Finalization (Nov 23 - Nov 27):

Project Progress

One issue I ran into was the pico board lost power and no matter what I did I could not get it to turn back on. After digging through many articles, I used a male to male wire as a little jumper cable and it final kickstarted it back up and running. See the image below.

Restarting Pico

In this version of code, I am using two LEDs. The green light shows up when the moisture level is optimal, and the red light comes on when the moisture levels are too low.:

After a lot of thought and keeping the final system integration and packaing in mind, I decided to use only one LED and have it integrated on my actual PCB. That way, there is less for the user to keep track of (multiple lights and colors meaning different things) so it streamlines the intended use and also simplifies the overall design making it more sleek and straightforward. In this new model, the light on means it needs attention (water), and the light off is good news, meaning the moisture level is optimal. I think this design will be more user-friendly, rather than a light being on all the time, which draws attention to it even when water levels are optimal, and the user is may get used to seeing it on all the time which will make it less obvious when it actual needs attention, and would also require the user to have to pay attention to the color of the light. Here is the new code and working model:

Packaging Design

Here are two rough ideas for the design:

Two Designs

Here is the first prototype. The overall design was too thin to make room for the pins and wires that lead into the sensor.

Too thin

I modified the design to make room for the wires and I didn't like appearance of it. It seems too thick and has too much wiggle room for everything to stay snug inside. Also, I don't like the bottom as the flat portion will be difficult when sliding into the plant soil.

Too thick

I then modified the bottom piece to make it as thin as it can be while still allowing the sensor to clear through the bottom part and made it on an angle and used chamfers so it can slide into the soil more easily:

Project3

Here is the working design in the package.

Project1 Project2 Project3 Project4

Here are the STL Files for my final design:

Green Guardian Top

Green Guardian Base

Important Note:

It has been brought to my attention that the subtractive process of milling the PCB board is not sufficient for final project requirements. I decided to add a small "window" using the laser cutter that fits perfectly into the slot for the LED to shine through. I think this enhances the overall packaging and design.

Intended Use:

Presentation

Slide:

You can view my presentation here:

Overview

Video Presentation: