Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By Gokul
#42229 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
User avatar
By Nerobot
#42250 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.