Node.js server & esp8266 client - HELP...!!! Graduation project

Hi everybody,

I'm working for my final year project at my college.! I'm measuring 10 sensors data simultaneously using arduino and showing those data s in serial monitor previously.

Now i thought of creating a node.js server and client using esp8266.

on arduino side, i have interfaced esp8266 which is connected to local router... and on pc side i have created a server using node.js that listens to data from a particular router's ip and port..

Now i'm struggling in writing code for arduino to establish a tcp connection and sending 10 data's simultaneously to node.js...!

Please help me in this regard...!

Take a look at this thread. www.esp8266.com is a better place to ask ESP8266 questions.

http://www.esp8266.com/viewtopic.php?f=29&t=5629

I think you can also program esp8266 with arduino Ide One of better option for you

About your documentation you want to read 10 sensors data ..

#include <ESP8266WiFi.h>

const char* ssid     = "ARDIND_B";
const char* password = ".................";

const char* host = "Your host name";
//const char* streamId   = "....................";
//const char* privateKey = "....................";



void setup() {
  pinMode(3, INPUT);
pinMode(4, INPUT);
pinMode(5, INPUT);
pinMode(9, INPUT);
pinMode(10, INPUT);
pinMode(12, INPUT);
pinMode(13, INPUT);
pinMode(14, INPUT);
pinMode(16, INPUT);
  Serial.begin(115200);
  delay(100);
   

  // We start by connecting to a WiFi network

  Serial.println();
  Serial.println();
  Serial.print("Connecting to ");
  Serial.println(ssid);

  
  WiFi.begin(ssid, password);
  
   int retries = 0;
   while ((WiFi.status() != WL_CONNECTED) && (retries < 10)) {
     retries++;
     delay(500);
     Serial.print(".");

  }

  Serial.println("");
  Serial.println("WiFi connected");  
  Serial.println("IP address: ");
  Serial.println(WiFi.localIP());
  Serial.println(F("Ready!"));
  Serial.println(F("======================================================")); 
  Serial.println(F("Scan for Input"));
}

int value = 0;
String readIDold;
void loop() 

{ 
  String INPUT = "s";
Serial.print("connecting to ");
  Serial.println(host);

}

Unable to write whole code but it look like that..

Hi.Have you got the solution for sending the data to Node server?