Micro:bit PWM Servo Control Tutorial

Micro:bit PWM Servo Control Tutorial

01 Introduction PWM servos are controlled by PWM signals, allowing instantaneous angle changes, with good responsiveness and strong locking capability, but lower precision. 02 Principle Analog and Digital Signals First, let’s understand what analog and digital signals are: Analog Signal: The micro:bit can output a voltage between 0~3.3V, with parameter values and return values ranging … Read more

Interesting Basic Experiments with Raspberry Pi Pico

Interesting Basic Experiments with Raspberry Pi Pico

Last week we gave away Raspberry Pi Pico, and today we have prepared some experimental routines for everyone. This includes several basic experiments with code and results. ▌01 PI Pico Experiment Board The Raspberry Pi Pico Development Board Basic Test[1] provides the basic setup for the PI Pico development board. By installing the Thonny development … Read more

Interesting Basic Experiments with Raspberry Pi Pico

Interesting Basic Experiments with Raspberry Pi Pico

▲ Experimental Circuit Board The Raspberry Pi Pico small MCU module, with its low price, rich features, and easy development, provides a convenient platform for many students from non-electronic majors to design creative project prototypes. The following experiments are some basic demonstration experiments made for CDIE course design students. ▌01 PI Pico Experiment Board In … Read more

MTD6508 Data Sheet – Three-Phase Sensorless BLDC Motor Driver

MTD6508 Data Sheet - Three-Phase Sensorless BLDC Motor Driver

Introduction The MTD6508 device is a three-phase full-wave sensorless driver for Brushless DC (BLDC) motors. It features 180° sinusoidal drive, high torque output, and can achieve silent operation. With its adaptive characteristics, parameters, and wide supply voltage range (2V to 5.5V), the MTD6508 is suitable for various motor characteristic applications, requiring very few external components. … Read more

Introduction to Using the Servo Library for Controlling Servo Motors with Arduino

Introduction to Using the Servo Library for Controlling Servo Motors with Arduino

Arduino provides a very powerful library – the `Servo` library, specifically designed for controlling servo motors. This library can control various types of servo motors and efficiently utilize timer resources, allowing a single timer to control multiple servo motors. Below we will detail the functions, usage, and some precautions of the `Servo` library. 1. Introduction … Read more

Understanding Arduino Uno Pins: From Digital I/O to PWM and Analog Input

Understanding Arduino Uno Pins: From Digital I/O to PWM and Analog Input

Understanding Arduino Uno Pins: From Digital I/O to PWM and Analog Input Arduino Uno is a popular open-source electronic prototyping platform that provides developers with convenient hardware interfaces to realize various creative projects. This article will delve into the pin functions of the Arduino Uno, including digital input/output (I/O), pulse-width modulation (PWM), and analog input, … Read more

Understanding STM32 Timers: A Comprehensive Training Guide

Understanding STM32 Timers: A Comprehensive Training Guide

Course Introduction Introduction to STM32 Timer Basics and Common Applications The STM32 technical training proudly presents “Chatting with the Moderator about the STM32 Series” training. This training is carefully compiled by the moderator based on the most frequently asked questions in the ST MCU forum, featuring specialized technical Q&A and application case analysis. The first … Read more

Controlling a Small Fan Module with .NET and Raspberry Pi

Controlling a Small Fan Module with .NET and Raspberry Pi

(Give DotNet a star to enhance your .Net skills) Source: Dongxia Dugu cnblogs.com/tcjiaan/p/14547950.html Introduction A small fan is essentially a motor with blades attached to its shaft. There are two-blade and three-blade designs. We played with these as kids; solar-powered hats had small fans, and when riding bikes to school, they would spin in sunlight. … Read more

Raspberry Pi 3B+ Servo Motor Control Code

Raspberry Pi 3B+ Servo Motor Control Code

The control of the servo generally requires a 20ms timing pulse, where the high level part of this pulse is typically within the range of 0.5ms to 2.5ms for angle control. For a 180-degree servo, the corresponding control relationship is as follows:0.5ms————–0 degrees;1.0ms————45 degrees;1.5ms————90 degrees;2.0ms———–135 degrees;2.5ms———–180 degrees;Please see the illustrative description below: The operating voltage … Read more

Control PWM with Arduino in 5 Minutes

Control PWM with Arduino in 5 Minutes

If you don’t want to miss my updates, remember to check the public account in the upper right corner and set it as a star, drop a star for me. Many MCU manufacturers can complete PWM control through internal registers, such as Arduino, STM32, etc. This integration greatly simplifies the development process, allowing you to … Read more