So I’ve already put my spark to use on some fun projects.
I live in an apartment building in San Francisco, and my landlady charges an arm and a leg for keys to the front door of the building. Realizing that my old school buzzer inside my apartment was a simple relay away from being wifi enabled, i decided to use my trusty spark core and a little twilio magic to make my front door SMS enabled. The twilio script checks to see the caller-id to make sure its me (this is also adaptable for AirBnB users who want to let guests use the entrance)
Here is the inside of the buzzer in my apartment
I connected the “buzzer” to a solid state relay (i know i could have used a cheaper relay, but it was within arms reach during the project)
Since the SSR only needed 3v to activate, I simply connected the relay to a Digital Pin and ground. When I set the pin to high, the relay closes and the buzzer goes BUZZ.
To make it all work nicely, I made a twilio account that hits a web URL when it receives and SMS. For sake of scrapiness, I just made a basic PHP script that checks that the phone number is valid, and then hits the sparks url with a digital pin high, then waits to seconds, and then hits it with low (so the buzzer goes on for 2 seconds, then turns off)
…and here is the magic in action. sweet and simple.
(since i have many more projects in mind, and only one beta spark, ive since removed it from this install, and im now focused on another project…involving cooking!)