-->
Page 1 of 1

esp8266 & node.js

PostPosted: Wed Mar 02, 2016 4:56 am
by Gokul
Hi geeks,

I'm beginner in coding..

I'm working on a meter which measures 10 sensors and gives reading in serial monitor of arduino ide.

my intention is, i want it to be wireless... so i bought an esp8266 and interfaced with arduino..
and also i got a node.js script at pc which listens to data from a ip & port.

i have connected esp8266 to local router ... and pc to local router...
made the node.js to listen to esp8266 ip...!

but i'v got struggled writing arduino code... which establishes a connection between esp and node.js and sends datas...

please help me in this

Re: esp8266 & node.js

PostPosted: Wed Mar 02, 2016 12:29 pm
by Nerobot
Have you had a look at using mqtt to send the data wireless? ESP8266 and node js can receive and transmit mqtt easily between each other. That's what I'm doing in my own project and I know others are doing similar things.