-
伟福LAB2000单片机仿真系统直流电机控制:利用实验仪上的D/A变换电路,输出...
伟福LAB2000单片机仿真系统直流电机控制:利用实验仪上的D/A变换电路,输出-8V至+8V电压,控制直流电机。改变输出电.压值,改变电机转速,用8255 的PB.0 读回脉冲计数,计算电机转速。在电压允许范围内,直流电机的转速随着电压的升高而加快,若加上的电压为负电压,则电机会反向旋转。本实验仪的D/A变换可输出-8V到+8V的电压,将电压经驱动后加在直流电机上,使其运转。通过单片机输出数据到D/A变换电路,控制电压的高低和正负,观察电机的旋转情况。
在电机转盘上安装一个小磁芯,用霍尔元件感应电机转速,用单片机控制8255读回感应脉冲,从而测算出电机的转速。
-err
- 2022-12-26 21:15:03下载
- 积分:1
-
Hood procedures currently on the market containing all the main functions of the...
目前市场上的发动机罩程序包含了发动机罩的所有主要功能,有兴趣对其进行研究
- 2022-03-19 12:35:03下载
- 积分:1
-
写汇编代码实现一个圆形的先入先出(FIFO)缓冲器…
To write assembly code to implement a circular First In First Out (FIFO) buffer in the data memory of PIC18F452 microcontroller, using the microcontroller’s direct addressing mode and indirect addressing mode. To expand on the FIFO assignment and implement the FIFO solution on the QWIKFLASH PIC target board and display the FIFOSTATUS as LED indicators. Recall:
Flags within a file register called FIFOSTATUS:
• Bit 0: FIFO_full
• Bit 1: FIFO_empty
• Bit 2: attempt_2_read when FIFO_empty
• Bit 3: attempt_2_write when FIFO_full
- 2023-05-10 17:35:03下载
- 积分:1
-
生成BCD码。 Name: BIN3toBCD4 Func:2字节二进制整数
生成BCD码。 Name: BIN3toBCD4 Func:2字节二进制整数--->>BCD码四字节转换(Comped BCD) Input: 3进制数人低字节到高字节存放在内部RAM50H,51H,52h单元中 Output: BCD码人低位到高位分别存放在内部RAM53H,54H,55H,56H单元中 USE: R7-R0, 56H-50H-generation BCD. Name : BIN3toBCD4 Func : 2-byte binary integers-- gt; Gt; BCD four byte conversion (Comped BCD) Input : 3 band several low byte to high-byte stored in the internal RAM50H, 51H, chick modules Output : BCD who were low to high deposit on internal RAM53H, 54H, 55H, Social modules USE : R7-R0, Social-50H
- 2023-04-19 05:10:02下载
- 积分:1
-
这是一个键盘显示的程序,一般键盘都可以用它,只是需要你更改其中的一些参数而已,很不错吧!...
这是一个键盘显示的程序,一般键盘都可以用它,只是需要你更改其中的一些参数而已,很不错吧!-This is a keyboard and display procedures, the general keyboard can use it, you only need to change these parameters only, very good!
- 2022-01-23 11:26:53下载
- 积分:1
-
这个东东是我刚写出来的,这可以完成定时1秒的功能,并且使用定时器来完成,定时精度高,可靠性高....
这个东东是我刚写出来的,这可以完成定时1秒的功能,并且使用定时器来完成,定时精度高,可靠性高.-I just write out, it can be a regular seconds to complete the function, and the use of timers to complete, regular high accuracy and high reliability.
- 2022-10-10 06:05:02下载
- 积分:1
-
check each string of characters in the number of characters plus flow chart docu...
检查一串字符中每个字符出现的次数外加流程图说明文档-check each string of characters in the number of characters plus flow chart documentation
- 2022-04-29 06:18:16下载
- 积分:1
-
在编制键盘输入程序时常常要用到一个键的扫描码或ASC码,如用到 Foxpro 的 inkey() 函数,以及用到 BIOS 的 INT 16H时,但找一个编码表...
在编制键盘输入程序时常常要用到一个键的扫描码或ASC码,如用到 Foxpro 的 inkey() 函数,以及用到 BIOS 的 INT 16H时,但找一个编码表不太容易,有时候找到的编码表又不全,无法查到组合键的编码,本程序就是一个随时用来显示按键的ASC码及扫描码的程序,可以用 16 进制和 10 进制同时显示一个键按下和放开的扫描码,以及ASC码,同样也支持组合键。-Keyboard input in the preparation procedures are often used to a key scan code or ASC code, such as using Foxpro
- 2022-01-26 04:59:49下载
- 积分:1
-
发光二极管灯的脉宽调制控制逐步消除过程中的应用…
PWM 控制 LED 灯渐亮渐灭程序
适用 ME300B 开发系统
利用定时器控制产生占空比可变的 PWM 波
按K1,PWM值增加,则占空比减小,LED 灯渐暗。
按K2,PWM值减小,则占空比增加,LED 灯渐亮。
当PWM值增加到最大值或减小到最小值时,蜂鸣器将报警。-PWM control of LED lights getting brighter gradually eliminate procedures apply ME300B development system the use of timer control which produces a variable duty cycle PWM wave by K1, PWM value is increased, then the duty cycle decreases, LED lights dimming. According to K2, PWM value is reduced, then the duty cycle increases, LED lights gradually brighter. When the PWM value is increased to maximum or reduced to minimum, the buzzer will alarm.
- 2022-07-12 19:36:16下载
- 积分:1
-
uoolkjl
bootram
you is it .
uoolkjl
bootram
you is it .-uoolkjl bootram you is it.
- 2022-02-03 20:42:50下载
- 积分:1