Mains Failure Detector

How avoid a freezer disaster while I am away.

May 5, 2019

15292 views

9 respects

Components and supplies

2

Female power jack

2

Resistor 10k ohm

1

Capacitor 100 µF

3

Female Header 8 Position 1 Row (0.1")

1

Arduino Nano R3

2

Male power Jack

1

SparkFun Solder-able Breadboard - Mini

1

12V switching wall power supply

1

GPRS shield SIM900

1

Resistor 5,6K ohm or 6,8k ohm

2

1N4007 – High Voltage, High Current Rated Diode

1

9V Battery Clip

1

9V battery (generic)

Tools and machines

1

Soldering iron (generic)

Project description

Code

SMS_1a.ino

arduino

At lines 68, 85 and 102 you must replace XXXXXXXXXXXX with your phone number in international format. You can compile the same code for Arduino UNO, NANO and PRO MINI. Required memory is very little. Lines from 26 to 30 will switch on the shield, but, if it is just ON it will go OFF!!!! It's important to start the program with the shield OFF. So, ATTENTION: 1. Load software 2. Detach USB connector 2. Connect first the 12V power supply 3. Connect 9V battery Now "Status" led on the shield will be on and "NetLight" led will be blinking and it will arrive the message "*** SISTEMA CONNESSO ***" (system connected). If you want more informations about the GPRS shield, at https://randomnerdtutorials.com/sim900-gsm-gprs-shield-arduino/ you will find a very helpfull tutorial.

Comments

Only logged in users can leave comments

mbraccagni

0 Followers

0 Projects

Table of contents

Intro

9

0