|
|
Category: Computer Circuits / Computer Interface This circuit is also crossed to: PC Circuits Views: 3990 Rank: 0 A PC’s serial port provides signal lines that you can use to expand the number of input signals. With some additional circuitry tied to these lines, you can use the port to test digital TTL logic-level circuits. You just need to convert the TTL logic levels to RS-232 voltages and add a multiplexer to increase the number of signals that the serial port can sense. The schematic in Figure 1 (shown at the end of this article) uses a MAX232 IC to convert RS-232 voltage levels to TTL-logic levels. A 74HC4051 multiplexer lets you select any of four digital inputs and route them to the serial port. Software available from the online version of this article lets you control the RTS (ready to send) and DTR (data terminal ready) pins in the serial port that select the signal under test. The CTS (clear to send) pin then reads the signal under test into the PC.The four digital-input signals (A0A3) from your device under test connect to the first four inputs (X0X3) of the multiplexer. Only one of those signals can pass through to the X output (pin 3) at a time. By setting the appropriate binary code on the serial port’s RTS and DTR lines, you can select the signal to pass through the multiplexer. Table 1 describes the selection of inputs. The PC software, running on Windows XP, sequentially sets those binary combinations on the port’s RTS and DTR lines and reads the digital signal on the CTS line. When you click the Check status” button on the user interface, the software reads and displays the status of the selected bit. The code is written in Microsoft C# .NET 2008, but it will run on the 2005 version as well. To create the application, launch the project wizard and select the Windows Forms Application” from the C# .NET templates. Place the TextBox, Label, and Button components on the project’s main form and assign titles to them. You should place the SerialPort component on the design area of the project. Then, set the appropriate parameters for the SerialPort component (port number, baud rate, data bits, and parity and stop bits). When you build the circuit, follow all precautions in the manufacturers’ data sheets concerning the wiring of the MAX232 and 74HC4051. Remember to place bypass capacitors as close as possible to the IC’s power and ground. You can replace the MAX232 with a MAX225 or MAX233, neither of which requires external components. visit page. The four digital-input signals (A0A3) from your device under test connect to the first four inputs (X0X3) of the multiplexer. Only one of those signals can pass through to the X output (pin 3) at a time. By setting the appropriate binary code on the serial port’s RTS and DTR lines, you can select the signal to pass through the multiplexer. Table 1 describes the selection of inputs. The PC software, running on Windows XP, sequentially sets those binary combinations on the port’s RTS and DTR lines and reads the digital signal on the CTS line. When you click the Check status” button on the user interface, the software reads and displays the status of the selected bit. The code is written in Microsoft C# .NET 2008, but it will run on the 2005 version as well. To create the application, launch the project wizard and select the Windows Forms Application” from the C# .NET templates. Place the TextBox, Label, and Button components on the project’s main form and assign titles to them. You should place the SerialPort component on the design area of the project. Then, set the appropriate parameters for the SerialPort component (port number, baud rate, data bits, and parity and stop bits). When you build the circuit, follow all precautions in the manufacturers’ data sheets concerning the wiring of the MAX232 and 74HC4051. Remember to place bypass capacitors as close as possible to the IC’s power and ground. You can replace the MAX232 with a MAX225 or MAX233, neither of which requires external components. http://mobile.tmworld.com/article/323698-Test_Ideas_Serial_port_tests_digital_circuits.php
Related circuits PC joystick interface circuits NOTE: There is no guarantee as to the suitability of said circuits and information for any purpose whatsoever other than as a self-training aid. I.E. If it blows your equipments, trashes your hard disc, wipes your backup, burns your building down or just plain don`t work, IT ISN`T MY FAULT. In... TTL signal levels using a serial port MAX232 A PC’s serial port provides signal lines that you can use to expand the number of input signals. With some additional circuitry tied to these lines, you can use the port to test digital TTL logic-level circuits. You just need to convert the TTL logic levels to RS-232 voltages and add a... ISOLATED FULL DUPLEX RS232C INTERFACE This self powered interface circuit electrically isolates the TxD and RxD lines from the PC serial port and protect the PC from direct connection to hazardous voltages. The isolator is intended to provide electrical isolation between a computer and the equipment connected to its serial port. This... The following circuit are provded here to give your idea how the overvoltage protecton circuits really work and how you can easily add some protection to your circuits. To make theose circuit really effective need careful component choosing and good construction. For best performace I recommend... When computer peripheral equipment is interfaced, it is convenient to work with logic signal levels. With a nominal 4 V at the output dropping to - 0.6 V on illumination, this circuit reflects the requirements of a high-speed, paper tape optical reader system. The circuit operates at rates of up... This is the latest version of the Improved Infrared Receiver with Status LED which can control any desktop PC with an ordinary remote control. The project comes along with a small PCB in order to save space. It connects to the serial port as stated in the schematic and uses the freeware Girder... This circuit allows a remote microprocessor to be reset by a controlling host over a remote RS-232 or similar protocol serial line. With the use of a program loader on the remote host, a program may be downloaded and run. This allows a target processor to run different code in RAM, thus getting... LCD Interface using the PIC16C84 microcontroller Alphanumeric LCD displays have become very popular for microcontroller applications because they can add a lot to a project in a variety of different ways. A text message giving the user instructions as well as feedback can make the application seem much more "professional" and easy to use. I... Lite-on Key Extractor Tutorial [HowTo] Dre - Hologram feat. Chris Brown [Walk...
LiteOn Key Extractor Tutorial [Howto] Dump, Spoof & Swap device Lite-On DG-16...
Comments
Facebook Comments
Most searched
lm3915
Results: 15 Count: 10808
Automatic battery charger
Results: 960 Count: 9254
12v counter
Results: 965 Count: 8064
signal generator using XR2206
Results: 3108 Count: 7465
multivibrator
Results: 243 Count: 7460
12f629 switch
Results: 1604 Count: 7213
optocoupler
Results: 52 Count: 7094
bcd
Results: 40 Count: 6343 |
Accounts area
Circuits
Audio Filters
Stereo Circuits Ultrasonic Circuits Amplifiers Audio Oscillators Preamplifiers Audio Mixers Equalizers Tone Balance Beeper Buzzer Vacuum Tubes Valves Musical & effects Microphone Circuits
PLL Circuits
UHF circuits VHF Circuits FM radio GPS Circuits Jammer Circuits RF Transmitters RF Receivers RF Amplifiers AM radio Antenna Circuits FM Transmitter Transceiver Circuits
Demodulators
Buffer Circuits Triac Circuits Mosfet Circuits Sequencer 555 Timer Circuits Doorbell Circuits Switching Circuits Remote Control Toy H Bridge Circuit Game Circuits Keypad Circuits
Metal Detector Circuits
Liquid Sensing Circuits Light Sensing Circuits Voltage Detector Circuits Air-Gas Detection Circuits Human Sensing Circuits RF & Radiation Medical Circuits Sensor Circuits Magnetic circuits Optical Sensing Circuits Hall Effect
Varius Circuits
Astable Colpitts Crystal Hartley RF Sine wave Square wave Volt controlled Wein Bridge Monostable Circuits Pierce
Tesla Circuits
Inverter Circuits Free Energy Circuits Chargers AC to DC & DC to DC Solar Cell Circuits Current Limiting Mirco Power Circuits High Voltage Switching Power Supplies
Timer Circuits
Voltmeters Frequency meter Meters Circuits Counters Clock Circuits Checker Circuits Delay Circuits Thermometer Circuits VU Meters
Infrared
Xenon Lighting Light Sensing Laser Led circuits Fluorescent Circuits LCD circuits Light Dimmers
Readout Circuits
Logic Circuits Digital to Analog Display Circuits Analog to Digital Data Logging Data Bus Circuits Decoder Circuits
Voltage to Pulse
Current to Voltage Frequency to Voltage RF Converter Circuits Sine to Square Wave Voltage to Current voltage to frequency Period to Voltage
Video Mixer
Video Wall circuits TV Video Circuits Modulator Camera Circuits Television Photo Flash Video Amplifier
Stepper Motor
Remote Control Servo Circuits Robotics Direction Finder Power Control Relay Circuits Motor Control Circuits
Arduino projects
PIC Microcontroller AVR Microcontroller Programmers 68HC11 Microcontroller 8051 / 8052 MCU Circuits
|

