Giter VIP home page Giter VIP logo

gsmmon's Introduction

GsmMon

GSM home monitor

GSM Home monitor

This device is designed to monitor and report via SMS the temperature and humidity inside the home and be able to turn on/off some AC powered equipment (e.g. the heater) on receiving SMS from remote operator. The are 2 temperature channels with the optional second one designed to monitor the water temperature in the home heating system.

The SMS message sent by operator always starts from the # symbol. It may be followed by the following tokens separated by the space or comma:

  1        turn on  AC switch
  0        turn off AC switch
  /n       set reporting interval to n hours
  p<PIN>   authenticate with <PIN>
  P<PIN>   set new <PIN>

The response will be sent to any authenticated message, even the empty one (consisting from the single # symbol). The sender is authenticated implicitly unless the PIN is set and the sender address differs from the address used previously. In such case the new sender should provide PIN in order to be authenticated.

The SMS sent back as the response will contain the current AC switch state (as 0 or 1), temperature and humidity readings, reporting interval and GSM network signal quality metric.

The controller being used is Arduino pro mini 3.3v 8MHz (ATMega328). The full connection diagram is shown below:

GSM Home monitor schematic

To reduce EMI the GSM radio module is placed in the separate metal box as seen on the following figure.

Radio module housing

Using external antenna separated from the device is absolutely necessary to avoid destructive EMI from the radio module. Otherwise its transmission bursts are able to cause Arduino resetting. The distance from the device to antenna (and so the cable length) should be long enough in comparison to the radio carrier wavelength (~30 cm). At least 1 meter of cable is recommended.

The sketch uses the following libraries:

SimpleSIM

Display

BME280

DS18B20

OneWire

Author

Oleg Volkov ([email protected])

gsmmon's People

Contributors

olegv142 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.