Go Down

Topic: MQTT (Read 2908 times) previous topic - next topic

Hello,

I am aiming to implement MQTT feature on my Arduino mega 2560 board connected to a GSM/GPRS module. I do not have an Ethernet shield or a Wifly shield. Is it possible to implement this feature with a GSM/GPRS module ? Where can i get the relevant library ?

Thank you.

Nick Gammon

Please do not cross-post. This wastes time and resources as people attempt to answer your question on multiple threads.

Other thread deleted.

- Moderator
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

I am extremely sorry for that. I am new to this forum. Will take care from next time.

Any suggestion guys ?

Nick Gammon

http://www.lmgtfy.com/?q=mqtt+arduino
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Hmm, I'm looking to do this too. MQTT seems a bit thin on examples.

Shame the only response was "use google" :(

Nick Gammon

Evidently no-one here knows much about it. However Google has:

Quote

About 24,700 results (0.25 seconds)


How to use this forum

The OP might have provided a link to explain what MQTT is. Personally I haven't heard of it.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Ah OK, well for people (like me) who are interested but know nothing about it in detail, Message Queuing Telemetry Transport (MQTT) is a protocol defined by IBM that enables simple, low overhead messaging to be passed around a network and uses publish/subscribe principles for communication. It has been cited as an ideal method for low powered devices (such as arduino) or mobile devices to communicate with a service to get some state information or to publish a device's state. Twitter, Google and other trendy apps use this method already for pushing presence status to a device.

Jonathan Oxer (he of freetronics and SuperHouseTV fame) has indicated he thinks it is the way forward for federated home automation...

To the original poster: I have found the following resources to be interesting to Arduino projects

http://knolleary.net/arduino-client-for-mqtt/
http://blog.m2m.io/post/30048662088/a-simple-example-arduino-mqtt-m2m-io

I hope that is of some help.

Of course for more information, you could use: http://lmgtfy.com/?q=mqtt

Nick Gammon

Very amusing, however see reply #4. :P

As the "how to use this forum" link suggests, and I know not everyone reads it, if you are going to ask a question about "help with X" it helps to provide a link to X, rather than make people who are trying to help you do extra research to even get started.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

I wrote an updated tutorial:
http://chrislarson.me/blog/using-mqtt-connect-arduino-internet-things

Go Up