---
title: "LoRa IOT Home Environment Monitoring System"
url: "https://maker.wiznet.io/nagamma06/projects/lora-iot-home-environment-monitoring-system/"
markdown_url: "https://maker.wiznet.io/nagamma06/projects/lora-iot-home-environment-monitoring-system/md"
type: "UCC: User Created Content"
author: "RodNewHampshi"
author_url: "https://www.instructables.com/LoRa-IOT-Home-Environment-Monitoring-System/"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "RodNewHampshi"
original_url: "https://www.instructables.com/LoRa-IOT-Home-Environment-Monitoring-System/"
published: "2022-11-29"
language: "en"
hardware: ["Arduino Mega 2560", "WIZnet W5500 Ethernet Shield"]
likes: 3
views: 824
comments: 1
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# LoRa IOT Home Environment Monitoring System

> 1.Create a home IOT gateway Minimum Viable Product 2. Create a User Interface 3. Assess suitability of LoRa technology for home environment

Original author: RodNewHampshi (source: https://www.instructables.com/LoRa-IOT-Home-Environment-Monitoring-System/)

## Components

- **Arduino Mega 2560** x 1 ([docs](https://www.farnell.com/datasheets/1674878.pdf?_ga=2.12759806.871556650.1519619484-654667508.1508905608&_gac=1.209399078.1518779130.EAIaIQobChMI97my66Sq2QIV77ftCh01kgA_EAMYASAAEgKPyvD_BwE))
- **WIZnet W5500 Ethernet Shield** x 1

## Article

The LoRa IOT Home Environmental Monitoring System consists of an Arduino Mega based IOT-to-Internet gateway and Arduino Feather based remote stations with environmental sensors. The remote stations communicate wirelessly with the gateway using LoRa radios.

The system enables a homeowner to monitor the home environment via an internet accessible dashboard, receive periodic SMS environmental notifications, receive realtime SMS alerts when monitored environmental parameters exceed preset thresholds, and log environmental data to the cloud.

The objectives for this project included the following:

- Create a home IOT gateway Minimum Viable Product (MVP)

- Create a User Interface (UI) framework for Arduino projects

- Assess suitability of LoRa technology for the home environment

The LoRa IOT Home Environment Monitoring System consists of the following subsystems:

1. **LoRa IOT Gateway** - wireless sensor hub and gateway to the Internet

2. **Indoor Station** - wireless temperature and humidity sensor

3. **Outdoor Station** - wireless temperature, humidity, and pressure sensor

The LoRa IOT Gateway receives periodic readings from the remote stations and implements the following functions:

- Local time keeping synchronized with NTP

- UI Functions and local display via 2 x 16 LCD

- Alerts for over / under threshold readings via SMS

- Hourly temperature and humidity updates via SMS

- Real-time dashboard (ten minute updates) via [Adafruit IO](https://io.adafruit.com/)

- Long term cloud data storage on [Google Drive](https://www.google.com/drive/) in Google Sheets

## **Step 1: LoRa IOT Gateway Hardware**

![LoRa IOT Gateway Hardware](https://content.instructables.com/FYC/9CR3/IYOQJBA4/FYC9CR3IYOQJBA4.jpg?auto=webp&frame=1&width=933&height=1024&fit=bounds&md=65c32fec16d3f183318923e80de5e12b)

**Step 2: Indoor Station Hardware**

![](https://maker.wiznet.io/upload/ckeditor5/740234310%5F1669746107%2Epng)
**Step 3: Outdoor Station Hardware ![](https://maker.wiznet.io/upload/ckeditor5/740234310%5F1669746157%2Epng)Step 4: LoRa IOT Gateway User Interface![](https://maker.wiznet.io/upload/ckeditor5/740234310%5F1669746225%2Epng)Step 5: SMS Notifications and Alerts**

![](https://content.instructables.com/FFQ/Q98U/J16PFKUH/FFQQ98UJ16PFKUH.jpg?auto=webp&frame=1&width=1024&height=1024&fit=bounds&md=358c6f9b3382206ac9aa28a5b64a2d9c)
**Step 6: Environmental Data Cloud Storage**
![](https://content.instructables.com/FMS/6CZG/J1GP19VB/FMS6CZGJ1GP19VB.png?auto=webp&frame=1&width=1024&height=1024&fit=bounds&md=b288b79491cfb0da1c354ad2615e2f00)
**Step 7: Internet Accessible Dashboard**
![](https://content.instructables.com/FHK/RJ3V/IYKFWHN9/FHKRJ3VIYKFWHN9.png?auto=webp&frame=1&width=1024&height=1024&fit=bounds&md=395b06107297aaff934eaa2910ddd160)
**Step 8: LoRa IOT Gateway Software**
[RodNewHampshire/LoRa-IOT-Home-Environment-Monitoring-System: LoRa IOT Home Environment Monitoring System (github.com)](https://github.com/RodNewHampshire/LoRa-IOT-Home-Environment-Monitoring-System)
**![](https://maker.wiznet.io/upload/ckeditor5/740234310%5F1669746428%2Epng)Step 9: Indoor Station Software**
[LoRa-IOT-Home-Environment-Monitoring-System/Indoor_Station_v1.5.0.ino at master · RodNewHampshire/LoRa-IOT-Home-Environment-Monitoring-System (github.com)](https://github.com/RodNewHampshire/LoRa-IOT-Home-Environment-Monitoring-System/blob/master/Indoor_Station_v1.5.0.ino)
**Step 10: Outdoor Station Software**
[LoRa-IOT-Home-Environment-Monitoring-System/Outdoor_Station_v1.5.0.ino at master · RodNewHampshire/LoRa-IOT-Home-Environment-Monitoring-System (github.com)](https://github.com/RodNewHampshire/LoRa-IOT-Home-Environment-Monitoring-System/blob/master/Outdoor_Station_v1.5.0.ino)
**Step 11: IOT Gateway SD Memory Card Authentication File**

The Arduino Mega SD Card slot takes a micro SD card, refer to step: **LoRa IOT Gateway Hardware **for details of the specific card used. Memory capacity of the SD Card is not critical. The SD Card used is 8GB, leaving plenty of memory for gateway data logging to be added in future.

Authentication data is stored on the SD card in a file called GW_Data.txt. In this way the gateway software can be deployed with out recompilation as the user specific authentication data is stored on the SD card. Think of the SD card as a SIM card in a mobile phone.

![](https://maker.wiznet.io/upload/ckeditor5/740234310%5F1669747366%2Epng)

---

Source: https://maker.wiznet.io/nagamma06/projects/lora-iot-home-environment-monitoring-system/
