I have an ESP8266 ESP-01 module connected to an Arduino Uno trough a Software Serial connection in Pins 2 and 3 like this:
I'm able to successful connect to the dweet.io HTTP server and send the light sensor readings. To do so, I use the following code:
AT+CIPMUX=1 AT+CIPSTART=0,"TCP","dweet.io",80 AT+CIPSEND=0,76 GET /dweet/for/arduino-lighttest?sensorValue=95 HTTP/1.1 Host: dweet.io AT+CIPCLOSE=0
However, when it comes to MQTT, I don't know how to send similar TCP commands to post Analog sensor values to a MQTT sever... Nevertheless I saw this in a site:
AT+RST ATE0 AT+CWMODE=1 AT+CWJAP="SSID","password" AT+CIPMUX=0 AT+CIPCLOSE AT+CIPSTART="TCP","192.168.10.179",1883 AT+CIPSEND=36 " MQIsdp JeeNode_on_your_deskAT+CIPSEND=13 , /topic AT+CIPSEND=2 AT+CIPSEND=2 AT+CIPSEND=2 ...
So my question, is it possible to use ESP8266 ESP-01 with an Arduino Uno board to connect to a MQTT server like you do with an HTTP server, or when it comes to MQTT you simple can't use an ESP8266 with an Arduino Uno Board to send data?