Raspberry Pi 3 Raspbian: Running a Flask server

In this tutorial, we will check how to start a very simple Flask server on the Raspberry Pi and return a “Hello World” message to clients that send a request to it. This tutorial was tested on a Raspberry Pi 3 model B+, running version 4.9 of Raspbian, installed using NOOBS.

Continue reading

Advertisements
Posted in Raspberry Pi | Tagged , , , , , , | Leave a comment

Raspberry Pi 3 Raspbian: Running Python scripts on IDLE

In this tutorial, we will check how to write Python scripts and run them using IDLE, a Python IDE. This tutorial was tested on a Raspberry Pi 3 model B+, running version 4.9 of Raspbian, installed using NOOBS.

Continue reading

Posted in Raspberry Pi | Tagged , , , , | 1 Comment

ESP32 Arduino: DHT22 Minimum Sampling Period

In this tutorial we will check how to get the minimum sampling period of the DHT22 and how to use it to make some temperature measurements without crossing the maximum sampling rate. To facilitate the interaction with the sensor, I’m using a DFRobot DHT22 module which already has all the electronics needed and exposes a wiring terminal that facilitates the connections.

Continue reading

Posted in ESP32 | Tagged , , , , , , , | Leave a comment

ESP32 Arduino: Getting humidity measurements from a DHT22 sensor

In this tutorial, we will check how we can get humidity measurements from a DHT22 sensor, with the Arduino core running on the ESP32. To make the interaction with the sensor easier, I’m using a DFRobot DHT22 module which has all the additional electronics needed and exposes a wiring terminal that facilitates the connections.

Continue reading

Posted in ESP32 | Tagged , , , , , , , | Leave a comment

Raspberry Pi 3 Raspbian: Running Python from the command line

In this tutorial we will check how to print a very simple “Hello World” message with Python running on the command line, on the Raspberry Pi. This tutorial was tested on a Raspberry Pi 3 model B+.

Continue reading

Posted in Raspberry Pi | Tagged , , , , , | 2 Comments

ESP32 Arduino: Getting temperature from a DHT22 sensor

In this ESP32 tutorial, we will check how to get temperature measurements on the Arduino core running on the ESP32, using a DHT22 temperature and humidity sensor. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board.

Continue reading

Posted in ESP32 | Tagged , , , , , , , | 2 Comments

ESP32 Arduino: Encryption using AES-128 in ECB mode

In this tutorial, we are going to check how to use AES-128 in ECB mode, using the Arduino core running on the ESP32 and the mbed TLS library. The tests were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board.
Continue reading

Posted in ESP32 | Tagged , , , , , , | Leave a comment