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
1 Meter of Pi
  • Challenges & Projects
  • Design Challenges
  • 1 Meter of Pi
  • More
  • Cancel
1 Meter of Pi
Blog Envidrawer 7 - Ride the lightning
  • 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: jduchniewicz
  • Date Created: 2 Jan 2021 7:55 PM Date Created
  • Views 783 views
  • Likes 2 likes
  • Comments 1 comment
  • assembling
  • wiring diagram
  • pimoroni
  • wires
  • urban farming
  • climate crisis
  • 1meter of pi
  • rapsberrypi
  • smart farming
Related
Recommended

Envidrawer 7 - Ride the lightning

jduchniewicz
jduchniewicz
2 Jan 2021
Previous blogs

Description

#1 - Introduction, the plan and materials preparationIn this blog post we describe the project's main concept and some initial high-level design of it.
#2 - Materials and casing assembly

Our journey with selecting proper materials, cutting and assembling the drawer and its casing!

#3 - Modelling, cutting, planting!The title says it all: this part describes some modelling we did before cutting some holes in the drawer and finally planted some vegetables!
#4 - Plants, harvests, and fertilisers

First harvest, problems with plants and used fertilisers. All that went off-script for our plants in the artificial environment.

#5 - Piping and pumping - water and liquid fertiliser delivery systemDesign and development of water supply system.
#6 - Mix of fixes - various fixes to water supply, lighting and hardwarePolish and fixes of various components of the system, all the small things.

Next blogsDescription
#8 - Pulling the stringsLED and Fan control circuit, overview of BJTs and MOSFETs with a handful of useful general information

#9 - 3D printing

Detailed description of 3D printed components, their presentation and some tips
#10 - Software, architecture and the benefits of good preparationBig explanation of the software and its architecture
#11 - SummaryOur final post before the end of the challenge!

  • Introduction
  • Wiring diagram
  • Wire choices
  • Components chosen
  • Summary

Introduction

 

Hi there!

In this post we will present how we created circuitry and wiring for the Envidrawer project. We will also underline issues we faced and our solutions to them! Let's get started image

 

Because this project requires varying voltages, from 3.3 V for sensors, through 5 V for RPi and the water pump, finishing at 12 V for LEDs and fans, we had to be ingenuous with our designs and do somewhat complicated circuitry by ourselves. First of all because the project requires a considerable amount of current, we decided to go for a more sturdy one, which could be reused in a different project and provide proper protection for our devices (as a few of them will be directly connected to it). The PSU can provide up to 20 amps of current and outputs 12 V.  In the table below currents for each of the loads are listed.

 

Voltage [V]

Current [A]

Load Type

12

2 x 3

LED strip

12

2 x 0.8

PC Fan

12

2 x 0.03

Capacitance sensor

12

4 x 0.8

DC Motor

5

3

Raspberry Pi

5

0.2

Water pump

3.3

up to 1

Various sensors

 

Wiring diagram

 

For those who are already eager to see the most important part of this post - the wiring, here it is!


image

 

The diagram presents all vital components of the project with appropriate pin assignments on the Raspberry Pi. Sensors will be connected to remaining pins or hooked up to the I2C bus in a future post. Right now they are being mounted image

 

Wire choices

 

Choosing the proper wire gauge was also essential, as the currents we are working with are not in milliamp ranges but rather in full amps for the power devices. Therefore we had to do some research on the topic. Interestingly, most websites are concerned with the current propagation in the free air, rather than in an encasing making the wire choice more expensive (because of thicker wires).

Nevertheless, basing on two websites, we chose wires that would provide a safe margin of current that can pass through them.

Wire gauge [AWG]

Length [m]

Device

16

2

Power wires

18

2

LED strips

22

4-4.5

DC Motors

24

4

Sensors

 

Below you may see pictures of several wired-up components of our system as well as several ways in which we connected the wires.


image

The power supply unit wired up and operational

image

M3 Loophole connectors for easier cable mounting on the PSU

image

Automation hat connected and operational

image

DC Motor control L298N H-bridge with all 4 outputs wired up

image

Cables covered with heat-shrink tubes. This way they are more resistant to any damage and most importantly isolated.

Components chosen

 

Although we could build the H-bridge and the DC-DC step down converter by ourselves, we decided to stick to the pre-built PCB's which are very common and cheap. However, we built quite a complex control circuit by ourselves (which proved to be a thrilling experience, and a challenging undertaking!)

Although we had a 2 channel H-bridge it proved to be quite unsafe and simply put badly designed (for higher steering voltages than powering, the steering signal would be lost resulting in no control over the bridge!) - more information about it here

The DC-DC converter circuit could also be much simpler (for example LM350, but it would require a heatsink and not a small one image), following with the trend we chose more modern component and one which can be reused.

Summary

It might seem simple, but proper wiring, planning the connections and making everything work took us a lot of time image In the upcoming post we plan to elaborate on the design and all the nuances of designing your own analog electronic circuits (which takes even more time) and some challenges that arose during this busy holiday season. See you soon!

Jakub & Szymon & Michał

 

 

Previous postNext post
#6 - Mix of fixes - various fixes to water supply, lighting and hardware#8 - Pulling the strings
  • Sign in to reply

Top Comments

  • DAB
    DAB over 4 years ago +1
    I look forward to your elaboration. Selecting components is a major part of any engineer's skills. Learn to specify, analyze and selecting the right components for a given job will pay you great dividends…
Parents
  • DAB
    DAB over 4 years ago

    I look forward to your elaboration.

     

    Selecting components is a major part of any engineer's skills.

     

    Learn to specify, analyze and selecting the right components for a given job will pay you great dividends in the future.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • DAB
    DAB over 4 years ago

    I look forward to your elaboration.

     

    Selecting components is a major part of any engineer's skills.

     

    Learn to specify, analyze and selecting the right components for a given job will pay you great dividends in the future.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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