barcode scanner vb.net textbox COMPUTER CONTROL VIA PC PRINTER PORT in Software

Paint Data Matrix ECC200 in Software COMPUTER CONTROL VIA PC PRINTER PORT

466 COMPUTER CONTROL VIA PC PRINTER PORT
ECC200 Decoder In None
Using Barcode Control SDK for Software Control to generate, create, read, scan barcode image in Software applications.
Printing ECC200 In None
Using Barcode drawer for Software Control to generate, create Data Matrix 2d barcode image in Software applications.
+5vdc 16 Vcc To Pin 1 To Pin 2 To Pin 3 To Pin 4 To Pin 5 To Pin 6 Strobe Data 0 Data 1 Data 2 Data 3 Data 4 2 4 6 10 12 14 1 15 OE OE GND 8 3 5 7 9 11 13 1 2 3 4 5 6
Decoding Data Matrix ECC200 In None
Using Barcode scanner for Software Control to read, scan read, scan image in Software applications.
Create ECC200 In Visual C#
Using Barcode printer for VS .NET Control to generate, create Data Matrix ECC200 image in .NET applications.
IC1 74367
ECC200 Encoder In .NET
Using Barcode drawer for ASP.NET Control to generate, create ECC200 image in ASP.NET applications.
Encode DataMatrix In VS .NET
Using Barcode generation for .NET Control to generate, create Data Matrix ECC200 image in VS .NET applications.
+5vdc 16 Vcc To Pin 7 To Pin 8 To Pin 9 To Pin 15 To Pin 16 Data 5 Data 6 Data 7 LF/CR Initialize 2 4 6 10 12 1 15 3 5 7 9 11 7 8 9 10 11 12 OE OE GND 8
ECC200 Creation In Visual Basic .NET
Using Barcode encoder for Visual Studio .NET Control to generate, create Data Matrix 2d barcode image in VS .NET applications.
Data Matrix 2d Barcode Generation In None
Using Barcode printer for Software Control to generate, create Data Matrix 2d barcode image in Software applications.
IC2 74367
Code 128 Generator In None
Using Barcode creation for Software Control to generate, create Code 128B image in Software applications.
USS Code 39 Printer In None
Using Barcode encoder for Software Control to generate, create Code 39 image in Software applications.
18-pin wire-wrap socket
Paint GTIN - 13 In None
Using Barcode generation for Software Control to generate, create EAN13 image in Software applications.
Bar Code Creation In None
Using Barcode maker for Software Control to generate, create bar code image in Software applications.
+5vdc 16 Vcc To Pin 17 To Pin 15 To Pin 13 To Pin 12 To Pin 10 To Pin 11 Select/Desel Printer Error On-Line PE ACK Busy 2 5 7 9 11 13 1 15 OE OE GND 8 3 4 6 10 12 14 13 14 15 16 17 18
USS Codabar Printer In None
Using Barcode printer for Software Control to generate, create USS Codabar image in Software applications.
Bar Code Maker In Visual C#.NET
Using Barcode generation for VS .NET Control to generate, create barcode image in .NET applications.
IC3 74367
Data Matrix ECC200 Maker In Visual Basic .NET
Using Barcode encoder for Visual Studio .NET Control to generate, create DataMatrix image in VS .NET applications.
Print Universal Product Code Version A In None
Using Barcode creation for Office Excel Control to generate, create GTIN - 12 image in Office Excel applications.
To Pins 18-25
Code-39 Drawer In None
Using Barcode generator for Online Control to generate, create Code 3/9 image in Online applications.
2D Barcode Drawer In Visual Basic .NET
Using Barcode creation for .NET framework Control to generate, create 2D Barcode image in .NET framework applications.
FIGURE 30.4 Schematic for the Robot Experimenter s Interface.
Encode Linear In Visual C#.NET
Using Barcode generator for .NET Control to generate, create 1D Barcode image in .NET framework applications.
Make Barcode In Java
Using Barcode generator for BIRT Control to generate, create barcode image in BIRT applications.
ROBOT EXPERIMENTER S INTERFACE
TABLE 30.5
PARTS LIST FOR THE ROBOT EXPERIMENTER S INTERFACE.
IC1 IC3 Misc
74367 TTL Hex Inverter/Buffer IC 18-pin wire-wrap socket, solderless experimenter s board, binding posts (for power connection), enclosure
Vgn Power Wire-wrap board (for mounting components)
74367 18-pin socket
Solderless breadboard
FIGURE 30.5 The completed Robot Experimenter s Interface. Mount the breadboard, wire-wrap socket, ICs, and power terminals on a perf board, and secure the board into a project case.
conductor wire to connect the signals at the wire-wrap socket to whatever points on the breadboard you desire.
TESTING THE INTERFACE
The first order of business is to connect the Robot Experimenter s Interface as shown in Fig. 30.6. Connect the cable to the parallel port of your computer (some of the LEDs will light). Use a DOS-based Basic interpreter program to manipulate the three registers (data, control, and status) of the parallel port. Most older PCs will have a Basic interpreter either built into the BIOS (as was the case with the original IBM PC) or provided as a separate .com or .exe executable file. If your PC has MS-DOS 5.0 or later, look for QBasic, an updated version of the venerable Microsoft Basic from the late 1970s. All of the program examples in this chapter assume you re using QBasic, or a similar updated Basic variant. Note that if you re using Microsoft Windows 95 or later, QBasic probably isn t installed on your computer, but it is provided on the Windows CD-ROM. Look for the qbasic.exe
468 COMPUTER CONTROL VIA PC PRINTER PORT
FIGURE 30.6 Component arrangement for testing the Robot Experimenter s Interface.
program file in the OtherOldmsdos directory, or visit Microsoft s Web page at www.microsoft.com for additional information. Type the program shown in Listing 30.1. The program assumes you re using the standard LPT1: port, which has an address of 888 decimal (378 hex). If you re using a different parallel port, change the BaseAddress as required. Refer to Table 30.1 earlier in this chapter. You re now ready to run the program (in QBasic, press Shift F5).
LISTING 30.1.
BaseAddress = 888 DataPort = BaseAddress FOR Count = 0 TO 255 OUT DataPort, Count FOR x = 1 TO 500: NEXT x NEXT Count ' Base address of parallel port ' Address of data register
The LEDs connected to each of the data lines should flash on and off very rapidly. Some of the LEDs will flash more than the others; this is normal. When the program finishes all of the LEDs should stay lit. If the LEDs do not flash, recheck your wiring and make sure
USING THE PORT TO OPERATE A ROBOT: THE BASICS
the program has been typed correctly. The LEDs that are on represent a logic 1 state; those that are off represent a logic 0 state. Fig. 30.7 is a blank dotted-line version of the Robot Experimenter s Interface. Feel free to use it to sketch out your own designs.
Copyright © OnBarcode.com . All rights reserved.