Hey,
First time around here, Nice to meet you all!
Im doing my first project, Im keeping it simple, I have an Arduino UNO (rev3).
//Digital
const int Dam_Pump = 1; // The input showing that the dam pump is running
const int Source_Select = 2; // The input for Dam or Tank Selection
const int Tank_fill =3; // Solenoid to fill the tank
const int Pressure_iso =4; // Solenoid to isolate the pressure pump
const int Join =5; // Solenoid to join dam pump to ring main
//Analogue
int Tank_Level =A0;
int val =0;
void setup() { //Code to run for once
pinMode(Dam_Pump,INPUT); //Sets pin 1 as an input
pinMode(Source_Select,INPUT); //Sets pin 2 as an input
pinMode(Tank_fill,OUTPUT); //Sets pin 3 as an output
pinMode(Pressure_iso,OUTPUT); //Sets pin 4 as an output
pinMode(Join,OUTPUT); //Sets pin 5 as an output
}
void loop () { //Code to run on repet
val = analogRead(Tank_Level);
}
So Iv done this so far, Am I doing okay with the layout.
This project controls 3 Solenoid valves, Has a few inputs (some not listed yet) and 1 analogue input ( A Voltage ladder) SO I can read 5 level switches with the one input)
As to where im heading,
Id like to have maybe an app on the phone that could be used to monitor and control it remotely. And maybe even a Sheild that will send me warning messages.
One question is, I need to get a signal out to 150 Meters away whats the best way of doing this?
Cheers