利用單片機(jī)具有的智能程序控制的特點(diǎn),設(shè)計(jì)了基于STC89C52單片機(jī)的"二極管特性測(cè)試器",可對(duì)二極管一般特性進(jìn)行快速測(cè)試。通過(guò)穩(wěn)定線性電流源給二極管加載恒定電流,然后由高精度模數(shù)轉(zhuǎn)換器測(cè)試其壓降,以此為基礎(chǔ)可判斷二極管好壞、檢測(cè)二極管極性和測(cè)試二極管伏安特性等,避免了用萬(wàn)用表測(cè)試只能測(cè)得極性而不知其特性這一缺點(diǎn)。可用于電子設(shè)計(jì)制作過(guò)程中對(duì)二極管進(jìn)行快速測(cè)試,以確定被測(cè)二極管是否滿足電路的設(shè)計(jì)要求。
Abstract:
By making good use of the intelligent control function of the Micro Controller Unit (MCU), the diode trait tester was designed based on the STC89C52,which could be used to test the trait of a diode rapidly. By loading constant current to diode through the stable linear current source, and measuring the voltage drop of the diode by high-precision analogue-to-digital converter (ADC), it can judge whether the diode is good or not, distinguish the polarity of the diode, and test the trait that the diode, which can avoid the fault of using a multimeter can only measure the polarity but not the trait. This device can be used to test the trait of a diode quickly,and to make sure that whether a diode can be used in the electronic design or not.
Designing read/write device (RWD) units for industrial RF-Identification
applications is strongly facilitated by the NXP Semiconductors HITAG
Reader Chip HTRC110. All needed function blocks, like the antenna
driver, modulator demodulator and antenna diagnosis unit, are integrated
in the HTRC110. Therefore only a minimum number of additional passive
components are required for a complete RWD.
This Application Note describes how to design an industrial
RF-Identification system with the HTRC110. The major focus is
dimensioning of the antenna, all other external components including
clock and power supply, as well as the demodulation principle and its
implementatio
Digitemp Junior – An RS-232 Port-Powered Digital Thermometer
Digitemp Jr. is a device that is designed to measure
and report ambient temperature. When connected to
an RS-232 port on any PC, it will periodically measure
and report in ASCII form the ambient temperature in
degrees Celsius. These temperature readings can be
monitored with any terminal program. If the terminal
program supports capture to disk, the temperature
readings can be saved to disk for further analysis with
a spreadsheet program or other data analysis tool. The
simple ASCII output format of Digitemp Jr. makes it rel-
atively easy to write custom software for receiving,
recording, and analyzing ambient temperature data.
Best of all, Digitemp Jr. requires no external power sup-
plies or batteries. It is powered directly by the RS-232 port.
為解決電致變色器件的顏色變化受外界環(huán)境顏色控制的問(wèn)題,設(shè)計(jì)了一種基于單片機(jī)的便攜式顏色自適應(yīng)識(shí)別電路。與傳統(tǒng)顏色識(shí)別電路相比較,該電路利用數(shù)字式的顏色傳感器來(lái)獲取外界環(huán)境顏色,產(chǎn)生的數(shù)字顏色信號(hào)易于單片機(jī)進(jìn)行處理。在電路中,下位機(jī)部分主要負(fù)責(zé)獲取電致變色器件變色參數(shù)及控制電致變色器件的顏色變化;而上位機(jī)部分主要負(fù)責(zé)把下位機(jī)獲取的電致變色器件變色參數(shù)進(jìn)行電壓到顏色的曲線擬合,并通過(guò)藍(lán)牙通信把擬合曲線參數(shù)傳遞給下位機(jī)。結(jié)果表明,該電路能自動(dòng)根據(jù)環(huán)境顏色提供-4~4 V范圍步進(jìn)為0.1 V的電壓來(lái)驅(qū)動(dòng)電致變色器件的顏色顯示,與傳統(tǒng)的顏色識(shí)別電路設(shè)計(jì)相比,識(shí)別的精度和速度都得到了明顯改善。
Abstract:
In this paper, a portable adaptive circuit for color identification(PACCI) based on MCU was designed. Compared to the traditional color identification circuit, the PACCI adopts digital sensor to detect the color data from external environment and further generate digital color data, which can be processed easily by MCU. In PACCI, the slave is mainly responsible for detecting the color parameters of the corresponding elcreochromic device and further driving it. For the master, which is mainly responsible for the color curve fitting based on the parameters of the electrochromic device, and transmits the fitting parameters to the slave through the bluetooth device. The results show that the PACCI can provide the basis voltage range from -4V to 4V automatically based on the colors of external environment with step as 0.1V to drive the corresponding electrochromic device. Compared to the traditional color recognition circuit, the recognition accuracy and speed of PACCI have been improved significantly.
針對(duì)目前使用的RS232接口數(shù)字化B超鍵盤(pán)存在PC主機(jī)啟動(dòng)時(shí)不能設(shè)置BIOS,提出一種PS2鍵盤(pán)的設(shè)計(jì)方法。基于W78E052D單片機(jī),采用8通道串行A/D轉(zhuǎn)換器設(shè)計(jì)了8個(gè)TGC電位器信息采集電路,電位器位置信息以鍵盤(pán)掃描碼序列形式發(fā)送,正交編碼器信號(hào)通過(guò)XC9536XL轉(zhuǎn)換為單片機(jī)可接收的中斷信號(hào),軟件接收到中斷信息后等效處理成按鍵。結(jié)果表明,在滿足開(kāi)機(jī)可設(shè)置BIOS同時(shí),又可實(shí)現(xiàn)超聲特有功能,不需要專(zhuān)門(mén)設(shè)計(jì)驅(qū)動(dòng)程序,接口簡(jiǎn)單,成本低。
Abstract: Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the MCU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.
Digitemp Jr. is a device that is designed to measure
and report ambient temperature. When connected to
an RS-232 port on any PC, it will periodically measure
and report in ASCII form the ambient temperature in
degrees Celsius. These temperature readings can be
monitored with any terminal program. If the terminal
program supports capture to disk, the temperature
readings can be saved to disk for further analysis with
a spreadsheet program or other data analysis tool. The
simple ASCII output format of Digitemp Jr. makes it relatively
easy to write custom software for receiving,
recording, and analyzing ambient temperature data.
Best of all, Digitemp Jr. requires no external power supplies
or batteries. It is powered directly by the RS-232
port.
以太網(wǎng)和CAN總線應(yīng)用廣泛,但由于其通信協(xié)議不同,兩種總線器件間無(wú)法進(jìn)行數(shù)據(jù)通信,因此,設(shè)計(jì)了基于CP2200與C8051F040的以太網(wǎng)總線與CAN總線接口轉(zhuǎn)換電路,并給出部分相關(guān)硬件電路與軟件設(shè)計(jì)分析。在保證數(shù)據(jù)完整和協(xié)議可靠的前提下,通過(guò)握手協(xié)議和簡(jiǎn)化的以太網(wǎng)協(xié)議,不僅實(shí)現(xiàn)了以太網(wǎng)數(shù)據(jù)與CAN數(shù)據(jù)的轉(zhuǎn)發(fā),同時(shí)還順利的解決了以太網(wǎng)的高速性與CAN的低速率沖突,以及兩者數(shù)據(jù)包之間的大小不同的矛盾。
Abstract: In the development of actual application, Ethernet and CAN bus are used very extensively. Owing to its various communication protocols, the communicating between two kinds of bus device can’t be carried out. Therefore, in order to solve this problem, the Ethernet-CAN bus interface circuit based on CP2200 and C8051F040 was designed in this paper, and part of the related hardware circuit and software design analysis were given. On the condition of data’s integrity and protocols’reliability, through the handshaking protocols and the simplified the Ethernet protocol, not only the data switching between CAN and Ethernet was realized, but also the differ in velocity and packet size was solved.
在深入了解Flash存儲(chǔ)器的基礎(chǔ)上,采用單片機(jī)自動(dòng)檢測(cè)存儲(chǔ)器無(wú)效塊。主要通過(guò)讀取每一塊的第1、第2頁(yè)內(nèi)容,判斷該塊的好壞,并給出具體的實(shí)現(xiàn)過(guò)程,以及部分關(guān)鍵的電路原理圖和C語(yǔ)言程序代碼。該設(shè)計(jì)最終實(shí)現(xiàn)單片機(jī)自動(dòng)檢測(cè)Flash壞塊的功能,并通過(guò)讀取ID號(hào)檢測(cè)Flash的性能,同時(shí)該設(shè)計(jì)能夠存儲(chǔ)和讀取1GB數(shù)據(jù)。
Abstract:
On the basis of in-depth understanding the Flash chips,this paper designs a new program which using the SCM to detect the invalid block.Mainly through reading the data of the first and second page to detect the invalid block.Specific implementation procedure was given,and the key circuit schematic diagram and C language program code was introduced.This design achieved the function of using the MCU checks the invalid block finally,and increased the function by reading the ID number of Flash to get the performance of the memory.And the design also can write and read1GB data
設(shè)計(jì)一種基于ATmega16L單片機(jī)的溫度控制系統(tǒng),闡述該系統(tǒng)的軟硬件設(shè)計(jì)方案。采用模塊化設(shè)計(jì)方法,利用增量式PID算法使被控對(duì)象的溫度值趨于給定值。實(shí)驗(yàn)結(jié)果表明該系統(tǒng)具有良好的檢測(cè)和控制功能。 Abstract: This paper designs a temperature control system based on ATmega16L,describes the hardware and software de-sign scheme of the system,adopts the modularized design method and utilizes the incremental PID algorithm to realize the temperature of controlled device incline to the given value.The experiment result indicates that the system has good detec-tion and control function
設(shè)計(jì)一種基于P89V51RD2的功率因數(shù)測(cè)量?jī)x,采用光電隔離器和專(zhuān)用數(shù)碼管驅(qū)動(dòng)器。該測(cè)量?jī)x是以增強(qiáng)型單片機(jī)P89V51RD2為核心,大大簡(jiǎn)化系統(tǒng)硬件設(shè)計(jì)。而軟件部分采用模塊化設(shè)計(jì)思想,采用中值濾波和小數(shù)補(bǔ)償算法,實(shí)現(xiàn)功率因數(shù)的高精度測(cè)量。實(shí)驗(yàn)測(cè)試表明,該功率因數(shù)測(cè)量?jī)x測(cè)量精度高,運(yùn)行穩(wěn)定可靠。
Abstract:
A power-factor measurement instrument based on P89V51RD2is designed,which uses optical coupler and specific LED drive chip.The power factor measurement instrument uses P89V51RD2as a core of which greatly simplifies the system design.Furthermore,modularization software is developed in detail.The high precision power-factor measuring system is realized by the center value filter and fractional compensation algorithm.Experiments manifests that the power- factor measurement instrument is high precision,steady and reliable.