解决方案
解决方案
智慧工业
智慧农业
智慧零售
智慧气象站
硬件产品
软件工具
软件工具
开发软件
-
UIFlow 1.0
-
UIFlow 2.0
开发工具
-
M5Burner
-
Block Designer
-
Ezdata 2.0
-
EasyLoader Packer
-
vlw Font Creator
设备驱动
-
驱动下载
产品文档
产品文档
产品文档
-
核心控制器
-
传感器
-
功能模块
-
摄像头
-
应用套装
-
配件
上手教程
-
UIFlow 1.0
-
UIFlow 2.0
-
Arduino
-
Micropython
-
Product Guide
相关资料
-
I2C地址表格
-
产品选型表
-
开源3D结构
-
开源PCB
社区资讯
社区资讯
Arduino
哔哩哔哩
项目库
论坛
Github
关于我们
关于我们
关于我们
最新资讯
常见问题
English
简体中文
日本語
UIFlow Guide
UIFlow 1.0 Quick Start
1. UIFlow Web IDE 1.0
2. Firmware & Program 1.0
Basic/Gray/M5GO
M5Fire
M5Core2/M5Core2 AWS
M5Tough
M5Station-BAT
M5StickC
M5StickCPlus
M5StickCPlus2
M5Atom Lite
M5Atom Matrix
M5Atom Display
M5Paper
M5CoreInk
UIFlow 1.0 Blockly
Event
Event
UI
Screen
Hardwares
Speaker
Microphone
RGB
IMU
RTC
Power
Touch
Vibration
Watch Dog Timer
SDCard
Easy I/O
PIN
PWM
ADC
DAC
UART
I2C Master
Network
EEPROM
System
SPI
Generic
Variables
Math
Loops
Logic
Timer
Functions
Text
Lists
Json
Map
Bytearray
Advanced
Execute
ESP Now
MQTT
HTTP
Socket
Modbus Master
Modbus Slave
CAN
Blynk BLE
BLE
Pin Servo
NTP
LoRa Bus
Socket
Modules
Module 2Relay
Module 4Encoder Motor
Module 4In8Out
Module 4Relay
Module Ain4 20ma
Module BaseX
Module COMMU
Module COMX Cat1
Module COMX GSM
Module COMX LoRaWAN 470
Module COMX LoRaWAN 915
Module COMX LTE
Module COMX NB IoT
Module COMX Zigbee
Module DC Motor
Module Display
Module DMX
Module Dual Kmeter
Face Calculator
Face Encoder
Face Finger
Face Gameboy
Face Joystick
Face Keyboard
Face RFID
Module GNSS
Module GoPlus
Module GoPlus2
Module GPS
Module GRBL
Module HMI
Module IoT Base Catm
Module IoT Base NB
Module LAN
Module LAN Base
Module LoRa433
Module LoRa868
Module Plus
PM2.5
Module PPS
Module RS232
Module Servo
Module Servo2
Module Stepmotor
Module Stepmotor Driver
Module USB
Unit
Unit CO2
Unit CO2L
Unit CardKB
Unit ENV
Unit ToF
Unit ToF4M
UnitV/M5StickV V-Function
Unit RFID2
Unit Ultrasonic
Unit Sonic IO
Unit 8Angle
Unit 2Relay
Unit 4Relay
Unit 8encoder
Unit 8servo
Unit Accel
Unit ACSSR
Unit AC Measure
Unit AC Socket
Unit ADC
Unit ADC V1.1
Unit Ain4 20ma
Unit Ameter
Unit Angle
Unit BLDC Driver
Unit BPS
Unit BPS V1.1
Unit Button
Unit Buzzer
Unit CAN
Unit Catm
Unit Catm GNSS
Unit Color
Unit DAC
Unit DAC2
Unit DCSSR
Unit DDS
Unit Digi Clock
Unit Dlight
Unit Dual Button
Unit Earth
Unit Encoder
Unit Env Pro
Unit Ext Encoder
Unit Ext IO
Unit Ext IO2
Unit Fader
Unit Fan
Unit Finger
Unit Flash Light
Unit Gesture
Unit Glass
Unit Glass2
Unit GPS
Unit Grove2grove
Unit Hall
Unit Hbridge
Unit Heart
Unit Id
Unit IMU
Unit IMU Pro
Unit IR
Unit ISO RS485
Unit Joystick
Unit Key
Unit Kmeter
Unit Kmeter Iso
Unit Laser Rx
Unit Laser Tx
Unit LCD
Unit Light
Unit Limit
Unit LoRaWAN 470
Unit LoRaWAN 868
Unit LoRaWAN 915
Unit LoRa E220
Unit LoRa E220 433
Unit Makey
Unit Microphone
Unit Mini CAN
Unit Mini OLED
Unit Mini Scales
Unit MQTT
Unit NB IoT
Unit NB IoT2
Unit NCIR
Unit NCIR2
Unit Neco
Unit OLED
Unit OP 90 180
Unit Pahub
Unit Pbhub
Unit PIR
Unit PoESP32
Unit QRCode
Unit Reflective IR
Unit Relay
Unit RF433-R
Unit RF433-T
Unit RGB
Unit RGB LED
Unit Roller 485
Unit RS485
Unit RTC
Unit Scales
Unit Servo
Unit SSR
Unit Synth
Unit Thermal
Unit Thermal2
Unit Trace
Unit Tube Pressure
Unit TVOC eCO2
Unit UHF RFID
Unit UWB
Unit Vibrator
Unit Vmeter
Unit Watering
Unit Weight
Unit Weight I2c
Unit Zigbee
HAT
Hat 8servo
Hat 8servo V1.1
Hat ADC
Hat Balac
Hat Beetlec
Hat Bugc
Hat Bugc2
Hat Cardkb
Cback Driver
Cback Nbiot
Hat DAC
Hat DAC2
Hat Dlight
Hat ENV
Hat Finger
Hat Heart Rate
Hat Joyc
Hat Joystick
Hat Mini Encoderc
Hat Mini Joyc
Hat NICR
Hat PIR
Hat PuppyC
Hat Roverc
Hat RS485
Hat Servo
Hat SPK
Hat SPK2
Hat Thermal
Hat ToF
Hat Vibrator
Hat Yun
Atomic Base
Atomic CAN
Atomic GPS
Atomic H-Driver
Atomic Motion
Atomic PoE
Atomic QRCode
Atomic QRCode2
Atomic Socket
Atomic SPK
Atomic Stepmotor
Atomic TF Card
DTU Cat1
DTU LoRaWAN 470
DTU LoRaWAN 868
DTU LoRaWAN 915
DTU NB IoT
EzData 1.0
EzData blockly
Remote+
Remote(old version)
IoTCloud
Ali IoT
AWS
Azure Classic
Azure IoT
Blynk IoT
Blynk Legacy
Tencent
MediaTrans
Atom Printer
Audio
Echo STT
Timer Camera
Blockly Custom
UIFlow 1.0 Project
UIFlow 1.0 File Manger
UIFlow 2.0 Quick Start
1. UIFlow Web IDE 2.0
2. Firmware & Program 2.0
M5Dial
M5Core
M5Core2
M5CoreS3
M5Tough
M5Paper
M5Station-BAT
M5DinMeter
M5Capsule
M5StickC
M5Fire
ATOMS3Lite
ATOMS3
ATOMS3R
ATOMS3U
ATOMLite
ATOMU
ATOM-Matrix
AirQ
CoreInk
Cardputer
StampS3
Stamp-PICO
UIFlow 2.0 Blockly
UIFlow 2.0 API Docs
EzData 2.0
EzData 2.0
EzData blockly
UIFlow 2.0 Project
Import & Export Project
Device Share
Project Zone
File Manager
M5Burner
M5Burner Install
Firmware Export
Firmware Publish
Desktop IDE
UIFlow 1.x Desktop IDE
Not Search Result
HOT SEARCHES
Camera
WiFi
RS485
RS232
Relay
LoRaWAN
GPS
NB-IoT
LTE
GSM
Zigbee
Servo
StepMotor
Ethernet
E-Paper
Search
coming soon...
Atomic Stepmotor
案例程序
功能说明
初始化步进电机,并设置步进模式为全步进(Full step),这会影响电机的步进方式和精度。
禁用步进电机,停止电机的操作,电机将不会再接收到任何运动命令。
启用步进电机,允许电机开始执行命令并响应控制信号。
获取步进电机的状态,通常用于检测电机是否处于启用状态或是否运行正常。
获取步进电机的电压值,可能用于监控电源情况,以确保电机在正常电压下运行。
设置电机按顺时针方向旋转指定的圈数,该语句用于控制电机的转动角度。
设置电机按顺时针方向移动指定的步数,用户可以通过步数精确控制电机的转动角度。
将步进电机或者某个设备重置为初始状态。
On This Page