Go Down

Topic: Arduino-based Burglar and Fire Alarm System (Read 6932 times) previous topic - next topic

mykh

Dec 26, 2012, 09:48 pm Last Edit: Dec 26, 2012, 09:50 pm by mykh Reason: 1
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:
http://www.youtube.com/watch?v=SJTbPBYI8FU

Nick Gammon

Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

alex72

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.

Gorgus


mykh

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

tuxduino


CrisEg

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

mykh


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


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


CrisEg



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!


Oby_One

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?

Pauly

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

Oby_One

#12
Feb 15, 2014, 12:51 pm Last Edit: Feb 15, 2014, 01:27 pm by Oby_One Reason: 1
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

maart99

#13
May 09, 2014, 09:50 pm Last Edit: May 11, 2014, 10:14 pm by maart99 Reason: 1
I have a 74hc595n chip, on the site off the picture (http://code.google.com/p/arduinoshiftreglcd/) I found a schematic for my chip, the circuit is great, but I think i have to modify the code to make it work
I can get only random letters.
if I use the solution from oby_one I get an error!

can you help me?
Thanks

(I have a b50k potentiometer for the contrast (works great) , a 74hc595n chip.)

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy