This detector can not only detect the quality of the remote control, but also check the waveform emitted by the remote control and detect the remote control receiver. With a little modification, it can also be used as a pulse oscilloscope, frequency meter, etc. This detector uses a computer for data processing and display.
The detector is divided into two parts: receiving and data processing. The receiving part uses a TNO2618 remote control receiver head (other models are also available) containing a CX20106A remote control receiver chip, which is connected to the LPT parallel printer interface of the computer (connect as shown in the figure). When the receiving head does not receive a signal from the remote control, the output pin is high level. When a signal is received, the level changes with the signal, forming a pulse square wave received by the computer and sending it to the data processing part. The data processing part is a program written in TurboC2.0 for data collection, processing and display. It should be noted that the base address of the LPT interface. A computer can have three LPT interfaces, with base addresses of 3BCH, 378H, and 278H respectively. The MSDEXE program of Windows 3.1 or DOS 6.22 can be used to view and determine the base address used by each interface. The base address of the LPT interface usually made on the motherboard is 378H. The program in this article is for demonstration, short and simple in function. Readers can freely rewrite it to make the interface friendly and powerful. According to this principle, adding an analog-to-digital converter to the circuit and writing the corresponding control program can turn it into a computer multimeter, oscilloscope, etc.
The program is as follows:
/*This program is compiled and passed on TurboC2.0*/
/*Run on DOS7.0*/
/*2000613 WZW*/
#include
#include <graphics.h>
main()
{
int a,datain,datainoll;
int graphdrive,graphmode;
detectgraph(&graphdrive,&graphmode);/*Detect the graphics card type*/
if(graphdrive==VGA)
{
int mode=VGAHI;
initgraph(&graphdrive,&mode,"");
}
else
{
printf(" Graphics adapter not is VGA");/*If it is not a VGA card, prompt and exit*/
exit(1);
}
setcolor(13);/*Set the color*/
datainoll=inportb(0x378);
while(!kbhit())/*Press any key to exit*/
{
for(a=0;a<=599;a++)
{
datain=inportb(0x378);/*0x378 is the LPT interface address, which can be selected from 0x3bc, 0x378, 0x278 according to the machine configuration*/
line(a+20,datainoll,a+21,datain);
datainoll=d
atain;
}
clearviewport();/*Display waveform*/
}
}
Reference address:Design of a remote control detector
The detector is divided into two parts: receiving and data processing. The receiving part uses a TNO2618 remote control receiver head (other models are also available) containing a CX20106A remote control receiver chip, which is connected to the LPT parallel printer interface of the computer (connect as shown in the figure). When the receiving head does not receive a signal from the remote control, the output pin is high level. When a signal is received, the level changes with the signal, forming a pulse square wave received by the computer and sending it to the data processing part. The data processing part is a program written in TurboC2.0 for data collection, processing and display. It should be noted that the base address of the LPT interface. A computer can have three LPT interfaces, with base addresses of 3BCH, 378H, and 278H respectively. The MSDEXE program of Windows 3.1 or DOS 6.22 can be used to view and determine the base address used by each interface. The base address of the LPT interface usually made on the motherboard is 378H. The program in this article is for demonstration, short and simple in function. Readers can freely rewrite it to make the interface friendly and powerful. According to this principle, adding an analog-to-digital converter to the circuit and writing the corresponding control program can turn it into a computer multimeter, oscilloscope, etc.
The program is as follows:
/*This program is compiled and passed on TurboC2.0*/
/*Run on DOS7.0*/
/*2000613 WZW*/
#include
#include <graphics.h>
main()
{
int a,datain,datainoll;
int graphdrive,graphmode;
detectgraph(&graphdrive,&graphmode);/*Detect the graphics card type*/
if(graphdrive==VGA)
{
int mode=VGAHI;
initgraph(&graphdrive,&mode,"");
}
else
{
printf(" Graphics adapter not is VGA");/*If it is not a VGA card, prompt and exit*/
exit(1);
}
setcolor(13);/*Set the color*/
datainoll=inportb(0x378);
while(!kbhit())/*Press any key to exit*/
{
for(a=0;a<=599;a++)
{
datain=inportb(0x378);/*0x378 is the LPT interface address, which can be selected from 0x3bc, 0x378, 0x278 according to the machine configuration*/
line(a+20,datainoll,a+21,datain);
datainoll=d
atain;
}
clearviewport();/*Display waveform*/
}
}
Previous article:Application of online tester in circuit board maintenance
Next article:Maintenance and repair of digital multimeter calibrator
Recommended Content
Latest Test Measurement Articles
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Seizing the Opportunities in the Chinese Application Market: NI's Challenges and Answers
- Tektronix Launches Breakthrough Power Measurement Tools to Accelerate Innovation as Global Electrification Accelerates
- Not all oscilloscopes are created equal: Why ADCs and low noise floor matter
- Enable TekHSI high-speed interface function to accelerate the remote transmission of waveform data
- How to measure the quality of soft start thyristor
- How to use a multimeter to judge whether a soft starter is good or bad
- What are the advantages and disadvantages of non-contact temperature sensors?
MoreSelected Circuit Diagrams
MorePopular Articles
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
MoreDaily News
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
Guess you like
- GD32E231 Learning 2: GPIO drive OLED and TC0 timing interrupt
- Ofweek Talent Network recruitment and job search results, let's talk about it
- A flaw in the MSP430F672x, 673x microcontrollers
- Looking forward to Huawei's operating system!
- Test parameters of 1630MHz125 amplifier
- Analysis of the types of pads and design standards in PCB design
- Why should the power supply be set to +3.3V?
- Analysis of the composition and working principle of the radio frequency identification system
- Arduino Bluetooth Obstacle Avoidance Car
- The control motor is found to have insufficient stroke. Please provide a solution.