Analysis of C++ Semi-Final Questions for the 2025 National Youth Information Literacy Competition

Analysis of C++ Semi-Final Questions for the 2025 National Youth Information Literacy Competition

1. Time Converter Problem Description As we all know, 1 hour = 3600 seconds. Please write a program to create a time converter that takes seconds as input and outputs the corresponding hours, discarding any fractions of an hour. For example, input 3600, which is exactly 1 hour, should output 1; input 7206, which exceeds … Read more

Key Differences Between Edge AI and Conventional AI

Key Differences Between Edge AI and Conventional AI

Generally speaking, Edge AI is a subset of conventional AI and should adhere to the same principles. However, when deploying artificial intelligence on edge devices, there are some special considerations that need to be taken into account. This article summarizes the differences between Edge AI and conventional AI based on the book AI at the … Read more

MicroPython: The Mini Power of Embedded Systems!

MicroPython: The Mini Power of Embedded Systems!

▼ Click the card below to follow me ▲ Click the card above to follow me MicroPython is a lightweight Python interpreter designed specifically for embedded systems. Its emergence allows us to run Python code on microcontrollers, opening another window to the world of hardware. Imagine being able to control an LED, read sensor data, … Read more

Practical Control of Arduino and Sensors with Python Driven by AI

Practical Control of Arduino and Sensors with Python Driven by AI

One late night while debugging the serial port, the waveform on the oscilloscope suddenly started doing the mechanical dance— my Python script, after running for 8 hours straight, suddenly read the temperature and humidity sensor as gyroscope data. This reminded me of the I/O multiplexing dilemma Guido van Rossum faced when designing the prototype of … Read more

Embedded Programming Model | Observer Pattern

Embedded Programming Model | Observer Pattern

Hello everyone, I am the Mixed Content Master. This time we share a commonly used concept/programming model in embedded systems—the Observer Pattern. Overview of the Observer Pattern The Observer Pattern is a behavioral design pattern that focuses on establishing a dynamic subscription-notification mechanism between objects. It defines a one-to-many dependency between objects, so that when … Read more

The Beauty of Mathematics: The Intricacies of Embedded Programming (with C Code)

The Beauty of Mathematics: The Intricacies of Embedded Programming (with C Code)

[Introduction] Ah, you have been successfully drawn in, not quite what you expected, huh?~~~ Just kidding, back to the point. Today, a netizen asked me a question about a sensor measuring a physical quantity and needing to determine its trend of change. I provided some suggestions, and here I will elaborate on those suggestions and … Read more

How to Use Arduino and Python to Save Sensor Data to a Database System

How to Use Arduino and Python to Save Sensor Data to a Database System

Source: intorobotics Produced by Smart Workshop Contributors: Lotus “ Free source code tutorials are always readily available, so it is often useful to think about how to creatively apply source code for free. Whether you are looking for professional protocols or engineering solutions, both lines of thought can be greatly beneficial, allowing you to apply … Read more