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

[嵌入式/单片机/硬件编程] HC89F0541_TimeAdjustLight_File

HC89F0541_TimeAdjustLight说明: *重要备注: v1.1版测试 输出控制 工作为高电平 * 版本: V1.1 * 日期: 2020.09.28 * 测试: 按键控制 定时器调光灯 (6档亮度,逐渐或直接 变化 ) * 基本功能: 1-. 上电指示灯 LED1~4 灭, OUTLED5 OUTLED6 OUTLED7 灯关闭, 2-. KEY1按键长按与 短按功能(短按灯亮度加 长按 开关机). 3-. KEY2按键长按与 短按功能(短按灯亮度减 长按 灯亮度调整 逐渐或直接 变化). * 相关说明: 1. 使用定时器1 产生100khz(10us)定时器 2. 100hz(10ms)(LED状态刷新) 3. 0~1000 占空比调整 *重要备注: v1.1版测试 输出控制 工作为高电平 原理图 与 代码 见附件 HC89F0541_TimeAdjustLight_SCH_20201029_V1.pdf HC89F0541_TimeAdjustLight_OL_Project.zip
HC89F0541_ Timeadjustlight Description: *Important note: v1.1 test output control works at high level *Version: v1.1 *Date: September 28, 2020 *Test: press the key to control the timer dimming lamp (the brightness of the 6th gear changes gradually or directly) *Basic functions: 1. Power on indicator LED 1 ~ 4 is off, outled5 outled6 outled7 is off, 2 -. Key1 long press and short press function (short press light brightness, long press to turn on / off) 3 -. Key2 key long press and short press function (short press light brightness decrease long press lamp brightness adjust gradually or directly) *Related notes: 1. Use timer 1 to generate 100kHz (10us) timer 2. 100Hz (10ms) (LED status refresh) 3. 0 ~ 1000 duty cycle adjustment *Important note: v1.1 test output control works at high level See the attachment for schematic diagram and code HC89F0541_ TimeAdjustLight_ SCH_ 20201029_ V1.pdf HC89F0541_ TimeAdjustLight_ OL_ Project.zip (2020-10-29, C/C++, 119KB, 下载2次)

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

[嵌入式/单片机/硬件编程] ESP8266tsgj23

注意: 一键烧写后,ESP8266的固件将更改为最新版本。 请加QQ群120693138以便获得更详细的信息。 1.请将MTDO与GPIO0置于低电平,GPIO2置于高电平。 ? ?如果你的模块没有MTDO,请至少将GPIO0置于低电平。 ? ?GPIO0置于低电平是烧写模式,高电平是运行模式。 2.请复位(复位是指RST低电平脉冲)或重新上电进入烧写模式。 3.请不要使用USB转TTL引出的电源,请使用独立电源。 4.烧写成功后,请重新上电。模块波特率更改为9600或115200. 5.烧写中途失败后,请重新上电烧写。
Note: after one click burn, the firmware of esp8266 will be changed to the latest version. Please add QQ group 120693138 for more details. 1. Please set MTDO and gpio0 to low level and gpio2 to high level. If your module does not have MTDO, set the gpio0 to at least low. When gpio0 is set to low level, it is in burn mode, and when it is set to high level, it is in operation mode. 2. Please reset (reset refers to RST low level pulse) or power on again to enter the burn mode. 3. Please do not use the power from USB to TTL, please use independent power supply. 4. Please power on again after burning successfully. The module baud rate changes to 9600 or 115200 5. If you fail in the middle of burning, please power on again. (2020-04-15, C/C++, 3511KB, 下载1次)

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

[嵌入式/单片机/硬件编程] 上海人流量检测

现有的人流量检测装置主要包括:安装在出入口内侧的内红外探测模块、安装在出入口外侧的外红外探测模块和微处理器。假如微处理器先检测到内红外探测信号,则屏蔽后检测到的外红外探测信号,并对该场所内的人数减1,假如先检测到外红外探测信号,则屏蔽后检测到的内红外探测信号,并对该场所内的人数加1,从而实现对该场所内人数的统计。
The existing human flow detection devices mainly include: the inner infrared detection module installed inside the entrance and exit, the outer infrared detection module installed outside the entrance and exit, and the microprocessor. If the microprocessor detects the inner infrared detection signal first, then the outer infrared detection signal detected after shielding is reduced by 1. If the outer infrared detection signal is detected first, the inner infrared detection signal detected after shielding is increased by 1, so as to realize the statistics of the number of people in the place. (2019-03-13, C/C++, 9109KB, 下载8次)

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

[嵌入式/单片机/硬件编程] 加蜂鸣器仿真

东西方向红灯灭,同时绿灯亮,南北方向黄灯灭,同时红灯亮,倒计时20秒。此状态下,东西向禁止通行,南北向允许通行。 东西方向绿灯灭,同时黄灯亮,南北方向红灯亮,倒计时2秒。此状态下,除了已经正在通行中的其他所以车辆都需等待状态转换。 南北方向红灯灭,同时绿灯亮,东西方向黄灯灭,同时红灯亮,倒计时20秒。此状态下,东西向允许通行,南北向禁止通行。 南北方向绿灯灭,同时黄灯亮,东西方向红灯亮,倒计时2秒。此状态下,除了已经正在通行中的其他所以车辆都需等待状态转换。
Red lights in East and west, green lights in the meantime, yellow lights in North and south, and red lights in the meantime, countdown 20 seconds. In this state, east-west traffic is forbidden and North-South traffic is allowed. The east-west green light is off, while the yellow light is on, the North-South red light is on, countdown 2 seconds. In this state, all vehicles except those already in transit need to wait for state transition. Red lights in the north and South direction, green lights in the same time, yellow lights in the East and West direction, and red lights in the same time, countdown 20 seconds. In this state, east-west traffic is allowed and North-South traffic is prohibited. The north-south green light is off, while the yellow light is on, and the East-West red light is on. The countdown is 2 seconds. In this state, all vehicles except those already in transit need to wait for state transition. (2019-03-07, C/C++, 46KB, 下载0次)

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

[嵌入式/单片机/硬件编程] 多用途提醒器蜂鸣器

1、 设计一个定时器用于如吃药、烧水等事件提醒 2、 用LED数码管或LCD液晶显示计时时间,可以加计时或倒计时,定时时间可在100 分钟内。 3、 设置按键: 时间+、时间-、启动、停止、暂停等 4、 设置按键用于静音 5、 在计时到点用蜂鸣器提醒,要求声音为一段电子音乐(特别指出不是简单的蜂鸣器接通 和未接通所发出的声音)。 6、所用时间间隔用ATmega128的定时器完成,非普通的延时程序。 发挥部分: 设计时间预约方式,即多定时时间段连续计时,并在每一定时间隔到时用不同音乐声提醒。
1. Design a timer for reminding of events such as taking medicine or boiling water. 2. Timing time can be added or counted down by using LED digital tube or LCD liquid crystal display. Timing time can be 100 Within minutes. 3. Setting keys: time +, time-, start, stop, pause, etc. 4. Setting keys for silencing 5. Remind with buzzer at the time to request that the sound be a piece of electronic music (especially pointing out that it is not a simple buzzer connected). And voices that are not connected. 6. The time interval used is completed by the timer of ATmega128, which is not an ordinary delay program. Play part: Design a time reservation method, that is, multi-timing time period continuous timing, and in each time interval when different music sound reminder. (2019-02-27, C/C++, 891KB, 下载8次)

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

[嵌入式/单片机/硬件编程] WS2812B数据驱动

功 能: 单片机STC15F104E和WS2811控制LED灯珠变化并带有掉电保持的功 能(内部EEPROM)。三个按键作用:Mode为模式选择,每按一次会 转换为另一种样式显示,并保持此样式一直循环,当按下Sel键时所 有的样式循环显示,Speed为速度调节(共八级速度)。显示样式有 :整体七彩跳变,七彩渐变,流水,流星,单点变化,后向前流水。
Function: Single-chip STC15F104E and WS2811 control LED lamp bead change with power-down retention Can (internal EEPROM). Three button functions: Mode is the mode selection, each press will Convert to another style display and keep this style looping all the time, when you press the Sel key (2018-11-26, C/C++, 54KB, 下载51次)

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

[嵌入式/单片机/硬件编程] 基于STM32F4的四轴航拍飞行器

本设计是基于STM32F4的四轴航拍平台。以STM32F407为控制核心,四轴飞行器为载体,辅以云台的航拍系统。硬件上由飞控电路,电源管理,通信模块,动力系统,机架,云台伺服系统组成。算法上采用简洁稳定的四元数加互补滤波作为姿态解算算法,PID作为控制器,实现飞行,云台增稳等功能。具有灵活轻盈,延展性,适应性强好等特点。
This design is based on STM32F4's four axis aerial platform. Taking STM32F407 as the control core, the four axis aircraft as carrier, and the aerial photography system of Yuntai. Hardware is composed of flight control circuit, power management, communication module, power system, rack, Yuntai servo system. Simple and stable quaternion plus complementary filtering is used as attitude calculation algorithm and PID is used as controller to realize the functions of flight and platform stabilization. It has the characteristics of flexibility, lightness, flexibility and adaptability. (2018-08-14, C/C++, 9544KB, 下载30次)

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

[嵌入式/单片机/硬件编程] 程序

单片机的智能火灾报警系统采用51单片机+MQ-2烟雾传感+ADC0832模数转换芯片+DS18B20温度传感器+数码管显示+按键+蜂鸣器设计而成。可设置烟雾浓度和高温报警值,可紧急报警和手动取消紧急报警功能,当有特殊情况时可按紧急报警键报警,并有掉电保存功能,设置的参数保存在单片机内部EEPOM中。当烟雾传感器检测到火灾释放的烟雾时,信号由ADC0832进行处理模数转化再到单片机进行处理,当检测到浓度超标时,蜂鸣器会发出滴滴的报警声。同时,此系统还可以检测温度,火灾发生往往环境温度会升高。到检测到温度超过设定的报警温度时候,蜂鸣器也将产生报警,系统的按键还具有连加、减功能,操作起来非常方便,系统还能够在进入设置界面后,如果没有按键按下30秒后会自动退出设置界面。
At the same time, this system can also detect the temperature, and the ambient temperature will rise if the fire happens. When the temperature exceeds the set alarm temperature, the buzzer will also produce an alarm. (2018-05-28, C/C++, 11KB, 下载12次)

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

[嵌入式/单片机/硬件编程] 智能交通控制系统

该控制系统是基于51系列单片机的可编程控制系统,能控制东西南北四个路口的红黄绿灯正常工作,东西和南北方向分时准行和禁行。在交通情况特殊情况下可以通过K1、K2、K3按键对交通灯进行控制。实现: 1)当有紧急情况发生时按下K1四个路口同时加亮黄灯进行闪灯(闪灯时间为3s)且倒计时显示关闭。黄灯闪烁完毕后四路口全变红灯禁行,处理紧急情况。 2)有某方向上车辆过多,可以使用K2、K3键控制东西或南北方向通行,另一方向禁行。按下控制键后先在四个路口加3s的黄灯闪烁。
The control system is a programmable control system based on 51 series of singlechip. It can control the normal work of the red and yellow green lights in four East and West intersections. Traffic lights can be controlled through K1, K2 and K3 buttons under special traffic conditions. Realization: 1) when an emergency occurs, press the K1 four crossings while the yellow light is flashing (the flash time is 3S) and the countdown is turned off. After the yellow light is flashing, the four crossroads will be turned red and forbidden. 2) there are too many vehicles in a certain direction. The K2 and K3 keys can be used to control the East-West or north-south direction, and the other way is prohibited. After pressing the control key, first add four yellow lights to the 3S at the intersection. (2018-05-05, C/C++, 3357KB, 下载1次)

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

[嵌入式/单片机/硬件编程] RFID读卡模块电路图、PCB源文件

125K RFID读卡模块,包含UART输出,韦根输出,程序中,根据曼彻斯特原理,找到长电平和短电平,根据跳变沿分析出0数据还是1数据。然后寻找消息头,后面的数据进行 行 列奇偶校验,从而分析出卡号。
125K RFID card reader module, including UART output, Wei root output, in the program, according to the principle of Manchester, to find a long level and a short level, according to jump along the analysis of 0 data or 1 data. Then look for the message header, and then the data for row and row parity check, so as to analyze the card number. (2017-09-10, C/C++, 1653KB, 下载62次)

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

[嵌入式/单片机/硬件编程] The-detector-of-alcohol

设计的酒精浓度检测系统,可实现以下功能: 1、当有特殊情况时可按紧急报警键报警,也可手动取消紧急报警功能。 2、平时可设置酒精浓度和高温报警值,其中酒精浓度有1—9级,环境温度有0--99度,可根据需要设置同时系统的按键还具有连加、减功能,操作起来非常方便,系统还能够在进入设置界面后,如果没有按键按下30秒后会自动退出设置界面。并且有掉电保存功能,设置的参数保存在单片机内部EEPOM中。 3、当MQ-3传感器检测到酒精时,信号由ADC0832进行模数转化得到数字信号,接着传送到AT89S52控制器中处理,当检测到浓度超过设置的酒精浓度时,蜂鸣器会发出报警声。 4、当检测到的温度超过设定的报警温度的时候,蜂鸣器将产生报警声。
Alcohol concentration detection system design can achieve the following functions:         1, there are special circumstances when an emergency alarm button alarm can also be manually cancel the emergency alarm.         2, usually alcohol concentration and temperature can be set alarm values​ ​ , which have 1-9 alcohol concentration level, ambient temperature 0- 99 degrees, the system can simultaneously connect buttons also have to add, subtract function according to their needs, the operation is very convenient the system is also able to enter the setting interface, the interface will automatically exit the setting after 30 seconds if no button is pressed. And power-down save function, parameter settings are stored in the internal microcontroller EEPOM.     3, when the MQ-3 sensor detects alcohol, the signal from the analog to digital conversion ADC0832 get a digital signal, and then transferred to the AT89S52 controller proce (2014-04-02, C/C++, 125KB, 下载21次)

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

[嵌入式/单片机/硬件编程] i2c

I2C程序函数是采用软件延时的方法产生SCL脉冲,对高晶振频率要作一定的修改 C%NG\#A1e0(本例是3us机器周期,如果系统对时间要求不是很重要的话,最好在每个单元读写结束时加个延时, $`Z(Un+b0Tm0测试有子地址器件函数,未测试无地址的器件,适合器件地址和子地址小于256的器件, 大于256的单元的器件可以自己改写)。 td`U4A!~,L C0
I2C procedure function is the method using software delay generated SCL pulses of high frequency crystal oscillator to make certain amendments to C NG! A1e0 (in this case is 3us machine cycle, if the system time-not very important, then, the best in the the end of each module to add read and write latency, $ `Z (U n+ b0T m0 test device subaddress function, not to test nuclear device address for the device address and the subaddress is less than 256 devices, more than 256 unit device can rewrite). td `U4A! ~, L C0 (2008-12-06, C/C++, 2KB, 下载6次)

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

[嵌入式/单片机/硬件编程] hummu

本设计通过按S3、S4和S5功能键实现对时间的调整。 其中,S3键为小时/分钟调整选择键;S4键为加1键;S5键为减1键。 时间调整的具体实现过程如下: S3键功能是判断是否进行时间调整。当按一次S3键后,进入小时调整。再通过按S4、S5键进行对小时的具体调整;当按二次S3键后,进入分钟调整。再通过按S4、S5键进行对分钟的具体调整,直至和当前北京时间一直为止。 然后根据按下S2功能键的情况判断是否显示时间。若是,则将当前时间数据送8155经LED显示器显示。 进行传送。其优点是传送速度快,缺点是数据有多少位,就需要多少根传输线,适合于近距离传输
adopted by the design of S3, S4 and S5 function keys to achieve the right time to adjust. Among them, S3 Key to hours/minutes adjustment selection key; S4 a key to the Canadian bond; S5 key to a reduced bond. Time to adjust to the realization process is as follows : S3 key function is to judge whether the time to adjust. When S3 according to a bond after entering the hour adjustment. Passed by the S4, S5 Key for hours on the specific adjustments; When the second by S3 Key, enter minute adjustments. Passed by the S4, S5 key for the specific right-minute adjustments, and until the current Beijing time has been so far. S2 according to press the function keys of the judgment showed. If so, the current time data will be sent to 8,155 by the LED display shows. Transmitted. The advantage is spe (2007-03-31, C/C++, 1KB, 下载2次)

http://www.pudn.com/Download/item/id/261928.html
总计:173