ESP32 and ESP8266 GPIO Programming with MicroPython – LED Blinking Example

ESP32 GPIO pins programming micropython

In this tutorial, we will learn about how to use GPIO pins of ESP32 and ESP266 using the MicroPython programming language.  For demonstration purposes, we will, first, take an LED blinking example. After that, we will see an LED chaser example in MicroPython using uPyCraft IDE.  We will discuss GPIO pin examples for both ESP32 … Read more

Getting Started with MicroPython on ESP32 and ESP8266

MicroPythoon with ESP32 and ESP8266

In this getting started guide on MicroPython with ESP32 and ESP8266, we will learn how to use program and flash firmware to ESP32 and ESP8266 development boards. Firstly, we will see the difference between ESP8266, ESP32, and Arduino to see why ESP32/ESP8266 should be your first choice for embedded application development using MicroPython. Secondly, we … Read more

Water Flow Sensor Interfacing with Arduino – Measure Flow Rate

YF-S201 wate flow sensor interfacing with Arduino and LCD connection diagram

In this tutorial, we will learn to use the YF-S201 water flow Sensor to measure flow rate of water. Firstly, we will see an introduction of flow rate sensors that is why and where to use flow sensors. Secondly, we will discuss its pinout diagram and working. In the end, we will see how to … Read more

TTGO LoRa32 SX1276 OLED Board with Arduino IDE

TTGO LoRA32 SX1276 OLED Board pinout diagram

This getting started guide on TTGO LoRa32 SX1276 OLED module explains pinout, pin configuration, features, how to use it with Arduino and how to install its library in Arduino IDE. There is no ambiguity that the internet of things is the potential future. Different electronic companies launch various devices almost every other day in the … Read more

UART/USART Communication STM32F4 Discovery Board – HAL UART Driver

STM32F4 discovery board UART pins

Learn UART/USART communication on the STM32F4 Discovery Board using the HAL UART driver in Keil uvision. Complete tutorial covering all 6 USART channels, pin mapping, baud rate, transmit and receive examples with FTDI cable wiring, plus troubleshooting for the STM32F407VGT6.

MPU6050 Sensor Module Interfacing with Pic Microcontroller

MPU6050 interfacing with pic microcontroller PIC18F46K22

In this tutorial, we will learn to interface MPU6050 MEMS module with Pic microcontroller. Firstly, we will see an introduction of MPU6050 such as pinout diagram, pin configuration, features, specifications. At the end, we will see how to interface the MPU6050 module with Pic microcontroller. You can use any pic microcontroller which has at least … Read more

Tracking Type ADC – Up/Down Counter Analog to Digital Converter

Tracking type ADC Circuit diagram blockdiagram

In the last tutorial, we learned about counter-type ADCs, which are single slope ADCs with an incrementing slope. Further, the counter value only increments until it matches the analog input voltage value. In simple words, the counter resets to zero after every single conversion. The counter counts only upward. Hence, it has only a positive … Read more

Counter Type ADC – Staircase Approximation Analog to Digital Converter

counter adc circuit diagram

The counter type analog-to-digital converter is a simple ADC, also known as a staircase or ramp analog-to-digital converter. As its name suggests, it uses a binary counter for the conversion of analog signals. The schematic consists of a comparator, counter, digital-to-analog converter, a control circuit, an AND gate, and output latches. The article provides an … Read more

Single Slope and Dual Slope ADC – Integrating Analog to Digital Converter

Dual slope ADC working

In this tutorial, we will discuss slope-type or integration-type ADCs. In the last tutorial, we discussed successive approximation and flash-type ADC. There are two types of slope ADCs: single slope and dual slope. Firstly, we will discuss single slope, and after that, we will see the workings of dual-slope integration ADC. Recommended Books Books that … Read more