Demo examples used at Internet of Things - MQTT meetup presentation.
Use Raspberry Pi to send (publish) the DHT11 sensor data (temperature and humidity) to the broker. Create an MQTT client (subscribe) in JS and Java and read the data.
Publisher is written in python but before running it you should install Adafruit and Paho libraries.
- Raspberry PI 2
- Breadboard & 3 Jumper Wires
- 1 x DHT11 sensor
- 1 x 10K Resistor