A rotating platform device for substance detection
By combining a Raspberry Pi Pico and an A4988 driver with a mechanical rotary potentiometer, a rotary platform device was developed that solved the problems of low speed control accuracy and inconvenient operation, achieving high-precision speed adjustment and convenient operation, and adapting to various power supply specifications.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- SUZHOU EUROPOD PRECISION INSTR TECH CO LTD
- Filing Date
- 2025-06-26
- Publication Date
- 2026-06-23
AI Technical Summary
Existing rotary platforms suffer from low speed control accuracy, inconvenient operation, and complex structure, failing to meet the requirements for high precision and convenient operation.
It uses a Raspberry Pi Pico module combined with an A4988 stepper motor driver and a mechanical rotary potentiometer to achieve stepless speed regulation through PWM signals, and integrates a buck module to power the motor and sensors, supporting local real-time control.
It achieves a speed control accuracy of ±0.5%, supports localized real-time stepless adjustment, simplifies power management, adapts to various voltage specifications, and improves operating efficiency and equipment adaptability.
Smart Images

Figure CN224399241U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of rotating platform technology, and in particular to a rotating platform device for material detection. Background Technology
[0002] Rotary platforms, as core actuators in industrial automation, intelligent equipment, and precision instruments, are widely used in material sorting, visual inspection, laser processing, and other scenarios. Their core performance indicators include speed control accuracy, ease of operation, and structural stability.
[0003] Speed control requirements: Traditional rotary platforms often use relays or potentiometers to directly adjust the motor voltage, resulting in large speed fluctuations (±10%), which cannot meet the needs of high-precision scenarios. Operation is limited, relying on host computer software or fixed-gear adjustments, lacking localized real-time control methods, and leading to low on-site debugging efficiency.
[0004] The speed control is crude; traditional solutions cannot achieve PWM stepless speed regulation, and the speed adjustment steps are too large (e.g., 50 RPM / speed), failing to meet precise positioning requirements. Operational flexibility is insufficient, lacking local control components such as mechanical knobs, relying on software adjustment, and on-site operation is easily limited by the equipment's connection status. Power management is simplistic, directly using 12V power without integrating a step-down module, making it incompatible with motors and sensors of different voltage specifications. The structural design is outdated; the casing mounting method is inconvenient for quick assembly and disassembly, and electromagnetic compatibility is not considered, allowing motor drive noise to easily interfere with the main control signal. Utility Model Content
[0005] Therefore, the technical problem to be solved by this utility model is to overcome the problems of low speed control accuracy, inconvenient operation and complex structure of the existing rotating platform, and to provide an integrated rotating platform control system based on Raspberry Pi Pico.
[0006] To address the aforementioned technical problems, this utility model provides a rotating platform device for material detection, comprising: an input module, a motor driver module, a main power supply module, a step-down module, and a Raspberry Pi module. The main power supply module supplies power to the motor driver module and the Raspberry Pi module via the step-down module. The input module is connected to the ADC pin of the Raspberry Pi module. The motor driver module is connected to the stepper motor of the rotating platform. The motor driver module and the Raspberry Pi module are connected, and the motor driver module is used to receive the PWM signal output by the Raspberry Pi module to realize the speed adjustment of the stepper motor of the rotating platform.
[0007] In one embodiment of this utility model, the rotating platform device further includes terminal block one and terminal block two. The stepper motor of the rotating platform is connected to the motor driver module through terminal block one, and the input module is connected to the Raspberry Pi module through terminal block two.
[0008] In one embodiment of this utility model, the input module is a mechanical rotary potentiometer, which is connected to the ADC pin of the Raspberry Pi module. The Raspberry Pi module is used to convert the knob angle of the mechanical rotary potentiometer into a 0-3.3V voltage signal.
[0009] In one embodiment of this utility model, the two ends of the mechanical rotary potentiometer are connected to 3.3V and GND respectively, and the mechanical rotary potentiometer reads the 16-bit voltage value through ADC, which is converted into a PWM duty cycle of 0-65535.
[0010] In one embodiment of this utility model, the STEP pin of the motor driver module is connected to the PWM output terminal of the Raspberry Pi module, the DIR pin of the motor driver module is connected to the GP14 pin of the Raspberry Pi module for controlling steering, and the SLEEP pin of the motor driver module is connected to a high level to ensure continuous operation.
[0011] In one embodiment of this utility model, the motor driver module is an A4988 stepper motor driver.
[0012] In one embodiment of this utility model, the Raspberry Pi module is model RP2040.
[0013] In one embodiment of this utility model, the step-down module is model LM2596.
[0014] In one embodiment of this utility model, a capacitor with a capacitance of 100uF is connected between the main power supply module and the motor driver module.
[0015] In one embodiment of this utility model, a two-wire power switch is provided on the main circuit of the main power module, and the two-wire power switch is used to control the on / off state of the main circuit of the main power module.
[0016] Compared with the prior art, the above-mentioned technical solution of this utility model has the following beneficial effects:
[0017] The rotary platform device for material detection described in this invention improves the speed control accuracy. By acquiring the knob signal through a 16-bit ADC and using A4988 microstepping drive, the speed adjustment accuracy is improved from ±10% to ±0.5%, meeting the requirements for precise positioning and uniform rotation (such as the sample stage speed stability of a spectrometer ≤0.1%). Operational efficiency is optimized, with the local mechanical knob supporting real-time stepless adjustment, eliminating the need for a computer and shortening on-site debugging time. Power compatibility is enhanced: the integrated step-down module enables 12V single-power supply while simultaneously powering 5V / 3.3V devices, reducing the number of external power adapters and adapting to various industrial scenarios. Attached Figure Description
[0018] To make the content of this utility model easier to understand, the present utility model will be further described in detail below with reference to specific embodiments and accompanying drawings, wherein:
[0019] Figure 1 This is an electrical schematic diagram of a rotating platform device for material detection in a preferred embodiment of the present invention;
[0020] Figure 2 This is a hardware table of a rotating platform device for material detection in a preferred embodiment of the present invention.
[0021] The diagram in the instruction manual is labeled as follows: Motor driver module 1, main power supply module 2, step-down module 3, Raspberry Pi module 4, terminal block 1 5, terminal block 2 6. Detailed Implementation
[0022] The present invention will be further described below with reference to the accompanying drawings and specific embodiments, so that those skilled in the art can better understand and implement the present invention. However, the embodiments are not intended to limit the present invention.
[0023] Reference Figure 1 , 2 As shown, the rotary platform device for material detection of this utility model includes: an input module, a motor driver module 1, a main power supply module 2, a step-down module 3, a Raspberry Pi module 4, a first terminal block 5, and a second terminal block 6. The main power supply module 2 supplies power to the motor driver module 1 and the Raspberry Pi module 4 through the step-down module 3. The input module is connected to the ADC pin of the Raspberry Pi module 4. The motor driver module 1 is connected to the stepper motor of the rotary platform. The motor driver module 1 and the Raspberry Pi module 4 are connected, and the motor driver module 1 is used to receive the PWM signal output by the Raspberry Pi module 4 to realize the speed adjustment of the stepper motor of the rotary platform. The stepper motor of the rotary platform is connected to the motor driver module 1 through the first terminal block 5, and the input module is connected to the Raspberry Pi module 4 through the second terminal block 6.
[0024] Terminal 5 is a 4-pin terminal (3.5mm spacing) for connecting to a four-wire stepper motor, labeled 2A, 2B, 1A, 1B phase sequence. Terminal 6 is a 3-pin header for connecting to a mechanical knob (VCC / GND / ADC signals), supporting quick plug-and-play replacement of the knob.
[0025] The aforementioned input module is a mechanical rotary potentiometer, which is connected to the ADC pin of Raspberry Pi module 4. Raspberry Pi module 4 is used to convert the knob angle of the mechanical rotary potentiometer into a 0-3.3V voltage signal. The two ends of the mechanical rotary potentiometer are connected to 3.3V and GND respectively, and the mechanical rotary potentiometer reads a 16-bit voltage value through the ADC, which is converted into a PWM duty cycle of 0-65535. The software control logic, speed mapping algorithm, is as follows: the knob voltage value is linearly related to the motor speed, with the formula Speed = (Voltage / 3.3V) × 300RPM. Reverse rotation is supported (via DIR pin level switching).
[0026] The STEP pin of the motor driver module 1 is connected to the PWM output terminal of the Raspberry Pi module 4, the DIR pin of the motor driver module 1 is connected to the GP14 pin of the Raspberry Pi module 4 for controlling the direction of rotation, and the SLEEP pin of the motor driver module 1 is connected to a high level to ensure continuous operation.
[0027] The motor driver module 1 is an A4988 stepper motor driver. The Raspberry Pi module 4 is an RP2040. The step-down module 3 is an LM2596. The stepper motor of the rotary platform is a 42SHD0046-24BH.
[0028] A capacitor 7 with a capacitance of 100uF is connected between the main power module 2 and the motor driver module 1. A two-wire power switch is provided on the main circuit of the main power module 2. The two-wire power switch is used to control the on / off state of the main circuit of the main power module 2. The standby power consumption is ≤0.1W (when the switch is off).
[0029] Interface initialization:
[0030] ADC pin initialization: pot_pin=machine.ADC(28), supports 16-bit precision acquisition.
[0031] PWM pin initialization: pwm_pin=machine.PWM(machine.Pin(15)), frequency set to 1000Hz, duty cycle initial value 0 (motor stops).
[0032] Steering control pin: dir_pin=machine.Pin(14,machine.Pin.OUT), rotation occurs when the level is high by default.
[0033] This invention relates to a rotary platform device for material detection, achieving precise speed adjustment: a mechanical knob controls the PWM signal, combined with an A4988 stepper motor driver, to achieve four-wire motor speed regulation. It offers convenient localized operation: no host computer is required; the speed can be adjusted in real-time directly via the knob, and it is ready to use immediately with a power switch. Modular power management: an integrated MiniDC-DC step-down module converts the 12V input to 5V / 3.3V for use by the Raspberry Pi and sensors, simplifying external power supply configuration.
[0034] The rotary platform device for material detection of this utility model has the following key technical features:
[0035] (1) PWM stepless speed regulation method: The Raspberry Pi Pico outputs a PWM signal by controlling the mechanical knob, and the four-wire motor speed is precisely adjusted by combining the A4988 driver.
[0036] (2) Magnetic quick assembly and disassembly structure: The rotating platform shell and the base are automatically attracted by boron magnets to ensure structural stability under vibration environment.
[0037] (3) Integrated power management: The 12V single power input is converted to 5V / 3.3V by the MiniDC-DC module, which simultaneously powers the motor drive and the main control unit, simplifying the configuration of external power supply.
[0038] (4) Localized control architecture: No host computer is required. The speed can be adjusted in real time by mechanical knob and the power switch can be used to achieve independent operation, adapting to scenarios without network or offline operation.
[0039] (5) Reverse connection and overcurrent protection: The A4988 driver integrates an overcurrent protection circuit to improve the safety and reliability of the equipment.
[0040] Obviously, the above embodiments are merely illustrative examples for clear explanation and are not intended to limit the implementation. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all possible implementations here. However, obvious variations or modifications derived therefrom are still within the protection scope of this invention.
Claims
1. A rotating platform device for material detection, characterized in that, include: The system includes an input module, a motor driver module, a main power supply module, a step-down module, and a Raspberry Pi module. The main power supply module supplies power to the motor driver module and the Raspberry Pi module via the step-down module. The input module is connected to the ADC pin of the Raspberry Pi module. The motor driver module is connected to the stepper motor of the rotating platform. The motor driver module and the Raspberry Pi module are connected, and the motor driver module is used to receive the PWM signal output by the Raspberry Pi module to realize the speed regulation of the stepper motor of the rotating platform.
2. The rotating platform device for material detection according to claim 1, characterized in that: The rotating platform device also includes terminal block one and terminal block two. The stepper motor of the rotating platform is connected to the motor driver module through terminal block one, and the input module is connected to the Raspberry Pi module through terminal block two.
3. The rotary platform device for material detection according to claim 1 or 2, characterized in that: The input module is a mechanical rotary potentiometer, which is connected to the ADC pin of the Raspberry Pi module. The Raspberry Pi module is used to convert the knob angle of the mechanical rotary potentiometer into a 0-3.3V voltage signal.
4. The rotating platform device for material detection according to claim 3, characterized in that: The mechanical rotary potentiometer is connected to 3.3V and GND respectively at its two ends, and the mechanical rotary potentiometer reads the 16-bit voltage value through ADC, which is converted into a PWM duty cycle of 0-65535.
5. The rotary platform device for material detection according to claim 1 or 2, characterized in that: The STEP pin of the motor driver module is connected to the PWM output of the Raspberry Pi module, the DIR pin of the motor driver module is connected to the GP14 pin of the Raspberry Pi module for controlling steering, and the SLEEP pin of the motor driver module is connected to a high level to ensure continuous operation.
6. The rotating platform device for material detection according to claim 1, characterized in that: The motor driver module is an A4988 stepper motor driver.
7. The rotating platform device for material detection according to claim 6, characterized in that: The Raspberry Pi module is model RP2040.
8. The rotary platform device for material detection according to claim 7, characterized in that: The step-down module is model LM2596.
9. The rotating platform device for material detection according to claim 1, characterized in that: A capacitor with a capacitance of 100uF is connected between the main power module and the motor driver module.
10. The rotary platform apparatus for material detection according to claim 1 or 2, characterized in that: The main power module has a two-wire power switch on its main circuit, which is used to control the on / off state of the main power module's main circuit.