-
fer1
$regfile = M8DEF.dat internal crystal 8000000
Config Lcdpin = Pin , Db4 = Portc.1 , Db5 = Portc.2 , Db6 = Portc.3 , Db7 = _
Portc.4 , E = Portd.2 , Rs = Portd.3
Config Lcd = 16 * 2
Config Timer1 = Counter , Edge = Rising
Ddrb.1 = 0 : Portb.1 = 1 PULL UP RESISTOR ACTIVATED
Config Timer0 = Timer , Prescale = 1024
Enable Counter1
Enable Interrupts
Enable Timer0
Enable Timer1
On Ovf1 Pulsecount
On Ovf0 Ovf0occures
Dim A As Long , I As Long , B As Byte
B = 0
Cls
Start Timer0
Do
Loop
End end program
Ovf0occures:
Incr I
If I > 30 Then
Stop Timer0
Cls : Home
A = B * 65536
A = A + Counter1
Lcd FREQ IS : A HZ
B = 0
I = 0 : Counter1 = 0
Start Timer0
End If
Return
Pulsecount:
Incr B
Counter1 = 0
Return
- 2014-11-22 01:04:48下载
- 积分:1
-
TEXT2.4G
nrf2401 发射机和接收机双向同步跳频,在35个信道上来回跳 超级防干扰(Nrf2401 two-way synchronization of fh transmitter and receiver, jump to and fro on the 35 channels Super tamper-proof)
- 2015-04-19 19:58:23下载
- 积分:1
-
PC_Com
用VC进行单片机的串口通讯,并进行数据采集,进行处理以后在PC端显示(VC MCU for serial communication, and data collection, processing beyond the PC to display)
- 2020-12-13 18:59:14下载
- 积分:1
-
ParallelQuickSort
parallel quicksort algorithm and implimentation
- 2015-06-23 03:59:36下载
- 积分:1
-
ds18b20
使用89S52单片机对DS18B20进行驱动,在数码管上显示当前温度。(DS18B20 using 89S52 microcontroller to drive on, in the digital pipe display the current temperature.)
- 2010-08-03 15:22:19下载
- 积分:1
-
zhinengzhizhen
智能指针的设计,主要为了解决野指针的问题(Smart pointer design, mainly in order to solve the problem of dangling pointers)
- 2015-10-25 11:16:20下载
- 积分:1
-
51chipdanPLC
PLC与51单片机通讯示例程序(单片机程序)(PLC and 51 single-chip communication sample programs (MCU program))
- 2011-11-25 14:27:14下载
- 积分:1
-
LED
说明: usb控制下位机led 灯的点亮,哦2混排博大精深进 .(jhsofgj k skdfgmdkf m k pkd fkgfpok fgk dpo )
- 2011-04-04 09:28:45下载
- 积分:1
-
CT
说明: 双路输出控制器”具有信号输出时间设定、 输出信号占空比调整、 当前输出通道及时
间显示、系统工作参数存储、串口通讯及 LED 指示等功能。 “双路输出控制器”通过串口完
成信号输出时间设定功能;通过 EEPROM 完成系统工作参数存储功能;通过按键完成输出通
道切换、 输出信号占空比调整及停止信号输出功能; 系统硬件电路主要由 MCU 控制单元、独
立按键、 LCD 显示单元、 串口通讯单元、 EEPROM 数据存储单元和 LED 指示单元组成(Dual output controller has the signal output time setting, adjust the duty cycle of the output signal, the current output channel in time
Between display, system operating parameters are stored, serial communications and LED indicator. Dual Output Controller through serial END
A signal output time setting function complete system operating parameters via EEPROM memory function complete output pass through the key
Channel switching, adjust the duty cycle of the output signal and the stop signal output function the system hardware circuit is mainly controlled by the MCU unit, alone
Li buttons, LCD display unit, serial communication unit, EEPROM data storage unit and LED indication units)
- 2015-03-10 20:14:34下载
- 积分:1
-
blcd-220V
本方案是基于富士通高可靠性单片机开发的锂电池电动螺丝刀,采用直流无刷电机作为核心,配合方波驱动以及闭环控制技术,实现电动工具的可靠运行。
技术参数
1)采用日本富士通MCU,性能稳定,抗干扰强,高可靠性;
2)直流18V输入(可兼容不同锂电池10V—36V);
3)三相霍尔直流无刷电机驱动,转速高达25000转/分;
4)采用德国英飞凌高性能MOS/IGBT,驱动功率高达800W;
5)高亮LED照明,工作时点亮,不工作时自动熄灭;
6)采用智能控制技术实现待机(不工作时)功耗为 0 消耗;
7)通过软件实现软启动,启动时间可调整,瞬间(1S)达最高速;
8)具有过流保护、堵转保护、过压欠压保护;
9)带速度设置按键、正反转按键、调速开关;
(The program is based on the Fujitsu MCU development of high reliability lithium battery electric screwdriver, brushless DC motor as the core, with the square wave drive and closed-loop control technology, power tools for reliable operation.)
- 2013-10-15 15:03:30下载
- 积分:1