文件名称:LED
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- xu***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本项目的关键是如何解决高速旋转的电路板如何供电,如何调时的问题。我采用电机电刷的原理,将旋转轴钻空,通过一只插头将电源的从反面引到前面的电路板上,而这个旋转的插头又与固定在背板上的两个铜片接触的。调时的问题有些困难,一是让电路板在旋转前与PC机相接,由电脑传送调时数据,这虽然可行但不方便。还有就是用遥控方法,但此方案在调试方面有很大的困难。
显示方式上,我采用平衡式的两排LED,这除了在旋转时能较好的保持平衡外,主要能利用两边交替显示方式,比单排要快一倍。
本装置不仅是一个时钟,它还可以动态显示汉字及图案,这就看如何发挥了。
其具体制作过程如下:
一。旋转电机的制作
从制作成本与方便考虑,选用旧电脑用的大软驱上的直流无刷电机,只是对局部进行改造。
因学的是C51(不懂汇编)这里只提供C语言源程序,并限制为无遥控功能。也可提供带遥控功能的hex文件。-The key to the project is how to solve the high-speed rotation of the how the board power supply, how to adjust the problem. I used the principle of the motor brushes, drill blank, the rotation shaft of the power supply from the opposite side by a plug lead to the front of the circuit board, this rotation of the plug in contact with the fixed two blades on the backplane . Some difficulties when the tone circuit board in the rotation before connecting to a PC, when the data sent by the computer tune feasible but inconvenient. There is a remote method, but this program will have great difficulties in debugging.
I balanced the two rows of LED to show the way, this addition to the rotation better balance, mainly using alternating sides displayed twice as fast than single row.
This device is not only a clock, it can dynamically display Chinese characters and patterns, which look at how to play.
Its specific production process is as follows:
A. Rotating electrical machine production
Fro
显示方式上,我采用平衡式的两排LED,这除了在旋转时能较好的保持平衡外,主要能利用两边交替显示方式,比单排要快一倍。
本装置不仅是一个时钟,它还可以动态显示汉字及图案,这就看如何发挥了。
其具体制作过程如下:
一。旋转电机的制作
从制作成本与方便考虑,选用旧电脑用的大软驱上的直流无刷电机,只是对局部进行改造。
因学的是C51(不懂汇编)这里只提供C语言源程序,并限制为无遥控功能。也可提供带遥控功能的hex文件。-The key to the project is how to solve the high-speed rotation of the how the board power supply, how to adjust the problem. I used the principle of the motor brushes, drill blank, the rotation shaft of the power supply from the opposite side by a plug lead to the front of the circuit board, this rotation of the plug in contact with the fixed two blades on the backplane . Some difficulties when the tone circuit board in the rotation before connecting to a PC, when the data sent by the computer tune feasible but inconvenient. There is a remote method, but this program will have great difficulties in debugging.
I balanced the two rows of LED to show the way, this addition to the rotation better balance, mainly using alternating sides displayed twice as fast than single row.
This device is not only a clock, it can dynamically display Chinese characters and patterns, which look at how to play.
Its specific production process is as follows:
A. Rotating electrical machine production
Fro
(系统自动生成,下载前可以参看下载内容)
下载文件列表
旋转LED数字电子钟.c