Gabriel Rodriguez
Published © GPL3+

Temperature Streaming with Arduino + Big Data Tools

Platform for processing of streaming temperature data using Arduino, DHT sensor, ESP8266 module and Big Data / Hadoop ecosystem tools.

IntermediateShowcase (no instructions)22,860
Temperature Streaming with Arduino + Big Data Tools

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
ESP8266 ESP-01
Espressif ESP8266 ESP-01
×1
DHT11 Temperature & Humidity Sensor (4 pins)
DHT11 Temperature & Humidity Sensor (4 pins)
×1
Resistor 10k ohm
Resistor 10k ohm
×1
Resistor 1k ohm
Resistor 1k ohm
×1

Software apps and online services

Arduino IDE
Arduino IDE
Mosquitto
Apache Kafka
Apache NiFi
Apache Hive
Apache Spark
Apache Zeppelin

Story

Read more

Schematics

Pinout diagram of the Arduino components (Flash Mode)

Pinout diagram of Arduino components. This pin structures enables to init the ESP8266 module in Flash Mode to load code.

The upper section of the breadboard is dedicated to the ESP8266 module pins, which is powered by a 3.3V voltage and uses a 10k resistor. The voltage flow to the WiFi module is controlled by the green pin connected to the breadboard in the last column of the positive charge row.

The lower section of the breadboard is almost completely dedicated to the DHT temperature sensor. This sensor works with a voltage of 5V and a resistance of 1k.

Pinout diagram of the Arduino components (Boot Mode)

Pinout diagram of Arduino components. This pin structures enables to init the ESP8266 module in Boot Mode, executing the loaded code and sending data.

After the instructions have been loaded, connect the GPIO0 pin (white) of the ESP8266 module to the voltage across the resistor. In this way, the ESP8266 module will not enter the Flash Mode the next time the Arduino platform is started, allowing it to execute the loaded code as soon as it receives power.
Besides, the DHT sensor blue pin transfers the output signals, which must be captured by the WiFi module through the GPIO2 pin (blue).

Pinout diagram of the DHT11 sensor

Pinout diagram of the DHT11 temperature/humidiy sensor.

Pinout diagram of the ESP8266 module

Pinout diagram of the ESP8266 ESP-01 WiFi module.

Code

Arduino temperature streaming demo

Original project source.

Credits

Gabriel Rodriguez

Gabriel Rodriguez

0 projects • 7 followers
Graduate of Computer Science. https://www.linkedin.com/in/gabriel-eduardo-rodr%C3%ADguez-gonzalez-926aa176/

Comments