Introduction to Hardware Control with Python: Using RPi.GPIO

Introduction to Hardware Control with Python: Using RPi.GPIO

This is a tutorial article on Python hardware programming, using <span>RPi.GPIO</span> library to control Raspberry Pi GPIO ports for hardware operations. Python Hardware Programming: Controlling Raspberry Pi Hardware with RPi.GPIO Python is a powerful programming language that can be used not only for data analysis and web development but also for hardware control. With the … Read more

Beginner’s Guide to Raspberry Pi GPIO: Control an LED

Beginner's Guide to Raspberry Pi GPIO: Control an LED

Light Up an LED Overview The purpose of this tutorial is to light up an LED using a program, which will automatically turn off after 3 seconds. In all programming languages, the first program is called hello world, and today’s LED lighting tutorial is essentially the hello world of hardware programming, making it a very … Read more

FreeRTOS Operating System: A Comprehensive Guide

FreeRTOS Operating System: A Comprehensive Guide

The manual porting process is complex and tedious. First, use cubemx for quick configuration: First, print a message to the serial port: /* USER CODE BEGIN 2 */ printf("hello shxi\r\n"); /* USER CODE END 2 */ /* Call init function for freertos objects (in freertos.c) */ MX_FREERTOS_Init(); OK proves that the configuration is correct! Tasks … Read more

Raspberry Pi 3B+ TM1637 Digital Tube Clock

Raspberry Pi 3B+ TM1637 Digital Tube Clock

Operating the TM1637 four-digit digital tube on Raspberry Pi – Only Learning for a Long Time https://blog.whwtf.com/index.php/2022011324.html General Technology Raspberry Pi Display Time https://testerhome.com/topics/12130 Raspberry Pi 3B+ TM1637 4-digit digital tube Raspberry Pi GPIO T-type expansion version connection wire Dupont wire (new) Raspberry Pi 4B system image and WIFI remote configuration information link: https://pan.baidu.com/s/1Jan7v6DuHxY6VmYcLNfTHQ Extraction … Read more

Comprehensive Guide to STM32 GPIO

Comprehensive Guide to STM32 GPIO

1. Introduction to GPIO GPIO stands for General-Purpose Input/Output, which can be simply understood as the pins controllable by STM32. The GPIO pins of the STM32 chip connect to external devices, enabling communication, control, and data acquisition with the outside world. The GPIO pins of the STM32 chip are divided into several groups, each with … Read more

Installing Mosquitto on Raspberry Pi for MQTT Implementation

Installing Mosquitto on Raspberry Pi for MQTT Implementation

MQTT is a messaging protocol developed by IBM. MQTT is a lightweight publish-subscribe messaging transport protocol designed for M2M and IoT connections. Mosquitto is an open-source message broker that implements the MQTT v3.1 protocol, providing a lightweight, publish/subscribe messaging model that makes short message communication between devices simple and easy to use. If you are … Read more

Getting Started with Raspberry Pi GPIO

Getting Started with Raspberry Pi GPIO

Click the “Mechanical and Electronic Engineering Technology” above to follow us 1. Introduction to GPIO The Raspberry Pi (GPIO) is a digital input/output interface used to control and monitor electronic components. Input pins can be used to read signals from external devices such as sensors or buttons; output pins can be used to output voltage … Read more

Getting Started with Raspberry Pi GPIO: Voice-Controlled Light Using Sound Sensor

Getting Started with Raspberry Pi GPIO: Voice-Controlled Light Using Sound Sensor

Click on the above “blue text” to follow us! Limited Time Download: Follow us on “Microcontroller”, reply “Tutorial” to get the microcontroller eBook, reply “Simulation” to get Proteus simulation materials. Continuously updated… Source: Geek Fans (http://www.geekfans.com/article-5095-1.html) In this article, we will use a sound sensor to create a simple voice-controlled light. Final Effect Raspberry Pi … Read more

Getting Started with Raspberry Pi: A Comprehensive Guide

Getting Started with Raspberry Pi: A Comprehensive Guide

Welcome to the “Five Minutes of Science and Technology” column of the Precision Instrument Department. This column will introduce the achievements of science and technology every week, push the latest dynamics, provide a platform for technical exchanges, and also have popular science explanations aimed at younger students. This issue will introduce Raspberry Pi – a … Read more

Getting Started with Raspberry Pi Scratch: The Easiest Way to Build a Smart Car with GPIO

Getting Started with Raspberry Pi Scratch: The Easiest Way to Build a Smart Car with GPIO

Hardware Raspberry Pi 3 Model B Scratch Programming Car Infrared Tracking The overall power supply uses two 3.7V 18650 lithium batteries. The Raspberry Pi requires 5V power, so a step-down module like the Lm2596 is needed. The assembly is the same as the previous C language-controlled car. Now let’s learn how to program the Raspberry … Read more