Author Topic: AR488 Arduino-based GPIB adapter  (Read 238088 times)

0 Members and 2 Guests are viewing this topic.

Offline Tj138waterboy

  • Regular Contributor
  • *
  • Posts: 103
  • Country: us
Re: AR488 Arduino-based GPIB adapter
« Reply #575 on: December 08, 2020, 06:39:27 pm »
Can anyone with a 3478a meter tell me after plugging in arduino"any variant" at what point do the announciators show up on meter screen, "TLK/LSN? Do they show up when you set ++addr or only when using ++read?
 

Offline Jay_Diddy_B

  • Super Contributor
  • ***
  • Posts: 2733
  • Country: ca
Re: AR488 Arduino-based GPIB adapter
« Reply #576 on: December 08, 2020, 09:58:06 pm »
Hi,

I just happen to have a 3478A on my desk. I also have AR488 using the PCB designed by forum member artag.
First a few pictures of the assembled interface:










I have s/w version

AR488 GPIB controller, ver. 0.48.28, 01/07/2020

If I use Tera Term to communicate with the 3478A. My 3478A is set to HPIB address 24.

I send

++auto
++addr 24

if I send

++read

The RMT indication comes on and stays on.
The TLK flash briefly when the 3478A is transmitting data.

RMT can be turned off by pressing the LOCAL button on the DMM.

if I set it to local and I enter

++read

The TLK flashes when transmitting, but the RMT stays off.

If I send

H1

(H1 configures the meter for DCV)

The RMT comes on and stays on.

Does this help?

Jay_Diddy_B






 

Offline Tj138waterboy

  • Regular Contributor
  • *
  • Posts: 103
  • Country: us
Re: AR488 Arduino-based GPIB adapter
« Reply #577 on: December 09, 2020, 12:53:50 am »
Greatly appreciated.  Just built a 3rd adapter and still no luck. Anything obvious other than not soldered in pic?
 

Offline Jay_Diddy_B

  • Super Contributor
  • ***
  • Posts: 2733
  • Country: ca
Re: AR488 Arduino-based GPIB adapter
« Reply #578 on: December 09, 2020, 01:36:20 am »
Greatly appreciated.  Just built a 3rd adapter and still no luck. Anything obvious other than not soldered in pic?

I am assuming that you have programmed the arduinio?

When I plug mine in three LEDs are on. A green one close to the USB connector and two red ones by the crystal oscillator.

In the Arduino IDE, Tools -> Serial Monitor

It will open a terminal window:




In the line type ++ver  and then click send

The red lights blink briefly during the communications.

The AR488 should respond with the version string. This will tell you that the Arduinio is programmed and working.

Try this.

Jay_Diddy_B
 

Offline Tj138waterboy

  • Regular Contributor
  • *
  • Posts: 103
  • Country: us
Re: AR488 Arduino-based GPIB adapter
« Reply #579 on: December 09, 2020, 01:59:14 pm »
Im getting 3 red leds when plugged in. Not sure if the red one next to micro usb is bi-color or maybe chinese knockoff that uses different color led than others but im getting exact same return when typing ++ver on arduino serial monitor. Another question is are yiu uploading sketch as board "Arduino Micro"? When I first plugged in before programming boards it was detected as Leonardo.
« Last Edit: December 09, 2020, 02:07:19 pm by Tj138waterboy »
 

Offline Jay_Diddy_B

  • Super Contributor
  • ***
  • Posts: 2733
  • Country: ca
Re: AR488 Arduino-based GPIB adapter
« Reply #580 on: December 09, 2020, 02:45:11 pm »
Hi,

I have my Arduino set like this:




I am not sure if I set it Arduino Micro manually or if it was detected




Regards,

Jay_Diddy_B
 

Offline Tj138waterboy

  • Regular Contributor
  • *
  • Posts: 103
  • Country: us
Re: AR488 Arduino-based GPIB adapter
« Reply #581 on: December 09, 2020, 03:02:04 pm »
Well finally got ticked off enough to open up the meter and behold what I find. Have to blame myself due to replacing batteries and all caps.
Second meter was plugged in right and after fixing connector in first one both still not working. TBC
« Last Edit: December 09, 2020, 03:26:26 pm by Tj138waterboy »
 

Offline The Soulman

  • Frequent Contributor
  • **
  • Posts: 949
  • Country: nl
  • The sky is the limit!
Re: AR488 Arduino-based GPIB adapter
« Reply #582 on: December 09, 2020, 11:46:50 pm »
Well finally got ticked off enough to open up the meter and behold what I find. Have to blame myself due to replacing batteries and all caps.
Second meter was plugged in right and after fixing connector in first one both still not working. TBC

Happens to most of us sooner or later..
You may want to check the pinout of that connector and see if there are any voltages on there that could have damaged the arduino.  :-\

 

Offline Tj138waterboy

  • Regular Contributor
  • *
  • Posts: 103
  • Country: us
Re: AR488 Arduino-based GPIB adapter
« Reply #583 on: December 10, 2020, 01:48:38 am »
Finnally got 1 nano to work on both meters. Issue was ground connection.
 

Offline IanJ

  • Supporter
  • ****
  • Posts: 1608
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: AR488 Arduino-based GPIB adapter
« Reply #584 on: December 10, 2020, 02:43:11 am »
Hi all,

Is there a link to purchase the bare pcb anywhere,  or a link to the pcb files so I can build a few of these.

Eager to see if the AR488 will work with my windows based gpib logging software.

Ian.
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 

Offline garrettm

  • Frequent Contributor
  • **
  • Posts: 267
  • Country: us
Re: AR488 Arduino-based GPIB adapter
« Reply #585 on: December 10, 2020, 05:51:53 am »
I would be interested in buying a blank AR488 PCB too.

If anyone has a spare they want to sell send me a PM.

I'd like to thank everyone that contributed to this project for their hard work!
 

Offline eliocor

  • Supporter
  • ****
  • Posts: 519
  • Country: it
    • rhodiatoce
Re: AR488 Arduino-based GPIB adapter
« Reply #586 on: December 10, 2020, 06:32:00 am »
I have some of them (white color), version 3 with the correct hole size:
I paid just 5.20€ for 30 pieces (JLCPCB): I can ship some of them but you have to contact me via a private message.
Attached you will find the gerber files (directly uploadable to JLCPCB): just 3.30€ for 5 pieces or 5.45€ for 30 pieces....
« Last Edit: December 10, 2020, 07:30:38 am by eliocor »
 
The following users thanked this post: coromonadalix, kutte, ZigmundRat, Nx-1997

Offline IanJ

  • Supporter
  • ****
  • Posts: 1608
  • Country: scotland
  • Full time EE & Youtuber
    • IanJohnston.com
Re: AR488 Arduino-based GPIB adapter
« Reply #587 on: December 10, 2020, 08:02:52 am »
I have some of them (white color), version 3 with the correct hole size:
I paid just 5.20€ for 30 pieces (JLCPCB): I can ship some of them but you have to contact me via a private message.
Attached you will find the gerber files (directly uploadable to JLCPCB): just 3.30€ for 5 pieces or 5.45€ for 30 pieces....

Thanks.......I ordered mine through PcbWay using your files.

What about the BOM, can you let me know where you bought the connectors from, and also the best resource for the source code etc?

Thanks,

Ian.
Ian Johnston - Original designer of the PDVS2mini || Author of the free WinGPIB app.
Website - www.ianjohnston.com
YT Channel (electronics repairs & projects): www.youtube.com/user/IanScottJohnston, Twitter (X): https://twitter.com/IanSJohnston
 
The following users thanked this post: DrNefario

Offline eliocor

  • Supporter
  • ****
  • Posts: 519
  • Country: it
    • rhodiatoce
 
The following users thanked this post: IanJ

Offline Jay_Diddy_B

  • Super Contributor
  • ***
  • Posts: 2733
  • Country: ca
Re: AR488 Arduino-based GPIB adapter
« Reply #589 on: December 10, 2020, 06:30:32 pm »
Hi,

I used the following connector:

NorComp 111-024-113L001

Digikey Part No: 1024PMA-ND

This is a straight connector as shown here:



The Arduino boards I bought from a Canadian Vendor on eBay. They were described as:

Pro Micro Atmega32u4 - Compatible With Arduino - 16MHz - 5V - 32kB - micro USB

Jay_Diddy_B
 
The following users thanked this post: bitseeker

Offline mmcgraw74

  • Regular Contributor
  • *
  • Posts: 242
  • Country: us
Re: AR488 Arduino-based GPIB adapter
« Reply #590 on: December 18, 2020, 10:10:27 pm »
I wonder if the problem is your right angle GPIB connector.

Looking at the bare board photos on this page indicate the Arduino pin1 and GPIB pin1 are next to each other on the same end of the board as the Arduino USB connector.  Your photo shows GPIB pin 1 on the opposite end of the board.
 

Offline mmcgraw74

  • Regular Contributor
  • *
  • Posts: 242
  • Country: us
Re: AR488 Arduino-based GPIB adapter
« Reply #591 on: December 19, 2020, 01:30:38 pm »
Quote from: Tj138waterboy on December 09, 2020, 12:53:50 am
Greatly appreciated.  Just built a 3rd adapter and still no luck. Anything obvious other than not soldered in pic?

Sorry, my previous post was in reply to Tj138waterboy.

Is the green board in your photos the artag original layout or the v3 layout?

The v3 layout has GPIB pin 1 and Pro Mini pin 1 on the same end of the PCB.

Your photo shows GPIB pin 1 on the opposite end from the Pro Mini.  Is your PCB the original artag layout and GPIB pin 1 is in the correct hole?
 

Offline Tj138waterboy

  • Regular Contributor
  • *
  • Posts: 103
  • Country: us
Re: AR488 Arduino-based GPIB adapter
« Reply #592 on: December 20, 2020, 01:21:19 am »
Edit pcb I ordered has pin 1 at opposite ends but I used still multimeter to beep out pin to pin and I didn't have it on the right way in the pic. I have since then used direct wiring to promicro and still can't get it to work. Even tried same trick I used on my nano board using all ground pins to arduino ground.
« Last Edit: December 20, 2020, 03:12:18 pm by Tj138waterboy »
 

Offline m k

  • Super Contributor
  • ***
  • Posts: 2009
  • Country: fi
Re: AR488 Arduino-based GPIB adapter
« Reply #593 on: December 20, 2020, 03:12:12 pm »
Are all parts powered from same outlet?

Can you use external USB hub with own power?

You did those signal tests earlier and they were fine but then time was not involved.
Maybe it's still a grounding issue but farer back this time and new setting is more picky.
Advance-Aneng-Appa-AVO-Beckman-Data Tech-Fluke-General Radio-H. W. Sullivan-Heathkit-HP-Kaise-Kyoritsu-Leeds & Northrup-Mastech-REO-Simpson-Sinclair-Tektronix-Tokyo Rikosha-Triplett-YFE
(plus lesser brands from the work shop of the world)
 

Offline Tj138waterboy

  • Regular Contributor
  • *
  • Posts: 103
  • Country: us
Re: AR488 Arduino-based GPIB adapter
« Reply #594 on: December 21, 2020, 01:20:11 am »
Ok, finally got it right on the pro-micro. Issue was I have been looking at the wrong connector diagram or the right one but wrong perspective. After seeing pg 46 then pg 47 in the AR488 manual I started scratching my head and resoldered and works perfectly now. Sorry for the multiple messages and confusion to what would appear to be dummy proof instructions but I have to fail first to succeed I guess.
 

Offline hnjmkl

  • Regular Contributor
  • *
  • Posts: 80
  • Country: it
Re: AR488 Arduino-based GPIB adapter
« Reply #595 on: December 21, 2020, 04:27:15 am »
From the arduino monitor I could not send commands, (AR488 and Arduino UNO), not even sending ++ ver I had an answer with the version string, I installed YAT and with the exception of the first send, then everything works, 3478A and 34401A.
 

Offline mcj7247

  • Newbie
  • Posts: 8
  • Country: us
Re: AR488 Arduino-based GPIB adapter
« Reply #596 on: January 09, 2021, 01:20:09 am »
Hello All. First a big thank you to the folks who developed the AR488 and decoded HP3478 GPIB protocols. I'm a beginner/hobbyist and just purchased an HP3478A and would love to try and read/write the calibration factors safely while I replace my 3V memory battery. I'm placing my orders on Digikey and JLCPCB for the battery, GPIB connector (NorComp 111-024-113L001) and PCB board (AR488V3 Gerbers) and would like to also replace any weak/faulty capacitors. Once you get more specific than Electrolytic vs Tantalum capacitor specs are a bit over my head ???. I could really use some direction, or perhaps even a Digikey part number, to the caps that require replacement?

I'd also like to offer up the extra PCB's to anyone else who might need them. I can order extra PCB's and GPIB connectors and reship to those located in the US. $2 per pcb and $6 per connector + shipping.

To the folks who contributed their time and expertise......Thanks again!
 

Offline pqass

  • Frequent Contributor
  • **
  • Posts: 726
  • Country: ca
Re: AR488 Arduino-based GPIB adapter
« Reply #597 on: January 09, 2021, 03:57:23 am »
Quote
mcj7247:    I could really use some direction, or perhaps even a Digikey part number, to the caps that require replacement?

Not Digikey but these are the ones I used.  Apart from the value and the pin spacing, what's very important is that they are Class Y2.  https://www.eevblog.com/forum/testgear/first-bench-multimeter-fluke-8840a-vs-hp-3478a/msg3100584/#msg3100584

If you'd like to read the proceedure I used for replacing the 3478a battery, read this thread; specifically the following two messages:   https://www.eevblog.com/forum/testgear/first-bench-multimeter-fluke-8840a-vs-hp-3478a/msg3008694/#msg3008694   and   https://www.eevblog.com/forum/testgear/first-bench-multimeter-fluke-8840a-vs-hp-3478a/msg3015428/#msg3015428

Any calibration data read from the meter can be decoded using this script:
https://www.eevblog.com/forum/repair/hp-3478a-how-to-readwrite-cal-sram/msg3210132/#msg3210132

Print the output and tape it to the inside of the meter for the next guy (which may be you).
« Last Edit: January 09, 2021, 04:00:04 am by pqass »
 
The following users thanked this post: mcj7247

Offline mcj7247

  • Newbie
  • Posts: 8
  • Country: us
Re: AR488 Arduino-based GPIB adapter
« Reply #598 on: January 09, 2021, 04:39:50 am »
Not Digikey but these are the ones I used.  Apart from the value and the pin spacing, what's very important is that they are Class Y2.  https://www.eevblog.com/forum/testgear/first-bench-multimeter-fluke-8840a-vs-hp-3478a/msg3100584/#msg3100584

They popped up in Digikey part finder so thank you. I'll add them to my order.

If you'd like to read the proceedure I used for replacing the 3478a battery, read this thread; specifically the following two messages:   https://www.eevblog.com/forum/testgear/first-bench-multimeter-fluke-8840a-vs-hp-3478a/msg3008694/#msg3008694   and   https://www.eevblog.com/forum/testgear/first-bench-multimeter-fluke-8840a-vs-hp-3478a/msg3015428/#msg3015428

Any calibration data read from the meter can be decoded using this script:
https://www.eevblog.com/forum/repair/hp-3478a-how-to-readwrite-cal-sram/msg3210132/#msg3210132

Print the output and tape it to the inside of the meter for the next guy (which may be you).
[/quote] Let's hope not but I'd rather be prepared. And this will be a huge help. I'm confident with AR488/arduino side of the hardware connection but I'm going to need to study the command set in the manual  to understand how to request the calibration data. I'm not Linux savvy either. I appreciate the info and thanks for sharing.
 

Offline pqass

  • Frequent Contributor
  • **
  • Posts: 726
  • Country: ca
Re: AR488 Arduino-based GPIB adapter
« Reply #599 on: January 09, 2021, 05:54:42 am »
Quote
Not Digikey but these are the ones I used.  Apart from the value and the pin spacing, what's very important is that they are Class Y2.  https://www.eevblog.com/forum/testgear/first-bench-multimeter-fluke-8840a-vs-hp-3478a/msg3100584/#msg3100584

They popped up in Digikey part finder so thank you. I'll add them to my order.

Quote
If you'd like to read the proceedure I used for replacing the 3478a battery, read this thread; specifically the following two messages:   https://www.eevblog.com/forum/testgear/first-bench-multimeter-fluke-8840a-vs-hp-3478a/msg3008694/#msg3008694   and   https://www.eevblog.com/forum/testgear/first-bench-multimeter-fluke-8840a-vs-hp-3478a/msg3015428/#msg3015428

Any calibration data read from the meter can be decoded using this script:
https://www.eevblog.com/forum/repair/hp-3478a-how-to-readwrite-cal-sram/msg3210132/#msg3210132

Print the output and tape it to the inside of the meter for the next guy (which may be you).

Let's hope not but I'd rather be prepared. And this will be a huge help. I'm confident with AR488/arduino side of the hardware connection but I'm going to need to study the command set in the manual  to understand how to request the calibration data. I'm not Linux savvy either. I appreciate the info and thanks for sharing.

Although I have not used it, see lmesters Windows program: https://www.eevblog.com/forum/repair/hp-3478a-how-to-readwrite-cal-sram/msg2884720/#msg2884720     or   https://www.eevblog.com/forum/testgear/free-hp3478a-multimeter-control-program/

Alternatively, you can converse with the AR488 via Hyper Terminal or similar program.
The 3478a command to extract a cal byte is this character sequence within the double-quotes: "W<esc><addr><cr>++read<cr>"
Where: <esc> is ASCII 27 decimal (1b hex); this will escape the next character,
           <addr> is a single ASCII character representing the address of the byte requested; from 0 to 255 decimal,
           <cr> is ASCII 13 decimal (0d hex) character
Issue the sequence for every address 0 through to 255. The first byte returned is the cal data at that address.

For all 3478a commands, see Table 3-6 in the manual here: https://www.qsl.net/n9zia/test/HP3478_Service_Manual.pdf
« Last Edit: January 09, 2021, 05:59:07 am by pqass »
 
The following users thanked this post: coromonadalix, mcj7247


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf