Pages: [1]   Go Down
Author Topic: Arduino-based Burglar and Fire Alarm System  (Read 4099 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 4
Posts: 3
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi folks, I would like to share with you my project.
It is an Arduino based alarm system which consists of 4x4 matrix keypad, 16x02 LCD screen connected to board using 2-wire schematic on 74LS164 and ATmega328p.

Here is the sources: https://github.com/mykh/Burglar-and-Fire-Alarm-System-Arduino

And here is the demo video:

« Last Edit: December 26, 2012, 03:50:22 pm by mykh » Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nicely done, thanks for the video.
Logged

Offline Offline
Newbie
*
Karma: 4
Posts: 44
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey mykh!

Wow great project! you've made a very good job, nice and professionnal! how much money do you spend to make that?

Greets.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Very professional looking. Good job!
Logged

Offline Offline
Newbie
*
Karma: 4
Posts: 3
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

First of all I want to thank you guys for your comments. I really appreciate it.
I spent on this project about 25 USD:
* electrical panel box - $3
* 4x4 Matrix keypad - $4
* 1602 LCD - $4
* ATmega328p - $4
* prototype board, buzzer, relay, 74LS164, etc. - ~$10
Logged

Offline Offline
Edison Member
*
Karma: 26
Posts: 1339
You do some programming to solve a problem, and some to solve it in a particular language. (CC2)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

+1  smiley
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Great! Where did you get that box for your alarm ?
Logged

Offline Offline
Newbie
*
Karma: 4
Posts: 3
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Great! Where did you get that box for your alarm ?

It's a regular electrical box I've bought in electrical shop.



* box.jpg (38.37 KB, 500x500 - viewed 49 times.)
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Great! Where did you get that box for your alarm ?

It's a regular electrical box I've bought in electrical shop.


Smart idea. Thanks for sharing!
Logged

Finland
Offline Offline
Newbie
*
Karma: 0
Posts: 45
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

nice.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 15
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Great job.

Could you please help me make it work on  an normal parallel LCD shield that I usually initialize with LiquidCrystal lcd(8, 9, 4, 5, 6, 7); [ it is this model: http://www.dfrobot.com/index.php?route=product/product&product_id=51#.UvKJtbRqdpg ]

I am guessing I should modify  something here:

ShiftRegLCDExt::ShiftRegLCDExt(uint8_t srdata, uint8_t srclock, uint8_t srbacklight, uint8_t enable, uint8_t lines)
: ShiftRegLCD(srdata, srclock, enable, lines), pinBacklight(srbacklight), lcdBacklightOnTime(0) and init with LiquidCrystal instead of ShiftRegLCD

So can you please please help me out with this init?
Logged

Boston
Offline Offline
God Member
*****
Karma: 3
Posts: 575
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nice job!
Especially when cutting the wire triggers the alarm.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 15
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I found the solution.
I replaced
ShiftRegLCDExt::ShiftRegLCDExt(uint8_t srdata, uint8_t srclock, uint8_t srbacklight, uint8_t enable, uint8_t lines)
  : ShiftRegLCD(srdata, srclock, enable, lines), pinBacklight(srbacklight), lcdBacklightOnTime(0)

  with

  ShiftRegLCDExt::ShiftRegLCDExt(uint8_t srdata, uint8_t srclock, uint8_t srbacklight, uint8_t enable, uint8_t lines)
  : LiquidCrystal(8, 9, 4, 5, 6, 7), pinBacklight(srbacklight), lcdBacklightOnTime(0)

Plus:
class ShiftRegLCDExt: public ShiftRegLCD -> class ShiftRegLCDExt: public LiquidCrystal
« Last Edit: February 15, 2014, 07:27:11 am by Oby_One » Logged

Pages: [1]   Go Up
Jump to: