Raspberry Pi Basics: How to Control Shutdown with a Button

Raspberry Pi Basics: How to Control Shutdown with a Button

【Click the blue text above to follow DF Maker Community and become a tech enthusiast】 1. Hardware Preparation Raspberry Pi Breadboard Jumper wires Button 2. Configuration Steps 1. Connect the hardware according to the wiring diagram 2. Enter the example folder cd example/ Create and edit a Python file named shutdown_button.py nano shutdown_button.py Enter the … Read more

Getting Started with Raspberry Pi: A Beginner’s Guide

Getting Started with Raspberry Pi: A Beginner's Guide

Preparing to write some tutorials on getting started with Raspberry Pi, this tutorial uses C language for teaching. It roughly involves the control of the GPIO pins of the Raspberry Pi, an introduction to Raspberry Pi, and specific examples of using GPIO pins. It is mainly aimed at beginners of Raspberry Pi. We use the … Read more

Getting Started with Raspberry Pi: Entering the Physical World – How to Use GPIO Pins on Raspberry Pi

Getting Started with Raspberry Pi: Entering the Physical World - How to Use GPIO Pins on Raspberry Pi

In the tenth article of the Raspberry Pi getting started series, we will learn how to use the GPIO. — Anderson Silva So far, this series of articles has mainly focused on the software aspects of the Raspberry Pi, and today we will learn about the hardware. One of the main features that intrigued me … Read more

Quick Guide to ESP32 with MicroPython: Example Code Included

Quick Guide to ESP32 with MicroPython: Example Code Included

This article provides a quick guide to the ESP32 (based on MicroPython) — including example code. In just forty minutes, you can get started with the ESP32 using MicroPython. The content includes environment setup, GPIO, delay functions, timers, PWM, ADC, Flash operations, WiFi connections, and MQTT integration. By following along and coding yourself, you can … Read more

Mastering STM32: A Comprehensive Guide for Beginners

Mastering STM32: A Comprehensive Guide for Beginners

Learning microcontrollers just for the sake of it is not the correct approach. You may ask: How to systematically start learning STM32? This is fundamentally a wrong question. If you know how to use the 8051 and can write C, then there is no need to deliberately learn STM32. What you should consider is what … Read more

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