SIP
Feedback System - Printable Version

+- SIP (https://nosack.com/sipforum)
+-- Forum: SIP (Sustainable Irrigation Platform) (https://nosack.com/sipforum/forumdisplay.php?fid=1)
+--- Forum: Feature requests (https://nosack.com/sipforum/forumdisplay.php?fid=4)
+--- Thread: Feedback System (/showthread.php?tid=110)

Pages: 1 2


Feedback System - pratikkhandelwal - 2017 Nov 20

Is there any way a feedback can be provided from motor(sprinklers) to see if it has actually started or not? Sometimes the relay will be triggered but sprinklers will not start so any solution for this problem?


RE: Feedback System - dan - 2017 Nov 20

There is a plugin called "pump_control".
It can be used with a pressure sensor to check that water is flowing.


RE: Feedback System - pratikkhandelwal - 2017 Dec 04

(2017 Nov 20, 04:14 PM)dan Wrote: There is a plugin called "pump_control".
It can be used with a pressure sensor to check that water is flowing.

Where will be the data displayed of pressure sensor? Will the data be displayed in SIP web page? Can we use an LCD or any other display? what type of pressure sensor can be used? Can you provide wiring diagram for lcd display?


RE: Feedback System - dan - 2017 Dec 04

You seem to have 2 questions mixed together.

For information on the LCD display see the plugin author's web site:
www.pihrt.com/elektronika/258-moje-rapsberry-pi-i2c-lcd-16x2

There is not much documentation for the pump plugin but there is an Arduino file for connecting the pressure sensor to the Raspberry Pi. You will need to be familiar with Arduino programming.

The pressure is shown on the plugin settings page.


RE: Feedback System - pratikkhandelwal - 2017 Dec 06

What type of pressure sensor? Can you share some information on that? Where is the arduino file? How to interface arduino and pressure sensor with raspberry pi?


RE: Feedback System - dan - 2017 Dec 06

The Arduino file is on the SIP Plugins repo on GitHub:
https://github.com/Dan-in-CA/sip_plugins/tree/master/pump_control

Look for the file "pumpControlv2.ino".

You can use a pressure sensor like:
https://www.amazon.com/Eyourlife-Universal-Pressure-Transducer-Solenoid/dp/B00RCPDPRQ/ref=pd_sim_263_2?_encoding=UTF8&pd_rd_i=B00RCPDPRQ&pd_rd_r=C43X4EWAT5AZGP34NMTD&pd_rd_w=lDULZ&pd_rd_wg=VHvVp&psc=1&refRID=C43X4EWAT5AZGP34NMTD


RE: Feedback System - pratikkhandelwal - 2017 Dec 08

(2017 Dec 06, 11:20 PM)dan Wrote: The Arduino file is on the SIP Plugins repo on GitHub:
https://github.com/Dan-in-CA/sip_plugins/tree/master/pump_control

Look for the file "pumpControlv2.ino".

You can use a pressure sensor like:
https://www.amazon.com/Eyourlife-Universal-Pressure-Transducer-Solenoid/dp/B00RCPDPRQ/ref=pd_sim_263_2?_encoding=UTF8&pd_rd_i=B00RCPDPRQ&pd_rd_r=C43X4EWAT5AZGP34NMTD&pd_rd_w=lDULZ&pd_rd_wg=VHvVp&psc=1&refRID=C43X4EWAT5AZGP34NMTD

Dan 


 we are using pressure sensor with raspberry pi and the value of pressure sensor is being displayed in pressure plugins page.


Further to control pressure and pump we will have to interface it with arduino and raspberry both which is still in development.

Am i right?

And the the pressure sensor you stated contains 3 wires? Can you share how to connect them to raspberry pi?


And cn you give me your email-id or whatsapp number for further interaction?


RE: Feedback System - dan - 2017 Dec 08

I have not use a pressure sensor but I am guessing that the 3 wires would be 2 for power and 1 for data signal. You should try to find a data sheet for the sensor you are using. There should be some information about the connection included with the sensor. If not, contact the supplier you got it from.

The Arduino .ino file contains quite a bit of documentation including a link:
https://github.com/MikeOchtman/Pi_Arduino_I2C/blob/master/I2C%20Interfacing%20Raspberry%20Pi%20to%20Arduino%20rev%202.pdf

This has a detailed description of the connection between the Pi and Arduino.

The idea is that the pressure sensor is connected to the Arduino not the Raspi. The Arduino has an ADC for converting analog sensor data to digital which The Pi can use. The Arduino can be at a distance from the Pi so that the Pi does not need to be located where the pressure senrsor is.


RE: Feedback System - pratikkhandelwal - 2017 Dec 09

(2017 Dec 08, 05:32 PM)dan Wrote: I have not use a pressure sensor but I am guessing that the 3 wires would be 2 for power and 1 for data signal. You should try to find a data sheet for the sensor you are using. There should be some information about the connection included with the sensor. If not, contact the supplier you got it from.

The Arduino .ino file contains quite a bit of documentation including a link:
https://github.com/MikeOchtman/Pi_Arduino_I2C/blob/master/I2C%20Interfacing%20Raspberry%20Pi%20to%20Arduino%20rev%202.pdf

This has a detailed description of the connection between the Pi and Arduino.

The idea is that the pressure sensor is connected to the Arduino not the Raspi. The Arduino has an ADC for converting analog sensor data to digital which The Pi can use. The Arduino can be at a distance from the Pi so that the Pi does not need to be located where the pressure senrsor is.

DAN,

Can we not use water flow sensors instead of water pressure sensors or transducers because water flow sensors are easily available. Rest everything will be the same. I dont know how to roll plugin? Can you help me with that? We can use water flow sensors and achieve the same.


RE: Feedback System - dan - 2017 Dec 09

You can use a flow sensor but it is more complicated.
Instead of getting a simple value as you get with a pressure sensor you would need to count pulses per time period in order to determine the flow rate.

A SIP user has made a fork of the project and added support for flow sensors:
https://github.com/DaveSprague/SIP