联合开发网   搜索   要求与建议
                登陆    注册
排序按匹配   按投票   按下载次数   按上传日期
按分类查找All 单片机开发(455) 
按平台查找All Visual C++(455) 

[单片机开发] 四旋翼源代码

基于STM32F4的四轴航拍平台。以STM32F407为控制核心,四轴飞行器为载体,辅以云台的航拍系统。硬件上由飞控电路,电源管理,通信模块,动力系统,机架,云台伺服系统组成。算法上采用简洁稳定的四元数加互补滤波作为姿态解算算法,PID作为控制器,实现飞行,云台增稳等功能
Four axis aerial platform based on STM32F4. Taking STM32F407 as the control core, the four axis flying vehicle as the carrier, and the aerial camera system with ptz. The hardware is composed of flight control circuit, power management module, communication module, power system, frame and PTZ servo system. The algorithm uses a simple and stable four yuan number plus complementary filtering as the attitude calculation algorithm, and PID is used as a controller to achieve flight, PTZ stability, and other functions (2017-06-28, Visual C++, 467KB, 下载18次)

http://www.pudn.com/Download/item/id/1498582368115397.html

[单片机开发] c--chengxu

本设计采用单片机STC89C52为核心器件来设计秒表,系统实用性强、操作简单。秒表由1个4位一体共阴数码管来显示时间,显示时间为00.00~99.99秒,每秒自动加1。一个按钮实现启动/暂停功能,另一个按钮实现复位功能。按下启动/暂停键则开始计时,再按一下启动/暂停键则暂停,显示当前计时的秒数,按下复位按钮则复位,显示数值为00.00。
This design USES the microcontroller STC89C52 as the core device to design a stopwatch, system practical, simple operation. Stopwatch by a four digital tube to display the time together, a total of Yin, show time is 00.00 ~ 99.99 seconds, automatically add 1 per second. A function of start/stop button, another button reset functions. The start of the timer, press the start/stop button and then press the start/pause button is suspended, display the current time the number of seconds, press the reset button is reset, the display value of 00.00. (2015-05-07, Visual C++, 30KB, 下载3次)

http://www.pudn.com/Download/item/id/1430969533164477.html

[单片机开发] motor1

本设计是以单片机为核心的步进电机控制系统;能够实现能够实现精密工作台位移、速度(满足电机的加、减速特性)、方向、定位的控制。用STC89C52作为控制单元,通过键盘实现对步进电机转动开始与结束、转动方向、转动速度的控制。并且将步进电机的转动方向,转动速度控制,以及位移动态显示在LCD液晶显示屏上。硬件包括CPU、功放、按键、LCD显示;电路结构简单,可靠性能高;软件采用C语言,简单易编写。
The design is based on single-chip stepper motor control as the core system able to achieve to achieve precision stage displacement, velocity (to meet the motor acceleration and deceleration characteristics) control, direction, location. STC89C52 used as a control unit, the stepper motor rotation start and end of the rotation direction, the rotational speed is controlled by the keyboard. And the direction of rotation of the stepper motor rotation speed control, as well as the displacement dynamic display on the LCD screen. Hardware including CPU, power amplifier, buttons, LCD display simple circuit structure, high reliability software using C language, simple and easy to prepare. (2014-05-29, Visual C++, 173KB, 下载11次)

http://www.pudn.com/Download/item/id/2555400.html

[单片机开发] MSP430F449_motor

本设计是以MSP430F449单片机为核心的步进电机控制系统;能够实现精密工作台位移、速度(满足电机的加、减速特性)、方向、定位的控制。用MSP430作为控制单元,通过4×4键盘实现对步进电机转动开始与结束、转动方向、转动速度的控制。并且将步进电机的转动方向,转动速度控制,以及位移动态显示在DM12864液晶显示屏上。硬件包括430、电机驱动模块、按键、LCD显示;电路结构简单,可靠性能高;软件采用C语言,简单易编写。
The design is based on MSP430F449 microcontroller as the core of stepper motor control system able to achieve precision stage displacement, velocity (to meet the motor acceleration and deceleration characteristics), direction, positioning control. As a control unit with MSP430 realize the beginning and end of stepper motor rotation, rotation direction, rotation speed control via keyboard 44. And the direction of rotation of the stepper motor rotation speed control, and dynamic displacement of the LCD display on DM12864. The hardware consists of 430, motor driver module, keypad, LCD display simple circuit structure, high reliability software using C language, simple and easy to prepare. (2014-05-29, Visual C++, 219KB, 下载11次)

http://www.pudn.com/Download/item/id/2555397.html

[单片机开发] mini1608

mini1608电子钟(V1正式版) 【硬件特点】 - 16×8点阵屏显示 - 3按键操作 - DS18B20数字温度传感器 - 使用单片机产生时钟,无需RTC芯片 - 闹钟、整点报时用蜂鸣器 - 使用STC系统高级单片机 - 大容量EEPROM,储存用户设置和环境状态的各种信息 - 5V外电源或USB接口供电,备用电池用来保持走时。 - 无PCB板、无更多外围元器件,极简单制作过程。 【V1版本功能】 - LED点阵屏横向日期、时间与英文显示。 - LED点阵屏纵向汉字显示。 - LED点阵屏自动变速流动显示。 - 全中文3按键菜单操作(设置、加1、减1)。 - 20级流动速度设置。 - 9级LED显示亮度设置 - 自动检测环境亮度并变化LED屏亮度(正常亮度和睡眠亮度;不需要外扩任何光敏电路) - 1~60摄氏度温度显示。 - 单片机程序实现20年内的时间、日期计算并显示。(2009~2029) 【注意事项】 * 使用STC-ISP软件下载时,需选择“RST作为P4.7使用”项 * 使用STC-ISP软件下载时,需选择“使用外部晶体或时钟”项 * 使用STC-ISP软件下载时,需选择右下方选项“复位电压3.7V”项
Mini1608 electronic clock (V1 official version) [Characteristics] hardware 16* 8 dot matrix display screen - 3 button operation DS18B20 digital temperature sensor Using MCU clock generation, without the need of RTC chip - alarm, the whole point timekeeping with buzzer Using the STC system advanced single chip microcomputer Large capacity EEPROM, store various information of user settings and the state of the environment - 5V power supply or USB interface power supply, battery backup to keep working. No PCB, no more peripheral components, simple production process. [function] V1 version LED dot matrix screen transverse date, time and English display. LED dot matrix screen display longitudinal Chinese characters. LED dot matrix screen automatic transmission flow visualization. All Chinese 3 button menu operation (set, plus 1, minus 1). 20 stage flow speed setting. 9 stage LED display brightness setting - automatic detection environment brightness and changes of LED scre (2014-05-15, Visual C++, 610KB, 下载17次)

http://www.pudn.com/Download/item/id/2541868.html

[单片机开发] cdsgvfdh

(1). 每个进程有一个进程控制块(PCB)表示。进程控制块包含如下信息:进程名、优先级、到达时间、需要运行时间、已用CPU时间、进程状态等等。 (2). 进程的优先级及需要的运行时间可以事先人为地指定,进程的运行时间以时间片为单位进行计算。 (3). 每个进程的状态可以是就绪 r(ready)、运行R(Running)、或完成F(Finished)三种状态之一。 (4). 就绪进程获得 CPU后都只能运行一个时间片。用已占用CPU时间加1来表示。
(1) Each process has a process control block (PCB) said. Process control block contains the following information: process name, priority, arrival time, you need to run time, CPU time, process status. (2) the priority of the process and the running time required can be artificially in advance specified, as a unit to calculate the running time of the process in time slices. (3) the status of each process can be ready r (ready), run R (Running), or the completion of one of the three states of the F (Finished). (4) ready process CPU can run only one time slice. CPU-time plus 1 to represent. (2012-11-21, Visual C++, 26KB, 下载3次)

http://www.pudn.com/Download/item/id/2055757.html

[单片机开发] P51_KEELOQ_HCI

现在常用的都是PIC解滚码HCS300/301,及那个DECRYPT的加密算法很少能找到这样的C程序,且又是在51下的,我也没有找到是从PIC的汇编中,一句句理顺,转成C的本例只对关键程序,24C002存储及同步校验等非本程序关键程序介绍:1 利用INT1 和定时器1的GATE=1,高电平时计数,加中断后判断时间,完成滚码串行数据接收2 接收完成后,在DECRYPT下解密3 检查序列号 校验同步值
Now are PIC solution roll code HCS300/301, and that DECRYPT encryption algorithm rarely find this C program, and because it is at 51 under, I did not find from PIC assembler, a sentence reasonable Shun, converted to C in this case only the key to the program, 24C002 storage and synchronization check and other non-program key program description: 1 INT1 and Timer 1 GATE = 1, high count plus interrupt judgment time complete the rolling code serial data receiver receives the completed decryption DECRYPT under 3 check the serial number to validate the synchronization value (2012-09-09, Visual C++, 16KB, 下载52次)

http://www.pudn.com/Download/item/id/1988654.html

[单片机开发] clock

当进入调整功能时,按第一个键K1进行减运算,按第二个键K2进行加运算。 按下第三个键K3,实现日期\时间调整及\定时功能,等数字闪烁后,按一二键进行加减,从而可以进行具体日期时间调整。 按下第四个键K4,可以进行时间\日期切换,8位LED数码管将显示时间或日期,采用24小时制。 时间显示格式为:时-分-秒;日期显示格式为:日-月-年。 具有实时显示当前计算机系统时间和日期的功能。
When entering the adjustment, press the first key K1 to subtract, press the second key K2, the additional operations. Press the third key K3, implementation date \ time to adjust and \ timing functions, and other digital flashes, press the plus or minus one or two keys to the specific date and time can be adjusted. Press the fourth key K4, can be time \ date switch, 8-bit LED digital tube will display the time or date, a 24-hour clock. Time display format is: Time- minutes- seconds date display format: day- month- year. Computer system with real-time displays the current time and date functions. (2011-05-11, Visual C++, 1KB, 下载6次)

http://www.pudn.com/Download/item/id/1528013.html

[单片机开发] GC01100111

GC0111 是格科微电子(上海)有限公司2010 年最新研发的一款SOC 芯片, 将Sensor 和协处理器整合到了一颗芯片中,能实现的功能包括:支持EMI 接口 的sensor 预览/拍照/录像、SPI 接口的sensor 预览/拍照/录像、USB1.1 / USB2.0 full speed、 JPEG 压缩以及提供软T 卡、软Touch panel 的全套解决方案。GC0111 使得MTK 6223D/Infineon ULC3 等低端平台加一颗sensor 变成多媒体手机,降 低客户成本。 GC0110 是格科微电子(上海)有限公司最新推出的支持SPI 协议的CMOS 图像传感器芯片,采用GalaxyCore 最新的传感器工艺,并优化了电路结构,支 持JPEG 压缩,缩短拍照速度,提高用户体验,并支持录像功能。
GC0111 is Geke Microelectronics (Shanghai) Co., Ltd. 2010, the latest development of a SOC chip Sensor and co-processor will be integrated into a single chip, to achieve the features include: support for EMI Interface The sensor Preview/photo/video, SPI interface sensor Preview/photo/video, USB1.1/USB2.0 full speed, JPEG compression and to provide soft-T card, soft Touch panel the full set of solutions. GC0111 Makes low-end platform MTK 6223D/Infineon ULC3 add a sensor into a multimedia mobile phone, drop Low customer cost. GC0110 is Geke Microelectronics (Shanghai) Co., Ltd. support the latest CMOS SPI protocol Image sensor chip, using the latest sensor technology GalaxyCore and optimize the circuit structure, support Support JPEG compression, reducing the speed camera to improve the user experience and supports video recording. (2010-10-05, Visual C++, 2138KB, 下载23次)

http://www.pudn.com/Download/item/id/1310573.html

[单片机开发] 00till59count

4. 程序设计内容 (1. 在设计过程中我们用一个存储单元作为秒计数单元,当一秒钟到来时,就让秒计数单元加1,当秒计数达到60时,就自动返回到0,从新秒计数。 (2. 对于秒计数单元中的数据要把它十位数和个数分开,方法仍采用对10整除和对10求余。 (3. 在数码上显示,仍通过查表的方式完成。 (4. 一秒时间的产生在这里我们采用软件精确延时的方法来完成,经过精确计算得到1秒时间为1.002秒。
4. Programming content (1. In the design process, we use a memory cell counts as a second unit, when the arrival of a second, let seconds counting unit 1, when the count up to 60 seconds, it automatically returns to 0, the new second count. (2. the second count of the data unit to which the median and the number of 10 separate methods used divisible and 10 for more than 10. (3. in the digital display is still the way through the look-up table . (4. a second time here we have a software approach to accurate delay completion of the calculation to be accurate to 1 second time 1.002 seconds. (2009-08-17, Visual C++, 65KB, 下载3次)

http://www.pudn.com/Download/item/id/880461.html

[单片机开发] 51ds1032

这是一个用51单片机驱动DS1302时间模块+DS18B20温度传感器模块+12864液晶显示完整程序设计实例,有四个键盘KEY0 到KEY3,key0是修改时间的 首先是秒到分到时到年到月到日到星期 key1是加1 key2是减一 在修改时间状态再按一下key3的时候就出去并修改时间日期,在平时状态按着key3再按着key2 就会打开lcd 的灯 单单是只按key3那就是把灯关了。
This is a single-chip driver with 51 modules+ DS18B20 time DS1302 temperature sensor+12864 LCD module design example of a complete program, there are four keyboard KEY0 to KEY3, key0 is modified to the first, second, when assigned to the month key1 days to weeks to increase by 1 key2 is a state in the modified and then click when key3 out and date modified, according to the state in peacetime key3 then key2 will open the lcd light just solely on the basis of key3 That is the把灯关. (2009-07-17, Visual C++, 4KB, 下载23次)

http://www.pudn.com/Download/item/id/847932.html

[单片机开发] MS3

MS2 程序分析 Lldwsw 一:下载MS2.RAR 压缩包解压缩后可以看到如下界面: 第一项为MS2 软件包,第二项为SourceInsight3.0,它是一款非常优秀的C 语言编辑器,目 前各个大公司,比如华为等都用它,手机行业几乎无一例外。它的作用是代替Keil 的编辑 环境,因为Keil 的编辑环境太难看了,并且使用也不方便,用它来看程序,查找函数特别 容易,以下是它的界面: 各位可以看到,它里面不同的关键字的颜色都是不同的,看上去很舒服,最主要的还是它的 查找功能,比如要看MSTimerStart 的函数原型,但不知道他在那个地方,双击函数名,右 击后出现属性,点“Jump to Definition”,就可以看到函数原型,这个功能Keil 下也有,还 有一个Keil 下没有的,就是这个函数被谁调用了,双击函数名,右击后出现属性,点“Jump to Caller”。 具体请参考SourceInsight 使用说明,也就是第四项,第三项是周立功的DP-51 电路图,因为 MS2 的设计本身是不倚赖外设的,所以没有加外部接口,直接用串口来演示,如下图: 大家可以看到liweifeng, test1,test2,test3 在不停的打印,这是四个伪任务,按一定的时 候间隔打印,我们将在后面分析。当然按键等都可以在处理字符串栏中输入,在接收窗口显 示。 以
err (2008-07-19, Visual C++, 176KB, 下载45次)

http://www.pudn.com/Download/item/id/513563.html

[单片机开发] key

按键扫描 51单片机加8279 8279通过74LS 138译码器扩展4×4键盘、6位显示器。 由3-8译码器对SL0~SL2译出键扫描线,由另一3-8译码器译出显示器的位扫描线,并采用了编码扫描方式。 为了防止出现重键现象,扫描输出线高位SL3不参加键扫描译码。CPU对8279的监视采用了查询方式,故8279的中断请求信号IRQ悬空未用。
Scan button 82,798,279 plus 51 single-chip decoder 74LS 138 through the expansion of 4 × 4 keyboard, the display 6. From 3-8 decoder SL0 ~ SL2 translated to the key scanning line, by another 3-8 decoder translated display scan line, and uses code scanning. In order to prevent the emergence of the phenomenon of re-key, scan the output line does not take part in high level SL3 scan decoding keys. CPU on the 8279 surveillance using the query mode, the 8279 interrupt request signal IRQ left unused. (2007-08-01, Visual C++, 2KB, 下载165次)

http://www.pudn.com/Download/item/id/314148.html

[单片机开发] AboutName

关于匈牙利命名法的说明 有关匈牙利命名法的一点有意思的说明是它的名字的由来。这种命名技术是由一位能干的 Microsoft 程序员查尔斯·西蒙尼(Charles Simonyi) 提出的,他出生在匈牙利。在 Microsoft 公司中和他一起工作的人被教会使用这种约定。这对他们来说一切都很正常。但对那些 Simonyi 领导的项目组之外的人来说却感到很奇特,他们认为这是死板的表达方式,甚至说代有这样奇怪的外观是因为它是用匈牙利文写的。从此这种命名方式就被叫做匈牙利命名法。
On the nomenclature of Hungary Hungary nomenclature on the interesting point that it is the origin of its name. This technology is named by a competent Microsoft programmer Charles Simonyi (Charles Simonyi) proposed, he was born in Hungary. In Microsoft and his company were working with the Church the use of such an agreement. To him, that everything is normal. But for those who Simonyi led the project team beyond those who find it very strange that they think this is the rigid way of expression, and even that generation has such a strange appearance because it is written in Hungarian. Since then this naming has been called the Hungarian nomenclature. (2007-07-27, Visual C++, 10KB, 下载41次)

http://www.pudn.com/Download/item/id/312630.html

[单片机开发] 1_1

设计一个按时间片轮转法实现处理器调度的程序 [提示]: (1)假定系统有5个进程,每个进程用一个PCB来代表。PCB的结构为: • 进程名——如Q1~Q5。 • 指针——把5个进程连成队列,用指针指出下一个进程PCB的首地址。 • 要求运行时间——假设进程需要运行的单位时间数。 • 已运行时间——进程已运行的单位时间数,初始值为0。 • 状态——假设两种状态,就绪和结束,用R表示就绪,用E表示结束。初始状态都为就绪状态。 (2) 每次运行之前,为每个进程任意确定它的“要求运行时间”。 (3) 把5个进程按顺序排成循环队列,用指针指出队列连接情况。用一个标志单元记录轮到运行的进程。处理器调度总是选择标志单元指示的进程运行,对所指的进程,将其“已运行时间”加1。 (4) 进程运行一次后,若“要求运行时间”等于“已运行时间”,则将状态改为“结束”,退出队列,否则将继续轮转。 (5) 若就绪队列为空,结束,否则转到(3)重复。
design of a time-Web Method processor activation procedures [Note] : (1) The system has five processes, with each process on behalf of a PCB. PCB structure :# 8226 from the process-- as Q1 ~ Q5. Pointer# 8226-- put five linked queue process, with a target that the process of PCB under the first address.# 8226 requested the running time-- the assumption that the process needs to run the unit time.# 8226 has been in operation for the time-- the process has been in operation for the number of time units, the initial value of 0.# 8226 state-- two hypothetical state, and end in place, ready with R, E said an end. For the initial state of readiness. (2) Before each operation, for each process arbitrarily defined its "run-time requirements." (3) the five sequential process que (2006-03-31, Visual C++, 3KB, 下载41次)

http://www.pudn.com/Download/item/id/163935.html