You are reading a single comment by @Hardware_Hacks and its replies. Click here to read the full conversation.
  • I was wondering where can I get the wifi module. Also does Esprunio have a 3G cellular module.

  • I am using the GSM2 Click with the espruino for GSM. There is an AT library (https://github.com/espruino/EspruinoDocs­/blob/master/modules/AT.js) that has been utilised within the wifi modules and some of the others. I am using this library to send commands to my GSM module.

    Example code:

    var at = require("AT").connect(Serial4);
    
    function SendSMS(phone_num,message,callback){
      at.cmd('AT+CMGS=\"'+phone_num+'\"\r',100­0,function(e){
        console.log('Phone number set:' + phone_num);
        at.cmd(message,1000,function(f){
          console.log('Message text set:' +message);
          at.cmd("\x1A\r",1000,function(g){
            console.log('Sending');
            return callback('Message sent');
          });
        });
      });
    }
    
    
About