当前位置:网站首页>【Proteus仿真】Arduino UNO按键启停 + PWM 调速控制直流电机转速
【Proteus仿真】Arduino UNO按键启停 + PWM 调速控制直流电机转速
2022-06-26 12:44:00 【perseverance52】
【Proteus仿真】Arduino UNO按键启停 + PWM 调速控制直流电机转速
- Proteus仿真

接线和控制说明
通过三极管来驱动直流电机,电源正极接电机的一端,电机的另一端接到NPN三极管的集电极,三极管的基极接Arduino UNO 的 11脚,发射极接GND
- 按下启停键后,调节电位器可以调节电机的转速。再次按下启停键后,电机停止转动。
示例代码
/* Main.ino file generated by New Project wizard * * Created: 2022-6-26 * Processor: ATmega328P * Compiler: Arduino AVR */
/* // 按键启停 + PWM 调速控制直流电机转速 //通过三极管来驱动直流电机 //电源正极接电机的一端,电机的另一端接到NPN三极管的集电极, //三极管的基极接Arduino 11脚,发射极接GND, */
边栏推荐
- MySQL数据库讲解(六)
- First pass! Baidu AI Cloud Xiling platform has obtained the authoritative certification of digital human ability evaluation from the Institute of information technology
- 偶言佳句,孤芳自赏
- Here Document免交互及Expect自动化交互
- 防火墙介绍
- Decorator
- B - Bridging signals
- Log in to the server using SSH key pair
- Chapter 10 setting up structured logging (2)
- 去某东面试遇到并发编程问题:如何安全地中断一个正在运行的线程
猜你喜欢

LAMP编译安装

Fire warning is completed within 10 seconds, and Baidu AI Cloud helps Kunming Guandu build a new benchmark of smart city

Processsing function random

Script - crawl the customized storage path of the cartoon and download it to the local

网络远程访问的方式使用树莓派

Ring queue PHP

Bridge mode
![Hdu1724[Simpson formula for integral]ellipse](/img/57/fb5098e150b5f3d91a5d0983a336ee.png)
Hdu1724[Simpson formula for integral]ellipse

Design of simple digital circuit traffic light

Es sauvegarde et restauration des données par instantané
随机推荐
code force Party Lemonade
Beifu PLC obtains system time, local time, current time zone and system time zone conversion through program
装饰器(Decorator)
What features are added to Photoshop 2022 23.4.1? Do you know anything
Map value
Beifu twincat3 can read and write CSV and txt files
适配器模式(Adapter)
三维向量的夹角
MySQL讲解(二)
Arcpy——InsertLayer()函数的使用:掺入图层到地图文档里
MySQL数据库讲解(六)
KITTI Detection dataset whose format is letf_ top_ right_ bottom to JDE normalied xc_ yc_ w_ h
Design of simple digital circuit traffic light
GO语言-管道channel
7-1 n queen problem
Uva5009 error curves three points
12 SQL optimization schemes summarized by old drivers (very practical)
Detailed practical sharing, two hours of funny videos after work, earning more than 7000 a month
Log in to the server using SSH key pair
Appearance mode (facade)