Development v12

Warning - Product Update

All the resources present on this section belong to Waspmote v12, Waspmote Plug & Sense! v12 and Meshlium v3.8.

If you have a Waspmote v15, Waspmote Plug & Sense! v15 or Meshlium v4.0 please go to the new Development Section.

Check what is your version and what are the differences between the old and the new one in this document.

Examples:

Sensors / Agriculture Board v20

» Ag 01: Temperature Sensor

Last edition: Jan 10th, 2017 | Categories: Sensors, Agriculture Board v20

In this example the Agriculture 2.0 sensor board is turned on and the temperature sensor read every second approximately, printing the result through the USB port.

» Ag 02: Humidity Sensor

Last edition: Jan 10th, 2017 | Categories: Sensors, Agriculture Board v20

In this example the Agriculture 2.0 sensor board is turned on and the humidity sensor read every sixteen seconds approximately, printing the result through the USB port.

» Ag 03: Atmospheric Pressure

Last edition: Jan 10th, 2017 | Categories: Sensors, Agriculture Board v20

In this example the Agriculture 2.0 sensor board is turned on and the pressure sensor read every second approximately, printing the result through the USB port.

» Ag 04: LDR Sensor

Last edition: Jan 10th, 2017 | Categories: Sensors, Agriculture Board v20

In this example the Agriculture 2.0 sensor board is turned on and the LDR sensor read every second approximately, printing the result through the USB port.

» Ag 05: Leaf Wetness

Last edition: Jan 10th, 2017 | Categories: Sensors, Agriculture Board v20

In this example the Agriculture 2.0 sensor board is turned on and the leaf wetness sensor read every second approximately, printing the result through the USB port.

» Ag 06: Temperature/Humidity (SHT75)

Last edition: Jan 10th, 2017 | Categories: Sensors, Agriculture Board v20

In this example the Agriculture 2.0 sensor board is turned on and the temperature and humidity sensor read every eleven seconds approximately, printing the result through the USB port.

» Ag 07: Ultraviolet Solar Radiation

Last edition: Jan 10th, 2017 | Categories: Sensors, Agriculture Board v20

In this example the Agriculture 2.0 sensor board is turned on and the ultraviolet radiation sensor read every second approximately, printing the result through the USB port.

» Ag 08: Photosynthetic Solar Radiation

Last edition: Jan 10th, 2017 | Categories: Sensors, Agriculture Board v20

In this example the Agriculture 2.0 sensor board is turned on and the solar radiation sensor read every second approximately, printing the result through the USB port.

» Ag 09: Dendrometer Sensor

Last edition: Jan 10th, 2017 | Categories: Sensors, Agriculture Board v20

In this example the Agriculture 2.0 sensor board is turned on and the Dendrometer sensor read every second approximately, printing the result through the USB port.

» Ag 10: PT1000 Sensor

Last edition: Jan 10th, 2017 | Categories: Sensors, Agriculture Board v20

In this example the Agriculture 2.0 sensor board is turned on and the PT1000 sensor read every second approximately, printing the result through the USB port.

» Ag 11: Watermark Sensor

Last edition: Jan 10th, 2017 | Categories: Sensors, Agriculture Board v20

In this example the Agriculture 2.0 sensor board is turned on and the Soil Moisture sensor, placed on its first socket, read every second (the sensor reading time must be added to this time) approximately, printing the result through the USB port.

» Ag 12: Weather Station

Last edition: Jan 10th, 2017 | Categories: Sensors, Agriculture Board v20

Turn on the Agriculture v20 board and read the Weather station every minute. Every time a new pluviometer pulse is generated the interrruption is captured and stored

» Ag 12b: Wind Vane Filtered

Last edition: Jan 10th, 2017 | Categories: Sensors, Agriculture Board v20

This example shows how to turn on the Agriculture v20 board and read the Wind Vane Sensor calling the special 'getVaneFiltered' function in order to calculate the mean value of sucesive measurement of the wind vane direction sensor. The Wind Vane value will be stored in the inner attribute: 'SensorAgrv20.vaneDirection'

» Ag 13: Pluviometer Sensor

Last edition: Jan 10th, 2017 | Categories: Sensors, Agriculture Board v20

In this example the Agriculture 2.0 sensor board is turned on and configured to receive interruptions from the RTC and the pluviometer, printing the accumulated rainfall through the USB everytime an interruption arrives.

» Ag 14: Reading DS18B20 Temperature

Last edition: Jan 10th, 2017 | Categories: Sensors, Agriculture Board v20

In this example the Agriculture 2.0 sensor board is turned on and configured to read the temperature sensor on it once every second. This example works both with Agriculture_v20 and Agriculture_PRO