SHIELD-ESP-WIFI Rev2.0 and MQTT

Bluetooth, XBee, RF......

SHIELD-ESP-WIFI Rev2.0 and MQTT

Postby hadigan » Wed Apr 19, 2017 11:50 am

Hi there, I am working on an Arduino based project that involves MQTT communication and currently looking for suitable hardware. Someone mentioned that the wifi shield is not compatible with MQTT communication so I just want to reconfirm, is this true?

If it is not compatible, can you suggest suitable hardware to accomplish this? Thanks in advance.
hadigan
Fledgling
 
Posts: 1
Joined: Wed Apr 19, 2017 10:25 am

Re: SHIELD-ESP-WIFI Rev2.0 and MQTT

Postby bengchet » Thu Apr 20, 2017 9:17 pm

Hi,

You can use this for MQTT connection.
bengchet
Moderator
 
Posts: 237
Joined: Tue Aug 25, 2015 8:29 am

Re: SHIELD-ESP-WIFI Rev2.0 and MQTT

Postby zaki75 » Tue Jun 13, 2017 1:51 pm

Hi,

I am able to use Cytron ESP8266 Wifi Shield with a clone Arduino UNO for MQTT connection but not with Cytron ESP8266 library.
You can follow my steps : https://github.com/zaki75/MyMQTT_Dioty_ ... SP_library .

Rgds.
zaki75
Fledgling
 
Posts: 1
Joined: Tue Jun 13, 2017 1:43 pm

Re: SHIELD-ESP-WIFI Rev2.0 and MQTT

Postby bengchet » Tue Jun 13, 2017 2:24 pm

Hi,

Yes, WiFiESP library with mqtt publish works perfectly, but not with subscribe. For subscription, it works like just about 1 or 2 out of 10. If you are lucky, you can get more of it, but still the result is not stable. If you are only concerned with mqtt publish, WiFiEsp library is good to go. Thanks @zaki75 for posting this.
bengchet
Moderator
 
Posts: 237
Joined: Tue Aug 25, 2015 8:29 am


Return to Wireless Device

Who is online

Users browsing this forum: No registered users and 7 guests

cron