This is a rather simple project; the main difficulty was in getting the Telit module to play nice
It took me a while to realise that any serial data sent to the module was being echoed back; this is because I *assumed* that I had enabled this option in my terminal utility (a good one for Windows is SecureCRT; Zterm for Mac).
Here's a snippet from the comms log, at least for sending a SMS...
More ramblings on this topic may be found in the full posting on my blog.Code:michaeldesilva@macbook-pro:~/Desktop/code_py$ python gm862_sms_and_calling.py Initialise: > ATE ['OK'] > AT&K0 ['OK'] > AT+CMGF=1 ['OK'] > AT+FCLASS=8 ['OK'] > AT+CNMI=2,2,0,0,0 ['OK'] Diagnostics: > AT ['OK'] > AT+COPS ['+COPS:', '0,0,"SRI', 'DIALOG"', 'OK'] SMS: > Send SMS: "If my calculations are correct, when this baby hits eighty-eight miles per hour, you're gonna see some serious sh**." ['+CMGS:', '196', 'OK']
Next step is to move this to a microcontroller. All this while I've worked with PICs and FPGAs from Altera. Planning to give AVR ago as I like the idea of not having to be tied to a commercial compiler; at least for hobbyist projects this is *not* a problem.
The motor setup of our automatic gate died a couple months back. This will allow for SMS controlled gate opening action, once I get around to dismantling the dead commercial product and installing my own version...with bells attached![]()


LinkBack URL
About LinkBacks
Reply With Quote