hortigrowprojects
Posts: 1
Joined: Thu Apr 04, 2013 9:45 am

Really Rookie, looking to control greenhouses

Thu Apr 04, 2013 9:52 am

Hello to everyone.

I am looking for a platform able to receive data from sensors, process this data and switch on outputs in order to control climate inside a greenhouse. Is this possible with raspberry?

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: Really Rookie, looking to control greenhouses

Thu Apr 04, 2013 10:29 am

Yes
But if you have sensors which are analogue, you'll need an ADC with the Pi, since the Pi doesn't do analogue.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4258
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: Really Rookie, looking to control greenhouses

Thu Apr 04, 2013 10:32 am

The answer is yes.

The next question is what values do you need to measure, and what hardware do you need to control?

The Raspberry Pi has no analogue inputs or outputs, but digital sensors exist for most variables that you would need to measure. For example the D18B20 measures temperature, and I believe humidity sensors are also available. You might have a problem with something esoteric such as pH. Similarly, the Raspberry Pi can control hardware such as servos and motors using either on-off or duty-cycle. You will need external circuitry to convert the Raspberry Pis 3.3 volt interface to whatever the external hardware (input and output) requires, but that is well understood and easily available.

repton
Posts: 91
Joined: Sat Mar 17, 2012 6:06 pm
Location: North Yorkshire, UK.
Contact: Website

Re: Really Rookie, looking to control greenhouses

Thu Apr 04, 2013 7:18 pm

This sounds to me like a perfect application for a 1-Wire network.

You are probably looking at a bigger network that you could reliably work with the kernel based driver but with a DS9490R USB host adapter or an I2C based host adapter such as my RPI2 (http://www.sheepwalkelectronics.co.uk/RPI2.shtml) or AB Electronics' 1-Wire Pi (http://www.abelectronics.co.uk/products ... /1-Wire-Pi) you could then build a network with temperature and humidity sensors as well as output modules to switch relays to control fans or vents. Sensors and modules for this are available from various suppliers including myself and HomeChip in the UK, or Hobby Boards in the US.

You would probably run it all using the OWFS software which allows you to write your control software in your choice of languages including perl, python or php.

Paul
UK Supplier of 1-Wire components, kits and modules:
http://www.sheepwalkelectronics.co.uk/

Return to “Beginners”