Lately there have been a series of burglaries in my neck of the woods that got me thinking...
Wouldn't it be nice to have a "panic button" of sorts that we could place by the bed that alerted the authorities if there was an intruder in our house while we were at home (unfortunately, the recent events were just this).
Arduino and Twilio both instantly came to mind. I know nothing about microcontrollers or programming them and don't have time to learn at the moment, but thought I'd toss the idea out there to see if anyone would like to tackle it.
I suggested Twilio because it's easy to implement as a way to call the authorities and call/sms family, friends, neighbors in the event that the button needs to be pushed.
It appears the Twilio API is based on an exchange of XML documents. Somewhat verbose XML. Which is a potential problem for a memory constrained microcontroller. Does Twilio have an alternate API that's a little less memory consumptive?
The audio file has to be available to the Twilio server which implies the audio file has to be placed on a publicly accessible web server. Thoughts on where to place the audio file?
I suspect some emergency responders will have objections to an automated system. Especially one built by amateurs. How receptive is your police department to the idea?
I share your suspicion, but I haven't gotten that far (i.e. asking them what they think). Even if emergency responders don't want it, I still think it's a good idea. Just have the app call friends & neighbors instead. EDIT: Just ran across this randomly. 911 will soon accept texts, photos, video
As for twilio, the api does use XML, but all arduino needs to do is ping an web address with some identifier on the end of it to set off the chain of events that is handled by the webserver. Unless I'm missing something, the load on Arduino, for this purpose anyway, is minimal.
The audio file could be placed just about anywhere. Amazon S3 is my initial thought, because it's uber inexpensive and more reliable than many other hosts out there.