Interface Push Button with Raspberry Pi Pico: Digital Outputs and Read Inputs

Interface Push Button with Raspberry Pi Pico

In this tutorial, we will learn how to use the GPIO pins of the Raspberry Pi Pico as digital input pins and interface a push button using MicroPython. In the previous tutorial, we learned how to use the GPIO pins of the Pi Pico board as output pins. However, in this tutorial, we will explore … Read more

Use Push Button to Control LED with TM4C123G Tiva LaunchPad

Push button interfacing with tiva launchPad

In this tutorial, we will learn how to use general purpose input-output pins of TM4C123 as a digital input pins. For demo, we will see how to control and LED with on-board Push buttons of TM4C123G TIVA launchpad. Firstly, you should know how to use GPIO pins of TM4C123G6PM microcontroller as digital output pins. In … Read more

ESP32/ESP8266 Control Outputs with Web Server and Physical Push Button Simultaneously

ESP32 Control Outputs with Web Server and a Physical Button Simultaneously

In this tutorial, we will learn how to control ESP32 and ESP8266 NodeMCU outputs simultaneously from a web page and a physical push button by hosting a web server on them. In other words, if a user controls the LED with a push button, the state of the LED will be automatically updated on the … Read more

STM32 Blue Pill External Interrupts with STM32Cube IDE and HAL Libraries

STM32 Blue Pill External Interrupts with STM32Cube IDE

In this STM32 Blue Pill tutorial, we will learn how to configure and handle external interrupts using HAL Library in STM32Cube IDE. We will demonstrate this through an example with a push button and an LED. Additionally, we will also show you how to measure Blue Pill interrupt latency via an oscilloscope measurement. Recommended Components … Read more

Push Button with STM32 Blue Pill using STM32Cube IDE – Read Digital Input Pins

Push Button with STM32 Blue Pill using STM32Cube IDE Read Digital Input Pins

In this STM32 Blue Pill tutorial, we will learn about input/output GPIO pins of STM32 Blue Pill board. We will learn how to use GPIO pins of STM32 as output pins as well as input pins. Accordingly, we will also show how to interface an LED controlled via a push button with the STM32. We … Read more

ESP32 External Interrupts using Arduino IDE

ESP32 External Interrupts using Arduino IDE

In this ESP32 tutorial, we will learn how to configure and use external interrupts with ESP32 GPIO pins in Arduino IDE. We will demonstrate this through an example with a push button and an LED. Additionally, we will also show you how to measure ESP32 interrupt latency via an oscilloscope measurement. Recommended Components The following … Read more

ESP8266 Digital Input and Output with Arduino IDE – GPIO Pins

ESP8266 NodeMCU digital input output led and push button arduino ide

In this tutorial, we will learn how to use GPIO pins of ESP8266 NodeMCU module as output pins as well as input pins. Accordingly, we will also show how to interface an LED controlled via a push button with the ESP8266 board. We will be reading the value from the Push Button and lighting up … Read more

Use Push Button to Control LEDs of STM32F4 Discovery Board – Digital Input pins with HAL Driver

Push button interfacing with STM32F4 discovery Board

Learn how to use a push button with the STM32F4 Discovery Board to control onboard LEDs. Step-by-step guide covering pull-up/pull-down resistors, HAL_GPIO_ReadPin, digital input configuration, and troubleshooting on the STM32F407VGT6 in Keil uvision.