Projets-2016-2017-Serres connectées

= Project presentation =



The project subject : Serres connectées.

The project consist of upgrading a classic greenhouse to retrieve live information about its climate. The farm exploitation is located in Saint-Cassien (38500), in the French Alps.

Data to retrieve :
 * Air temperature
 * Air moisture
 * Soil moisture

Control of these parameters are essentials to avoid disease, enhance the growth of the plantations and limit water consumption.

Two main constrains :
 * No power in the zone
 * Sensors needs to be moveable to let vehicles move along the greenhouse

= Team =


 * Supervisor: Nicolas Palix and Vincent Hibon


 * Members: Antoine Boisadam, Oriane Dalle


 * Department: RICM 4, Polytech Grenoble

= Documents =
 * Software Requirements Specification

= Calendar =

The project started on January 9th, 2017.

Week 1 (January 9th - January 12th)

 * Project selection (List of all subjects)

Week 2 (January 13th - January 19th)

 * Introduction to LoRa by Didier Donsez.
 * Discovery of the project
 * Setup of our computers to be able to program our Adafruit Feather.
 * First Hello world with the hardware (Discussion between two Adafruit Feather 32u4 in LoRa)
 * Call with one of the managers of the farm, Vincent, the feeling is good with him, we spoke during one hour :
 * He spoke about him and his wife farm exploitation
 * He detailed the farm layout
 * We asked him some precise questions about the project (Types and numbers of sensors wanted, data wanted, ...)
 * We agree on a meeting for the next Wednesday (25/01/2017)

Week 3 (January 20th - January 26th)

 * Define the use case diagram
 * Taking charge of the Adafruit Feather card and the PyCom one.
 * We wrote a little program that is able to send and receive data. At the moment these data are fake temperature until we embedded real sensors
 * We determinate the length maximum of data that we can sent to be able to record data each 30 minutes and respect the duty cycle (1% of the time)
 * The meeting was canceled by the managers of the farm and reported to the 8th of February

Week 4 (January 27th - February 5th)

 * No official time slot for the projec this week (Postpouned)
 * Call with Vincent Hibon on the 1st of Feb. We spoke about the advancement of the project.

Week 5 (February 6th - February 12th)

 * We got some new hardware : Mbed SX1272 with a ST Nucleo board, therefore we have to re-setup our computers to makes these cards working. Adafruit cards will be given to the project n°2.
 * On wednesday afternoon, first meeting at the farm with Vincent. We also meet Isabelle, Vincent's wife, the manager of the farm. Here is a [[Media:Recap_visite_ferme_-_08_02_2016.pdf|report]] of this afternoon (in French).
 * There are some pictures picked today (yes, the forecast wasn't very good...) :

Week 6 (February 13th - February 19th)

 * Monday:
 * We are very disheartened with these new STM32 cards. Three other hours lost in making research about how to make it works.


 * Tuesday:
 * Nice day ! Finally STM32 worked today, we were able to run the "PingPong" example program (link) and exchange some data
 * We are able to transform voltage from the temperature sensor to degree celsius.
 * NB: We use  on macOS 10.12 and Putty  on Ubuntu to have a console output.


 * Thursday:
 * Didier Donsez gave us a new sensor that is able to record temperature AND moisture.
 * Setup NodeRed + InfluxDB (docker) in contemplation of this tutorial : Developing IoT Mashups with Docker, MQTT, Node-RED, InfluxDB, Grafana.
 * We also speak about the Eclipse IoT Day Grenoble 2017 and sent mail to the Fablab in order to create a 3D Greenhouse in Plexiglass

Week 7 (February 20th - February 26th)

 * Polytech holidays
 * Setup and training with this tutorial : Developping IoT Mashups with Docker, MQTT, Node-RED, InfluxDB, Grafana

Week 8 (February 27th - March 5th)

 * Work on the I-Greenhouse progress summary
 * Designing a 3D plan for a Plexiglas greenhouse


 * Going to the FabLab in order to carve the model. The base is made of MDF (Medium-density fiberboard) and the structure is made of Plexiglas.
 * Set-up Node-red, we are able to retrieve data printed by the device (connected on )
 * The Extract data function :

= Materials =