Comparison of PWM Output Functions between Arduino and ESP32 with XY-MC10 ESC Driving Example

In this article, we will briefly compare the PWM output capabilities of Arduino and ESP32, and then use both to drive the same electronic speed controller (ESC). 1. PWM Output Function of Arduino In Arduino, we can use the analogWrite() function to output PWM signals. This function has two parameters: pin and duty cycle (0-255). … Read more

Introduction to Arduino Programming for Children

Before learning Arduino programming, I would like to share a little story with everyone: One day in 2005, an electronics major student complained to his teacher, Professor Banzi, saying, “The microcontrollers available on the market are both expensive and difficult to use. Do you have any good solutions to this problem?” Coincidentally, a visiting scholar … Read more

Methods for Reading Data from the ICM-40609-D Sensor Using STM32 Microcontroller

The ICM-40609-D is a high-performance six-axis MEMS sensor chip that integrates a 3-axis accelerometer and a 3-axis gyroscope, specifically designed for the drone market. It can replace previous models such as the ICM-42688, ICM-20602, and MPU6500. This chip is manufactured using advanced MEMS technology, featuring a compact size, low power consumption, and high accuracy. Its … Read more

Essential Guide for Beginners: Two Methods to Program Arduino Pro Mini Using USB to Serial Converter

Hello everyone! Here, I will discuss two methods, which are technically one method. One is automatic, and the other is manual. 1. Prepare the Hardware • Arduino Pro Mini development board • USB to TTL serial module (CP2102) as ISP programmer • Several Dupont wires For example, 2. Connect the Wires • When using the … Read more

Design and Implementation of an Autonomous Racing Robot Based on Arduino, Raspberry Pi, and Pi Camera: Including Labeling Steps and Technical Details

In an exciting racing competition held in Toulouse, Antonin Raffin and his friends successfully designed and programmed an autonomous racing robot. This robot is powered by Raspberry Pi, Arduino Uno, and Pi camera, utilizing Python, C++, and neural network technology to achieve real-time image processing with an astonishing operating speed of 60 frames per second. … Read more

STM32FreeRTOS: A Powerful Solution for Implementing Real-Time Operating Systems on Arduino

In embedded system development, real-time operating systems (RTOS) are becoming increasingly important. The STM32FreeRTOS library provides Arduino users with an easy way to implement RTOS functionality. This article will delve into the features and usage of STM32FreeRTOS, allowing you to quickly get started with this powerful development tool. What is STM32FreeRTOS? STM32FreeRTOS is a library … Read more

Entering Electronic Design with Arduino: Part Four – Controlling Seven-Segment Displays

Hello everyone, welcome to “Entering Electronic Design with Arduino.” In this video, we will explain how to control seven-segment displays using Arduino, including both static and dynamic display methods. The seven-segment display can control the turning off of the entire digit through a common terminal. Multiple seven-segment displays can connect the same segment control signals … Read more

Using Arduino as a Controller to Control Facial Expressions with a Game Controller: A Japanese Guy’s “Self-Torture Device” Goes Viral!

【Click the above「blue text」 to follow the DF Maker Community and become a tech enthusiast】 What is it like to control facial expressions with a game controller? Press the LB button to blink the left eye, press the RB button to blink the right eye, and you can also perform a combo of left and … Read more

Basic Programming Algorithm in Arduino – Insertion Sort

Basic Programming Algorithm – Insertion Sort Insertion Sort: Insertion sort builds a sorted sequence by scanning the unsorted data from back to front in the sorted sequence, finding the appropriate position and inserting it. Insertion sort is generally referred to as direct insertion sort. It is an effective algorithm for sorting a small number of … Read more

Tutorial for Creating a Music Player Based on Arduino

1. Development Environment Configuration 1. Download Arduino IDE – Official download link: https://www.arduino.cc/en/software – Version selection: – Recommended version 1.8.x stable (best compatibility) – Or version 2.0.x (requires testing library compatibility) 2. Installation Steps (This section only explains Windows system) ① Double-click the exe installation package ② Check “Install USB drivers” ③ It is recommended … Read more