|
GP-7 Two-Wire Serial Kit
Many ICs and microprocessors use an industry standard two-wire serial bus protocol (for example, I2C, IIC, SMBus, TWI, etc.). These protocols are very powerful since they allow you to connect a variety of devices using only two wires. But what if you want to access this range of A/D, DAC, temperature sensors, and other devices from a PC? With the GP-7 it is simple to connect two wire devices to any PC with a serial port.
In addition to the two wire serial capabilities of this kit, you can also take advantage of its 8 digital I/O ports, and 4 10-bit analog inputs! This makes it perfect for creating a PC-based tester for two wire serial equipment. What can you do with a GP-7? Here's some ideas:
The GP-7 has a simple command set and also includes an ActiveX control to simplify programming. Here's an example Visual Basic program reading the temperature from an LM76 sensor:
Here's the corresponding code that reads the temperature (in centigrade): I2CA.Data = Array() ' no data to send I2CA.Receive 2 ' read two bytes t = I2CA.Data(0) * 256 + I2CA.Data(1) ' assemble into 1 word I2CA.BusStop ' be sure to let chip read data again t = t / 8 * 0.0625 ' convert to C
|
![]()
[Kits] |
[Math] | [PS/2] |
[Pulse In] | [Pulse Out] |
[I/O] | [A/D] |
[PWM] | [Position Sensing] [PIC Programming] | [RS232]
| [PLD/FPGA] | [NetPorter]
[MicroTasks/Consulting] |
[Components] |
[Products] |
[News] | [Search] |
[Documents] | [Projects] |
[Resources] | [Updates] |
[FAQ] |
[Support]
[PDF Catalog]
Jump to PAKs: I, II,
III, IV, V,
VI, VII, VIII,
IX, X, XI,
XII PicoPAK:
VIII
Site contents © 1997-2008 by AWC, 310 Ivy Glen, League City, TX 77573 (281) 334-4341