联合开发网   搜索   要求与建议
                登陆    注册
排序按匹配   按投票   按下载次数   按上传日期
按平台查找All C51(80) 

[单片机开发] ex4-3 IOPIN应用

读取的数值放在IO0Pin寄存器中,IO0PIN&(1<<7)只是判断相应的位是不是为1;if(IO0PIN&pin0)i|=(1<<7)当然是等于0就跳过了,i是最后你列举的那些输入口组合形成的新的字节。ps:不好意思,上次忘记加括号了 1<<7一定要加括号。
The number of read is placed in the IO0Pin register. IO0PIN& (1<<7) just determines whether the corresponding bit is 1; if (IO0PIN&pin0) i|= (1<<7) is 0, of course, and I is the new byte formed by those final input combinations. PS: sorry, last time you forgot to add parentheses, 1<<7 must add parentheses. (2017-12-27, C51, 175KB, 下载1次)

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

[文件格式] 51单片机外部中断仅检测上升沿的方法

STC15系列单片机的外部中断0(INT0)和外部中断1(INT1)的触发有两种方式,上升沿和下降沿均可触发方式和仅下降沿触发方式。在实际应用中,有时候需要上升沿触发。这时有两种方案可以解决。 1.将触发方式设置成仅下降沿触发。当外部电路产生一个上升沿时,通过硬件电路加一个三极管进行反向变成下降沿。 2.这种方法不需要改变硬件电路。将触发方式设置成上升沿和下降沿均可触发方式。外部中断产生一个上升沿时,进入中断服务函数,这时在中断服务函数里做进一步处理,检测当前INT0的电平状态。如果是高电平,则判断为上升沿。如果是低电平,则判断为是下降沿。
STC15 series microcontroller external interrupt 0 (INT0) and external interrupt 1 (INT1) trigger in two ways, the rising and falling sides can trigger mode and only the falling edge trigger mode. In practical applications, sometimes the rising edge is required to trigger. There are two possible solutions. 1. set the trigger mode to only the falling edge trigger. When an external circuit produces a rising edge, a transistor is added to the reverse direction by means of a hardware circuit. 2., this method does not need to change the hardware circuit. The trigger mode is set to the rising edge and the falling edge. When an external interrupt generates an ascending edge, it enters the interrupt service function, and then performs further processing in the interrupt service function to detect the level status of the current INT0. If it is high, it is judged to be the rising edge. If it is low, it is judged to be the falling edge. (2017-09-25, C51, 11KB, 下载9次)

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

[单片机开发] PWMfangbo

本程序为用单片机制作的占空比均匀间隔可调PWM发生器。占空比可调间隔 为0.1。即可取得占空比为0%,10%,20%……90%到100%的PWM波。该波的频率固定为1KH(周期1000微秒)。TX-1C学习板上的操作键:S2----占空比加 S3----占空比减
This procedure for the production of single-chip, duty cycle evenly spaced adjustable PWM generator. Adjustable duty cycle interval For 0.1. Can be achieved with duty cycles of 0%, 10%, 20%...... 90% to 100% PWM waves. The frequency of this wave is fixed to 1KH (period 1000 microseconds). TX-1C learning the key board: S2---- duty and duty ratio reduction S3---- (2017-07-23, C51, 11KB, 下载3次)

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

[单片机开发] (proteus)俄罗斯方块程序

程序游戏,pross软件的东西,新手可是学习的东西,也挺有意思的,这样子够二十个字了吗?
Program games, pross software things, the novice but learning things, but also very interesting, so that enough of twenty words? (2017-06-15, C51, 306KB, 下载1次)

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

[单片机开发] 步进电机控制,LCD显示

利用C51对步进电机进行控制,可以加,减速,正转反转,LCD显示步进电机实时状态,当速度达到一定值时,警报器报警。
Using C51 to control the stepper motor, you can add, slow, positive reverse, LCD shows the real-time status of stepper motor, when the speed reaches a certain value, alarm alarm. (2017-06-12, C51, 1971KB, 下载3次)

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

[单片机开发] LD3320声控模块

用STC11系列的单片机控制LD3320声控模块,可识别说发出的语音信号,并通过串口传输验证识别正确与否。
The code teaches you how to use LD3320 to recognize different speech message.The Single Chip Microcomputer that I used is STC11L08XE. (2017-06-11, C51, 625KB, 下载11次)

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

[其他嵌入式/单片机内容] Electronic-circuit

3. 创建一个工程文件,编程实现将0 1 2 E F、姓名等显示在LCD屏上,编程实现将3到4位数据小数点后保留一位(如10.2、100.6)分别显示在三组LED屏上。 4. 编程实现按键输入功能,将按键信号显示在LED或LCD屏上,(如按▲键,,使屏幕信号逐渐加1,从0加到10,再按▼键,从10减到0。 5. 编程实现D/A转换(下行通道),输出(4~20mA)电流,并进行0点和斜率校正。 6. 编程实现A/D转换(上行通道)实现数据采集,将采集信号显示在LED和LCD屏上。程序要求分别具有平均值滤波、中值滤波和滑动滤波功能,并进行量程校正。
Electronic circuit experiment training projects (2017-05-27, C51, 448KB, 下载7次)

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

[单片机开发] Game---Tetris

在stc89c52上开发的俄罗斯方块程序,结合矩阵键盘操作显示在lcd12864液晶上,可简单修改达到自己想要的效果
Developed in the stc89c52 Tetris program, combined with the matrix keyboard operation displayed on the lcd12864 LCD, can be simply modified to achieve their desired effect (2017-05-17, C51, 87KB, 下载1次)

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

[单片机开发] keil

单片机点亮数码管实验(不能用定时器功能) P0口接1个八段式共阴极LED数码管,通过调用延时子程序,循环显示0-9,时间间隔自定,注意使用一维数组给出显示代码
MCU lit digital tube experiment (can not use the timer function) P0 port connected to the 1 paragraph of the common cathode LED digital tube, by calling the delay subroutine, cycle display 0-9, time interval custom, pay attention to the use of one-dimensional array gives the display code (2017-04-27, C51, 8KB, 下载1次)

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

[单片机开发] Power_ctrl

基于51单片机的稳压电源设计——程序分为键盘处理、D/A、A/D和存储四个模块。运用扫描法,对键盘进行扫描,有按键就更改输入TLC5615的数值,ADD按键是对数据进行加以操做,长按的话使步进值增大,实现快加,SUB按键与ADD按键相同,预读取按键用于读取 AT24C04 中预置的数值,保存按键用于保存当前电压值;显示部分主要是对TLC549采集回来的电压进行处理显示,它主要是在定时器0的中断服务程序中显示,100ms刷新显示一次。TLC5615模块,通过对DA的串行数据输入,使其在输出电压时可控,输出电压后经LM324、三极管,加上负载输出电压,输出电压后,用TLC549芯片100ms采集一次,送到数码管显示。
Based on 51 single-chip power supply design- the program is divided into keyboard processing, D/A, A/D and storage of four modules. The use of scanning method, the keyboard scan, a key to change the value of the input TLC5615, ADD button is to do the data to do, long press the step value increases to achieve fast add, SUB button with the ADD key, Read key is used to read AT24C04 preset value, save the button for saving the current voltage display part of the TLC549 is mainly the voltage collected back to deal with the display, it is mainly in the timer 0 interrupt service routine display , 100ms refresh display once. TLC5615 module, through the serial data input to the DA, so that when the output voltage controllable, the output voltage after the LM324, transistor, with the load output voltage, the output voltage, with TLC549 chip 100ms acquisition time, to the digital display. (2017-02-05, C51, 120KB, 下载4次)

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

[单片机开发] Magic-ball-lamp(M0516)

基于M0516的魔球灯控制程序,内含原理图,功能有内置PWM加模拟PWM线性调光,炫耀的自走程序与声控程序,主从控制模式,IIC协议,485通讯DMX512协议,74HC595控制四位3461共阴数码管,ULN2803电机驱动程序
M0516 based magic ball lamp control procedures, the enclosed schematic diagram, function has a built-in PWM analog PWM linear dimming, showing off the go program with voice control, master-slave control mode, the IIC agreement, 485 communication DMX512 protocol, 74 hc595 are needed to control the four digital tube, 3461, a total of Yin ULN2803 motor drivers (2016-12-29, C51, 430KB, 下载43次)

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

[单片机开发] ffff

。用8031单片机经8255A扩展2位8段码LED显示器,用8255A的A口作为段码(字形代码)数据口,PB0和PB1作为位控制端口。在位控制口加集电极开路的反相高压驱动器74LS06以提供驱动LED显示器所需的足够大的电流,然后接至各数码显示器的共阴极端。同理,在段码数据口集电极开路的正相高压驱动器74LS07提供足够大的电流,然后接到数码显示器的各段
Simple calculator needs 8 bit 2 segment code LED display circuit. With 8031 MCU by 8255A to extend the 8 bit 2 segment code LED display, with the A 8255A port as the segment code (font code) data port, PB0 and PB1 as a bit control port. In the position control port and an open collector of the reverse voltage driver 74LS06 to provide sufficient current to drive the LED display, and then connect to the common cathode of the digital display. Similarly, normal phase high voltage driver 74LS07 open circuit in the code segment data collector provide enough current, then each received digital display (2016-11-14, C51, 19KB, 下载1次)

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

[单片机开发] Basketball-timing-and-scoring-device

任务: 设计一个用于赛场的篮球计时计分器。 要求: 1、能记录整个赛程的比赛时间,并能随时实现暂停。 2、能随时刷新甲、乙两队在整个过程中的比分。 3、能调节节数,使时间回表。 4、比赛中24秒为例时,蜂鸣器能发出报警声。 5、通过指示灯指示上下半场。 6、当24秒需要回表时,能通过按键实现回表。 7、加分有误时可通过按键实现减分调整。
Task: to design a basketball timing and scoring device used in the field. Requirements: 1, can record the whole schedule of the game, and can be suspended at any time. 2, can always refresh a, B two teams in the whole process of the score. 3, can adjust the number of nodes, so that time back to the table. 24, 4 seconds in the game, for example, the buzzer can alarm sound. 5, through the indicator light on the second half. 24, when the need to return to the table 6 seconds, can be achieved through the key back to the table. 7, when the error can be reduced by adjusting the key. (2016-11-08, C51, 1001KB, 下载2次)

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

[单片机开发] Dream-in-the-mirror

(一)有两组闹钟,上电第一路闹钟是打开的,第二路闹钟是关闭的。按一次K3,打开第二路闹钟,再 * * 按一次K3关闭第二路闹钟,第三次按K3则关闭第一路闹钟,第四次按K3则打开第一路闹钟。 * * * *(二)正常显示模式下(走时模式)按K2一次显示第一路闹钟时间数据 ,按两次则显示第二路闹钟时 * * 间数据。 * * * *(三)正常显示模式下按K1一次则第一位数码管上的数据闪烁,按两次则第二位数码管上的数据闪烁, * * K2和K3则为加一和减一键,对应哪个数码管闪烁则哪个数码管可调。
(a) there are two groups of alarm clock, on the first alarm clock is opened, the second way is off the alarm clock. Press a K3, open the second way alarm clock, and then* * press a K3 to close the second way alarm clock, third times according to the K3 is off the first alarm clock, fourth times according to K3 then open the first alarm clock.* *** * (two) under the normal display mode (travel time mode) according to K2 a first time display alarm clock time data, according to the two time shows the second way alarm clock Inter data.* *** * (three) according to the normal display mode K1 once the first digital tube data flashes, according to second times the data on the two digital tube flashing,* * K3 and K2 are plus one and minus one key, which corresponds to which digital tube flashing which digital tube can be adjusted. (2016-11-08, C51, 4498KB, 下载1次)

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

[单片机开发] ClockTimerC51Proteus

可调定时器C51Proteus仿真。 功能要求: 当按下K0第1次时,允许使用K1和K2对个位数进行增减,按下第K0第2次时,允许使用K1和K2对十位数进行增减,即K0在个位和十位间进行切换,K1和K2两个按键控制数码管数字加减,用K3进行确认后数码管自动加1计数。计数的范围从00到59间循环显示,每次计数到00时,蜂鸣器响3声。
Functional requirements: must adopt. When K0 first time, allowing the use of K1 and K2 on the single-digit increase or decrease, press the first K0 second time, allowing the use of K1 and K2 on the ten-digit increase or decrease, that K0 in the bit and 10 to switch between, K1 and K2 two digital control buttons to add and subtract, with K3 to confirm the digital tube automatically after a count. The count range is displayed in cycles 00 to 59, and the buzzer beeps three times each time the counter reaches 00. (2016-11-06, C51, 107KB, 下载4次)

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

[单片机开发] lock

单片机89S52单片机为主控芯片,外围加蜂鸣器控制电路、开门指示灯电路、电控锁控制电路及8位数码管显示电路等
Single chip 89S52 microcontroller as the main control chip, peripheral plus buzzer control circuit, open the door indicator light circuit, electric control lock control circuit and 8 bit digital tube display circuit, etc. (2016-09-01, C51, 15KB, 下载1次)

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

[单片机开发] stm32f1test

ADD:这个模块我在调试过程中发现很容易便会死机,对干扰跟电源扰动比较敏感,过段时间试试加个电容减少下波纹。SI4463具有RSSI功能,与WIFI一样可以通过这个来估计距离,不太清楚其信道评测功能,将继续研究以便实现自动跳频
ADD: this module I found in the debugging process easily will crash, disturbance is more sensitive to power, the interference over time try to reduce the ripple by adding a capacitor.SI4463 RSSI function, as well as WIFI can be estimated through the distance, not too clear uation function, the channel will continue to study in order to realize automatic frequency hopping (2016-08-18, C51, 6347KB, 下载4次)

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

[单片机开发] 33333333

本系统通过传感器采集当前环境温度送给液晶显示器显示,并且与已知的临界温度相比较,若当前环境温度大于设定温度时,通过继电器控制电机开始工作,当温度降至设定温度以下时,通过继电器关机。MS为功能键,+为时钟调整加一,-为时钟调整减一,on/of为温控开关。
The system through the sensor acquisition current ambient temperature gave LCD display, and with known critical temperature is compared, if the current environmental temperature is greater than the set temperature, through the relay control motor starts to work, when the temperature drops below the specified temperature by following the electrical shutdown. MS for the function keys,+ for the clock to adjust the plus one,- for the clock to adjust the one, on/of for the temperature control switch. (2016-07-19, C51, 153KB, 下载3次)

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

[单片机开发] 32X64led128

音乐频谱 控制卡使用说明: 1、按键S1 亮度控制 说明:一共有10极 按一下亮度加一级 2、按键S2 16分频与64分频切换 3、按键S3 切换柱条和漂浮点颜色 说明:显示颜色有 红柱绿漂 红柱黄漂 绿柱红漂 绿柱黄漂 4、按键S4 无功能
Music Spectrum- control card use: 1, brightness control buttons S1 Description: A total of 10 pole Click add a brightness 2, the key S2 16 division and 64 division switching 3, the key switch S3 for bars and floating point color Description: Displays the color red column green yellow red column drift greenwashing greenwashing red column column yellow drift 4, no function keys S4 (2016-05-28, C51, 82KB, 下载5次)

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

[单片机开发] GAMEBOX_CODE_Keil5_v1.1

基于STC12C5A60S2单片机的掌上游戏机,包含贪吃蛇,打飞机,俄罗斯方块,坦克等经典游戏。全部用C语言实现
STC12C5A60S2 microcontroller based handheld game machine, including snake, playing the aircraft, the Russian box, tanks and other classic games. All use C language to achieve (2016-05-19, C51, 192KB, 下载3次)

http://www.pudn.com/Download/item/id/1463622384642987.html
1234
总计:80