Arduino is a microcontroller and development environment that can be used, just like Raspberry Pi, to read information from its sensors and control other devices. Programming on the Arduino is extremely simple, which has led to its widespread use in interactive environments.
As with the Raspberry Pi, it’s a great (and low cost) starting point for experimenting with the world of embedded wearables and the Internet of Things.
This blog walks you through the steps to connect an Arduino to the PubNub Data Stream Network. This enables you to connect with a high volume of other devices at a global scale and start sending and receiving data between a wide variety of devices, including other Arduino and Raspberry Pi devices. PubNub acts as your communication layer for signaling and data transfer between embedded devices.