02-22-2016 07:35 AM
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
02-22-2016 08:15 AM - edited 02-22-2016 08:16 AM
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.
02-25-2016 06:09 AM
How can i find out if the ESP8266 library supports TCP sockets?
02-25-2016 10:59 AM
Look at the reference/help/list of functions for it.
02-25-2016 01:40 PM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
08-27-2017 02:38 PM