登录
首页 » 嵌入式系统 » 51单片机步进电机驱动程序

51单片机步进电机驱动程序

于 2022-07-17 发布 文件大小:8.57 kB
0 143
下载积分: 2 下载次数: 2

代码说明:

使用51单片机的输入口P3作为驱动口,步进电机使用的是4相电机28BYG-48,使用ULN2003作为驱动芯片,P3.0控制A相,P3.1控制B相,P3.2控制C相,P3.3控制D相,通过循环遍历数值表,使P3.0-P3.3交替产生高脉冲,频率不宜过高,太高的话步进电机只会内部振动,并不转动。相邻高电平之间的时间间隔在1-10ms之间就可以了

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Arduino 通过WIFI无线模块获取天气并用OLED显示
    代码基于Arduino平台,通过WIFI无线连接雅虎网址获取天气信息, 之后对雅虎返回数据包进行分析提取天气、温湿度信息,并在OLED屏上显示 ,Arduino每隔一段时间就发送请求从而实现信息的时时更新
    2022-03-10 21:19:55下载
    积分:1
  • 密码保护安全门使用 8051
    这是受密码保护安全门使用 8051 的代码。该项目由步进电机、 液晶、 蜂鸣器和键盘组成。关于紧迫的密码显示为 * 在液晶屏上,8051 检查正确的密码,是否密码不正确,步进电机按顺时针方向旋转打开的门。在延迟后,步进电机旋转逆时针把门关上。有每天设置用户密码的密码。ver 8 是最终的代码。
    2022-03-22 16:34:07下载
    积分:1
  • Termometer, Development board Sureelectronics (eBay), SHT11 and ADC example.
    Termometer, Development board Sureelectronics (eBay), SHT11 and ADC example.
    2022-06-12 10:39:26下载
    积分:1
  • msp430的程序,具体型号是f5438,12864为st920的主控芯片
    msp430的程序,具体型号是f5438,12864为st920的主控芯片-msp430 procedures, the specific model is f5438, 12864 for the master chip st920
    2022-03-07 21:55:14下载
    积分:1
  • 3280Led点阵时钟,08接口
    应用背景3280led点阵时钟,08接口,支持市面上大部分08接口的双色点阵,3264可以相应修改关键技术3280 led 点阵时钟,08接口。淘宝有很多相似的点阵版,基本都能用。。。
    2023-02-08 14:25:03下载
    积分:1
  • DCT 隐写术
    离散余弦变换(DCT) 表示的数据点之和的余弦函数在不同的频率振荡的有限序列。DCTs 是重要对许多应用程序在科学和工程,从有损压缩的 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-12-31 08:25:03下载
    积分:1
  • verilog浮点乘发器,特定数据结构,指数底为10,利用pipeline
    verilog浮点乘发器,特定数据结构,指数底为10,利用pipeline-Verilog float by their hair, a specific data structure, the index for the end of October, using pipeline
    2022-05-16 03:20:05下载
    积分:1
  • 按键检测超精简实用程序
    个人珍藏的超精简按键程序,这个程序是个人收藏并沿用多年的一个按键检测,需要配合定时中断来使用,当然现在也没有人用最傻瓜的for来做延时了吧; 我这个程序可以实别,短按,连按,长按,双击等动作! 非常实用!
    2022-03-10 08:29:26下载
    积分:1
  • 这是通道控制用的闸机源码,已在多家公园景区机关院校使用....
    这是通道控制用的闸机源码,已在多家公园景区机关院校使用.-This is the access control gates used source, has many scenic parks authority institutions use.
    2022-10-20 17:50:03下载
    积分:1
  • A Tiny Microcontroller for FPGAs
    应用背景Abstract—Leros is a tiny microcontroller that is optimized for current low-cost FPGAs. Leros is designed with a balanced logic to on-chip memory relation. The design goal is a microcontroller that can be clocked in about half of the speed a pipelined on-chip memory and consuming less than 300 logic cells. The architecture, which follows from the design goals, is a pipelined 16-bit accumulator processor. An implementation of Leros needs at least one on-chip memory block and a few hundred logic cells. The application areas of Leros are twofold: First, it can be used as an intelligent peripheral device for auxiliary functions in an FPGA based system-on-chip design. Second, the very small size of Leros makes it an attractive softcore for many-core research with low-cost FPGAs.关键技术The smallest core is comparable to Leros and can be implemented
    2023-09-03 01:00:04下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载