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 Valley Forge: Project Paperinik  #4 (The Electronics)
  • 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: gam3t3ch
  • Date Created: 3 Jan 2021 2:44 AM Date Created
  • Views 634 views
  • Likes 3 likes
  • Comments 0 comments
Related
Recommended

Valley Forge: Project Paperinik  #4 (The Electronics)

gam3t3ch
gam3t3ch
3 Jan 2021

image

When I started with the electronics I scoured around my workshop to pull all the parts out of bins to see what I go, low and behold I had some items.  But not sure how or if they will work I decided to go ahead with the project of getting the electronics together.   I ordered some cheap parts as well and off to the races I went frantically trying to get things together.  Finding out things didn't work and purchased items were not labelled correctly on the listings causing some issues.

 

 

Lets start with a breakdown of the parts I wanted to start with.

 

  1. Raspberry Pi 4 4GB
  2. Water pump 12v
  3. Flow Sensor
  4. 12v - 5v 3a dual USB step down converter
  5. 12v - 5v single USB step down converter
  6. 300w 12v powersupply
  7. toggle switch for one step down converter
  8. LED Grow lights 60w 16ft
  9. Fused box - 6 way blade fuse
  10. 12v relays
  11. 5v relays
  12. 4 port water valve relay 12v
  13. terminal blocks for 12v 5v and ground

 

 

image

When I started I thought I was coming up with a great Idea that I would be able to 3d print panels to unit and have it work well.   So I tried but made my prints to thin.  Causing some issues and flexing and bending I used nylon standoffs on them but was far from happy with the results of what was actually produced the image in my head and what came out were two completely different things.

 

image

As you can see it wasn't what I was hoping but in theory it would work but due to the time it would take to print out new ones as the bar adapters where the longer portions of the print were now just a waste of filament so I opted for a scrap piece of wood that was laying around.

 

image

as you can see it certainly made more sense but at this point I was trying to figure out the best way to mount everything and route the wires.  By route the wires I mean hide them all behind it in a big mess.

 

image

But it did manage to turn out looking pretty tidy which I was happy with everything was connected and ready to go ahead with the next parts testing out what would and what wouldn't work for me and I had to do it quickly.  I posted a picture on Instagram this one here....

image

Someone pointed our right away that there was a gopro USB cable connected to it to the raspberry pi.  Now the reason I went with this cable was because it was part of previous design challenge I had done and gotten it from that.  So what better way then to use what I have and add a little something to personalize it in my own way then with the gopro cable to power the unit.

image

So it turned out pretty good I was happy with how it turned out but........ There was many obstacles and trials ahead.

When I planned it out I wanted to have the inside of the main growing area have a lower growing area and then a upper growing area which would have been nice but it wasn't going to work not without the water valve that I had purchased and later found out that it was only for air so now I had to come up with and idea to actually get water to the units without being able to control the zones.   This right away put a stop to my upper idea since well today is the 1st of January and I am trying to get all my posts together and get things done.  So really was zero time to order another solenoid to get things going.   So there is leaks in the unit so I will probably pull it off and seal it up better and make it more air tight and possibly add an oxygen line to the system as well so I can add it into the atmosphere as well as the watering enclosure

 

I had a project I was going to do in the summer for outside growing and automation and well I just so happen to have one 12v solenoid kicking around.....well it was attached to my water reservoir for my outdoor project I had to pull it off to be able to complete the project.

 

image

It's just your basic solenoid valve that you can get on any hobby site for cheap.  But had I had more time I think I would have opted for something like this which after my first harvest I might upgrade it to this one here.

 

image

To me this would be a more ideal valve for my setup and since I got relays for days here I wouldn't have to worry about having to mount anything else as I already have enough extra relays installed on the unit.

 

So there is also a thermostat installed on the unit as well I thought I would show what I did there so I used one of these cheap guys here I bought a 2 pack for under 15 bucks Canadian so I was happy about it....if it did the trick.

 

image

My initial thought was to use it with a a 12v car heater to keep the temperature at a certain level.    Well.....with the lights on the temperature in the enclosure is about 23-24oC and at night when it's off its about 20oC but I didn't want it dropping below that since it is winter time and it is in my basement in a cold area as well anything to maintain the heat was good for me.

 

I do have dht11 sensors that will be installed and this can also be produced that way in the software as well if temp is lower then stated then heater relay turns on.  But I wanted to make sure it was separate just in case there was a issue with the raspberry pi or something else the heating would still do its thing if required.

 

After realizing the power consumption of 12v car heater I didn't want to allow for more strain on the power supply then needed and also risk blowing a fuse as well.  So what I ended up doing was getting one of these 5v USB heating elements.   Now I was worried at first it wouldn't be sufficient enough  But thought if need I would get something bigger.   I was so wrong it worked and worked great it did.    The worst part of the thermostat tho was configuring it directions were junk so I ended up having to play with it until I found out what each setting did and the main relay would click on when I required.   Now after doing so I ended up searching youtube for a how to on it.  Guess I should have done that from the start as it made a heck of a lot more sense once I did.

 

image

 

More stuff to come with the electronics and sensors ........

 

All 3d printed parts can be found here:

https://www.thingiverse.com/thing:4644039

 

Blog #1: https://www.element14.com/community/community/design-challenges/1-meter-of-pi/blog/2020/11/04/welcome-to-valley-forge-project-paperinik-1

Blog #2: https://www.element14.com/community/community/design-challenges/1-meter-of-pi/blog/2020/11/07/valley-forge-project-paperinik-2-the-design

Blog #3: https://www.element14.com/community/community/design-challenges/1-meter-of-pi/blog/2020/11/23/valley-forge-project-paperinik-3-the-enclosure

blog #4:  https://www.element14.com/community/community/design-challenges/1-meter-of-pi/blog/2021/01/03/valley-forge-project-paperinik-4-the-electronics

Blog #5: https://www.element14.com/community/community/design-challenges/1-meter-of-pi/blog/2021/01/03/valley-forge-project-paperinik-5-the-software

Blog #6: https://www.element14.com/community/community/design-challenges/1-meter-of-pi/blog/2021/01/03/valley-forge-project-paperinik-6-working-the-bugs-out

Blog #7: https://www.element14.com/community/community/design-challenges/1-meter-of-pi/blog/2021/01/03/valley-forge-project-paperinik-7-the-growing-process

Blog #8: https://www.element14.com/community/community/design-challenges/1-meter-of-pi/blog/2021/01/03/valley-forge-project-paperinik-8-the-enclosure-completed

Blog #9: https://www.element14.com/community/community/design-challenges/1-meter-of-pi/blog/2021/01/05/valley-forge-project-paperinik-9-finding-alternatives

Blog #10: https://www.element14.com/community/community/design-challenges/1-meter-of-pi/blog/2021/01/05/valley-forge-project-paperinik-10-the-outcome

  • 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