当前位置:网站首页>【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, */
边栏推荐
- 7-2 picking peanuts
- 7-2 the cubic root of a number
- May product upgrade observation station
- Awk tools
- 去某东面试遇到并发编程问题:如何安全地中断一个正在运行的线程
- Log in to the server using SSH key pair
- ES6:Map
- Prototype
- Beifu PLC model selection -- how to see whether the motor is a multi turn absolute value encoder or a single turn absolute value encoder
- 组合模式(Composite )
猜你喜欢
Arcpy -- use of insertlayer() function: adding layers to map documents
Arcpy - - utilisation de la fonction insertlayer (): ajout de calques dans un document de carte
Processing function translate (mousex, mousey) learning
HW蓝队溯源流程详细整理
C language: Exercise 2
Analysis of state transition diagram of Beifu NC axis
[how to connect the network] Chapter 2 (middle): sending a network packet
Script - crawl the customized storage path of the cartoon and download it to the local
First pass! Baidu AI Cloud Xiling platform has obtained the authoritative certification of digital human ability evaluation from the Institute of information technology
8、【STM32】定时器(TIM)——中断、PWM、输入捕获实验(一文精通定时器)
随机推荐
Beifu PLC obtains system time, local time, current time zone and system time zone conversion through program
Processsing function random
Mysql database explanation (III)
Some conclusions about Nan
To solve the difficulties of small and medium-sized enterprises, Baidu AI Cloud makes an example
SQL assigns the field value of data table B to a column in data table a
Electron official docs series: Distribution
Solutions to insufficient display permissions of find and Du -sh
KITTI Tracking dataset whose format is letf_ top_ right_ bottom to JDE normalied xc_ yc_ w_ h
Here document interaction free and expect automatic interaction
H5视频自动播放和循环播放
Word document export (using fixed template)
A few lines of code can realize complex excel import and export. This tool class is really powerful!
LAMP编译安装
H - Sumsets POJ 2229
mysql讲解(一)
What features are added to Photoshop 2022 23.4.1? Do you know anything
Arcpy -- use of insertlayer() function: adding layers to map documents
H5 video automatic playback and circular playback
【Spark】. Explanation of several icons of scala file in idea