Gpib to usb converter using pic




















If you still use old test equipment on a regular basis, you probably have been frustrated by the lack of options for pulling data off these aging devices. Many higher-end devices are equipped with GPIB ports, which are general purpose buses for communicating with a variety of obsolete peripherals.

Most test equipment supports one of these two protocols, so his adapter should work with pretty much any GPIB-equipped kit. Data is saved to a single image file on the SD card, which is encoded in a native HP disk format.

The image file can be opened on Windows and Linux with some utilities that [Anders] mentioned on his project page. If you have any old test equipment withGPIB lying around and want to build your own, the schematic and source code are up on his site or [Anders] is selling bare boards.

This build is an update to an earlier version we saw a few years ago. Since then, [Steven] has taken some advice from the community and replaced a bunch of resistors with proper GPIB line driver ICs, and generally cleaned up the firmware. Because a USB to GPIB adapter is only one small part of the tools necessary to connect these old measurement devices to a modern computer, [Steven] has also been working on InstrumentKit.

You can check out the docs for InstrumentKit here , or just look through the board files and firmware on the Github. Dust off that old GPIB hardware and hook it up to your modern computing platform using either of these two solutions.

It uses an ATmega16 and a couple of classic bus driver chips to get the job done. Check out the connector that is used for this protocol.

Next version of Firmware, currently in testing will remove this limitation and allow you to send binary data of unlimited length. Latest debug and release firmwares as a zip-file. Rightclick and "save as". Rightclick and "save as" Outputs debug info on serial port at baud. Utility to save and restore settings and save screendumps from HPXX and similar. Reworked the receive code so that it is much faster accepts a byte in 25us Prologix r emulation Tweaked GPIB some more, now manages one byte in Now works correctly with the KE5FX Slightly faster, plus corrected a few minor issues Changed the version string as some version of Prologix.

We will soon have boards for sale. They also have a jumper to accomodate the boot-loader I intend to incorporate. The boards are of professional quality, plated,soldermasked and silk-screened. Please send an email to projects dalton. It also supports saving and restoring of HP X instrument learn strings, so that you can save and recall settings on a PC.

You can also upload software, such as HPX inverse assembler files. Make sure that the unit is assembled properly and that there are no bad solderjoints, shorts etc. Check with an oscilloscope that the clock is running. Start Hyperterminal and send it a string. You should see activity on the leds. Then connect your GPIB-cable and try sending sommands to the unit. If you program with the debug hex file, the unit will output diagnostic info on the serial port at baud.

I cannot test every instrument and every software package out there. There are subtle quirks in some instruments and some utilities make assumptions they should not. If your instrument fails to work with this adapter please let me know and I will try to see if we can fix the problem.

In this case I wamt to see a debug log from the adapter. To grab a debug log you need a TTL to RS adapter can be built with a MAX or bought on eBay for a few dollars connected to the port of the adapter and to a serial port on your computer. Adapter needs to be programmed with the debug HEX file, you also need to select what to output. The debugging output alters bus timing and hence you can select what to output, ie:.

The debug level is a bitmap with each bit controlling debug output for a certain section. Send me the log with an explanation of what instrument and possibly FW version, software and version and what you were trying to do.

SYS driver, this does not happen.



0コメント

  • 1000 / 1000