Yale HSA6400 Burglar Alarm Arduino modifications - Part 1
Вставка
- Опубліковано 5 лют 2025
- Modifying a wireless Yale HSA6400 Burglar Alarm by adding an Arduino driven homegrown internal webserver and GSM mobile texting functionality.
More on this developing project here:-
www.ianjohnston...
Visit my website - www.ianjohnston.com
Incredible timing! I literally was just googling interfacing an arduino to Yale HSA6400, found nothing particularly interesting, decided to see what my youtube subscriptions were up to and spotted this video! Can't believe the coincidence!
arcadeuk Wow!!!. Yup, I was very lucky to find somebody on Ebay selling the panel only.......everyone else is selling full kits at over £150. I bought the panel whilst at our holiday lodge sitting with my feet up with a beer. Got home and there it was on the doormat, and got stuck into it yesterday.
IanScottJohnston I certainly look forward to seeing your progress with this. I had kind of got to the stage of wondering if it was possible to decipher the protocol of the wireless transmitter/receivers and replace the entire mainboard with an arduino based board, controlling the rx/tx modules. What you are doing is far simpler and more practical. I was however wondering if you might want to take yours a step further and read the LCD via the arduino as well?
arcadeuk I also thought the same when i looked at these wireless Sensors...
Would love to integrate it into a "smart" controller of my design... if you manage to-do it let me know, however i suspect it will be hard as you don't want people easily emulating the messages and broadcasting "I'm OK Nothing To Report" when in fact the PIR is disabled and its your laptop singing that tune instead! heh.
TornTech I'm sure I looked into this once before and found somebody on the web who had managed to reverse engineer the wireless protocol, or at least some of it.
Thank Ian: your YT vlogs are much more than that, they are tutorial/primer, i.e.: you are an instructor. I see that this project will yield itself to modification to monitor any number home/experimental control systems. Thank. cheers, Mark
Great new project (as usual!), look forward to follow-ons.
Brilliant!!! I've thought about doing something similar to this for a while! Look forward to the next part!
Excellent project, looking forward to the next episode.
I love that shirt, Ian. I also like the project, but the shirt is simply fantastic. :)
ZX81 was my first computer. But I like all the equipment on the shelfs.
Gregor Ottmann I've got a cupboard full of retro t-shirts, amd always wearing them in the workshop. Take me back to the 80's any day!
Really awesome and interesting project! Can't wait for the next video! =)
Another great project and this time a great shirt as well :)
I'm sure others have suggested this, but since your servers are only a few feet away, why not '232 to one of them and do all the cleverness there?
Love your videos, and your shirt!
Always interesting Ian. (As usual). Could you not remove some of the unwanted telephone components to give a bit more room?
elboa8 I'm looking at this now......final decision when the GSM & WIFI modules arrive so I can get a feel for their size/space.
Instead of the back-to-back MOSFETS to bridge the keyboard matrix, you might want to consider transmission gates such as the 74HC4066. For a 4 x4 keyboard, you would only need 4 devices. Another way would be sampling the rows and timing the column outputs, but the code would be tricky.
Steve Rodgers I did consider analogue switches, but as it stands I only need 9off fet's (smd) so they'll take up virtually no space. Regarding sampling......hmmm, my C++ isn't that great!
IanScottJohnston
If the signals only go in one direction (i.e. from row to column), only one MOSFET per button is required, and in that case single MOSFET's would indeed be smaller. Where transmission gates (analog-ue switches) are come in handy is when the keyboard matrix can be driven from both the row and the column signals.
As for doing away with the MOSFET's entirely, the key issue is synchonization of the Arduino to the alarm MPU. you would probably need to set up an interrupt on the first driven output from the alarm MPU and then use a timer to figure out when the other rows or colums get activated. Some poking around with a scope would be necessary to ensure the timing is predictable. If it isn't predictable, then this method can't be used. Additionally you would need to configure the Arduino outputs to be 3-state so that the keys on the alarm could still be used. All of this is quite tricky and to get the project up and running quickly , it probably should not be considered.
Interesting project. How are you interfacing to the LEDs etc without affecting the original signal? Will the Arduino have a separate ground, and if so, do you need to use opto-isolators to interface? I'm an rlectronics newbie :) also, how is that microcontroller able to do so much with only 8 I/O ports? Does it use shift registers?
stupossibleify The Arduino digital inputs are all high imedance so won't affect any of the signals being interfacing to (LED's, LCD etc). The Arduino gnd is the same as the Yale system gnd. The Arduino (Nano) has 20 digital I/O and 2 analogue I/O, but on top of that I have added in a 16ch digital extender IC (via I2C) so no shift registers required. See my webpage for the current I/O map.
Be Careful With the web interface, There is Big (Negative) Hype at present about the insecurity of "IOT" (I Hate that term!!) devices.. Make sure you get the web server to listen on a different port than 80 (Or at least port forward a different port externally to port 80 internally)
Also, why not make the GSM module capable of doing switching on an off, might be nice to text the device "ON P@ssw0rd" and it reply with confirmation?!
ESP8266 is also a nice wifi module for use with Arduino or, if you fancy completely re-doing your entire concept of Micro-controller, I have a series on using the ESP8266 as a full on microcontroller that will most defo fit in the space you have(ESP12)
Looking forward to second video!
I wouldn't be able to do this without picking up the LCD interface and emulating the LCD on the web interface. Shouldn't be too much effort and would really finish this off nicely.
SDG Electronics I have the IO for it and have thought about it.......but just trying to avoid being reminded to look at it...thanks Steve! However, in reality it would mostly be pointless EXCEPT for when an alarm occurs, or a fault etc and being able to see which zone it occured in via the web. Hmmmm, we'll see!
SDG Electronics Heh.. I was just about to write the same, then I saw your comment ^^ But yeah, I would do exactly the same!!
IanScottJohnston You know it will complete the project nicely :)
Thinking about it, it should be relatively straightforward - just look for display clear, cursor home or cursor position and character data.
SDG Electronics Did a bit of digging and the LCD is written to in 8-bit mode (was hoping for 4-bit mode), ahh well just means my Arduino IO will be pushed to the limit......again! :)
IanScottJohnston Good to hear! I look forward to seeing how you get on with the web interface.
How to reset after alarm has gone of
Instead of using a GSM module, most cell phone providers have e-mail handles for sending texts. For example, if your phone number was 222-222-2222 and you were serviced by Verizon, you would send an email to 2222222222@vtext.com and it will arrive at the device as a text message.
You could easily send an email using only the WiFi module, thus reducing the complexity of the modification. However, it would somewhat reduce the security. If you, for whatever reason, lost power to the house (and consequently your WiFi router), you would be unable to send a text if the alarm was triggered. With the GSM module, you would be able to send a text regardless of the state of your home power. Just a few considerations.
Have upated my webpage with some progress (inc. photos).
www.ianjohnston.com/index.php?option=com_content&view=article&id=117
I would have gone with a raspberry Pi
Amy Marie But if he'd chosen the Pi, the enclosure would accommodate his design. : )
BlackwhIsp To be fair, I don't even own a Raspberry Pi, and whilst I appreciate it's functionality I don't really want to get into programming one. If I was to move to a more powerful processor it would probably be an ARM based Arduino.......:-). But yes, in this design size & space is all so important.
especially because of ssl encryption and so on
I have an idea... get a proper alarm them Yale alarms are pathetic and total shit
Well, not everyone can afford a 'proper' alarm. Can you suggest a good system?
Texecom Veritas Excel or Premier Elite 24