Arduino Projects   |   Raspberry Pi   |   Electronic Circuits   |   AVR   |   PIC   |   8051   |   Electronic Projects

Arduino UNO based IoT Visitor Counter

Description

Comments

can the creator get in contact with us we have a offer for u

 

Hello, friend, can you give the correct program, I compile error, thank you

[email protected]

 

Arduino: 1.8.9 (Windows 7), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

 

Build options changed, rebuilding all

rduino_UNO_based_IoT_Visitor_Counter:300:9: error: missing terminating " character

 

         connect_wifi("AT+CWJAP=\"EngineersGarage\",\"

 

         ^

 

rduino_UNO_based_IoT_Visitor_Counter:1:1: error: 'This' does not name a type

 

 This Code is only visible to Registered users. Please Login/Register 

 

 ^

 

rduino_UNO_based_IoT_Visitor_Counter:24:1: error: 'SoftwareSerial' does not name a type

 

 SoftwareSerial client(2,3); //RX, TX

 

 ^

 

C:\Users\Administrator\Desktop\rduino_UNO_based_IoT_Visitor_Counter\rduino_UNO_based_IoT_Visitor_Counter.ino: In function 'void check4IP(int)':

 

rduino_UNO_based_IoT_Visitor_Counter:133:11: error: 'client' was not declared in this scope

 

     while(client.available()>0)

 

           ^

 

C:\Users\Administrator\Desktop\rduino_UNO_based_IoT_Visitor_Counter\rduino_UNO_based_IoT_Visitor_Counter.ino: In function 'void get_ip()':

 

rduino_UNO_based_IoT_Visitor_Counter:170:5: error: 'client' was not declared in this scope

 

     client.println("AT+CIFSR");

 

     ^

 

C:\Users\Administrator\Desktop\rduino_UNO_based_IoT_Visitor_Counter\rduino_UNO_based_IoT_Visitor_Counter.ino: In function 'void connect_wifi(String, int)':

 

rduino_UNO_based_IoT_Visitor_Counter:241:5: error: 'client' was not declared in this scope

 

     client.println(cmd); 

 

     ^

 

C:\Users\Administrator\Desktop\rduino_UNO_based_IoT_Visitor_Counter\rduino_UNO_based_IoT_Visitor_Counter.ino: In function 'void wifi_init()':

 

rduino_UNO_based_IoT_Visitor_Counter:301:1: error: 'WiFi' was not declared in this scope

 

 WiFi username and password here

 

 ^

 

rduino_UNO_based_IoT_Visitor_Counter:305:7: error: expected ';' before '}' token

 

       }

 

       ^

 

C:\Users\Administrator\Desktop\rduino_UNO_based_IoT_Visitor_Counter\rduino_UNO_based_IoT_Visitor_Counter.ino: In function 'void sendwebdata(String)':

 

rduino_UNO_based_IoT_Visitor_Counter:338:7: error: 'client' was not declared in this scope

 

       client.print("AT+CIPSEND=0,");

 

       ^

 

C:\Users\Administrator\Desktop\rduino_UNO_based_IoT_Visitor_Counter\rduino_UNO_based_IoT_Visitor_Counter.ino: In function 'void setup()':

 

rduino_UNO_based_IoT_Visitor_Counter:395:3: error: 'client' was not declared in this scope

 

   client.begin(9600);

 

   ^

 

C:\Users\Administrator\Desktop\rduino_UNO_based_IoT_Visitor_Counter\rduino_UNO_based_IoT_Visitor_Counter.ino: In function 'void loop()':

 

rduino_UNO_based_IoT_Visitor_Counter:449:10: error: 'client' was not declared in this scope

 

    while(client.available())

 

          ^

 

C:\Users\Administrator\Desktop\rduino_UNO_based_IoT_Visitor_Counter\rduino_UNO_based_IoT_Visitor_Counter.ino: In function 'void Send()':

 

rduino_UNO_based_IoT_Visitor_Counter:500:6: error: 'client' was not declared in this scope

 

      client.println("AT+CIPCLOSE=0"); 

 

      ^

 

exit status 1

missing terminating " character

 

This report would have more information with

"Show verbose output during compilation"

 

option enabled in File -> Preferences.