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