Getting Started with Raspberry Pi GPIO for IoT

Getting Started with Raspberry Pi GPIO for IoT

Chapter 1: Basics of RPi.GPIO Module Importing the Module To import the RPi.GPIO module: import RPi.GPIO as GPIO By doing this, you can refer to it as GPIO for the rest of this script. You can check if the module was imported successfully by throwing an exception: try: import RPi.GPIO as GPIO except RuntimeError: print("Error … Read more

Getting Started with Raspberry Pi: Human Infrared Sensing Alarm System

Getting Started with Raspberry Pi: Human Infrared Sensing Alarm System

The previous LED light used the output function of GPIO, and this time we finally need to use the input function of GPIO. Since the use of this human infrared sensing module is relatively simple, we will create a simple human sensing alarm system in conjunction with the previous buzzer after the experiment is complete. … Read more

Control Arduino with Windows Remote Arduino: A Comprehensive Guide

Control Arduino with Windows Remote Arduino: A Comprehensive Guide

1. Overview Many friends have already started playing with Arduino, and they usually use the official Arduino IDE to write programs to control Arduino hardware. To make control more convenient, Microsoft launched Windows Remote Arduino in the Windows IoT program. In simple terms, Windows Remote Arduino is an open-source Windows runtime component that allows us … Read more

Comprehensive Guide to ARM Cortex-M3 GPIO Interface

Comprehensive Guide to ARM Cortex-M3 GPIO Interface

1、GPIO Structure and Registers GPIO includes multiple 16-bit I/O ports, each of which can independently set 3 types of input modes and 4 types of output modes, and can be independently set or reset. GPIO consists of registers, input drivers, output drivers, and other components, as shown in the figure below. GPIO operates through 7 … Read more