TM4C123 Timer in Input Edge Time Mode – Pulse Duration Measurement

pulse duration and pulse width measurement using TM4C123 Timer in input edge capture mode

This tutorial is on pulse width or pulse duration measurement using TM4C123 microcontroller programmable Timer block. In this tutorial, we will use the basic Timer block in input edge time mode to capture rising and falling edges of pulses. For demonstration purposes, we will provide a pulse signal to one of the capture pins of … Read more

Arduino Timer Interrupts – Explained with Timer1 and Timer2 Examples

Arduino UNO LED blink time interrupts

Interrupts are used to handle events that do not happen during the sequential execution of a program. There are two types of interrupts for the Arduino microcontroller. Hardware or external interrupt and Timer interrupt. In a previous tutorial, we looked at Arduino external interrupt where the interrupt was caused by is caused by the external … Read more

MicroPython: Timers with ESP32 and ESP8266 – Generate Delay with Timer

MicroPython Timers ESP32 ESP8266

In this tutorial, we will focus on timers in ESP32 and ESP8266 and learn to configure Timers using MicroPython. Recommended Components The following components are used in this project or are helpful for getting started with MicroPython on ESP32 and ESP8266. Component How it’s used in this project Buy on Amazon ESP32 Development Board (DevKit … Read more

FreeRTOS Software Timer: Change Period and Reset Timer

FreeRTOS Software timer period change example with Arduino

In this post, we will learn how to change the FreeRTOS software timer period and how to reset the software timer. we will demonstrate examples with Arduino. In the last tutorials, we have learned to use FreeRTOS software timer with Arduino and we have learned how to update or query software timer ID.  Recommended Components … Read more

FreeRTOS Software Timer with Arduino: Update and Query Timer ID

FreeRTOS software timer ID update and query example with Arduino

In the last tutorial, we have learned to use FreeRTOS software timers. We learned to create and start one-shot and auto-reload type software timers. But we didn’t discuss the use of timer ID tag while creating software timer with xTimerCreate() function. We assigned zero value to the argument of xTimerCreate() function that is responsible to … Read more

FreeRTOS Software Timers with Arduino – Create One-shot and Auto-Reload Timer

FreeRTOS software timers output for one shot and auto reload timers with Arduino

In this tutorial, we will learn to use FreeRTOS software timers with Arduino. Unlike, hardware timers of Arduino, Software timers are provided by the FreeRTOS kernel and they do not use Arduino timers hardware resources. Because they are implemented by FreeRTOS and under the control of RTOS kernel. Most, importantly, they do not use Arduino … Read more