Free up to 1MM monthly messages. No credit card required.
PubNub provides a robust and global messaging infrastructure that can transmit data in under 0.25 seconds anywhere in the world. This is ideal for instant updates from sensors or triggering a smart device action for instance. With a 99.999% SLA on all its services, IoT data is transmitted reliably. PubNub also supports over 70 SDKs and has features like push notifications and Project EON that you can use for monitoring. Sensor reading out of range? Get a notification.
With MQTT specifically, PubNub’s MQTT gateway makes it easy to switch to PubNub as your MQTT broker. You can use any MQTT client or library that supports MQTT 3.1 or newer.
Lastly, PubNub offers a serverless environment to execute functions on messages as they route through the PubNub Network. You can incorporate logic like:
You may want to commit to one connection method over the other after considering the following:
First, download and install the latest Arduino IDE.
Next, sign up for a PubNub account. Once you sign up, you can get your unique PubNub keys from the PubNub Admin Dashboard. PubNub is always free, up to 1 million real-time transactions per month (more than enough for R&D).
Sign up using the form below:
We now have all of the core pieces you need to start building. Depending on the development board you are using, select one of the following tutorials:
Other ways to expand your IoT projects with PubNub:
Have suggestions or questions about the content of this post? Reach out at firstname.lastname@example.org.
Take a look at the top trends that are the most effective in attracting customers and reducing churn, and how you can incorporate...
Comparing the major game engines: Unity vs Unreal Engine vs Corona SDK vs GameMaker Studio, including the benefits and cons of...
Sockets (aka socket programming) enable programs to send and receive data, bi-directionally, at any given moment. This tutorial...