The objective of this post is to explain how to synthesis a simple speech using Python and the pyttsx module. Installing the module We will use pip to install the pyttsx module. Nevertheless, as indicated here, we first need to install the the pywin32-extensions package. Although we can do it using an installer available here, the …
ESP8266 MicroPython: Simple variables
The objective of this post is to explain how to declare and handle simple variables in MicroPython, with the ESP8266. Introduction The objective of this post is to explain how to declare and handle simple variables in MicroPython, with the ESP8266. First of all, we need to take in consideration that Python is both a …
ESP8266: MicroPython support
The objective of this post is to explain how to use MicroPython on the ESP8266. Introduction The objective of this post is to explain how to use MicroPython on the ESP8266. MicroPython is an implementation of Python that includes a small subset of the Python standard library and is optimized to run on microcontrollers [1]. …
Python OpenCV: Face detection and counting
How to perform face detection and counting in images, using Python and OpenCV
Python OpenCV: Reading and displaying an image
The objective of this post is to explain how to read and display an image with Python and OpenCV. Introduction The objective of this post is to explain how to read and display an image with Python and OpenCV. This will be a very simple introductory code. You can check here how to install OpenCV …
Continue reading "Python OpenCV: Reading and displaying an image"
LinkIt Smart 7688 Duo: Publishing messages to MQTT topic
The objective of this post is to explain how to use the LinkIt Smart 7688 Duo to publish messages to a MQTT topic. Introduction The objective of this post is to explain how to use the LinkIt Smart 7688 Duo to publish messages to a MQTT topic. To do so, we will use a Python …
Continue reading "LinkIt Smart 7688 Duo: Publishing messages to MQTT topic"
LinkIt Smart 7688 Duo: Subscribing to MQTT topic
The objective of this post is to explain how to connect to a MQTT broker and subscribing to a topic, using the LinkIt Smart Duo. Introduction The objective of this post is to explain how to connect to a MQTT broker and subscribing to a topic, using the LinkIt Smart Duo. This will be done …
Continue reading "LinkIt Smart 7688 Duo: Subscribing to MQTT topic"
Python: Subscribing to MQTT topic
How to connect to a MQTT broker and subscribe to a topic, using Python
Python: Publishing messages to MQTT topic
The objective of this post is to explain how to connect to a MQTT broker and post some messages to a topic, using Python. Introduction The objective of this post is to explain how to connect to a MQTT broker and post some messages to a topic, using Python. For this example, we will be …
Continue reading "Python: Publishing messages to MQTT topic"
ESP8266: Posting JSON data to a Flask server on the cloud
The objective of this post is to explain how to make a POST request containing JSON data to a cloud server, with the ESP8266. The cloud server will be implemented using Flask and will be hosted in Pythonanywhere. Introduction The objective of this post is to explain how to make a POST request containing JSON …
Continue reading "ESP8266: Posting JSON data to a Flask server on the cloud"