I-Greenhouse progress: Difference between revisions

From air
Jump to navigation Jump to search
(Created page with "=December 2016= Ordering of components on Adafruit with the USD 150 gift. * 3 Adafruit Feather 32u4 RFM95 LoRa Radio * [http://adafru.it/1298 Soil Temperature/Moisture] *...")
 
 
(64 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[I-Greenhouse|Main page]]
=December 2016=

[[Image:openiotchallenge3-logo.png|center]]

=Schedule of the project=
==March-November 2016==
* 1st HW/SW software and hardware design of the LoRa endpoint for temperature, humidity, rain and wind (Figure 2)
* 1st HW/SW software and hardware design of the Sigfox endpoint for temperature and humidity (Figure 3)
* 1st HW/SW design of the LoRa pico-gateway based on ESP8266 + RN2483 (Figure 4)
* 1st mockup of the backend based on MQTT, Node-RED and InfluxDB Link (Figure 5)
* 1st mockup of the data-visualization application based on Grafana Link (Figure 5)

==December 2016==
* Order of [[Adafruit Feather 32u4 RFM95 LoRa Radio]] on Adafruit with the USD 150 gift.

==January 2017 (start of the student project)==
* Ordering of the 14 square meters greenhouse and associated material
* Installation of the greenhouse in Polytech Grenoble backyard
* Sigfox endpoints (with first set of sensors)

==February 2017==
* Lora backend and LoRa endpoints (with first set of sensors)
* Lora pico-gateway hardware
* Grafana dashboard

==March 2017==
* March 9-10: Participation to the Eclipse IoT Days 2017 Grenoble ([https://wiki.eclipse.org/Eclipse_IoT_Day_Grenoble_2017 lik])
* Lora pico-gateway software
* LoRa endpoints (with second set of sensors)
* Sigfox endpoints (with second set of sensors)
* Alarming backend (Email, Free SMS, Android push).

==April 2017==
* Cordova mobile application
* Integration in OpenHAB/Eclipse SmartHome
* User documentation
* Student defense

= Teams =

== Advisors ==
{|style="margin: 0 auto;"
| [[File:Didierdonsez_popart.jpg|thumb|upright|alt = Didier Donsez |Didier Donsez]]
| [[File:Nicolas_palix.png|thumb|upright|alt = Sensors |Nicolas Palix]]
|}

== 2016 - 2017 ==
{|style="margin: 0 auto;"
| [[File:Antoine_Boisadam.jpeg |thumb|upright|alt = Sensors |Antoine Boisadam]]
| [[File:Oriane_Dalle.jpeg|thumb|upright|alt = Pycom |Oriane Dalle]]
| [[File:undefined.jpg |thumb|upright|alt = Pycom_Lo |Charles Marchand]]
| [[File:Pellicer_Marion.jpg |thumb|upright|alt = Electronic test plate |Marion Pellicer]]
|}

== 2017 - 2018 ==

=== Serre aquaponique @ Polytech ===

* Bonte Bastien (IESE3)
* Michel Faustine (IESE3)
* Naves Neto Paulo Rodrigues (IESE4)
* Onorio Dos Santos Erik Nayan (IESE4)
* Reboullet Dorian (MAT3)
* Ronco Antoine (MAT3)
* Lejeune Églantine (MAT4)
* Limousin Apolline (MAT4)

=== Serres @ Jardins du coteau ===
* Blanchard Charles (IESE3)
* Guiguitant Théo (IESE3)
* Ruaux Justin (IESE3)
* Derey Corentin (IESE4)
* Kieger Nicolas (IESE4)
* Massardier Damien (MAT3)
* Raillard Johann (MAT3)
* Dobies Justine (MAT4)
* Guehis Sami (MAT4)

=== Irrigation @ Jardins du coteau ===

* Challier Léo (IESE3)
* Rosetto Yann IESE3)
* Schaeffer Guillaume (IESE3)
* Mougin Louis (IESE4)
* Stoltz Florian (IESE4)
* Balme Loic (MAT4)
* Derbouze Draoua Mamin (MAT4)
* Shan Shibai (MAT4)

= Progress report (2016 -- 2017) =

==December 2016==


Ordering of components on Adafruit with the USD 150 gift.
Ordering of components on Adafruit with the USD 150 gift.
* 3 [[Adafruit Feather 32u4 RFM95 LoRa Radio]]
* 3 [[Adafruit Feather 32u4 RFM95 LoRa Radio]]
* [http://adafru.it/1298 Soil Temperature/Moisture]
* [http://adafru.it/1298 Soil Temperature/Moisture]
* DS18B20 - Temperature sensor
* [http://adafru.it/381 DS18B20 - Waterproof Temperature sensor]
* [http://adafru.it/1900 BMP183 SPI barometric pressure sensor]
* [http://adafru.it/1900 BMP183 SPI barometric pressure sensor]
* [http://adafru.it/992 I2C barometric pressure and temperature sensor]
* [http://adafru.it/992 I2C barometric pressure and temperature sensor]


= January 2016 =
== January 2017 ==
* Reception of the components
* Reception of the components
* Soldering of the 868MHz antenna and the pins on the Adafruit Feather
* Soldering of the 868MHz antenna and the pins on the Adafruit Feather


[[Image:i-greenhouse-components.jpg|600px]]
* Follow the Hello World example at https://learn.adafruit.com/adafruit-feather-32u4-radio-with-lora-radio-module/using-the-rfm-9x-radio

* Follow the Hello World example at https://learn.adafruit.com/adafruit-feather-32u4-radio-with-lora-radio-module/using-the-rfm-9x-radio

[[Image:i-greenhouse-hello.jpg|600px]]

* The TX device is connected to a solar panel with a battery pack (3x 1.2V)
* Use the 868Mhz frequency to match the antenna capability (Available ISM in France).
#define RF95_FREQ 868.0
* Add the blinking LED on pin 13 on the TX device
digitalWrite(LED,packetnum%2);

== Febuary 2017 ==

=== Air Temperature and Pressure ===

Use of a BMP183 (SPI Barometric and temperature sensor) connected to an Arduino Uno

# BMP183 3.3v <-> Arduino 3.3v
# BMP183 GND <-> Arduino GND
# BMP183 SCK <-> Arduino 13
# BMP183 SDO <-> Arduino 12
# BMP183 SDI <-> Arduino 11
# BMP183 CS <-> Arduino 10

Configure the Arduino IDE
"Arduino" -> "Preferences..." -> "Settings"

Set the "Additional Boards Manager URLs" to the following
https://adafruit.github.io/arduino-board-index/package_adafruit_index.json

Install the additional librairies
"Sketch" -> "Include library" -> "Manage Librairies"
* Adafruit Unified Sensor
* Adafruit BMP183 Unified Library

Alternative installation from ZIP
* https://github.com/adafruit/Adafruit_Sensor
* https://github.com/adafruit/Adafruit_BMP183_Unified_Library

{|style="margin: 0 auto;"
| [[Image:bmp183-connected-to-an-arduino-uno.jpg|400px]]
| [[Image:bmp183-with-arduino.png|300px]]
| [[Image:Nucleo_LR073RZ_with_SX1272_Shield.jpg|200px]]
|}

=== Soil and Temperature Moisture ===

* https://www.adafruit.com/product/1298
* https://github.com/practicalarduino/SHT1x

Use of a SHT10 connected to an Arduino Uno

# SHT10 Red 3.3v <-> Arduino 3.3v
# SHT10 Yellow (SCK) - S0 <-> Arduino GND
# SHT10 Blue (Data) - S1 <-> Arduino 13
# SHT10 Green (GND) <-> Arduino GND

{|style="margin: 0 auto;"
| [[Image:SHT10_protoshield_1.jpg|300px]]
| [[Image:SHT10_protoshield_2.jpg|300px]]
| [[Image:SHT10 _protoshield_arduino.jpg|300px]]
| [[Image:SHT10_application.png|300px]]
|}

Note the pull-up resistor on the data line (Blue and White).

=== [[LoRa]] communication tests===
* Communication between [[Adafruit Feather 32u4 RFM95 LoRa Radio]] and [[Pycom LoPy]] cards with a sending of simulated values
* Code for Lopy : https://github.com/igreenhouse/picoloragateway
* Code for Adafruit : https://github.com/igreenhouse/endpoints
* Communication between two Mbed SX1272 with a "PingPong" program
* Getting values from sensors and monitored by Adafruit Feather card

=== Data processing and visualization ===
* First step with Grafana and installation of a test InfluxDB, Node-Red and MQTT (By following this tutorial [[Developing IoT Mashups with Docker, MQTT, Node-RED, InfluxDB, Grafana]])

=== Mock-up ===

* The project will be presented at the Eclipse IoT 2017 in Grenoble with a mock-up of the greenhouse.


{|style="margin: 0 auto;"
| [[File:I-greenhouse_with_fishes.jpg|400px|thumb]]
| [[File:mock-up1.jpg|400px|thumb]]
| [[File:mock-up2.jpg|400px|thumb]]
| [[File:mock-up3.jpg|200px|thumb]]
|}

=== Farm visit ===

* Feb. 8, we visited a farm localized near Grenoble where we can implant the project. There are some pictures of the day with a satellite map of the exploitation :
{|style="margin: 0 auto;"
| [[File:7_greenhouses_-_Saint_Cassien.jpeg|400px|thumb|left|General view of the greenhouses]]
| [[File:Inside_view_of_a_greenhouse.jpeg|400px|thumb|left|Inside view of a greenhouse]]
|[[File:Jardin des Coteaux - Satellite map.png|400px|thumb|left|Satellite map with details]]
|}


=== Greenhouse model ===

* Preparation of the mockup for [https://wiki.eclipse.org/Eclipse_IoT_Day_Grenoble_2017 Eclipse IoT Days Grenoble 2017]
* 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 PMMA (aka Plexiglas).
* The mock-up's layout is available here : https://github.com/igreenhouse/Mock-up
{|style="margin: 0 auto;"
|[[File:Greenhouse_model.jpg|200px|thumb|center|Greenhouse model]]
|[[File:Greenhouse_model2.jpg|200px|thumb|center|Greenhouse model]]
|}

== March 2017 ==

===Demo at [https://wiki.eclipse.org/Eclipse_IoT_Day_Grenoble_2017 Eclipse IoT Days 2017]===
* Demonstration with the mockup

{|style="margin: 0 auto;"
|[[Image:IGreenhouse_IoTDay2017-1.jpg|400px|thumb|center|Eclipse IoT Days 2017]]
|[[Image:IGreenhouse_IoTDay2017-2.jpg|400px|thumb|center|Eclipse IoT Days 2017]]
|}

{|style="margin: 0 auto;"
| [[File:I-greenhouse_with_fishes.jpg|400px|thumb]]
| [[File:mock-up2.jpg|400px|thumb]]
| [[File:mock-up3.jpg|200px|thumb]]
|}

=== Repositories ===

* https://github.com/igreenhouse

= Progress report (2017 -- 2018) =

== Summer 2017 ==

* Order of MyFood greenhouse
* Order more [http://adafru.it/1298 Soil Temperature/Moisture] sensors
* Gift from ST Microelectronics:
** Some STM32L073RZT6 boards with an SX1272MB2DAS LoRa RF expansion board,
** Some extension boards X-NUCLEO-IKS01A2.

== October 2017 ==

3 new student groups get on board for this new year. They come from MAT (materials) and IESE (Computer Science and Electronics for Embedded Systems)
and are in 3rd and 4th years.

Latest revision as of 15:23, 22 January 2018

Main page

Openiotchallenge3-logo.png

Schedule of the project

March-November 2016

  • 1st HW/SW software and hardware design of the LoRa endpoint for temperature, humidity, rain and wind (Figure 2)
  • 1st HW/SW software and hardware design of the Sigfox endpoint for temperature and humidity (Figure 3)
  • 1st HW/SW design of the LoRa pico-gateway based on ESP8266 + RN2483 (Figure 4)
  • 1st mockup of the backend based on MQTT, Node-RED and InfluxDB Link (Figure 5)
  • 1st mockup of the data-visualization application based on Grafana Link (Figure 5)

December 2016

January 2017 (start of the student project)

  • Ordering of the 14 square meters greenhouse and associated material
  • Installation of the greenhouse in Polytech Grenoble backyard
  • Sigfox endpoints (with first set of sensors)

February 2017

  • Lora backend and LoRa endpoints (with first set of sensors)
  • Lora pico-gateway hardware
  • Grafana dashboard

March 2017

  • March 9-10: Participation to the Eclipse IoT Days 2017 Grenoble (lik)
  • Lora pico-gateway software
  • LoRa endpoints (with second set of sensors)
  • Sigfox endpoints (with second set of sensors)
  • Alarming backend (Email, Free SMS, Android push).

April 2017

  • Cordova mobile application
  • Integration in OpenHAB/Eclipse SmartHome
  • User documentation
  • Student defense

Teams

Advisors

Didier Donsez
Nicolas Palix

2016 - 2017

Antoine Boisadam
Oriane Dalle
File:Undefined.jpg
Charles Marchand
Marion Pellicer

2017 - 2018

Serre aquaponique @ Polytech

  • Bonte Bastien (IESE3)
  • Michel Faustine (IESE3)
  • Naves Neto Paulo Rodrigues (IESE4)
  • Onorio Dos Santos Erik Nayan (IESE4)
  • Reboullet Dorian (MAT3)
  • Ronco Antoine (MAT3)
  • Lejeune Églantine (MAT4)
  • Limousin Apolline (MAT4)

Serres @ Jardins du coteau

  • Blanchard Charles (IESE3)
  • Guiguitant Théo (IESE3)
  • Ruaux Justin (IESE3)
  • Derey Corentin (IESE4)
  • Kieger Nicolas (IESE4)
  • Massardier Damien (MAT3)
  • Raillard Johann (MAT3)
  • Dobies Justine (MAT4)
  • Guehis Sami (MAT4)

Irrigation @ Jardins du coteau

  • Challier Léo (IESE3)
  • Rosetto Yann IESE3)
  • Schaeffer Guillaume (IESE3)
  • Mougin Louis (IESE4)
  • Stoltz Florian (IESE4)
  • Balme Loic (MAT4)
  • Derbouze Draoua Mamin (MAT4)
  • Shan Shibai (MAT4)

Progress report (2016 -- 2017)

December 2016

Ordering of components on Adafruit with the USD 150 gift.

January 2017

  • Reception of the components
  • Soldering of the 868MHz antenna and the pins on the Adafruit Feather

I-greenhouse-components.jpg

I-greenhouse-hello.jpg

  • The TX device is connected to a solar panel with a battery pack (3x 1.2V)
  • Use the 868Mhz frequency to match the antenna capability (Available ISM in France).
#define RF95_FREQ 868.0
  • Add the blinking LED on pin 13 on the TX device
digitalWrite(LED,packetnum%2);

Febuary 2017

Air Temperature and Pressure

Use of a BMP183 (SPI Barometric and temperature sensor) connected to an Arduino Uno

  1. BMP183 3.3v <-> Arduino 3.3v
  2. BMP183 GND <-> Arduino GND
  3. BMP183 SCK <-> Arduino 13
  4. BMP183 SDO <-> Arduino 12
  5. BMP183 SDI <-> Arduino 11
  6. BMP183 CS <-> Arduino 10

Configure the Arduino IDE

"Arduino" -> "Preferences..." -> "Settings"

Set the "Additional Boards Manager URLs" to the following

https://adafruit.github.io/arduino-board-index/package_adafruit_index.json

Install the additional librairies

"Sketch" -> "Include library" -> "Manage Librairies"
  • Adafruit Unified Sensor
  • Adafruit BMP183 Unified Library

Alternative installation from ZIP

Bmp183-connected-to-an-arduino-uno.jpg Bmp183-with-arduino.png Nucleo LR073RZ with SX1272 Shield.jpg

Soil and Temperature Moisture

Use of a SHT10 connected to an Arduino Uno

  1. SHT10 Red 3.3v <-> Arduino 3.3v
  2. SHT10 Yellow (SCK) - S0 <-> Arduino GND
  3. SHT10 Blue (Data) - S1 <-> Arduino 13
  4. SHT10 Green (GND) <-> Arduino GND
SHT10 protoshield 1.jpg SHT10 protoshield 2.jpg SHT10 protoshield arduino.jpg SHT10 application.png

Note the pull-up resistor on the data line (Blue and White).

LoRa communication tests

Data processing and visualization

Mock-up

  • The project will be presented at the Eclipse IoT 2017 in Grenoble with a mock-up of the greenhouse.


I-greenhouse with fishes.jpg
Mock-up1.jpg
Mock-up2.jpg
Mock-up3.jpg

Farm visit

  • Feb. 8, we visited a farm localized near Grenoble where we can implant the project. There are some pictures of the day with a satellite map of the exploitation :
General view of the greenhouses
Inside view of a greenhouse
Satellite map with details


Greenhouse model

Greenhouse model
Greenhouse model

March 2017

Demo at Eclipse IoT Days 2017

  • Demonstration with the mockup
Eclipse IoT Days 2017
Eclipse IoT Days 2017
I-greenhouse with fishes.jpg
Mock-up2.jpg
Mock-up3.jpg

Repositories

Progress report (2017 -- 2018)

Summer 2017

  • Order of MyFood greenhouse
  • Order more Soil Temperature/Moisture sensors
  • Gift from ST Microelectronics:
    • Some STM32L073RZT6 boards with an SX1272MB2DAS LoRa RF expansion board,
    • Some extension boards X-NUCLEO-IKS01A2.

October 2017

3 new student groups get on board for this new year. They come from MAT (materials) and IESE (Computer Science and Electronics for Embedded Systems) and are in 3rd and 4th years.