Jump to content

  •  

Photo

working on my Arduino automatisation


  • Please log in to reply
35 replies to this topic

#1 floricole

floricole

    Hot

  • Members
  • PipPipPip
  • 583 posts
  • Location:Quebec, Canada

Posted 16 December 2017 - 02:07 PM

If it can give ideas to some people, I leave it here

 

Considering that my greenhouse is at the other end of my land and that the electricity does not go so far, I have no choice to automate the control of my greenhouse on the 12 volts.

So I need solar panels to charge the batteries,  so I searched quite a lot on the web and my choice stopped on the Arduino Sun Tracking / Heliostat Program (The Open Sun Harvesting Project)

 

"The Arduino Sun Tracking / Heliostat Program is a program for the Arduino that is able to control multiple types of sun tracking machines and heliostats. It is able to control not just one machine but several, each with its own set of design parameters. It has a myriad of other features as well such as manual control, stepper motor acceleration, and wind protection mode just to start.

To learn more about this program: https://www.cerebral...vesting-project and the discussion board "

sFvQ0rX.png

 

It's good to follow the sun but you have to get the most from the solar panels, so I will add Arduino Based MPPT (Maximum power point tracking) Solar Charge Controller

for now i'm lokking at this project done by Tim Nolan

reUtvW6.png

 

https://web.archive....t-solar-charger

 

 

 I need a weather station: Wind direction - Wind speed – Temperature – Humidity - Air pressure - Light levels - Rain gauge

it will be all homemade I will detail when I have some picture.

 

and now for the greenhouse:  soil Temperature – soil Humidity - automatic irrigation - automatic roll up side - and more

 

 

if you want an ARDUINO MEGA 2560 REV3 got mines from Go Cyber Shooping at (US) $14.95 

 



#1A Guest

Guest

  • Guest
  • Pip
  • 1 post

#2 Hafners

Hafners

    Heating Up

  • Members
  • PipPip
  • 184 posts
  • Location:North Dakota

Posted 16 December 2017 - 02:29 PM

For the auto-irrigation, are you planning to go with soil moisture sensors, or just irrigate on a timed basis? I found a few sensor based controllers for around $100, but not sure just how reliable they are.

#3 floricole

floricole

    Hot

  • Members
  • PipPipPip
  • 583 posts
  • Location:Quebec, Canada

Posted 16 December 2017 - 03:31 PM

For the auto-irrigation, are you planning to go with soil moisture sensors, or just irrigate on a timed basis? I found a few sensor based controllers for around $100, but not sure just how reliable they are.

 

with the soil moisture capacitive sensors, after lots of reading on the subject my choise is the Giess-o-mat https://www.mikrocon...24?goto=new#new

FNIdJE5.png

 

you can buy the kit here https://www.ramser-e...t-beschichtung/

 

 

 

edit: some sensor test here : https://wwwvs.cs.hs-...de_2:_Kapazitiv

 

1.2.1 Messmethoden & Sensoren für Bodenfeuchte
1.2.1.1 Messmethode 1: Resistiv
1.2.1.2 Messmethode 2: Kapazitiv
1.2.1.3 Messmethode 3: Saugspannung
1.2.1.4 Messmethode 4: Wasserpotential


Edited by floricole, 16 December 2017 - 03:37 PM.


#4 floricole

floricole

    Hot

  • Members
  • PipPipPip
  • 583 posts
  • Location:Quebec, Canada

Posted 18 December 2017 - 12:54 PM

the weather station 

 

wind vane and anemometer

all parts are made from pvc schedule 40

 

wind speed and direction : AS5040 - Magnetic, Rotary Position Sensor Board

nSN7U17.pnglEhLqjR.png

 

rain detection¨:

LM393 Rain Drops Sensor

 

BXAwIDK.png

rain gauge:

MS5540-CM 10-1100mbar Digital Pressure Sensor Module

xVLFkQD.png

light:

TSL2591 High Dynamic Range Digital Light Sensor

ATUixf5.png

 

edit:   almost forgot the  BME280

External Temperature

Humidity
Barometric Pressure

CTK4W4U.png

 


Edited by floricole, 18 December 2017 - 07:14 PM.


#5 floricole

floricole

    Hot

  • Members
  • PipPipPip
  • 583 posts
  • Location:Quebec, Canada

Posted 21 December 2017 - 06:47 PM

for all the temp sensors and soil humidity sensors

i need this 24/48/72 Channel Analog Input Extender ( Analog Multiplexer)

will start with only 1 bord for now

 

uEAspjl.pngwoy1mry.png

 

 

another open source board, info+download

http://interface.khm...annel-extender/

 

 

download for MPPT (Maximum power point tracking)

Version 4.04  This version is based on the Tim Nolan's design

http://www.freechargecontroller.com/



#6 floricole

floricole

    Hot

  • Members
  • PipPipPip
  • 583 posts
  • Location:Quebec, Canada

Posted 26 December 2017 - 05:22 PM

Master Arduino

sEQohOr.pngZBV5qFg.png

 

i2c 20X4 Character LCD Module Display

tutorial

 

i2c 4x4 matrix Keypad (PCF8574)

tutorial

 

15 step/pulses rotary encoder Breakout board

rotary (b) click with led 

or Cytron Rotary Switch Breakout Board

 

a72NJN2.png

 

1 DS18B20 One Wire Digital Temperature Sensor

 tutorial

 

2 OMRON 16 Channel 12V Relay Module

 tutorial

 

3 Water flow meter

 tutorial

 

4 Rain sensor

 tutorial

 

5 Soil humidity sensor

 Giess-o-mat

 

6 SIM 900 gms modul

 tutorial

 

7 Data Logging shield

 tutorial 

 

8 XBee  -  Stalker v3.1

 tutorial

 

 

Slave

axh9z9V.png

i2c 20X4 Character LCD Module Display

 

thumb joystick

tutorial

 

Toggle switch

tutorial

 

8 buttons keyboard

 

wKjdpLb.png

 

1 AS5040 adapter board

 code   library  code

 

2 TCRT5000 IR sensor

 tutorial

 

3 Rain detector sensor

 tutorial

 

4 Temperature, Humidity, Barometric Pressure (BME280)

 tutorial

 

5 Water Depth (Level) Sensor (MS5540C)

 tutorial

 

6 Light Level sensor (TSL2591)

 tutorial

 

7 DS18B20 One Wire Digital Temperature Sensor

 

8 Maximum power point tracking Solar Charge Controller (MPPT) 

 

9 XBee

 

 

 

 

*** Project with good Idea

 

Timer With On/Off Set Point

Timer Relay

Irrigation Controller

Greenhouse Automation Project         <-     good start for my project

Arduino Greenhouse Video Code       <-

 

now have to do the flowchart  to help me do the programming

bA5AIF1.png

 

 


Edited by floricole, 26 December 2017 - 09:48 PM.


#7 floricole

floricole

    Hot

  • Members
  • PipPipPip
  • 583 posts
  • Location:Quebec, Canada

Posted 30 December 2017 - 10:24 AM

adding Arduino Watchdog Timer (WDT)

mNr2Va5.png

 

TO DETECT LOCKUPS and do a restart

tutorial

 



#8 MNXR250R

MNXR250R

    Heating Up

  • Members
  • PipPip
  • 186 posts
  • Location:Minnesota

Posted 04 January 2018 - 11:09 PM

With all of the work you have ahead, I'm not sure you'll have time to grow peppers !!! ?   Kidding of course :)

 

I've use Arduino for robotics and it can be a LOT of fun.  I had one project that used a digital compass, but I couldn't get past the 0/360 crossover with any degree of.... grace  :P   Other than that I had a fairly autonomous bot that would move without hitting anything.

 

Perhaps instead of a WDT, you could just perform a "restart" at sunrise or at a given interval.  If the code is solid, the WDT timer may not be needed since the function of the system doesn't involve any real danger. Just a thought.

 

Awesome Tech !!!   Good luck on your project.

 

Jeff



#9 floricole

floricole

    Hot

  • Members
  • PipPipPip
  • 583 posts
  • Location:Quebec, Canada

Posted 05 January 2018 - 06:28 PM

With all of the work you have ahead, I'm not sure you'll have time to grow peppers !!! ?   Kidding of course :)

 

I've use Arduino for robotics and it can be a LOT of fun.  I had one project that used a digital compass, but I couldn't get past the 0/360 crossover with any degree of.... grace  :P   Other than that I had a fairly autonomous bot that would move without hitting anything.

 

Perhaps instead of a WDT, you could just perform a "restart" at sunrise or at a given interval.  If the code is solid, the WDT timer may not be needed since the function of the system doesn't involve any real danger. Just a thought.

 

Awesome Tech !!!   Good luck on your project.

 

Jeff

I take the time that I have lousse during the winter to do that, automation will take away a lot of work during the summer

Using the WatchDog is the simplest way of accomplishing it and and surely the safest.

I have more than 800 plants in production that will be maintained in part by my arduino I put all the chances on my side



#10 MNXR250R

MNXR250R

    Heating Up

  • Members
  • PipPip
  • 186 posts
  • Location:Minnesota

Posted 06 January 2018 - 10:35 AM

I'm curious about the DS18B20 Temp probe.  I've been working on my small indoor grow.  Mixing hydro solutions and pumping it around is the easy part. Keeping a constant temperature and humidity inside of the grow tent is the challenge.

 

I'd like to have a system where I can monitor the incoming air temperature (from outdoors), the room temperature (outside of the tent) and of course the internal tent temperature and the hydro solution temperate. Write some predictive code that would be able to turn this fan on or that vent off.... to keep the temp constant.  I'm also trying to keep the humidity above 60 percent, so simple venting isn't an option. If you're curious, here is a link to my current project  http://thehotpepper....tup-hots/page-1

 

So the probe then, how quickly does it respond to temperature changes ?  What would you say the maximum length of the wires should be ?

 

Good Luck !

 

Jeff



#11 floricole

floricole

    Hot

  • Members
  • PipPipPip
  • 583 posts
  • Location:Quebec, Canada

Posted 06 January 2018 - 12:15 PM

I'm curious about the DS18B20 Temp probe.  I've been working on my small indoor grow.  Mixing hydro solutions and pumping it around is the easy part. Keeping a constant temperature and humidity inside of the grow tent is the challenge.

 

I'd like to have a system where I can monitor the incoming air temperature (from outdoors), the room temperature (outside of the tent) and of course the internal tent temperature and the hydro solution temperate. Write some predictive code that would be able to turn this fan on or that vent off.... to keep the temp constant.  I'm also trying to keep the humidity above 60 percent, so simple venting isn't an option. If you're curious, here is a link to my current project  http://thehotpepper....tup-hots/page-1

 

So the probe then, how quickly does it respond to temperature changes ?  What would you say the maximum length of the wires should be ?

 

Good Luck !

 

 

DS18b20 is relatively fast about 93.75ms- 9 bits resolution 750ms-12 bits https://datasheets.m.../ds/DS18B20.pdf

if the sensor is encapsulate time may be longer for temp change because of the air insulation.

The wire length can be reach up to 100m and more https://www.maximint...ndex.mvp/id/148 Guidelines for Reliable Long Line 1-Wire Networks

 

to keep humidity high in my germinor box I'm using a Warm Mist Humidifier with huidity sensor



#12 floricole

floricole

    Hot

  • Members
  • PipPipPip
  • 583 posts
  • Location:Quebec, Canada

Posted 07 January 2018 - 10:15 AM

.  I'm also trying to keep the humidity above 60 percent, so simple venting isn't an option. 

Jeff

 

Jeff for humidity control you can use a ultrasonic transducer

 

https://www.seeedstu...v10-p-2542.html

or

https://www.ebay.com...JDpZeUAUCQKW3Gg

 

9oFxADy.png

 

Step by Step Introduction             video



#13 floricole

floricole

    Hot

  • Members
  • PipPipPip
  • 583 posts
  • Location:Quebec, Canada

Posted 07 January 2018 - 12:26 PM

For those who programming may be a  problem, there is Blockly from Google

convert logic code to arduino language

 

F0PEtiQ.png

 

the version for arduino of blockly: http://technologiesc...uino/index.html

just google for Arduino blockly for more

 

 



#14 MNXR250R

MNXR250R

    Heating Up

  • Members
  • PipPip
  • 186 posts
  • Location:Minnesota

Posted 14 January 2018 - 01:35 AM

So how is the project coming along ?

 

I received both the DHT11 humidity sensor and the 18D20 temperature sensor in the mail on Friday.  I got both running on a ATMega 2560.  Getting a few 5V coil (15amp contacts) relays coming tomorrow.

 

As to your project, when you talked about "automation".... are you hoping to leave your system unattended ?  To TOTALLY automate ?  Like, to leave the garden to itself and when you visit two months later.... all is well ???

 

Your project is interesting to me for sure !!.  Keep posting.

 

Jeff



#15 floricole

floricole

    Hot

  • Members
  • PipPipPip
  • 583 posts
  • Location:Quebec, Canada

Posted 14 January 2018 - 08:23 AM

So how is the project coming along ?

 

I received both the DHT11 humidity sensor and the 18D20 temperature sensor in the mail on Friday.  I got both running on a ATMega 2560.  Getting a few 5V coil (15amp contacts) relays coming tomorrow.

 

As to your project, when you talked about "automation".... are you hoping to leave your system unattended ?  To TOTALLY automate ?  Like, to leave the garden to itself and when you visit two months later.... all is well ???

 

Your project is interesting to me for sure !!.  Keep posting.

 

Jeff

 

Jeff,

I'm still waiting for parts, the postman started to deliver me some last week.

so in the meantime I sort through the code, I take the sections I need.

I made myself a little software that allows me to have 12 editors in the same page

9jQJfq1.png

 

can try it here for now https://codepen.io/P...el/full/aJemMj/

still have coding to do but by the end of the week it should work as I want.

 

given that I work full time and that I'm not there to make sure to open the natural ventilation of the greenhouse, I needed to automate so do everything with arduino. I am often away for 3-4 days during the week and I want to have the best growing condition for the pepper plants in the greenhouse and in the field.



#16 floricole

floricole

    Hot

  • Members
  • PipPipPip
  • 583 posts
  • Location:Quebec, Canada

Posted 14 January 2018 - 09:19 AM

I have add a project for the Growdown Throwdown 2018 Yellow Brain Strain! but please don't tell them  :shh:

I want to try ultraponic culture for one plant somehing similar to http://www.wyrd.fr/suao/?page_id=80

 

yyvdv0B.png

 

 



#17 Redaddiction

Redaddiction

    Mild

  • Members
  • Pip
  • 16 posts
  • Location:Austin

Posted 15 January 2018 - 08:52 PM

Check out the sonoffs 



#18 MNXR250R

MNXR250R

    Heating Up

  • Members
  • PipPip
  • 186 posts
  • Location:Minnesota

Posted 16 January 2018 - 04:21 PM

floricole, very cool idea.  Be like having a garden on a spaceship with nobody aboard. 

 

That ACE editor background color would dive my eyes batty !!  Do like the idea of having multiple files open for edit.  I'm using Atmel Studio, and I just found out that I can "split" the screen so that one file is broken out into two editing pages/panes. VERY cool !!  Don't have to constantly scroll between two parts of the code anymore  :dance:

 

Got my ATMega set up now. Nothing permanent though. Still in test mode.  So far the system has one task, and that is to keep the tent at 80degF. Heater on at night and exhaust fan during lights on. Simple but effective for my germination project. So for three days now the temp inside of the germination dome (which is inside of the tent), has been between 80-80.2 degF.  Me thinks me very happy !

 

Have the DHT11 running too, but I don't have anything written for it yet. Should be a week or so before I get the humidifiers running.

 

Good luck !!

 

Jeff

 

 

 

 



#19 floricole

floricole

    Hot

  • Members
  • PipPipPip
  • 583 posts
  • Location:Quebec, Canada

Posted 16 January 2018 - 05:57 PM

Jeff,

 

I like dark theme for my project, but the Ace editor have a lot of theme ( I will add the option to change them as in the demo page https://ace.c9.io/bu...tchen-sink.html

I did change for you loll https://jsfiddle.net/obo510sk/show/ no jsfiddle header https://fiddle.jshel...k/1/show/light/

 

if you click on the ace_gutter just left of the line number, this will remove the line from the code but you can still see it but blur text.

I'm working on the code to get a new file with those line remove from original code.

 

have to do :

file upload / download

search all tab


Edited by floricole, 16 January 2018 - 06:18 PM.


#20 kccellall

kccellall

    Mild

  • Members
  • Pip
  • 58 posts
  • Location:Kansas City

Posted 16 January 2018 - 06:10 PM

what about checking the ph and ec levels






0 user(s) are reading this topic

0 members, 0 guests