LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to communicate between Arduino Mega and Labview using ESP8266 Wifi Module?

How can I use the ESP8266 wifi module to transfer data from a sensor connected to Arduino to Labview? And then, how can I use labview to control the arduino? For example, I am using a soil moisture sensor to collect readings from a plant. I would like to transfer the data collected from the senor on the Arduino to Labview and then I want labview to turn on a water pump to water the plant until the soil levels are steady again.  

 

Thank you

0 Kudos
Message 1 of 6
(9,282 Views)

Does the firmware/library you have for the ESP8266 support opening TCP sockets? If so, use the TCP functions in LabVIEW to listen for an incoming connection from the ESP8266 and you can then send/receive your data through that.

 

The ESP8266 firmware/library I had only supported either acting as a HTTP Server or HTTP Client - so I used a LabVIEW Web Service to listen for incoming HTTP requests from the 8266 and process the data there.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 6
(9,272 Views)

How can i find out if the ESP8266 library supports TCP sockets? 

0 Kudos
Message 3 of 6
(9,215 Views)

Look at the reference/help/list of functions for it.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 4 of 6
(9,202 Views)

Well the good news is there is apparently some beta software for using an ESP8266 on an Arduino using LINX.

 

https://www.labviewmakerhub.com/forums/viewtopic.php?f=12&t=1099

 

I assume by beta it means you have to pull the library from Git, I've never personally used an ESP8266 with LINX.

0 Kudos
Message 5 of 6
(9,191 Views)

Hi,

Need help in connecting esp266 to linx with arduino.
How to deploy code into arduino like upload sketch in Arduino IDE??

There is no beta or libraray in makerhub.

Thanks

Thanks & Regards,
Bharath Kumar
GCentral
0 Kudos
Message 6 of 6
(6,809 Views)