Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
http://thegreenautomation.com
TABLE OF CONTENTS
TABLE OF CONTENTS
FEATURES
HARDWARE
MENU OVERVIEW
KIT CONTENTS
ASSEMBLY INSTRUCTIONS
POWERING THE DEVICE
FIRST-TIME CONFIG
SERIAL INTERFACE
SCHEMATICS
USEFUL LINKS
Page 1
FEATURES
HARDWARE
Page 2
MENU OVERVIEW
Page 3
KIT CONTENTS
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
Page 4
ASSEMBLY INSTRUCTIONS
Step 1.
Carefully place the battery [6] into it's socket in the main shield [1]. This is better
done like in the images below. You risk the chance of breaking the gold-plated part
otherwise.
Step 2
. Unwrap the LCD [2], the SD card [7] should be already plugged into it. Plug the
LCD to the Huertomato main shield. Theres a green plastic spacer included in the kit (as
a gift) but it will require some filing for it to fit properly between the LCD and shield.
Page 5
Step 3.
For this step you'll need a power cord you are willing to cut. Please be very
careful with this step as mains voltage can kill you.
Always make sure the cord is not
plugged into anything before manipulating it.
Cut back a bit of the cord's insulator, being careful as to not damage the inner cables. Cut
one of the two cables you'll encounter and peel them a bit till they fit securely inside the
screw terminal. This cable is routed through Huertomato's pump relay so it can control
your water pump.
Unscrew both terminals and attach your water pump's cable to them. Make sure you
screw them back tightly so that the cable is not able to move or unplug itself.
DEATH ALERT:
Please don't touch the relay's contacts near the screw terminal EVER while
cord is plugged. Mains voltage can kill you!
Page 6
Step 4.
Plug the sonar sensor [8] to the reservoir module [9] as shown in the picture.
Note: This sonar sensor needs direct perpendicular line of sight to your nutrient solution
as it's in charge of measuring the tank's level.
Step 5.
Connect your pH & EC probes to the reservoir module [9]. This is done by pushing
and then twisting to secure it into place. The pH probe has to be connected to the
terminal next to the RED circuit while the EC probe is connected near the GREEN one.
Page 7
Step 6.
Plug the ethernet cable [4] from the reservoir module [9] to the main shield [1]. In
the main shield the cable must be plugged into the top port, the one marked as
Reservoir sensing
ALERT:
Please don't plug the reservoir module to any other port of the main shield as this
may damage or destroy one or both of the circuit boards.
Page 8
Page 9
FIRST-TIME CONFIG
First of all you should go to Controller Settings. Here you can choose how the controller
will behave.
The most important option here is Time & Date. Here you have to set the proper time &
date using the arrows and then click on the Save button till it changes to Saved.
The remaining controller settings can be left at their default values but theyre worth
explaining.
Now its time to set up Huertomato for your current system. Go back to System Settings.
Page 10
Page 11
Reservoir Module menu is all about the solution tank. You can toggle the module on or
off, set up alarms and calibrate nutrient tank's levels.
Page 12
Last thing youll have to do is go to the calibration menu. There are two parts to this
calibration. Electroconductivity & pH are better calibrated with Huertomato sitting on top
of a desk, as youll need to play with calibration fluids and paper towels. The nutrient
level calibration is better done with the Huertomato system installed into its final place,
as youll need the range sensor to have direct line of sight to the nutrient tank for it to
calibrate nicely.
Calibration for pH and EC is
done with calibration fluids
and
following
on-screen
instructions. Neither probes
nor calibration fluids are
included in the kit, so youll
have
to
source
them
elsewhere.
For pH you'll need fluids of
ph4, 7 and 10. For EC 10K and
40K uS liquids. You'll also need
some paper towels.
Once you have everything at
hand, just go to the appropriate
menu and follow on-screen
instructions.
Page 13
SERIAL INTERFACE
Huertomato can be set-up and it's status can be read using serial commands. Serial
debug setting must be activated for them to work. Default baud rate is 115200bps and all
commands must end with a carriage return <CR> for them to be recognized. Commands
are case sensitive so check that sensor and settings names are correctly spelled as they
always start with a capital letter.
Available commands are:
help
shows all available commands.
status
gives current system values including date, time, available memory and
sensor data.
memory
displays current free memory.
sensors
menu for getting status of a selected sensor. Options are:
sensors
list
lists all possible sensors that can be checked
sensors
get
returns info of the given sensor. Options are:
sensors
get
Temperature
sensors
get
Humidity
sensors
get
Light
sensors
get
Ec
sensors
get
Ph
sensors
get
Level
settings
current system settings can be checked or modified from here. These
are saved to EEPROM so they can be retrieved in case of system restart. Options
are:
settings
list
gives the names of all system's settings.
settings
get
shows the current value of a given setting.
settings
get
WaterTimed
Page 14
settings
get
LightThreshold
1 if SD is present, 0 otherwise.
settings
get
SDhour
Led
Celsius
Boolean. 1 or 0.
settings
set
WaterHour
Integer. 0 to 23.
settings
set
WaterMinute
Integer. 0 to 59.
settings
set
FloodMinute
Integer. 0 to 59.
settings
set
PHalarmUp
Integer. 0 to 9999.
settings
set
ECalarmDown
Integer. 0 to 9999.
settings
set
WaterAlarm
Integer. 0 to 100.
settings
set
NightWatering
Boolean. 1 or 0.
settings
set
LightThreshold
Integer. 0 to 9999.
settings
set
MaxWaterLvl
Integer. 0 to 100.
settings
set
MinWaterLvl
Integer. 0 to 100.
settings
set
PumpProtection
Boolean. 1 or 0.
settings
set
PumpProtectionLvl
Integer. 0 to 100.
Page 15
settings
set
SensorSecond
Integer. 0 to 59.
settings
set
SDactive
Boolean. 1 or 0.
settings
set
SDhour
Integer. 0 to 23.
settings
set
SDminute
Integer. 0 to 59.
settings
set
Sound
Boolean. 1 or 0.
settings
set
SerialDebug
Boolean. 1 or 0.
settings
set
ReservoirModule
Boolean. 1 or 0.
settings
set
Led
- Boolean. 1 or 0.
settings
set
Celsius
- Boolean. 1 or 0.
Other settings like watering hour or minutes are set internally so they shouldn't and can't
be changed from command-line.
Page 16
SCHEMATICS
Page 17
USEFUL LINKS
>
>
>
>
Page 18