Terminal Update


Page 277, paragraphs 2, 3, 4, 5 replacements:

Many PC's running Windows 95 and later have a built-in terminal program called "HyperTerminal" (tm).  
If HyperTerminal is not installed on your PC or you do not have the version named "Private Edition",
you should download a copy from Hilgraeve at hilgraeve.com. At this writing, HyperTerminal Private Edition (tm) is available at no charge for personal use. HyperTerminal does not have a "Clear Screen" capability. It you start out using HyperTerminal,
you will soon recognize the value of the Clear Screen feature and download HyperTerminal Private Edition.
From here on, I will simply use the name "HyperTerminal". What is a terminal? The term comes from the days of the teletype when a terminal looked like a typewriter and was used to send and receive messages.
For our purposes, HyperTerminal allows sending or receiving single ASCII characters, strings of ASCII characters, or text files. HyperTerminal can easily set up a serial port such as COM2 and use it to communicate with a PIC microcontroller-based black box. Page 279 replacement: We will create a communications setup file for use in our experiments. Open HyperTerminal: Start>All Programs>wherever it is>HyperTerminal Private Edition. The Connection Description dialog box will appear. Create a file name. Choose an icon, but you will not need it. Click OK. The Connect To dialog box appears. Select the serial port you wish to use (usually COM2). Connect using: COM2. Click OK. The COM2 Properties dialog box appears. Select the following: Bits per second: 4800 Data bits: 8 Parity: None Stop bits: 1 Flow control: None Click Apply. Click OK. The "filename" - HyperTerminal window is open. View>Font. Font: Courier or Courier New. The courier font is a monospace font. Font Style: Regular Size: 10 File>Properties The "filename" Properties dialog box appears. Click on the Settings tab. Emulation: ANSI The remaining settings should be the default settings. Click OK. File>Save. Page 280, replacements for last three paragraphs: Try experimenting with the first three control characters to get a feel for how they control placement of the characters on-screen (formatting). To clear the screen, Edit>Clear Screen. For most of our PIC microcontroller-based experiments, the microcontroller will send data to the PC where it will appear on the HyperTerminal screen,
and may also be saved in a Notepad file. The file can be edited or printed. The data may also be pasted into a spreadsheet program. Examples follow. Page 281 replacement for first half-page: For one PIC microcontroller-based experiment, the PC will sent a string of text to the microcontroller.
The text string will be created in Notepad and saved as a text (.txt) file. To create a text file: Use Notepad. Saved file is stored in the Windows directory. HyperTerminal can access it. To send a text file: Transfer>Send Text File The Send Text File dialog box appears. Select the text file. Clicking "Open" causes the file to be sent. Using the U-turn connector, you can experiment with sending a text file. Create a test file in Notepad and save it (DOS-style file name, .txt). Open your settings file in HyperTerminal. Transfer>Send Text File. The Send Text File dialog box appears. Select the text file. Clicking "Open" causes the file to be sent. It will make a U-turn and appear on-screen (file received is displayed).

Square 1 Electronics
Last Updated May 13, 2009