-
步进电机
说明: 编制MCS-51程序使步进电机按照规定的转速和方向进行旋转,并将已转动的步数显示在数码管上。
步进电机的转速分为两档,当按下S1开关时,加速旋转,速度从10转/分加速到60转/分。当松开开关时,减速旋转,速度恢复为10转/分。当按下S2开关时,按照逆时针旋转;当松开时,按照顺时针旋转。
本程序要求使用定时器中断来实现,不准使用程序延时的方式。(The MCS-51 program is programmed to rotate the stepper motor according to the specified speed and direction, and the number of steps that have been rotated is displayed on the digital tube.
Stepper motor speed is divided into two gears. When the S1 switch is pressed, the speed is accelerated from 10 rpm to 60 rpm. When the switch is loosened, the speed will be reduced to 10 rpm. When pressing the S2 switch, rotate counterclockwise; when loosening, rotate clockwise.
This procedure requires the use of timer interrupt to achieve, do not use the way of program delay.)
- 2020-06-16 09:40:02下载
- 积分:1
-
STM32超声波
说明: 基于stm32f103的超声波测距程序,利用keil编写(Ultrasonic ranging based on STM32F103)
- 2020-07-04 04:20:01下载
- 积分:1
-
ALIENTEK MINISTM32 实验33 触控USB鼠标实验
ALIENTEK MINISTM32 实验33 触控USB鼠标实验(ALIENTEK MINISTM32 experiment 33 touch USB mouse experiment)
- 2019-05-18 13:33:19下载
- 积分:1
-
Motor
基于zigbee的电机的调试代码,需要用IAR打开。(Based on the zigbee motor debugging code, need to use IAR to open.)
- 2013-08-20 10:19:00下载
- 积分:1
-
adc
CC2530开发环境,使用slip协议和边界路由,构建一个虚拟网卡的WSN驱动程序,集成开发环境为IAR(The CC2530 development environment, the use of slip agreement and boundary routing, to build a virtual network card WSN drivers, an integrated development environment for IAR)
- 2012-09-12 22:50:29下载
- 积分:1
-
cong2
A, 单发单收,在发送状态,能够连续发送从0到99的数字;
B, 单发单收,在接收状态,能够接收数据,并在数码管上正确地显示出来;
C, 单发多收,在AB完成的基础上,接上多个接收设备,能够正确发送和接收
这是从站2的代码(A, single-input single in the sending state, capable of continuously transmitting a number from 0 to 99 B, single-input single in the receiving state, capable of receiving data, and display correctly in the digital tube out C, single overcharged, on the basis of AB completed, connect multiple receiving devices, capable of sending and receiving the correct code from the station which is 2)
- 2014-05-19 21:21:11下载
- 积分:1
-
spotlight
This program draws an array of spheres lit by a spotlight whose cone angle can be
changed and which can be moved as well. The spotlight cone is shown by a wireframe.
The spheres are colored using color material mode.
- 2017-03-10 16:28:16下载
- 积分:1
-
Intelligent-Robot
智能防撞机器人系列实验的源代码,包括定时器,红外检测,按键中断,声音识别,蜂鸣器等(Intelligent Robot Series test source code)
- 2015-07-08 17:29:30下载
- 积分:1
-
PWM_test
没有使用ADS,是搭建在keil下的s3c2440裸机程序,实现TOUT0的PWM输出来控制舵机(No use ADS, is to build a bare-metal s3c2440 in keil procedures to achieve TOUT0 PWM output to control steering)
- 2014-06-01 20:47:10下载
- 积分:1
-
14-I2C
STM8内部I2C控制程序,供初学人员参考(The STM8 internal I2C control, for beginners to reference)
- 2012-06-20 09:25:18下载
- 积分:1