PicoScope 7 Software
Available on Windows, Mac and Linux
High speed and high resolution. Breakthrough ADC technology switches from 8 to 16 bits in the same oscilloscope.
This experiment demonstrates how a serial data communication protocol can be successfully monitored. Serial data communications represents the fundamental method by which information is transported in our modern world.
Convergence between communications and computers has caused all forms of information to be digitized for easy transport in serial format. Unlike analog waveforms such as sine waves and square waves that are periodic in nature, serial data comm waveforms are generally aperiodic. Using a modern digital instrument such as the PicoScope 2205A makes capture and viewing of serial data easy.
This experiment demonstrates:
This experiment is suitable for:
Always keep in mind that the ground of the 2205 is common to the ground of the PC and thus common to AC ground.
The experiment set up is shown in Figure 1. Serial data is accessed from the serial port on a standard PC. The serial port is generally either a DB9 connector or DB25 connector. Figure 2 shows a picture of a standard PC DB9 type serial port. An appropriate serial cable consisting of female/male DB9 connectors is connected to this port.
The ADC-200/20 CH A input is connected to the Transmit Data and Ground connections on the serial port via the serial cable. Note that you can use the same PC that the ADC-200/20 is connected to for the serial transmission or you can use a standalone PC. Figure 1 shows separate PCs for convenience.
1. Terminal Software Setup
One of the simplest serial data comm protocols is sending ASCII characters via a PC terminal program. Several popular terminal programs exist, depending on the PC operating system (Win95/98, Win3.1, Linux, DOS, etc). Let’s examine Hyperterminal that commonly comes as part of the Win95/98 operating system.
To access Hyperterminal, follow the Start Button:
Once you have located the Hyperterminal directory, find the Hypertrm program and double click it. The program screen is shown below in Figure 3.
Now you must setup the terminal parameters. Under File, locate New Connection. Give the connection the name Picotech and click ‘OK’. The Connect To box appears. Select the Connect using parameter to Direct to Com1 (assuming that serial port used is Com1. Check with your PC manual for settings for serial port). Click ‘OK’. Next the Port Settings box appears.
Accept the parameters as listed below:
Finally under File, go to the Properties parameter and select the Settings tab. Go to ASCII Setup and check off the box Echo typed characters locally. Save all settings under Picotech.htm. The terminal program is now set up. The proper settings are shown below in Figure 4.
Once the terminal program is configured, we are ready to send serial data. The terminal program will send data via the serial port in RS-232 format. Figure 9 shows the pinouts of the DB9 and DB25 type RS-232 connectors commonly found on serial ports.
Connect the 2205 oscilloscope probe with the center conductor connected to the Transmit Data Terminal #3 and the ground conductor to Ground Terminal #5. Note this setting is for a DB9 connector. Adjust accordingly for a DB25.
In order to capture the one-time asynchronous signal, the scope must be set for one-time trigger.
Set the instrument as follows:
Note that the scope is set to trigger with a rising voltage > 1 volt on input A.
With the Terminal PC we are now ready to send and capture ASCII data. Try sending an ASCII 'G' first. To do this, first set Caps Lock on the keyboard to on. Then simply press 'G'. Ensure that the correct character is sent out, as it will echo on the Hyperterminal display. If you are using the same PC for both Terminal and the 2205 display, you will have to size both windows so that they are visible.
Now in order to capture and display the result on the scope, hit the 'run' button. The scope will now trigger with any voltage rising on input A >1 volt. Press the 'G' again. You should see a display similar to Figure 5 below. Note the cursors have been set to measure the duration of the start bit.
Try another character, say the numeral '8'. The display for '8' is shown in Figure 6. Note to clear the display press Stop, then run again.