Water Detection System

13780Published On Jul 31,2016 16:36 PMshare0

This example uses a RaspberryPi to run the Node-RED server. Here is the setup page for getting started with Node-RED on RaspberryPi.

This is what the Node-RED flow for the project looks like:

What do the different nodes do?


1 min interval: Triggers the nodes it’s connected to on a set interval. In this example the interval is 60 seconds.


Bean serial: This is a node developed specifically for the LightBlue Bean. It connects to a specified Bean and allows you to send and receive serial messages.


Moisture threshold: Compares the current moisture to a high threshold. If it’s too wet it sends a string with the moisture reading to the next node.


Email: Sends the string passed from the previous node to a specified address.

Step 1: Get Node-RED up and running on the RaspberryPi

Step 3: Wire the Bean Solder the wires

Step 4: Program the Bean

Step 5: Copy file to clipboard

Step 6: Import project file to Node-RED

Step 7: Add your Bean

Step 8: Set up email

Step 9: Deploy

Step 10: Activate water detection system

Comment

Berlina
Followers20
Projects79
Related Recipes
Popular Recipes