Advanced Support for IoT Applications in .NET Core 3: System.Device.Gpio

Advanced Support for IoT Applications in .NET Core 3: System.Device.Gpio

System.Device.Gpio is a brand new open-source library for .Net Core, designed to enable IoT (Internet of Things) applications to interact with hardware like sensors, displays, and input devices through its GPIO pins or other I/O controls. This library is enhanced by a collection of device bindings maintained by the community. As demonstrated by Microsoft’s .NET … Read more

Setting Up Raspberry Pi for Automatic Watering System

Setting Up Raspberry Pi for Automatic Watering System

Operating System System Burning Tool Raspberry Pi Imager The official Raspberry Pi website has a dedicated burning tool that allows you to choose the appropriate image for your needs. Download link: https://www.raspberrypi.com/software/ . Select the Raspberry Pi model, choose the operating system, select the target SD card, and proceed to the next step. After clicking … Read more

Controlling LED and Button with C# NanoFramework on ESP32

Controlling LED and Button with C# NanoFramework on ESP32

Originally, I planned to do something big over the weekend, like WIFI and web pages. However, after two days of work and discussions with foreign friends, I realized that there was a problem with the firmware. After communicating with a senior expert at night, I found out that the official firmware for the ESP32S has … Read more

RPPAL: An Excellent Embedded Rust Development Library for Raspberry Pi

RPPAL: An Excellent Embedded Rust Development Library for Raspberry Pi

RPPAL is a powerful library that provides a user-friendly interface for Raspberry Pi, allowing you to easily access peripherals such as GPIO, I2C, PWM, SPI, and UART. It not only enables you to control these peripherals effortlessly but also supports USB-to-serial adapters, allowing for more interesting development on the Raspberry Pi. The Core Advantages of … Read more

Getting Started with Raspberry Pi GPIO: Lighting Up an LED

Getting Started with Raspberry Pi GPIO: Lighting Up an LED

In the world of electronics, lighting up an LED is often the first task for those learning Arduino or other microcontrollers, similar to the “Hello World” in C programming. This time, we will also try to light up an LED using the GPIO of the Raspberry Pi. 1. Understanding the GPIO of Raspberry Pi B … Read more

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