Supplied this is a window alarm annunciator based mostly totally on Arduino Uno board. An annunciator is principally utilized in course of vegetation, power vegetation and industries to look at quite a few plant circumstances to alert operators about irregular circumstances or parameter deviations. It should even be used as a security/hearth alarm. The creator’s prototype is confirmed in Fig. 1.

Circuit and dealing

The circuit diagram of the window alarm annunciator is confirmed in Fig. 2. It is constructed spherical Arduino Uno board (board1), seven LEDs (LED1 via LED7), three tactile switches (S1 via S3) and a few discrete parts.

This annunciator has seven inputs associated all through connectors CON1 via CON7 for initiating the alarm via normally-open (NO) contacts. There are moreover three enter switches (S1 via S3) for test, acknowledge and reset. There are eight outputs, out of which seven are associated with LEDs, akin to seven enter alarm contacts, whereas the eighth output is provided for the buzzer. (The buzzer could also be modified with a hooter using additional circuitry.)

All alarm inputs are designed for NO contacts. Except for digital pin 2 via pin 13 of Arduino, analogue pin A0 via pin A5 are moreover used as digital I/O pins to look at the seven utterly completely different enter circumstances.

If any enter alarm contact is closed, the corresponding output LED will blink/flash at a fast payment and the piezo buzzer may be activated to attract the attention of the individual, or of us, shut by. The alarm could also be stopped by pressing the acknowledge pushbutton change (S2). This may de-active the piezo buzzer and the LED will blink at a slower payment. That is, if alarm enter contact is opened, alarm sound will stop nevertheless the LED will proceed to flash at a sluggish payment. When reset button (S3) is pressed, the LED will go off totally.

Enable us to take an occasion. Initially, all inputs are open, so all LEDs are off. If there’s draw back with the first machine, first enter I/P1 at CON1 will shut, LED1 will flash at a fast payment and PZ1 will make an alarm sound. When S2 is pressed, with I/P1 closed, PZ1 may be off nevertheless LED1 will carry on. When S2 is pressed, with I/P1 open, PZ1 may be off and LED1 will flash slowly until S3 is pressed momentarily.

Check out pushbutton change S1 is provided to test the LEDs and the buzzer. When S1 is pressed, all window alarm LEDs will glow steadily, and the buzzer may be activated. This may proceed till S1 is launched.

Software program program

The software program program is written in Arduino programming language using Arduino IDE mannequin 1.8.5. Sooner than importing the given sketch/program to Arduino Uno, make sure that elapsed Millis library carry out is obtainable in Arduino IDE (Sketch>Embody libraries>Arduino libraries). If not, receive elapsedMillis-master folder from provide.efymag.com. Then, embrace the zip file by following the steps given beneath.

Sketch>Embody libraries>Add. ZIP Library…>and browse the scenario the place elapsed Millis file is saved. After together with the above library carry out, make sure that it appears inside the itemizing of library capabilities. Now, add Annunciator.ino sketch file to the board.

Receive Source Folder

Constructing and testing

A PCB format of the window alarm annunciator is confirmed in Fig. three and its parts format in Fig. 4. After assembling the circuit, enclose it in an appropriate discipline, along with Arduino Uno. Restore all LEDs on one side of the cabinet and piezo buzzer on the other. Power present for the circuit is used via Arduino board and associated via the USB port of the laptop computer pc/desktop.

Receive PCB and Half Format PDFs: click here

All inputs, I/P1 via I/P7, are potential-free exterior NO contacts with a regular ground rail. That is, all inputs coming from the house tools/machineries should be NO. Enter contacts must shut when points like overload or short-circuit occur inside the load of a lot of house tools/machineries.

For easy and quick testing, assemble the circuit on a breadboard, as per the given connection diagram. All inputs could also be initiated, along with acknowledge, test and reset inputs, by pressing the respective switches.

Warning. 1

Solely potential-free exterior NO contacts should be used as alarm contacts (CON1 via CON7) with a regular ground. In some other case, exterior voltage injected into the circuit will damage Arduino Uno.

If prolonged cables are used for alarm enter, EMI suppression circuits/optocoupler circuits should be added to cease spurious operation or damage.


LEAVE A REPLY

Please enter your comment!
Please enter your name here