Learn electronics, coding, and projects — step by step.

Category: MicroPython

022 - ESP32 MicroPython: MQTT Part 2: Subscribe

George Bantique December 14, 2020 3 Comments

In the previous tutorial, I demonstrate the use of MQTT protocol by sending DHT sensor readings to Thingspeak as MQTT broker while the ESP32 serves as MQTT client. The act of MQTT client sending data to MQTT broker is called MQTT publish. Now in this tutorial, I will demonstrate the other direction of MQTT communication which […]


Read more 022 - ESP32 MicroPython: MQTT Part 2: Subscribe

021 - ESP32 MicroPython: MQTT Part 1: Publish

George Bantique December 5, 2020 2 Comments

in this video, we will learn to create a basic setup of MQTT system using the ThingSpeak server and an ESP32 using MicroPython language. MQTT stands for MQ Telemetry Transport. MQ refers to the MQ series, a product develop by IBM to support the MQTT protocol.


Read more 021 - ESP32 MicroPython: MQTT Part 1: Publish

019 - ESP32 MicroPython: OpenWeather | RESTful APIs

George Bantique November 20, 2020 No Comments

In the previous tutorial, I demonstrate using the RESTful APIs to communicate with Thingspeak server sending DHT sensor data. Now in this aticle, I will demonstrate the opposite which is requesting data from a server. This time, communicating with another server which is the OpenWeather. The receive data will be displayed on the OLED display.


Read more 019 - ESP32 MicroPython: OpenWeather | RESTful APIs

018 - ESP32 MicroPython: Thingspeak | RESTful APIs

George Bantique November 13, 2020 2 Comments

REST API is one of the most popular API types. REST stands for REpresentational State Transfer which is also known as RESTful APIs. It is designed to take advantage of existing protocol. It can be used over any existing protocol, but it is typically used over HTTP when used on web applications. A RESTful API is an application program interface that uses HTTP requests to GET, PUT, POST and DELETE data.


Read more 018 - ESP32 MicroPython: Thingspeak | RESTful APIs