Texting is something I love playing with, and I’ve always wanted to make a sensor-bot that skipped the hassle of wifi by texting me its data.
So this week, I tried to make some progress on that by making a texting bot.
FONAtest example sketch from the guide, I easily sent myself a text, using “s” for “Send SMS.”
Once I can text, I can tweet!
I went online to a Twitter account I tinker with and assigned a phone number to the account — the number of my SIM card, which I know because it’s the number I got a text from.
Twitter sends a confirmatinon text, and since I was still running the
FONAtest program, it came in to my Arduino. By typing “r” can read all texts received, and was able to confirm the number with the code Twitter texted to me.
The next step? Direct my texts to Twitter’s short code, “40404.” And it worked!
My hope is to combine the texting code with this temperature sensor. So far, the texting code seems to scramble the temperature readings. Let the troubleshooting begin!