Need help making a door alarm that triggers actions on my computer.
What I'm trying to do is make a door alarm that would be connected to my computer and triggers a wav or mp3 and also sends a text message to my phone. I was thinking of maybe using an arduino that I have. I need a script or program that would monitor serial ports and call up a program. I'm am not sure how to go about doing this. If anyone has any experience with this sort of thing your help would be greatly appreciated.