Arduino - 电机

Arduino - Motor Arduino - 电机

参考:
Arduino - 电机
Arduino控制舵机

舵机抖动的解决方法

Arduino控制MG995/MG996 360舵机连续旋转

We are going to learn:
我们将学习:

  • Which types of motors can use with Arduino
    哪些类型的电机可以与Arduino一起使用
  • What are differences between types of motors
    电机类型之间有什么区别
  • How to control each type of motors
    如何控制每种类型的电机

Motor Types 电机类型

There are three types of motors widely-used with Arduino:
Arduino广泛使用的电机有三种类型:

  • Servo motor 伺服电机
  • Stepper motor 步进电机
  • DC motor 直流电动机

在这里插入图片描述

The servo motor includes two main types: 180° servo motor and 360° servo motor. In fact, most of the people understand implicitly “servo motor” to be “180° servo motor”.
伺服电机包括两种主要类型:180°伺服电机和360°伺服电机。事实上,大多数人将“伺服电机”隐含地理解为“180°伺服电机”。

360° servo motor is similar to DC motor, except for no hardware driver is required.
360°伺服电机类似于直流电机,只是不需要硬件驱动器。

180° Servo motor 180°伺服电机

Characteristics 特性

  • Rotation is limited between 0° and 180°
    旋转限制在 0° 和 180° 之间
  • Rotating direction: clockwise, counter-clockwise
    旋转方向:顺时针、逆时针
  • Rotating position: can be controlled to rotate to a specific angle between 0° and 180°
    旋转位置:可控制旋转至0°至180°之间的特定角度
  • Rotating speed: can be controlled, but not smoothly
    转速:可以控制,但不能平稳
  • Extra hardware driver: NOT required. Just control directly from an Arduino pin
    额外的硬件驱动程序:不需要。只需直接从Arduino引脚进行控制
  • Extra power supply: required
    额外电源:需要
  • How to control: easy, just use PWM signal
    如何控制:简单,只需使用PWM信号

Application 应用

  • Any application that requires only to rotate a angle between 0° and 180°
    任何只需要旋转 0° 和 180° 之间角度的应用

Servo motor Tutorial 伺服电机教程

  • Arduino - Servo Motor tutorial
    Arduino - 伺服电机教程

Stepper motor 步进电机

Characteristics 特性

  • Rotation is unlimited 旋转是无限的
  • Rotating direction: clockwise, counter-clockwise
    旋转方向:顺时针、逆时针
  • Rotating position: can be controlled to precisely rotate to any angle position.
    旋转位置:可控制精确旋转至任意角度位置。
  • Rotating speed: can be controlled precisely. Furthermore, acceleration and deacceleration can be controlled precisely
    转速:可精确控制。此外,可以精确控制加速和减速
  • Extra hardware driver: required
    额外的硬件驱动程序:必需
  • Extra power supply: required
    额外电源:需要
  • How to control: complicated, beginners should use the library
    如何控制:复杂,初学者应该使用库

Application 应用

  • Automation and robotics 自动化和机器人技术

  • Printers, 3D printer, CNC, X-Y plotter,
    打印机、3D打印机、CNC、X-Y绘图仪、

Cocktail Machine 鸡尾酒机

Stepper Motor Tutorial 步进电机教程

  • Arduino - Stepper Motor tutorial
    Arduino - 步进电机教程
  • Arduino - Stepper Motor with L298N driver tutorial
    Arduino - 带 L298N 驱动器的步进电机教程
  • Arduino - 28BYJ-48 Stepper Motor tutorial
    Arduino - 28BYJ-48步进电机教程
  • Arduino - Stepper Motor and Limit Switch tutorial
    Arduino - 步进电机和限位开关教程

DC motor 直流电动机

Characteristics 特性

  • Rotation is unlimited 旋转是无限的
  • Rotating direction: clockwise, counter-clockwise
    旋转方向:顺时针、逆时针
  • Rotating position: very difficult to precisely rotate to a specific angle
    旋转位置:很难精确旋转到特定角度
  • Rotating speed: easy to control how fast, but very difficult to precisely control to a specific speed value.
    转速:容易控制多快,但很难精确控制到特定的速度值。
  • Extra hardware driver: required.
    额外的硬件驱动程序:必需。
  • Extra power supply: required
    额外电源:需要
  • How to control: easy, just use high-voltage PWM signal
    如何控制:简单,只需使用高压PWM信号

※ NOTE THAT: ※ 注意事项:

  • To control the position of DC motor, we need extra hardware, called encoder, and then use a closed-loop control method such as PID control method. This is very difficult for beginners.
    为了控制直流电机的位置,我们需要额外的硬件,称为编码器,然后使用闭环控制方法,例如PID控制方法。这对初学者来说非常困难。
  • For speed control, we can easily control how fast it is, such as slow, medium, fast, very fast, how many percent of full speed. However, To control how many rounds per second, we need extra hardware, called encoder, and then use a closed-loop control method such as PID control method. This is very difficult for beginners.
    对于速度控制,我们可以很容易地控制它的速度,例如慢速、中速、快速、非常快、全速的百分之几。但是,为了控制每秒的轮数,我们需要额外的硬件,称为编码器,然后使用闭环控制方法,例如 PID 控制方法。这对初学者来说非常困难。
  • Some DC motors on the market has a built-in encoder
    市场上的一些直流电机具有内置编码器

Application 应用

  • Used to control something that needs to rotate continuously but the value of speed does not need to be specified. For example fan, pump, RC car, drill …
    用于控制需要连续旋转但不需要指定速度值的东西。例如风扇、泵、遥控车、钻头…

※ NOTE THAT: ※ 注意事项:

There are two main DC motor types: the brushed DC motors and brushless DC motors. The brushed DC motor is widely used in DIY projects
直流电机主要有两种类型:有刷直流电机和无刷直流电机。有刷直流电机广泛应用于DIY项目

DC motor Tutorial 直流电机教程

Arduino - DC Motor tutorial
Arduino - 直流电机教程

Motor selection guide 电机选型指南

Choosing a motor for a project depending on many factors, such as carried weight, power supply, application’s characteristics…
为项目选择电机取决于许多因素,例如承载重量、电源、应用特性…

  • If your project needs to rotate to angle position in between 0° and 180°, find a suitable 180° servo motor
    如果您的项目需要旋转到0°到180°之间的角度位置,请找到合适的180°伺服电机
  • If your project needs to precisely rotate to any position, find a suitable stepper motor
    如果您的项目需要精确旋转到任何位置,请找到合适的步进电机
  • If your project needs to precisely rotate continuously without any position, find a suitable DC motor or 360° servo motor
    如果您的项目需要在没有任何位置的情况下精确连续旋转,请找到合适的直流电机或360°伺服电机

Buy Motor 购买电机

180° Servo motor SG90 Buy on Amazon 180°伺服电机SG90在亚马逊上购买
180° Servo motor MG996R Buy on Amazon 180°伺服电机MG996R 在亚马逊上购买
360° Servo motor FS90R Buy on Amazon 360°伺服电机FS90R 在亚马逊上购买
Stepper motor Buy on Amazon 步进电机 在亚马逊上购买
DC motor Buy on Amazon 直流电机 在亚马逊上购买
DC motor with encoder Buy on Amazon 带编码器的直流电机 在亚马逊上购买
Stepper & DC motor hardware driver Buy on Amazon 步进&DC电机硬件驱动程序 在亚马逊上购买

See Also

  • Arduino - DC Motor
  • Arduino - DC Motor - Limit Switch
  • Arduino - Servo Motor
  • Arduino - MG996R
  • Arduino - Car
  • Arduino - Stepper Motor
  • Arduino - Controls 28BYJ-48 Stepper Motor using ULN2003 Driver
  • Arduino - Controls Stepper Motor using L298N Driver
  • Arduino - Stepper Motor and Limit Switch

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mfbz.cn/a/744172.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

监控https证书的到期时间

实现该功能,不用借助第三方库,用go的标准库就足够了… 以下程序可以获取这些域名的SSL证书的到期时间,并在证书距离现在不足7天过期时打印提示: package mainimport ("crypto/tls""fmt""net""…

grpc学习golang版( 一、基本概念与安装)

系列文章目录 第一章 grpc基本概念与安装 第二章 grpc入门示例 文章目录 一、基本介绍1.1 什么是rpc1.2 什么是grpc1.3 grpc的作用1.4 grpc的应用场景1.5 protoc 与Protobuf 二、安装2.1 Mac 安装 protoc 及代码生成插件2.2 安装用于生成 go 和 grpc 相关的工具2.3 卸载protobu…

Emacs之显示blame插件:blamer、git-messenger(一百四十四)

简介: CSDN博客专家,专注Android/Linux系统,分享多mic语音方案、音视频、编解码等技术,与大家一起成长! 优质专栏:Audio工程师进阶系列【原创干货持续更新中……】🚀 优质专栏:多媒…

《mysql篇》--mysql常用命令

数据库操作 显示当前数据库 show databases;(database 后面要加s) 这行命令用来显示当前有多少个数据库 //mysql中有自带的四个库 创建数据库 create database 数据库名(name); 创建一个数据库 create dabase if not exists <数据库名(name)>; //如果系统有与当前创建…

ITIL发展之路:从v3到v4的演变与应用

在当今瞬息万变的技术环境中&#xff0c;IT服务管理&#xff08;ITSM&#xff09;已成为企业运营的关键支柱。ITIL&#xff08;Information Technology Infrastructure Library&#xff0c;信息技术基础设施库&#xff09;作为全球公认的ITSM最佳实践框架&#xff0c;帮助组织在…

google浏览器无法访问大端口的处理方式

属性的目标中添加后缀内容或者修改后台端口为常用端口&#xff0c;比如8080等。 “C:\Program Files\Google\Chrome\Application\chrome.exe” --explicitly-allowed-ports8888

七天速通javaSE:第三天 程序控制结构:练习题

文章目录 前言一、基础1.计算从0~100之间奇数之和和偶数之和2. 用for循环输出0~1000之间能被5整除的数&#xff0c;每行输出三个 二、进阶1. 九九乘法表2.等边三角形 前言 本文主要讲解三种基本程序控制结构的练习题&#xff0c;以期熟练掌握顺序、选择、循环三种基本结构 一、…

34 - 指定日期的产品价格(高频 SQL 50 题基础版)

34 - 指定日期的产品价格 -- row_number(行号) 生成连续的序号&#xff0c;不考虑分数相同 -- 在2019-08-16之前改的价格&#xff0c;使用最近一期的日期&#xff0c;没有在2019-08-16之前改的价格&#xff0c;默认价格为10 select t.product_id, t.new_price as price from (s…

Studying-代码随想录训练营day20| 235.二叉搜索树的最近公共祖先、701.二叉搜索树中的插入操作、450.删除二叉搜索树中的节点

第二十天&#xff0c;二叉树part07&#xff0c;二叉树搜索树加油加油&#x1f4aa; 目录 235.二叉搜索树的最近公共祖先 701.二叉搜索树中的插入操作 450.删除二叉搜索树中的节点 拓展&#xff1a;普通二叉树的删除方式 总结 235.二叉搜索树的最近公共祖先 文档讲解&…

中国4个民族群体的全基因组DNA甲基化变异图谱首次发布

2023年4月&#xff0c;由西北工业大学联合复旦大学等院校在Science China Life Sciences上发表题为“Genome-wide DNA methylation landscape of four Chinese populations and epigenetic variation linked to Tibetan high altitude adaptation”的文章&#xff0c;该研究通过…

supOS数据采集及接入-IoT网关接入操作

IOT网关接入流程 一、准备阶段 蓝卓云账号注册 Note:如果已经有蓝卓云账号&#xff0c;请跳过注册步骤&#xff0c;直接看沙箱使用手册。 注册账号 沙箱申请 Note: 如果已经有沙箱环境&#xff0c;请跳过注册步骤&#xff0c;直接看supOS 采集器操作说明。申请沙箱时候&#…

主流中间件--Redis

NOSQL 什么是NOSQL NoSQL(NoSQL Not Only SQL )&#xff0c;意即“不仅仅是SQL”&#xff0c;它泛指非关系型的数据库。 关系型数据库&#xff1a;以关系(由行和列组成的二维表)模型建模的数据库。简单理解&#xff1a;有表的就是关系型数据库。 NOSQL分类 Redis 什么是Redi…

07 - matlab m_map地学绘图工具基础函数 - 绘制等高线

07 - matlab m_map地学绘图工具基础函数 - 绘制等高线 0. 引言1. 关于绘制m_contour2. 关于绘制m_contourf3. 关于绘制m_elev4. 结语 0. 引言 本篇介绍下m_map中添加绘制等高线的一系列函数及其用法&#xff0c;主要函数包括m_elev、m_contour、m_contourf还有一些函数也和绘制…

动物常见图像的图像分类数据集

常见动物图像分类数据集 数据集&#xff1a; 链接&#xff1a;https://pan.baidu.com/s/1zZnCUZuNlX6MjuZImlDjTw?pwd03b9 提取码&#xff1a;03b9 数据集信息介绍&#xff1a; 文件夹 大象 中的图片数量: 1446 文件夹 松鼠 中的图片数量: 1862 文件夹 河马 中的图片数量:…

web自动化(一)selenium安装环境搭建、DrissionPage安装

selenium 简介 selenium是企业广泛应用的web自动化框架 selenium 三大组件 selenium IDE 浏览器插件 实现脚本录制 webDriver 实现对浏览器进行各种操作 Grid 分布式执行 用例同时在多个浏览器执行&#xff0c;提高测试效率 问题&#xff1a;环境搭建复杂&#xff0c;浏览器版…

天才程序员周弈帆 | Stable Diffusion 解读(四):Diffusers实现源码解读

本文来源公众号“天才程序员周弈帆”&#xff0c;仅用于学术分享&#xff0c;侵权删&#xff0c;干货满满。 原文链接&#xff1a;Stable Diffusion 解读&#xff08;四&#xff09;&#xff1a;Diffusers实现源码解读 接上一篇文章[天才程序员周弈帆 | Stable Diffusion 解读…

【python013】pyinstaller打包PDF提取脚本为exe工具

1.在日常工作和学习中&#xff0c;遇到类似问题处理场景&#xff0c;如pdf文件核心内容截取&#xff0c;这里将文件打包成exe可执行文件&#xff0c;实现功能简便使用。 2.欢迎点赞、关注、批评、指正&#xff0c;互三走起来&#xff0c;小手动起来&#xff01; 3.欢迎点赞、关…

19.异常处理

学习知识&#xff1a;方法中&#xff0c;异常的抛出和捕获 Main.java&#xff1a; public class Main {public static void main(String[] args) {errtest errtest new errtest();try{errtest.testerr();} catch (ArithmeticException e) {System.out.println("这个方法…

计算机基础知识——面向对象:封装+继承+多态整理

面向对象三大特性&#xff1a;封装、继承、多态。 1.封装 将一系列相关事物的共同的属性和行为提取出来&#xff0c;放到一个类中&#xff0c;同时隐藏对象的属性和实现细节&#xff0c;仅对外提供公共的访问方式。 【JavaBean类就可以看作是封装的完美案例。】 setter和get…

【Docker】rancher 管理平台搭建

目录 1. 所有节点安装docker 2. 所有节点配置/etc/sysconfig/docker 文件修改如下配置 3. 配置证书 4. 镜像仓库导入镜像 5. 创建镜像仓库 5.1 查询上传的 image id 5.2 镜像打标签 5.3 镜像上推 6. server 节点 7. client 节点 8. 在 server 节点启动 9. 查看运行…