Humidity SMS Alerts: Introduction

A family member recently asked me if I could make a simple device that would track humidity and alert him when it had reached a set level.

Rather than being an “Internet of Things” solution, I envision a more simplistic machine to machine system, where there is no central server and no internet. The device can be contacted with SMS commands to its phone number, and it contacts other phones over SMS when appropriate.

The system can be broken down into three parts, as demonstrated using my awesome Inkscape skills:

Humidity Alert System Sketch
A quick system overview of how I am planning on creating an SMS humidity alert system.

Cellular

  1. To send and receive SMS

Humidity sensor

  1. To measure humidity and convert the measurement into a form that can be read by a microcontroller

CPU (Microcontroller)

  1. Handle alerts. Depends on:
    1. Configuration of the system,
    2. The last time recipients were alerted. If humidity conditions were met, but users have been contacted in what is deemed “recent”, then they are not contacted again to avoid being bombarded with alerts.
  2. Configuration of the system
    1. Who are the recipients
    2. What are the conditions for notifications (thresholds, comparisons)
    3. System state
  3. To take readings from the sensor
  4. To compile SMS messages and send it to the cellular component.
  5. To interpret incoming SMS from the cellular component to:
    1. Update its humidity alert conditions
    2. Update its list of recipients
    3. Reply with its status (a “ping”)

There are more complicated things such as power management, data logging, system performance logging and mechanical enclosures, but these can all be considered at a later time.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s