Forum >Replies by mail_mee_info
userhead mail_mee_info
Replies (13)
  • You Reply:
    leff wrote:I saw there is V7 expansion shield in the middle, how is it going if your only inserted the DRI0009 on uno?

    is it good before?


    hai leff.....
    what's V7 expansion shield???
  • You Reply:
    leff wrote:I saw there is V7 expansion shield in the middle, how is it going if your only inserted the DRI0009 on uno?

    is it good before?


    hai leff.....
    what's V7 expansion shield???
  • You Reply:
    leff wrote:I played with it before just followed the wiki page, it's all working alright.

    hai left...
    are you sure???
    followed this script???

    Code: Select all
    #define Sleep_RQ  11  //dormancy control input pin of the WIFI shield
    #define Sleep_ON  12  //dormancy state output pin of the WIFI shield
    #define LED       13  //test status indication

    void setup()
    {
      unsigned char temp;
      pinMode(Sleep_RQ,OUTPUT);
      digitalWrite(Sleep_RQ,HIGH); 
      pinMode(Sleep_ON,INPUT);
      pinMode(LED, OUTPUT); 
     
      Serial.begin(115200); 
      delay(100);
      Serial.println("Start!");
      for(unsigned char i = 0;i<10;i++)  //output the state of the shield lasts 20 seconds
      {
        temp = digitalRead(Sleep_ON);
        if(0 == temp)
            Serial.println("D12=0 Sleep");
            else
            Serial.println("D12=1 Active");
        delay(1000);
      }
      Serial.println("Sleep after five second!");
      digitalWrite(Sleep_RQ,LOW);  //set the shield to sleep mode
      delay(5000);
      digitalWrite(Sleep_RQ,HIGH); 
      delay(100);
      Serial.println("Sleep Now!");
      for(unsigned char i = 0;i<10;i++)
      {
        temp = digitalRead(Sleep_ON);
        if(0 == temp)
            Serial.println("D12=0 Sleep");
            else
            Serial.println("D12=1 Active");
        delay(1000);
      }   
      Serial.println("Weak up  Now!");
      digitalWrite(Sleep_RQ,LOW);  //set the shield to normal working state
      delay(2000);
      digitalWrite(Sleep_RQ,HIGH); 
      delay(100);
      for(unsigned char i = 0;i<10;i++)
      {
        temp = digitalRead(12);
        if(0 == temp)
            Serial.println("D12=0 Sleep");
            else
            Serial.println("D12=1 Active");
        delay(1000);
      }
      Serial.println("Test RX and TX!");
    }

    void loop()
    {
       int val;
       
        val = Serial.read();  //Send data received by WIFI shield.Test the receive and dispatch situation.
        if(val!=-1){
        Serial.print(val);
        Serial.print('-');
        Serial.println(" DFRobot");
        digitalWrite(LED, HIGH);   
        delay(200);             
        digitalWrite(LED, LOW);   
        delay(200);             
        }
    }


    :mrgreen::mrgreen::mrgreen::mrgreen::mrgreen:

    you aren't kidding realy??
    if you want to turn on the led...just to turn on the led..., this script is to long... :mrgreen::mrgreen:
    i ask you ... what are you following?? you just follow to turn on your light??? hahahahahahahahahahahaha LOL

    i want to turn on the led over this wifi signal....how to communicate over the http protocol/? or how to communicate with at-command???? please give me a clue.....!!!!!
    the wiki didn't give anyting....where's the dfrobot customer support????
  • You Reply:
    leff wrote:I played with it before just followed the wiki page, it's all working alright.

    hai left...
    are you sure???
    followed this script???

    Code: Select all
    #define Sleep_RQ  11  //dormancy control input pin of the WIFI shield
    #define Sleep_ON  12  //dormancy state output pin of the WIFI shield
    #define LED       13  //test status indication

    void setup()
    {
      unsigned char temp;
      pinMode(Sleep_RQ,OUTPUT);
      digitalWrite(Sleep_RQ,HIGH); 
      pinMode(Sleep_ON,INPUT);
      pinMode(LED, OUTPUT); 
     
      Serial.begin(115200); 
      delay(100);
      Serial.println("Start!");
      for(unsigned char i = 0;i<10;i++)  //output the state of the shield lasts 20 seconds
      {
        temp = digitalRead(Sleep_ON);
        if(0 == temp)
            Serial.println("D12=0 Sleep");
            else
            Serial.println("D12=1 Active");
        delay(1000);
      }
      Serial.println("Sleep after five second!");
      digitalWrite(Sleep_RQ,LOW);  //set the shield to sleep mode
      delay(5000);
      digitalWrite(Sleep_RQ,HIGH); 
      delay(100);
      Serial.println("Sleep Now!");
      for(unsigned char i = 0;i<10;i++)
      {
        temp = digitalRead(Sleep_ON);
        if(0 == temp)
            Serial.println("D12=0 Sleep");
            else
            Serial.println("D12=1 Active");
        delay(1000);
      }   
      Serial.println("Weak up  Now!");
      digitalWrite(Sleep_RQ,LOW);  //set the shield to normal working state
      delay(2000);
      digitalWrite(Sleep_RQ,HIGH); 
      delay(100);
      for(unsigned char i = 0;i<10;i++)
      {
        temp = digitalRead(12);
        if(0 == temp)
            Serial.println("D12=0 Sleep");
            else
            Serial.println("D12=1 Active");
        delay(1000);
      }
      Serial.println("Test RX and TX!");
    }

    void loop()
    {
       int val;
       
        val = Serial.read();  //Send data received by WIFI shield.Test the receive and dispatch situation.
        if(val!=-1){
        Serial.print(val);
        Serial.print('-');
        Serial.println(" DFRobot");
        digitalWrite(LED, HIGH);   
        delay(200);             
        digitalWrite(LED, LOW);   
        delay(200);             
        }
    }


    :mrgreen::mrgreen::mrgreen::mrgreen::mrgreen:

    you aren't kidding realy??
    if you want to turn on the led...just to turn on the led..., this script is to long... :mrgreen::mrgreen:
    i ask you ... what are you following?? you just follow to turn on your light??? hahahahahahahahahahahaha LOL

    i want to turn on the led over this wifi signal....how to communicate over the http protocol/? or how to communicate with at-command???? please give me a clue.....!!!!!
    the wiki didn't give anyting....where's the dfrobot customer support????
  • You Reply: is there anyone can help me?? :cry::cry::cry::cry::cry:
  • You Reply: is there anyone can help me?? :cry::cry::cry::cry::cry:
  • You Reply: is there anyone can help me??? :cry::cry::cry::cry::cry::cry::cry:
  • You Reply: is there anyone can help me??? :cry::cry::cry::cry::cry::cry::cry:
  • You Reply: the led indicator on this shield is off (DRI0009)...is my motor shield was broken???

    [img]
    http://i.imgur.com/FD40aSK.jpg
    [/img]

    but the other indicator shield and arduino board is on
    [img]
    http://i.imgur.com/wBM4RXR.jpg
    [/img]
  • You Reply: the led indicator on this shield is off (DRI0009)...is my motor shield was broken???

    [img]
    http://i.imgur.com/FD40aSK.jpg
    [/img]

    but the other indicator shield and arduino board is on
    [img]
    http://i.imgur.com/wBM4RXR.jpg
    [/img]
  • You Reply:
    Grey wrote:Hi,

    WIFI shield V3 is simple connected module, all the configuration could be finished on the webpage. Please check its product wiki:
    https://www.dfrobot.com/wiki/index.php? ... KU:TEL0078
    It contains the simple tutorial about how to use it with wifi shield. The official wifi shield is using code configuration method. they are not compatible.


    hai Grey... thanks before for your reply...
    1. i have configure the wifi shield on the webpage.
    2.i have try the simple tutorial
    Code: Select all
    #define Sleep_RQ  11  //dormancy control input pin of the WIFI shield
    #define Sleep_ON  12  //dormancy state output pin of the WIFI shield
    #define LED       13  //test status indication

    void setup()
    {
      unsigned char temp;
      pinMode(Sleep_RQ,OUTPUT);
      digitalWrite(Sleep_RQ,HIGH); 
      pinMode(Sleep_ON,INPUT);
      pinMode(LED, OUTPUT); 
     
      Serial.begin(115200); 
      delay(100);
      Serial.println("Start!");
      for(unsigned char i = 0;i<10;i++)  //output the state of the shield lasts 20 seconds
      {
        temp = digitalRead(Sleep_ON);
        if(0 == temp)
            Serial.println("D12=0 Sleep");
            else
            Serial.println("D12=1 Active");
        delay(1000);
      }
      Serial.println("Sleep after five second!");
      digitalWrite(Sleep_RQ,LOW);  //set the shield to sleep mode
      delay(5000);
      digitalWrite(Sleep_RQ,HIGH); 
      delay(100);
      Serial.println("Sleep Now!");
      for(unsigned char i = 0;i<10;i++)
      {
        temp = digitalRead(Sleep_ON);
        if(0 == temp)
            Serial.println("D12=0 Sleep");
            else
            Serial.println("D12=1 Active");
        delay(1000);
      }   
      Serial.println("Weak up  Now!");
      digitalWrite(Sleep_RQ,LOW);  //set the shield to normal working state
      delay(2000);
      digitalWrite(Sleep_RQ,HIGH); 
      delay(100);
      for(unsigned char i = 0;i<10;i++)
      {
        temp = digitalRead(12);
        if(0 == temp)
            Serial.println("D12=0 Sleep");
            else
            Serial.println("D12=1 Active");
        delay(1000);
      }
      Serial.println("Test RX and TX!");
    }

    void loop()
    {
       int val;
       
        val = Serial.read();  //Send data received by WIFI shield.Test the receive and dispatch situation.
        if(val!=-1){
        Serial.print(val);
        Serial.print('-');
        Serial.println(" DFRobot");
        digitalWrite(LED, HIGH);   
        delay(200);             
        digitalWrite(LED, LOW);   
        delay(200);             
        }
    }


    but it's not working well, if i change the code
    Code: Select all
    void loop() 
    {
       int val;
       
        val = Serial.read();  //Send data received by WIFI shield.Test the receive and dispatch situation.
        Serial.print(val);
        Serial.print('-');
        Serial.println(" DFRobot");
        digitalWrite(LED, HIGH);   
        delay(200);             
        digitalWrite(LED, LOW);   
        delay(200);             
    }


    the led will turn on, and turn off...

    3. i think that the configuration on web (http://10.10.100.254) and the sample tutorial can't control and manage the WiFi Shield.
    how can i communicate with this think? i'm try to communicate with AT- Command but nothing happend with this WIFI
    Code: Select all
    #include <SoftwareSerial.h>
    #define rxPin 0
    #define txPin 1

    // set up a new serial port
    SoftwareSerial mySerial =  SoftwareSerial(rxPin, txPin);
    char junk;
    String inputString="";
    int flag;

    void setup()  {
      flag = 0;
      // define pin modes for tx, rx:
      pinMode(rxPin, INPUT);
      pinMode(txPin, OUTPUT);
     
      mySerial.begin(115200);
      mySerial.print("AT+NETP=TCP,CLIENT,8234,192.168.1.102\r\n");
    }

    void loop() {
    int i = 0;
    // mySerial.println(mySerial.available());
     
      char someChar2[128] = {0};
      while(mySerial.available()) {
        do{
          someChar2[i++] = mySerial.read();
          delay(3);                 
        }while (mySerial.available() > 0);
        if( strstr(someChar2, "OK"))
        {
          mySerial.print("OK\r\n");
          flag++;
        }
        else
          mySerial.print(someChar2);
      } 
    }


    how can i control and manage this WIFI Shield...?????
  • You Reply:
    Grey wrote:Hi,

    WIFI shield V3 is simple connected module, all the configuration could be finished on the webpage. Please check its product wiki:
    https://www.dfrobot.com/wiki/index.php? ... KU:TEL0078
    It contains the simple tutorial about how to use it with wifi shield. The official wifi shield is using code configuration method. they are not compatible.


    hai Grey... thanks before for your reply...
    1. i have configure the wifi shield on the webpage.
    2.i have try the simple tutorial
    Code: Select all
    #define Sleep_RQ  11  //dormancy control input pin of the WIFI shield
    #define Sleep_ON  12  //dormancy state output pin of the WIFI shield
    #define LED       13  //test status indication

    void setup()
    {
      unsigned char temp;
      pinMode(Sleep_RQ,OUTPUT);
      digitalWrite(Sleep_RQ,HIGH); 
      pinMode(Sleep_ON,INPUT);
      pinMode(LED, OUTPUT); 
     
      Serial.begin(115200); 
      delay(100);
      Serial.println("Start!");
      for(unsigned char i = 0;i<10;i++)  //output the state of the shield lasts 20 seconds
      {
        temp = digitalRead(Sleep_ON);
        if(0 == temp)
            Serial.println("D12=0 Sleep");
            else
            Serial.println("D12=1 Active");
        delay(1000);
      }
      Serial.println("Sleep after five second!");
      digitalWrite(Sleep_RQ,LOW);  //set the shield to sleep mode
      delay(5000);
      digitalWrite(Sleep_RQ,HIGH); 
      delay(100);
      Serial.println("Sleep Now!");
      for(unsigned char i = 0;i<10;i++)
      {
        temp = digitalRead(Sleep_ON);
        if(0 == temp)
            Serial.println("D12=0 Sleep");
            else
            Serial.println("D12=1 Active");
        delay(1000);
      }   
      Serial.println("Weak up  Now!");
      digitalWrite(Sleep_RQ,LOW);  //set the shield to normal working state
      delay(2000);
      digitalWrite(Sleep_RQ,HIGH); 
      delay(100);
      for(unsigned char i = 0;i<10;i++)
      {
        temp = digitalRead(12);
        if(0 == temp)
            Serial.println("D12=0 Sleep");
            else
            Serial.println("D12=1 Active");
        delay(1000);
      }
      Serial.println("Test RX and TX!");
    }

    void loop()
    {
       int val;
       
        val = Serial.read();  //Send data received by WIFI shield.Test the receive and dispatch situation.
        if(val!=-1){
        Serial.print(val);
        Serial.print('-');
        Serial.println(" DFRobot");
        digitalWrite(LED, HIGH);   
        delay(200);             
        digitalWrite(LED, LOW);   
        delay(200);             
        }
    }


    but it's not working well, if i change the code
    Code: Select all
    void loop() 
    {
       int val;
       
        val = Serial.read();  //Send data received by WIFI shield.Test the receive and dispatch situation.
        Serial.print(val);
        Serial.print('-');
        Serial.println(" DFRobot");
        digitalWrite(LED, HIGH);   
        delay(200);             
        digitalWrite(LED, LOW);   
        delay(200);             
    }


    the led will turn on, and turn off...

    3. i think that the configuration on web (http://10.10.100.254) and the sample tutorial can't control and manage the WiFi Shield.
    how can i communicate with this think? i'm try to communicate with AT- Command but nothing happend with this WIFI
    Code: Select all
    #include <SoftwareSerial.h>
    #define rxPin 0
    #define txPin 1

    // set up a new serial port
    SoftwareSerial mySerial =  SoftwareSerial(rxPin, txPin);
    char junk;
    String inputString="";
    int flag;

    void setup()  {
      flag = 0;
      // define pin modes for tx, rx:
      pinMode(rxPin, INPUT);
      pinMode(txPin, OUTPUT);
     
      mySerial.begin(115200);
      mySerial.print("AT+NETP=TCP,CLIENT,8234,192.168.1.102\r\n");
    }

    void loop() {
    int i = 0;
    // mySerial.println(mySerial.available());
     
      char someChar2[128] = {0};
      while(mySerial.available()) {
        do{
          someChar2[i++] = mySerial.read();
          delay(3);                 
        }while (mySerial.available() > 0);
        if( strstr(someChar2, "OK"))
        {
          mySerial.print("OK\r\n");
          flag++;
        }
        else
          mySerial.print(someChar2);
      } 
    }


    how can i control and manage this WIFI Shield...?????
  • You Reply: i have problems with WiFi Shield V3 RPSMA (802.11b/g/n) configuration.
    I'm using the official WiFi shield on top of Uno R3 and I'm trying the examples provided in the WiFi library, but unfortunately the serial says that the "WiFi shield not present"

    Would anyone please tell me how to solve such a problem? and is there anything missing in the code that I should add?

    Regards

    Code: Select all
    //============================================
    #include <SPI.h>
    #include <WiFi.h>

    char ssid[] = "wifiname";     //  your network SSID (name)
    char pass[] = "wifipass";  // your network password
    int keyIndex = 0;                                // your network key Index number
    int status = WL_IDLE_STATUS;                     // the Wifi radio's status

    void setup() {
      //Initialize serial and wait for port to open:
      Serial.begin(9600);
      while (!Serial) {
        ; // wait for serial port to connect. Needed for Leonardo only
      }

      // check for the presence of the shield:
      if (WiFi.status() == WL_NO_SHIELD) {
        Serial.println("WiFi shield not present");
        // don't continue:
        while (true);
      }

      // attempt to connect to Wifi network:
      while ( status != WL_CONNECTED) {
        Serial.print("Attempting to connect to WEP network, SSID: ");
        Serial.println(ssid);
        status = WiFi.begin(ssid, keyIndex, pass);

        // wait 10 seconds for connection:
        delay(10000);
      }

      // once you are connected :
      Serial.print("You're connected to the network");
    }

    void loop() {
      // check the network status connection once every 10 seconds:
      delay(10000);
     Serial.println(WiFi.status());
    }
    //============================================