Author Topic: project: extending HP3478A functionality  (Read 59684 times)

0 Members and 1 Guest are viewing this topic.

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
project: extending HP3478A functionality
« on: August 11, 2017, 08:59:00 am »
HP3478A considered to be a good multimeter, but lacks some basic functions expected from current models (e.g. relative, auto hold, average).
What I'm thinking to do is to hook up microcontroller to GPIB bus internally so it will provide additional functions.
I already have some idea what the "user interface" would look like. Display and SRQ button are available via GPIB. "Local" button is also available indirectly.
That should be enough to implement basic menu system.
...
Update (January 30, 2018): working prototype is ready
The hardware is very basic. To reproduce it you'll need the following stuff:
github project: https://github.com/KIrill-ka/hp3478ext

Functions already implemented:
  • USB interface - allows to execute generic GPIB commands
  • relative mode
  • xohm mode - measure resistances above 30M
  • continuity tester
  • min max
  • diode tester*
  • auto hold
  • temperature**
What else can be done:
  • running average
* Not sure if I want one. It's just a 2w \$\Omega\$ in 3K range. However, beeping may be added.
** Limited to one particular RTD sensor.


Update (September 3, 2018):
The thing now leaves inside my HP3478A powered from it's internal supply. The only hardware modification I had to do to the HP3478A was a cut-out for USB TypeB socket.
This process of integration to the HP3478A is not documented yet (TODO), but now there's a guide for basic implementation and a command reference.
The links are on the project homepage: https://kirill-ka.github.io/hp3478ext/
Thanks to bitseeker for carefully reviewing the documentation.
hp3478ext allows to send generic GPIB commands to a device, so it can be used as a cheap GPIB-USB adapter. For instance, I'm using it with my HP8561E. I wrote a Tcl library implementing some GPIB functions, which I'm going to release very soon.
« Last Edit: September 03, 2018, 12:41:29 pm by kirill_ka »
 
The following users thanked this post: edavid, macboy, Kean, yo0, Melt-O-Tronic, villas, Neomys Sapiens, jeffjmr, porter

Offline alm

  • Super Contributor
  • ***
  • Posts: 2840
  • Country: 00
Re: project: extending HP3478A functionality
« Reply #1 on: August 11, 2017, 12:29:05 pm »
How would you do the UI? Talking to it will lock out all front panel keys except local. You could send GTL after every command, but how do you detect button presses other than SRQ? Morse code with SRQ? How do you know if the meter switches range or function? What would the display update rate be like?

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #2 on: August 11, 2017, 12:54:52 pm »
How would you do the UI? Talking to it will lock out all front panel keys except local. You could send GTL after every command, but how do you detect button presses other than SRQ?
If you press "Local" it stops responding to commands. I found a trick which makes it possible to know that it doesn't respond without entering LISTEN state.
So I should be able to detect two buttons SRQ and Local.
S.Trig and then SRQ can turn on "relative" mode directly.
How do you know if the meter switches range or function? What would the display update rate be like?
Current mode is available in status bytes (B command).
If "additional" functions are not activated, 3478 should stay in normal (local) mode until SRQ is pressed.
What would the display update rate be like?
I don't know. We'll see. When I tried to enter commands manually it seemed to be quick enough.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #3 on: August 11, 2017, 01:02:58 pm »
Morse code with SRQ?
It's also possible to sniff keypad lines directly, but I prefer it to be GPIB-only.
 

Offline alm

  • Super Contributor
  • ***
  • Posts: 2840
  • Country: 00
Re: project: extending HP3478A functionality
« Reply #4 on: August 11, 2017, 01:29:08 pm »
I agree that something that just plugs into the GPIB connector would be much neater. The challenge will be good integration with normal operation without jarring mode switches. Good luck!
 
The following users thanked this post: kirill_ka

Offline macboy

  • Super Contributor
  • ***
  • Posts: 2252
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #5 on: August 11, 2017, 03:57:02 pm »
I did something similar for Keithley 199 years ago. For that meter, it was possible to have a GPIB SRQ generated whenever a front panel button was pressed. The meter would not otherwise respond to front panel buttons (since it was in remote mode). The software could then query which key was pressed and take whatever action was needed, including changing mode or range on the meter. The software-generated/modified reading including units could be sent to the meter's display using a special GPIB command. The 3478A has a similar 14-segment alpha-numeric display, and a very similar command set, but it doesn't seem to have the ability to pass through the keypresses to the GPIB controller in the same way.
Anyway, good luck.
 
The following users thanked this post: kirill_ka

Offline pigrew

  • Frequent Contributor
  • **
  • Posts: 680
  • Country: us
Re: project: extending HP3478A functionality
« Reply #6 on: August 11, 2017, 05:04:43 pm »
Personally, the features I'd want to see would involve ripping out the microcontrollers and analog components and replacing them with something newer, though I'm really not sure if it's worth it.

I personally use GPIB to communicate with it, so I

For example:
  • Replace A/D controller with a modern micro, to get more digits by running at a higher clock speed (I'm not sure if the noise would improve, though)
  • Replace main controller to use a modern micro's internal flash RAM (to avoid the need for the calibration-RAM battery)
  • Replace integrator IC with lower-noise op-amp?
  • Replace main input amplifier? A don't know what the existing part is.

But, would those things be worth it? If replacing an IC or two helps, great, but once I start thinking about replacing micros, the cost might expand to be more than the price of a 6.5 digit DMM.

For some of the digital things mentioned, it sounds like changing the display is required (for example to display averaged data). For this, I believe that the main micro would need to be replaced. Though, the programming shouldn't be too hard and it would be neat to end up with an instrument with open-source firmware.
 

Offline agaelema

  • Contributor
  • Posts: 30
  • Country: br
Re: project: extending HP3478A functionality
« Reply #7 on: August 21, 2017, 02:12:48 am »
Some time ago I was thinking about it when I was searching about DIY GPIB interface to connect my 3478A to computer without need to spend lots of money (more than the DMM price) in an adapter.

But from what I've read, when the DMM remote mode is activated it stops responding locally. Right?

In my opinion, I do not see problems using remote controls (buttons) and another screen, in fact I think they can bring some advantages, a separate screen would be very interesting in allow more measurements at same time, like std value, min, max, etc...

You know some good GPIB DIY project, I think that this is the start of all.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #8 on: August 23, 2017, 01:55:42 pm »
Some time ago I was thinking about it when I was searching about DIY GPIB interface to connect my 3478A to computer without need to spend lots of money (more than the DMM price) in an adapter.

But from what I've read, when the DMM remote mode is activated it stops responding locally. Right?
Not exactly. There's no single thing called "DMM remote  mode". GPIB remote mode is required to send a command, where only SRQ and Local keys are active. But after that, local control might be restored.
In my opinion, I do not see problems using remote controls (buttons) and another screen, in fact I think they can bring some advantages, a separate screen would be very interesting in allow more measurements at same time, like std value, min, max, etc...
The objective is to use hp3478 as a standalone DMM. And I don't want to make many hardware modifications. I have to respect 30+ years old instrument after all :)
You know some good GPIB DIY project, I think that this is the start of all.
I started with this:
https://github.com/JacekGreniger/gpib-converter
Although, I already re-wrote most of the code.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #9 on: August 23, 2017, 02:00:48 pm »
Personally, the features I'd want to see would involve ripping out the microcontrollers and analog components and replacing them with something newer, though I'm really not sure if it's worth it.
What would be left in there?
 

Offline pigrew

  • Frequent Contributor
  • **
  • Posts: 680
  • Country: us
Re: project: extending HP3478A functionality
« Reply #10 on: August 23, 2017, 02:12:47 pm »
Personally, the features I'd want to see would involve ripping out the microcontrollers and analog components and replacing them with something newer, though I'm really not sure if it's worth it.
What would be left in there?
I wouldn't mess with most of the analog circuitry (other than substituting ICs). The integrating ADC controller would remain, as would voltage references and precision resistors. The power supply seems fine, and I'm happy with the front panel. The chassis, switching relays, input terminals, fuses, etc. are likely not limiting performance either.

I was imagining how US$50 parts could best be spent on upgrading the unit.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #11 on: August 24, 2017, 12:40:05 pm »
I've opened a github repository.
https://github.com/KIrill-ka/hp3478ext
My prototype is atmega328 board (arduino nano) which is directly connected to GPIB. And usb-uart dongle is on the other side.
Relative mode is already working. It's entered by pressing S.Trig then SRQ.
It also works as interactive GPIB-UART interface. Someone may find it useful not only for HP3478.
 
The following users thanked this post: agaelema

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #12 on: August 30, 2017, 02:13:40 pm »

Testing extended Ohms mode: 5x68 MOhm resistors.
« Last Edit: August 30, 2017, 02:27:27 pm by kirill_ka »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #13 on: August 30, 2017, 02:23:25 pm »
What would the display update rate be like?
I don't know. We'll see. When I tried to enter commands manually it seemed to be quick enough.
In 4 digit relative mode the display update appears to be much faster than you normally get from HP3478A. Possibly it's intentionally limited to make the display readable. I'm not sure if I want to do the same.
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: project: extending HP3478A functionality
« Reply #14 on: August 31, 2017, 12:34:00 am »
Cool project, kirill. I've thought about extending the functionality of DMMs and power supplies via GPIB, too. Adding a second display for stats, logging, and graphs would be quite an upgrade for the good ol' 3478A.
TEA is the way. | TEA Time channel
 

Offline alm

  • Super Contributor
  • ***
  • Posts: 2840
  • Country: 00
Re: project: extending HP3478A functionality
« Reply #15 on: August 31, 2017, 06:02:52 am »
You can experiment. But especially on that old LCD increasing the update rate may not help readability. Try observing a value quickly fluctuating between 6 and 7. If you had some way of doing an analog bar graph, a higher update rate might be valuable. Same with any logging or plotting.

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #16 on: August 31, 2017, 08:49:34 am »
You can experiment. But especially on that old LCD increasing the update rate may not help readability. Try observing a value quickly fluctuating between 6 and 7. If you had some way of doing an analog bar graph, a higher update rate might be valuable. Same with any logging or plotting.
I've measured actual reading rate and it's not the same as display update. HP3478 has two commands D2 and D3. D2 seems to be buffered, so the display is not updated every time. D3 is  like it writes the LCD immediately. And the more often you write the screen, the less reading rate you get. The maximum I could get so far is 75 reading/sec in 3 digit mode with auto zero off.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #17 on: August 31, 2017, 09:12:10 am »
Cool project, kirill. I've thought about extending the functionality of DMMs and power supplies via GPIB, too. Adding a second display for stats, logging, and graphs would be quite an upgrade for the good ol' 3478A.
Thank you for support! I'm thinking to mount atmega328 inside, and stick out an usb or uart connector. Then raspberry pi can be added for logging and graphing.
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: project: extending HP3478A functionality
« Reply #18 on: August 31, 2017, 05:38:35 pm »
That sounds cool. I'm following the thread. :-+
TEA is the way. | TEA Time channel
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #19 on: September 05, 2017, 02:24:42 pm »
UI scheme
« Last Edit: September 05, 2017, 02:27:11 pm by kirill_ka »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #20 on: September 29, 2017, 10:14:09 am »
Next (kind of) prototype is ready! Now it's fitted inside the case. I'll add usb type B port to the back when the cable arrives.
The software part works quite well. So I'm going to use it for some time to see what I want do next.
 

Offline dom0

  • Super Contributor
  • ***
  • Posts: 1483
  • Country: 00
Re: project: extending HP3478A functionality
« Reply #21 on: September 30, 2017, 02:12:25 pm »
Personally, the features I'd want to see would involve ripping out the microcontrollers and analog components and replacing them with something newer, though I'm really not sure if it's worth it.
What would be left in there?
I wouldn't mess with most of the analog circuitry (other than substituting ICs). The integrating ADC controller would remain, as would voltage references and precision resistors. The power supply seems fine, and I'm happy with the front panel. The chassis, switching relays, input terminals, fuses, etc. are likely not limiting performance either.

I was imagining how US$50 parts could best be spent on upgrading the unit.

I wouldn't mess with most of the analog circuitry (other than substituting ICs)
That's kinda an oxymoron, isn't it? The circuit was designed for a specific IC, swapping random ICs makes it a different circuit, behaving differently, not required to behaver better.

In the 3478A many important components are not changed easily, anyway. For example, most of the input switching and protection is on a hybrid in the input section (it also contains some relay drivers, a questionable combination in my mind). This will probably make attempts to reduce input currents futile, for example.

If memory serves, they mainly used a selection of LM308s, LF412s and OP07s to implement the various circuits. The main input amp iirc was a HP P/N part, might be selected/treated off the shelf, might be custom.
,
 

Offline alterbaron

  • Contributor
  • Posts: 42
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #22 on: September 30, 2017, 04:39:08 pm »
Super cool project!

BTW, you may want to replace this cap.



I've had caps like that fail and leak nasty stuff all over the board. IIRC they're known for doing that.
 
The following users thanked this post: elecdonia, kirill_ka

Offline Rbastler

  • Frequent Contributor
  • **
  • Posts: 286
  • Country: it
  • Wörk Wörk
    • Rbastlers Blog
Re: project: extending HP3478A functionality
« Reply #23 on: September 30, 2017, 04:46:01 pm »
Super cool project!

BTW, you may want to replace this cap.



I've had caps like that fail and leak nasty stuff all over the board. IIRC they're known for doing that.

Jep, one blew in my Philips supply while testing it. Evil things.
http://rbastlerblog.jimdo.com/
Gamma spectrometer works. Now some yellow crystals need regenerating and testing.
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: project: extending HP3478A functionality
« Reply #24 on: September 30, 2017, 07:04:54 pm »
BTW, you may want to replace this cap.



I've had caps like that fail and leak nasty stuff all over the board. IIRC they're known for doing that.

Yes! Rifa caps fail spectacularly, often to the detriment of neighboring components. Definitely change old ones, especially if the clear/translucent outer shell is exhibiting stress fractures, like the one in the photo, above.
TEA is the way. | TEA Time channel
 
The following users thanked this post: elecdonia

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #25 on: October 01, 2017, 10:45:40 am »
BTW, you may want to replace this cap.
I've had caps like that fail and leak nasty stuff all over the board. IIRC they're known for doing that.
Thank you. I will definitely replace it. I didn't think they are so badly behaved.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #26 on: January 29, 2018, 09:01:51 pm »
 
The following users thanked this post: URI, VNUTDENYER

Offline The Soulman

  • Frequent Contributor
  • **
  • Posts: 949
  • Country: nl
  • The sky is the limit!
Re: project: extending HP3478A functionality
« Reply #27 on: January 29, 2018, 10:09:19 pm »
 :-+ Now you should write a new manual for it.  :P
Well done.
 

Offline babysitter

  • Frequent Contributor
  • **
  • Posts: 893
  • Country: de
  • pushing silicon at work
Re: project: extending HP3478A functionality
« Reply #28 on: January 30, 2018, 08:24:07 am »
Thank you for pointing out this little bugger. After having 2 machines blowing their tar last year, I am in the process of exchanging all RIFAs I find. 2 Devices are clear now, with the 3478A its 3 waiting now.
I'm not a feature, I'm a bug! ARC DG3HDA
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #29 on: January 30, 2018, 09:32:03 am »
Thank you for pointing out this little bugger.
There are 4 of them. I think 2 big ones (0.022uF) are not that dangerous, because they are connected across the switch.
But the other two 1000pF are across mains.
 

Offline kelchm

  • Regular Contributor
  • *
  • Posts: 58
  • Country: us
Re: project: extending HP3478A functionality
« Reply #30 on: February 06, 2018, 11:45:02 pm »
There are 4 of them. I think 2 big ones (0.022uF) are not that dangerous, because they are connected across the switch.
But the other two 1000pF are across mains.
Are you maybe thinking of another meter? I just took a look at my notes from when I tore down my two 3478A's and I didn't note down seeing any 1000pF caps. Did I miss something?

Here's what I noted down as caps that I will replace eventually:

S/N 2619A48043
LocationCapacitanceVoltageBrandNotes / Other Markings
C7613300µF25VSMC8827(2) (M)85ºC
C702330µF50VSMC88 C(2) (M)85ºC
C703330µF50VSMC88 C(2) (M)85ºC
C7111000µF25VSMC8835(2) (M)85ºC
C7650.022µF250VRIFAPhoto
C7660.022µF250VRIFASee Above

S/N 2619A39329
LocationCapacitanceVoltageBrandNotes / Other Markings
C7613300µF25VSMC8827(2) (M)85ºC
C702330µF50VSprague8742(M) 85ºC
C703330µF50VSprague8742(M) 85ºC
C7111000µF25VSMC8831(2) (M)85ºC
C7650.022µF250VRIFAPhoto
C7660.022µF250VRIFASee Above
 

Offline kelchm

  • Regular Contributor
  • *
  • Posts: 58
  • Country: us
Re: project: extending HP3478A functionality
« Reply #31 on: February 06, 2018, 11:50:00 pm »
A quick video demonstration.
 
https://drive.google.com/open?id=179wN6CET8ZQY1wQDYIMmN7-N4oslAw8C
This is awesome!

I've starred your repository and plan on experimenting with this at some point in the future.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #32 on: February 07, 2018, 09:31:22 am »
Are you maybe thinking of another meter? I just took a look at my notes from when I tore down my two 3478A's and I didn't note down seeing any 1000pF caps. Did I miss something?
Those are A1C721 and A1C720. I have an old version of 3478A. Maybe they where changed in newer revisions.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #33 on: February 07, 2018, 09:34:24 am »
I've starred your repository and plan on experimenting with this at some point in the future.
You are welcome :)
 

Offline kelchm

  • Regular Contributor
  • *
  • Posts: 58
  • Country: us
Re: project: extending HP3478A functionality
« Reply #34 on: February 07, 2018, 10:21:28 pm »
Are you maybe thinking of another meter? I just took a look at my notes from when I tore down my two 3478A's and I didn't note down seeing any 1000pF caps. Did I miss something?
Those are A1C721 and A1C720. I have an old version of 3478A. Maybe they where changed in newer revisions.
Thanks, I took another look and was able to locate them. They are directly between the transformer and the mains input. Removing the GPIB ribbon cable makes them easier to see.

 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: project: extending HP3478A functionality
« Reply #35 on: February 07, 2018, 11:03:43 pm »
Thanks for the photo. I should check that, too.
TEA is the way. | TEA Time channel
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #36 on: July 18, 2018, 02:54:50 pm »
The software part works quite well. So I'm going to use it for some time to see what I want do next.
I've been using my "extended" HP3478 for awhile now. All the features work very well.  Now I'm asking for an advice on what else to do about this project. Probably I should add some documentation to make it easy to reproduce? I feel a bit uncomfortable about I'm the only one using such a cool thing :)
 
The following users thanked this post: agaelema

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: project: extending HP3478A functionality
« Reply #37 on: July 18, 2018, 04:49:31 pm »
Implementation and operation guides so others could build and operate it would certainly be good things to have to make a more complete package. :-+
TEA is the way. | TEA Time channel
 
The following users thanked this post: kirill_ka

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #38 on: August 21, 2018, 09:37:35 am »
At last there is some progress with the documentation. Since I've been experimenting with HP8561e, I revised GPIB command line and wrote a command line reference.
https://kirill-ka.github.io/hp3478ext/
Also there's a basic implementation guide, and pre-compiled firmware.
Any suggestions, comments are very welcome.  I'm not comfortable writing manuals in English, so the text is probably awkward. I would be happy if someone help me to improve it.
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: project: extending HP3478A functionality
« Reply #39 on: August 22, 2018, 02:33:05 am »
Thanks kirill. Can you send me the LibreOffice Writer files? It's more efficient making corrections that way rather than have you re-enter them from a list of changes.
TEA is the way. | TEA Time channel
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #40 on: August 22, 2018, 05:31:21 am »
Thanks kirill. Can you send me the LibreOffice Writer files? It's more efficient making corrections that way rather than have you re-enter them from a list of changes.
I just uploaded them to the git. Thanks.
https://github.com/KIrill-ka/hp3478ext/blob/master/ug1-gpib-commands.odt?raw=true
https://github.com/KIrill-ka/hp3478ext/blob/master/ig1-basic.odt?raw=true
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: project: extending HP3478A functionality
« Reply #41 on: August 22, 2018, 06:33:13 pm »
Pull request submitted. I clicked a bit too fast and may have borked it. Let me know.
TEA is the way. | TEA Time channel
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #42 on: August 25, 2018, 06:29:18 pm »
Pull request submitted. I clicked a bit too fast and may have borked it. Let me know.
bitseeker, thank you for spending your time on this. It's a very valuable experience to me.  I had to revert some spacing changes, because html and odt don't look the same. If you add empty lines in odt to make it better, html becomes too sparse. Tabs also behave differently.
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: project: extending HP3478A functionality
« Reply #43 on: August 25, 2018, 07:11:12 pm »
Ah, OK. I should've checked that. :palm: I haven't used word processors for HTML, so I only paid attention to the way it looked in its native form. I hope it wasn't too much of a hassle to revert the spacing. I enabled tracking for all the edits in the hopes it would minimize the effort to remove any changes that you didn't want.

Once you're done with any additional info for the docs, I can take a final pass over the text (I'll leave the spacing alone).
TEA is the way. | TEA Time channel
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #44 on: August 27, 2018, 11:04:16 am »
I think I'm done with it for now. So, you are welcome to take a look.  I tried to clarify the description of the OX command and added a small section on the stand-alone HP3478A operation. There should be no changes apart from that.

Meanwhile I wrote a basic Tcl library for remote programming. I'll publish it and also some Tk GUI examples as soon as I have enough play with it.
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: project: extending HP3478A functionality
« Reply #45 on: August 29, 2018, 12:16:34 am »
OK, I'll check it out when I get home.
TEA is the way. | TEA Time channel
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: project: extending HP3478A functionality
« Reply #46 on: August 29, 2018, 03:49:27 am »
That new paragraph describing the standalone extension mode helps a lot. I just made a few corrections to touch it up and created a pull request for you.

Cheers!
TEA is the way. | TEA Time channel
 
The following users thanked this post: kirill_ka

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #47 on: December 28, 2018, 08:01:54 pm »
Hi Kirill,

I tried your project on my HP3478A and it doesn't do anything when I press SRQ. Can you check the fuses configuration on the Atmega? I've checked the connections twice.

Thanks,
Miti

Edit: I'm not using the USB to serial adapter. I understand that part is optional if you want to send commands to the meter, or am I missing something? Should it work only with the mini pro?
« Last Edit: December 28, 2018, 08:09:02 pm by Miti »
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #48 on: December 28, 2018, 09:28:55 pm »
Hi Miti,

It definitely works without an USB-to-UART adapter, but it would be very hard to diagnose any problems without one.
How did you download the firmware then?
The "standard" fuse settings used on those atmega328p boards should work.
However the recommended efuse configuration is at the bottom of the following page:
https://kirill-ka.github.io/hp3478ext/basic-impl.html
« Last Edit: December 28, 2018, 09:39:35 pm by kirill_ka »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #49 on: December 28, 2018, 09:51:33 pm »
I tried your project on my HP3478A and it doesn't do anything when I press SRQ.
I just checked the source... The SRQ key is disabled by default, so you either need to program the provided eep file or enable it with OX1w serial command.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #50 on: December 28, 2018, 10:32:04 pm »
Hi Miti,

It definitely works without an USB-to-UART adapter, but it would be very hard to diagnose any problems without one.
How did you download the firmware then?
The "standard" fuse settings used on those atmega328p boards should work.
However the recommended efuse configuration is at the bottom of the following page:
https://kirill-ka.github.io/hp3478ext/basic-impl.html

I programmed using USB-AVR-ISP. Both main flash and EEP pass verification.

Edit: I have a feeling that the Arduino bootloader is still needed. However, it was erased when I programmed it using the ISP programmer. Could that be the cause?
« Last Edit: December 28, 2018, 10:42:24 pm by Miti »
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #51 on: December 29, 2018, 07:12:38 am »
Could that be the cause?
Yes. Then you need  to disable the bootloader with fuse bits...
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #52 on: December 29, 2018, 05:20:54 pm »
I did but it still doesn't work. See attached screen shots for flash and EEP verification and the fuses status.
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #53 on: December 29, 2018, 06:26:41 pm »
I'm almost out of ideas what can we try without the serial interface.
What's the GPIB address of HP3478A? Is it set to default?
You may try to set PWR ON SRQ DIP switch to see if SRQ annunciator is cleared after power off.
Do you see LSN or TLK annunciators blinking after powering 3478A on?

I'll check fuse config later, but your setting looks right.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #54 on: December 29, 2018, 06:44:12 pm »

What's the GPIB address of HP3478A? Is it set to default?
You may try to set PWR ON SRQ DIP switch to see if SRQ annunciator is cleared after power off.
Do you see LSN or TLK annunciators blinking after powering 3478A on?

I'll check fuse config later, but your setting looks right.

The GPIB address was set to 2. I set it to 0 and still nothing. What should it be? I set the PWR ON SRQ and SRQ is displayed and stays there.
LSN and TLK never blink.
« Last Edit: December 29, 2018, 06:49:35 pm by Miti »
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #55 on: December 29, 2018, 06:52:07 pm »
The GPIB address was set to 2. I set it to 0 and still nothing. What should it be? I set the PWR ON SRQ and SQR is displayed and stays there.
LSN and TLK never blink.
The default address for HP3478A is 23.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #56 on: December 29, 2018, 07:00:50 pm »
 :-+

That was it, the address was wrong. You should add that to the instructions. Thanks a lot Kirill!
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #57 on: December 29, 2018, 07:46:14 pm »
That was it, the address was wrong. You should add that to the instructions.
Yes, I will.  I'm glad you got it working.
Power on SRQ is also recommended setting, since it helps to detect 3478A's reset condition.
« Last Edit: December 29, 2018, 09:59:02 pm by kirill_ka »
 
The following users thanked this post: Miti

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #58 on: December 29, 2018, 10:16:14 pm »
I like your project! I think I'll put it on a proper PCB and install it in my two meters.  :clap:  :-+

Edit: Is the UI diagram in page one up to date? Mine doesn't seem to follow it or I don't understand it.
« Last Edit: December 29, 2018, 10:50:20 pm by Miti »
Fear does not stop death, it stops life.
 
The following users thanked this post: kirill_ka

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #59 on: December 31, 2018, 08:17:21 am »
Edit: Is the UI diagram in page one up to date? Mine doesn't seem to follow it or I don't understand it.
Autohold, diode and temperature functions are missing from it. Other than that, it seems to be correct.
The (SRQ)) thing means that you have to press SRQ number of times. The particular order of menu entries is not shown.
Also note, that autohold seems to work better in 4 digit mode.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #60 on: December 31, 2018, 08:25:39 am »
I think I'll put it on a proper PCB and install it in my two meters.
Then I owe you to describe how I connected the UART-USB module...
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #61 on: December 31, 2018, 12:56:05 pm »
Then I owe you to describe how I connected the UART-USB module...

That won't be necessary, I think I know how to connect them. I will send you the schematic for validation before I do the layout. I have couple of questions though:
1. In one of your pictures you connect the GPIB on top of the add-on module. Can you have it both ways, add this extra functionality, the USB and have the GPIB functional as well? Do you put everything in tri-state? I don't think that can be done.
2. What's the PWM frequency of the buzzer? It seems to be a bit low for the buzzer that I have. They work best close to their resonant frequency, did you have a specific part in mind when you selected that frequency?
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #62 on: December 31, 2018, 04:23:19 pm »
I pulled up TX pin of CP2101 to it's internal 3.3V regulator and connected to 328p's RX through a diode. USB 5V is also connected to 328p through a Shottky diode. So the CP2101 is not powered through the arduino board.
I used unregulated 5V supply (which is more like 15V) to power the arduino board to use it's diode, fuse, and internal regulator.

1. It should be fine if you disable 3478A extensions (OX0 command). Most* GPIB lines are not actively pulled high in atmega. I assume 2 scenarios:
1) external USB controller is used, then atmega board does nothing.
2) hp3478ext can be used as a controller for other devices connected to HP3478A externally.
Although, in both cases GPIB signals should stay within allowed atmega pin voltage.
* I should check the code, and tell you how it works exactly. May be I haven't put enough thought in it...

2. If it's a buzzer, it doesn't require PWM. Initially I used piezo speaker (which requires a driver to sound properly). When I switched to the buzzer, I left pwm so the buzzer doesn't sound loud. I can add eerpom config to it so you can tweak it.

UPDATE:
IEEE 488 specifies maximum signal level as 5.25V. This should be fine for AVR.
All GPIB signal lines in hp3478ext are driven in open collector way. There's no strong pull up.
DAV and SRQ lines are weakly pulled up. Current hp3478ext firmware pulls DIO low when inactive. I'm going to remove this behaviour, because it would conflict with an external GPIB controller.
« Last Edit: January 01, 2019, 03:48:17 pm by kirill_ka »
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #63 on: January 01, 2019, 09:46:32 pm »
I got bored today and put together a schematic.
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #64 on: January 02, 2019, 07:19:53 pm »
I got bored today and put together a schematic.
It looks good. Thanks.
Please, consider the modifications I made.
J3: 2.54mm pitch connector for USB B socket (which can be mounted on the back of 3478A).
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #65 on: January 05, 2019, 05:04:28 pm »
Hi Kirill,

I have a couple of questions:

1. What's the benefit of powering the FT232 from USB only? It is held in reset while USB is not plugged anyway and I save three diodes.
2. What's D6 doing? Is it a heart beat indicator?

Thanks,
Miti
Fear does not stop death, it stops life.
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5795
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #66 on: January 05, 2019, 05:15:05 pm »
D6 could be an heart beat, activity monitor etc ..  it depends on the firmware coding, i dont think the ft232 would be held in reset,  i have FTDI usb adapters always connected to my pc,  until you open connection on com ports, they stand still and are waiting ?? and the coms on the "slave" interfaces are not held in reset too, they function normally.

I have FTDI usb-rs232, but hey have an added buffer bidirectional i/o chip inside.  We did had problems of isolation / data lines not pulled correctly and when i made some tests it affected the "slave" instruments circuits.

Not sure the ft232 would have some isolation ?? You may end with ground problems if you take some measurements with the meter and be connected to an computer.

Thats why i push some good isolation circuit for the usb-gpib interface ??  I know, i know  its not a 5$ dongle, but when you measure voltage potential between pc ground and interface grounds you may have some surprise(s).

I would have added an small dc-dc 5 volts converter isolator, they have a very small footprint, it would add more isolation, but not on the data signals.

Is the Official HP Agilent  usb-gpib   has known available schematics ??  since we have so many cloned devices from china.

Usb isolator:  9$ usd
https://www.ebay.com/itm/1500V-USB-to-USB-Isolator-Board-Protection-Isolation-ADUM4160-ADUM3160-Module/152382773951?hash=item237ab89abf:g:2d8AAOSwEzxYbQMG:rk:2:pf:0
« Last Edit: January 05, 2019, 05:31:54 pm by coromonadalix »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #67 on: January 05, 2019, 09:24:25 pm »
Hi Miti.
1. What's the benefit of powering the FT232 from USB only? It is held in reset while USB is not plugged anyway and I save three diodes.
The idea is to allow the whole thing to be USB powered.
a) for testing purposes
b) for external GPIB connection
c) to allow firmware updates while the 3478A is turned off
Anyway, you can leave pcb jumpers and leave those components unpopulated.
2. What's D6 doing? Is it a heart beat indicator?
Current firmware blinks it when it's in the GPIB listen state.
It can be repurposed for something... Heart beat may be a better use for it. So you know the firmware is alive.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #68 on: January 05, 2019, 09:32:18 pm »
Not sure the ft232 would have some isolation ?? You may end with ground problems if you take some measurements with the meter and be connected to an computer.
Digital part of HP3478A is already isolated from analogue part. I don't see why the USB isolation would be necessary.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #69 on: January 05, 2019, 10:00:51 pm »
... i dont think the ft232 would be held in reset,  i have FTDI usb adapters always connected to my pc,  until you open connection on com ports, they stand still and are waiting ?? and the coms on the "slave" interfaces are not held in reset too, they function normally.

Read section 6.2 in the attached datasheet.

I have FTDI usb-rs232, but hey have an added buffer bidirectional i/o chip inside.  We did had problems of isolation / data lines not pulled correctly and when i made some tests it affected the "slave" instruments circuits.

Not sure the ft232 would have some isolation ?? You may end with ground problems if you take some measurements with the meter and be connected to an computer.

Thats why i push some good isolation circuit for the usb-gpib interface ??  I know, i know  its not a 5$ dongle, but when you measure voltage potential between pc ground and interface grounds you may have some surprise(s).

I would have added an small dc-dc 5 volts converter isolator, they have a very small footprint, it would add more isolation, but not on the data signals.

Is the Official HP Agilent  usb-gpib   has known available schematics ??  since we have so many cloned devices from china.

Usb isolator:  9$ usd
https://www.ebay.com/itm/1500V-USB-to-USB-Isolator-Board-Protection-Isolation-ADUM4160-ADUM3160-Module/152382773951?hash=item237ab89abf:g:2d8AAOSwEzxYbQMG:rk:2:pf:0

Take a look at the block diagram in the service manual of HP3478A. The meter has two sections, the analog, measuring section and the digital, processing, displaying, communication section. These two sections are galvanically isolated. The two sections are present in all bench meters and they are called chassis common/floating common in this particular HP meter, inguard/outguard in Fluke meters. The data transfer between sections is done through transformers or optocouplers. Unless you do something (stupid, maybe dangerous and, in case of bench meters, useless) to isolate the chassis from the ground (earth), the meter chassis and the PC chassis that is connected to, should be at the same level, ground level. The measurements should not be affected at all.
Fear does not stop death, it stops life.
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5795
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #70 on: January 06, 2019, 03:17:39 am »
Sorry

I forgot the meter circuit ingard outgard circuit(s),  disregard my comments,  same for my 34401a   loll    :palm:
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #71 on: February 17, 2019, 02:56:46 am »
And here's the board. Populated, tested. Tomorrow I will take some pictures inside the meter.

Kirill,

Is the source code Arduino or C? Could you share it?

Edit: Added picture inside the meter.
Edit1: Never mind, brain fart, the code is on github.
« Last Edit: February 17, 2019, 02:56:18 pm by Miti »
Fear does not stop death, it stops life.
 
The following users thanked this post: Melt-O-Tronic

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #72 on: February 17, 2019, 05:58:20 pm »
Great news! Thanks. I see you found a proper socket with long pins. I used pin headers meant for Arduino shields. They didn't fit well.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #73 on: February 17, 2019, 07:02:32 pm »
This is how I installed USB type B socket for remote control and programming.
I used a cable like that:
https://www.ebay.com/itm/2pcs-90-Degree-Left-Right-Angled-USB-B-Type-Male-to-Female-Extension-Cable/262054119211

EDIT: it's a fail! The socket can't be used while GPIB cable is plugged. It should be moved further away from the GPIB connector.
« Last Edit: February 22, 2019, 09:53:39 pm by kirill_ka »
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #74 on: February 17, 2019, 09:15:38 pm »
Great news! Thanks. I see you found a proper socket with long pins. I used pin headers meant for Arduino shields. They didn't fit well.

Lool!

That's exactly what I used, the pins from an Arduino stackable header kit on the bottom and a socket on the top. Pretty hard to keep together and solder...and that kit is damn expensive.
The problem with the sockets with long pins is that they are square and pretty thick. One insertion would damage the socket on the meter. I couldn't find a socket with long, flat pins.

Edit: It doesn't work with external GPIB adapter in parallel with the extension for me. You may want to look at the code and see if all the lines are high impedance/inputs while waiting for buttons press/serial communication.
« Last Edit: February 17, 2019, 09:34:23 pm by Miti »
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #75 on: February 18, 2019, 09:41:44 am »
...and that kit is damn expensive.
These are pretty cheap:
https://www.aliexpress.com/item/FREE-SHIPPING-60PCS-2-54MM-6Pin-8Pin-10Pin-10MM-Long-Needle-Female-Pin-Header-Strip-Stackable/32309731519.html
However, I had to file pins a little. They are too wide for the socket used in my 3478a.

Edit: It doesn't work with external GPIB adapter in parallel with the extension for me. You may want to look at the code and see if all the lines are high impedance/inputs while waiting for buttons press/serial communication.

By design you should disable extension with serial command. But in theory it is possible to allow external GPIB master if the SRQ is not used.
Did you try the latest version (1.1)?
https://github.com/KIrill-ka/hp3478ext/releases
Ok, I need to find time to make a debugging session to see what I can do about this.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #76 on: February 22, 2019, 12:04:06 pm »
Kirill,

I tried OX0 and still didn't work. It must pull some lines up or down.
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #77 on: February 22, 2019, 09:46:45 pm »
Yes, the data lines were not released after transfer. Please, try the attached version.
I tested it with HP8561E acting as GPIB master. HP8561E was able to read data from the multimeter (although, not reliably, but it works the same regardless of the hp3478ext).
Also I was able to control the HP8561E using the extension board installed  inside of HP3478A without a problem.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #78 on: February 22, 2019, 11:59:06 pm »
Thanks Kirill!

It works well and I don't even have to send OX0.  :-+
I can make some suggestions, if you are open to improvements.

1. Timeout so it doesn't stay there forever waiting to select AUTOHOLD, etc.
2. Instrument GPIB address auto detection so we're not stuck with address 23 and we don't have to set it manually in the extension board. You can save it in EEPROM and validate it at power up.

I have some more but I can't remember them now.
« Last Edit: February 23, 2019, 12:00:46 am by Miti »
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #79 on: February 24, 2019, 10:21:24 pm »
I can make some suggestions, if you are open to improvements.
Yes, sure, any suggestions are welcome.
1. Timeout so it doesn't stay there forever waiting to select AUTOHOLD, etc.
Could you add some background, why do you think it would be useful?
If you mistakenly press the SRQ key, I think, it's faster to cycle through menu instead of waiting.

Quote
2. Instrument GPIB address auto detection so we're not stuck with address 23 and we don't have to set it manually in the extension board. You can save it in EEPROM and validate it at power up.

I guess this is meant for installations where you just don't want to use the USB interface at all.
It can be done, but it's a bit more complex than I like it...

By the way, I made it to exit the continuity tester by switching the measurement function.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #80 on: February 27, 2019, 11:24:50 pm »
Could you add some background, why do you think it would be useful?
If you mistakenly press the SRQ key, I think, it's faster to cycle through menu instead of waiting.

I always find it good practice to come back to a known state if a sequence of keys was not completed. For example there is AUTOHOLD and MINMAX in all functions, V DC, V AC, 2W Ohm, 4W Ohm, mA DC, mA AC. If I press SRQ once and the phone rings, when I come back and I see AUTOHOLD on the display, I don't remember if I was in V, A, etc. If it times out, I know where I am. Nothing wrong with the way it is now, just convenience. I know,  :blah:  :-DD

I guess this is meant for installations where you just don't want to use the USB interface at all.
It can be done, but it's a bit more complex than I like it...

I should be able to use it stand alone or USB with the instrument set to any address as long as I know what address was set to. The power up sequence that I think of is:
1. Try to read something from the default address (that is stored in the EEPROM), for example send an S and see if you receive back 0<CR><LF> or 1<CR><LF>
2. If you received the expected string, do nothing, the address is correct.
3. If you don't receive the expected string, scan all the GPIB addresses  until you get the expected string and store the correct address in the EEPROM.
In general, step 3 should be executed only if the instrument GPIB has changed or it is the first install.

By the way, I made it to exit the continuity tester by switching the measurement function.

Thanks! Did you upload the hex somewhere?
Fear does not stop death, it stops life.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #81 on: March 04, 2019, 12:12:33 am »
Kirill,

In CONT mode, if I don't probe anything for awhile, probably about 10 minutes, the display goes blank. That's a feature the instrument if the display isn't updated for about 10 minutes. Please look at "D3text" command. Probably you don't update the display if nothing changes.
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #82 on: March 05, 2019, 04:26:01 pm »
In CONT mode, if I don't probe anything for awhile, probably about 10 minutes, the display goes blank. That's a feature the instrument if the display isn't updated for about 10 minutes. Please look at "D3text" command. Probably you don't update the display if nothing changes.

Yes, I think that's not bad. It goes back as soon as you short the leads. But I think of adding menu timeout as you suggested because of this "screensaver" thing.
The blank display while expecting menu selection doesn't seem to be good.

Did you upload the hex somewhere?
I'm in the process of adding eeprom parameters for buzzer volume and frequency (0 will disable PWM). After that I'm going to release a new version.
By the way, I've got the boards. It was a joy to solder, thanks! PC speaker sounds quite well.
Looks like it's a good idea to add a gate pull-down resistor for the buzzer driver mosfet. It gets quite warm then atmega pin is high-Z.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #83 on: March 05, 2019, 11:46:36 pm »
Looks like it's a good idea to add a gate pull-down resistor for the buzzer driver mosfet. It gets quite warm then atmega pin is high-Z.

I didn't expect that output to be hi-Z but I guess that's how you turn the buzzer on and off, from DDR register. Can you add one line of code to make PB2 digital output once you turn off the buzzer and then PWM output again when you turn it on?
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #84 on: March 06, 2019, 11:33:04 am »
Looks like it's a good idea to add a gate pull-down resistor for the buzzer driver mosfet. It gets quite warm then atmega pin is high-Z.
I didn't expect that output to be hi-Z but I guess that's how you turn the buzzer on and off, from DDR register. Can you add one line of code to make PB2 digital output once you turn off the buzzer and then PWM output again when you turn it on?
Yes, I already did so. But it's still in hi-Z when the firmware is not running (firmware flashing, bootloader, etc.).
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #85 on: March 06, 2019, 07:25:53 pm »
Ok, I added one 100k resistor to GND and a 5 pins USB header instead of 4 pins. The majority of panel mount  USB cables to pin header have 5 pin header. Not sure when/ if I will order new Pcbs.
Fear does not stop death, it stops life.
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5795
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #86 on: March 06, 2019, 09:22:19 pm »
Should be an easy patch to do on the actual pcb's you have
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #87 on: March 07, 2019, 09:44:31 am »
Should be an easy patch to do on the actual pcb's you have
There's a GND via right next to the gate. I've put a 0603 resistor and it doesn't even look like a bodge :)
One more thing. I had to trim PCB edge so it doesn't collide with mains filter capacitors.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #88 on: March 07, 2019, 05:40:04 pm »
Can you post a picture? In my meters there's enough room to the caps but there are at least two different 3478A models.
How much did you have to trim it? My intention was to keep it all above the chassis section and don't go too close to the floating section. If it gets too close to the caps in the floating section, I don't like it.
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #89 on: March 07, 2019, 09:14:52 pm »
Just published a new release on the github.
The default eeprom is configured for a speaker. I added a separate eep for DC-driven buzzers.
New commands:
 Obuzz_period<p> where <p> is 0 to 65535  configures PWM period for the buzzer. 0 means DC.
 Obuzz_duty<d> where <d> is 0 to 127. 0 completely disables the buzzer. 127 is for 50% duty cycle.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #90 on: March 07, 2019, 09:39:09 pm »
The capacitor is not original, but I think it would be the same with the original caps.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #91 on: March 08, 2019, 12:45:47 am »
I see, your pins are short. My pins are long enough to raise the board above the capacitors.
Fear does not stop death, it stops life.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #92 on: March 08, 2019, 02:33:16 am »
Kirill,

I still see the old files on Github, the .eep and .hex are dated Aug 2018. Not that I want to update now, I'm very happy with this version. I will probably play with it once I install the USB cable that I ordered from Evilbay.
So happy that HP3478A became my go to meter for every day measurements:
- Buzzer response is very fast, at par with Fluke.
- Autohold is very fast and stable with 3 or 4 digits and reasonably fast with 5 digits.
- Min/Max works well.

I have two more suggestion for improvement:
1. Latch buzzer - minimum buzzer time. Fluke does that.
2. EEPROM autoinit - Initialize the EEPROM after a new part is programmed or after an upgrade that adds new EEPROM addresses/content. This may be harder to implement but I don't think you use many EEPROM variables.
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #93 on: March 08, 2019, 10:49:16 pm »
Kirill,

I still see the old files on Github, the .eep and .hex are dated Aug 2018. Not that I want to update now, I'm very happy with this version. I will probably play with it once I install the USB cable that I ordered from Evilbay.
I guess you didn't check the github project releases.
Now I've updated link in html to refer to the latest binaries (r1.2).
So happy that HP3478A became my go to meter for every day measurements:
- Buzzer response is very fast, at par with Fluke.
- Autohold is very fast and stable with 3 or 4 digits and reasonably fast with 5 digits.
- Min/Max works well.
I'm happy to hear that. I don't have another meter with an autohold function to compare.
I have two more suggestion for improvement:
1. Latch buzzer - minimum buzzer time. Fluke does that.
Ok, I'll add this. The reading rate in CONT mode is 78 rdg/sec (may be different with 60 Hz mains). So it's latched for 1/78 sec. I think of adding a parameter (N) so the buzzer will stay on for N/78 sec.
2. EEPROM autoinit - Initialize the EEPROM after a new part is programmed or after an upgrade that adds new EEPROM addresses/content. This may be harder to implement but I don't think you use many EEPROM variables.
I don't quite understand what do you want. The firmware uses the default parameter value when it sees FF's instead of something valid. This should work during upgrade as soon as parameters are not rearranged or interpreted in a different way. Recently I've added a script to configure EEPROM image files (.eep). The script may not be so user-friendly, because it requires TCL and avr toolchain installation, but it allows me to include a set of pre-configured eep's in the binary release.
 

Offline agaelema

  • Contributor
  • Posts: 30
  • Country: br
Re: project: extending HP3478A functionality
« Reply #94 on: March 08, 2019, 11:12:13 pm »
This upgrade of HP3478 looks awesome :o (I need to do this ). A video showing the new functions would very interesting  :-+.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #95 on: March 09, 2019, 12:21:31 am »
The firmware uses the default parameter value when it sees FF's instead of something valid. This should work during upgrade as soon as parameters are not rearranged or interpreted in a different way.

Got it. I thought that, since you include the EEPROM image, it is mandatory to program it, otherwise it would't work properly. Since Arduino bootloader doesn't program EEPROM, that would have to be done using AVRISP.
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #96 on: March 09, 2019, 12:38:04 am »
Since Arduino bootloader doesn't program EEPROM...
Hmm. At least some of them do. I need to check if it works for me.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #97 on: March 09, 2019, 02:41:29 am »
Kirill,

The buzzer doesn't work for me with Ver 1.2 and I tried both EEPROMs, I'm back to Ver 1.1. I use internal driven (DC)  buzzer. I sent Obuzz_period0 and Obuzz_duty127 even though duty shouldn't matter when period is 0... or should it?

Edit: I added a screen shot of my Fluke179 buzzer timing. The shortest buzz I could get is about 85ms.
« Last Edit: March 09, 2019, 02:58:09 am by Miti »
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #98 on: March 09, 2019, 11:05:26 am »
Kirill,

The buzzer doesn't work for me with Ver 1.2 and I tried both EEPROMs, I'm back to Ver 1.1. I use internal driven (DC)  buzzer.
Thank you for testing it.
I just uploaded r1.2.1, it hopefully fixes the problem.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #99 on: March 09, 2019, 01:01:12 pm »
I just uploaded r1.2.1, it hopefully fixes the problem.

Still doesn't work for me. Beside that, it didn't even respond to SRQ key until I programmed the EEPROM. This is what I meant by "EEPROM Autoinit", after every fresh programming or upgrade, make sure it starts with a default EEPROM that works. This way, once the bootloader is programmed and the fuses configured, we don't need to use AVRISP anymore, everything is done through USB.
Fear does not stop death, it stops life.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #100 on: March 09, 2019, 01:22:30 pm »
This upgrade of HP3478 looks awesome :o (I need to do this ). A video showing the new functions would very interesting  :-+.

https://drive.google.com/open?id=179wN6CET8ZQY1wQDYIMmN7-N4oslAw8C   :-+
Fear does not stop death, it stops life.
 
The following users thanked this post: agaelema

Offline agaelema

  • Contributor
  • Posts: 30
  • Country: br
Re: project: extending HP3478A functionality
« Reply #101 on: March 09, 2019, 02:34:06 pm »
The project is using the internal EEPROM of 328P, correct?

I searched by the main.c but I not found, just the .hex. Anyway, if the initialization of the internal EEPROM is a problem the AVR "EEMEN" allocate the variable in the EEPROM section.

Code: [Select]
"unsigned char EEMEM uc_valor = 0x33;"
http://www.nongnu.org/avr-libc/user-manual/group__avr__eeprom.html#ga79a42ec6c6c8bbbe6e34ed57a52aac59
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #102 on: March 09, 2019, 06:45:23 pm »
Still doesn't work for me.
It should  :-// Maybe you didn't add W to save parameters in the EEPROM?
I tried it with DC buzzer and it works for me. The only thing, I tested it with the buzzer beeping at start (I was too much hassle to put it inside 3478A and test it there).  Anyway, I re-uploaded r1.2.1, because that debugging beep sneaked in. There were no major changes in 1.2 release so maybe you don't want to waste your time on this...
Beside that, it didn't even respond to SRQ key until I programmed the EEPROM.
Ok, I'll keep an eye on EEPROM addresses used for variables. So they don't change with the updates unless required.
This is what I meant by "EEPROM Autoinit", after every fresh programming or upgrade, make sure it starts with a default EEPROM that works. This way, once the bootloader is programmed and the fuses configured, we don't need to use AVRISP anymore, everything is done through USB.
I did program EEPROM with the bootloader.
The command is
Code: [Select]
avrdude -b 57600 -c arduino -p m328p -P /dev/ttyUSB0 -U eeprom:w:hp3478-ext-dc-buzzer.eepAs I remember, there's a fuse to erase EEPROM before programming the flash. But it shouldn't affect bootloader in any way. I can put some version code in the EEPROM to force initialization if an incompatible version is detected. But I don't think it's needed for now.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #103 on: March 09, 2019, 10:31:32 pm »
All good now.
Thanks Kirill!  :-+
Fear does not stop death, it stops life.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #104 on: March 21, 2019, 02:41:59 am »
Kirill,

How hard would it be to redefine the pins to your project to match the one here?

https://www.eevblog.com/forum/projects/ar488-arduino-based-gpib-adapter/

How nice would be to be able to simply program the board through USB to have functionality extension or Prologix USB-GPIB interface, as you wish?
I know that your project has some USB-GPIB functionality but it is not compatible with Prologix.
I tried the other way around, to redefine AR488 pins for my board but it doesn't work. The ports are hard coded in AR488.
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #105 on: March 21, 2019, 02:48:20 pm »
Miti, the buzzer pin (PB2) is a problem. There's no alternative mapping for the OC1B.
I more like the idea to implement the Prologix command set in hp3478ext. But I need a bit more motivation to do so.
Now I'm slowly advancing with multi tone continuity mode, which may be very useful for reverse engineering and fault finding.
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: project: extending HP3478A functionality
« Reply #106 on: March 21, 2019, 05:49:41 pm »
Multi-tone continuity as in changing pitch relative to resistance? I like the sound of that (pun somewhat intended).
TEA is the way. | TEA Time channel
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #107 on: March 21, 2019, 07:57:53 pm »
The idea is great but the buzzer response is not linear so you'll have big variations in the intensity. But you can control the volume as well so it should be doable.
Using an internally driven buzzer woud solve the PWM output restriction.
Adding the Prologix code to your project would be nice, not sure if there's enough memory though and would take a lot of effort.
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #108 on: March 21, 2019, 09:08:15 pm »
Multi-tone continuity as in changing pitch relative to resistance? I like the sound of that (pun somewhat intended).
Yes. For now I have a bunch of parameters: thresholds, pwm periods and pulse lengths. After I gather some use case scenarios, I'll try to figure out a more user-friendly configuration.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #109 on: March 21, 2019, 09:18:17 pm »
The idea is great but the buzzer response is not linear so you'll have big variations in the intensity. But you can control the volume as well so it should be doable.
Yes, both pitch and volume are configurable.
Using an internally driven buzzer woud solve the PWM output restriction.
Then there would be no buzzer control  ???
I don't like the idea of supporting multiple code forks.
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5795
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #110 on: March 22, 2019, 10:28:20 am »
Dont want to be rude or start a fight 

But it seems everyone want some this or that,   and Kirill seems to be under some pressure ??

Keep this project simple,   if people are not happy    take a pause ...  take some distance ... slowly you're been pushed away from your original idea,  i consider myself lucky to have shown this project to a friend, he bought a 3478a  and he's happy with it, want to find a second one ...

The added bonus is a gift from a hard work.


The buzzer idea may have been a bad one, and having multiple code fork, will mess up everything,  unless you take no reponsability and put / add some warnings  but it will be a mess in the end

Every one can understand code constraints / code size / and hardware limits too.


Not on eevblog,  but i saw some free designs and codes dissapearing lately because of what can happen when people dont understand  ... push things to a limit.

 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #111 on: March 22, 2019, 11:23:55 am »
Coromonadalix,

Thanks for policing my suggestions! Really, that's all they are, suggestions for improvement ... which Kirill asked for in the first page, if you read that page. I'm not pushing him in any direction. He, s a big boy...I guess. These are only suggestions to make an excellent project even better.

Kirill

Do you feel pushed?
« Last Edit: March 22, 2019, 11:27:35 am by Miti »
Fear does not stop death, it stops life.
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5795
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #112 on: March 22, 2019, 12:43:25 pm »
Im just saying, all initials idea are fine :)   sometimes we dont know when to stop asking for more   loll

Were using a meter who's never meant to have thoses functions added / modded etc etc ..  when it was designed

Even myself i would love to add more and more  loll 

I had two meters who had a variable buzzer tone following the read value (s),  boy it was practical,  i could hear the glitches ... 

But we may face  hardware (s) and or softwares constraints very soon ???   only Krill knows       and surely he will know when to stop ??


Okay i'll stop  loll  i'm kinda repeating myself too    loll
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #113 on: March 22, 2019, 10:09:53 pm »
Do you feel pushed?
I don't  :) At my main job I don't have a direct connection to the users of our product. Even worse, there may be years until my work meets any user at all. So having some feedback is a nice experience to me.
Thank you!
... will know when to stop ??
Who knows?  ;)  Yes, the idea is to have fun of working on the project. And I agree, this is kinda fragile. Thanks for reminding, I try to keep things reasonable.
If you know VIM editor, someday it's author set a limit so all the distribution should fit one 1.44" floppy. That limit was broken, I don't think VIM project had gotten worse after that.
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: project: extending HP3478A functionality
« Reply #114 on: March 22, 2019, 11:32:24 pm »
It's all good! :phew:
TEA is the way. | TEA Time channel
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #115 on: April 09, 2019, 01:46:11 pm »
I've added some features & customisation parameters to the continuity mode a couple of weeks ago. It seems to work fine, but I didn't play with it a lot. So I decided to throw in a new release :)
https://github.com/KIrill-ka/hp3478ext/releases/tag/r1.3

Here's a short description of the parameters:

Code: [Select]
SETTING COMMAND            DESCRIPTION
Obeep_period<period>       beep tone used in autohold
Obeep_duty<duty>           beep volume used in autohold
Ocont_beep_ta<R-threshold> lower buzzer threshold for continuity mode
Ocont_beep_tb<R-threshold> upper buzzer threshold for continuity mode
Ocont_range<R-range>       Ohms range used in continuity mode
Ocont_thr<R-threshold>     threshold for continuity mode to start displaying the resistance value
Ocont_latch<latch-cycles>  number of measurement cycles to continue buzzing after the measured resistance gone above the cont_thr
Ocont_beep_pa<period>      beep tone for cont_beep_ta point
Ocont_beep_da<period>      beep volume for cont_beep_ta point
Ocont_beep_pb<period>      beep tone for cont_beep_tb point
Ocont_beep_db<period>      beep volume for cont_beep_tb point


VALUE          RANGE     DESCRIPTION
<period>       0-65534   frequency = 16MHz/2/<period>
                         0 means the buzzer is DC-driven
<duty>         0-127     127 means 50% duty cycle
                         0 disables the buzzer
                         for me working values are 5 to 20
<R-threshold>  0-3000    corresponds to the value displayed on the screen in 3-digit mode
<R-range>      0-6       resitance range number-1
                         refer to the HP3478A programming manual
                         the default is 1 = 300 Ohm range
<latch-cycles> 0-100     the minimal number of measurement cycles the buzzing continues
                         one cycle is ~1/75 of second
                         0 means no latch


OVER       CONT         CONT      CONT         
RANGE      THR          TB        TA           0
 |          |            |         |           |
 V          V            V         V           V
 +----------+------------+---------+-----------+
     \             \          \         \
      \             \          \         beeps using beep_da & beep_pa
       \             \          \
        \             \          beeps using values linearly interpolated from beep_pb..beep_pa & beep_db..beep_da
         \             \
          \             beeps using beep_db & beep_pb
           \
            displays "> cont_thr" (the actual effective value of cont_thr is used)
« Last Edit: April 09, 2019, 08:55:10 pm by kirill_ka »
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: project: extending HP3478A functionality
« Reply #116 on: April 09, 2019, 04:48:25 pm »
In the last part, wouldn't the message for values over CONT THR be "> cont_thr" (greater than cont_thr) instead of "< cont_thr"?
TEA is the way. | TEA Time channel
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #117 on: April 09, 2019, 08:56:13 pm »
Ah, yes, thanks. Corrected.
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: project: extending HP3478A functionality
« Reply #118 on: April 09, 2019, 11:49:55 pm »
Sure thing. I haven't yet had a chance to add this to my 3478A, but still following along.
TEA is the way. | TEA Time channel
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #119 on: July 21, 2019, 06:11:11 pm »
great project!, it is possible/viable  add dB measurements, frequency, and remember  the prefered digits  for example 4 1/2? thats will be great!, by the way  there is any source to buy for the project pcbs already populated like drop in solution? @Miti?

best regards.


Pio
« Last Edit: July 30, 2019, 02:52:18 am by yo0 »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #120 on: July 22, 2019, 11:13:38 am »
great project!
Thanks!
it is possible/viable  add db measurements,
It should be possible, but what do you mean by the dB?
Is it relative mode in dB? dBuV?  dBm?
frecuency
No. HP3478 can't measure frequency.
, and remember  the prefered digits  for example 4 1/2?
Yes, I was thinking of adding some kind of save state/recall state functions. That would be a lot more complex than just saving one parameter, but it would be more logical and universal solution.
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #121 on: July 22, 2019, 12:30:58 pm »
Thanks!, i mean dBm (some fluke dmms are refereced to 600Ω) dont know if hardware is adequated  :-//


Best regards


Pio
« Last Edit: July 22, 2019, 10:56:57 pm by yo0 »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #122 on: August 12, 2019, 03:39:45 pm »
Thanks!, i mean dBm (some fluke dmms are refereced to 600Ω) dont know if hardware is adequated  :-//
Sorry for late reply, I didn't notice the post was edited. I don't know if any DMM  would provide a matching low impedance input.
My Amprobe AM-140A allows for multiple impedance references. All of them require an external termination.
I hope you understand that it would be just a mathematical function, not hardware related.
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #123 on: August 12, 2019, 06:16:42 pm »
Thanks!, i mean dBm (some fluke dmms are refereced to 600Ω) dont know if hardware is adequated  :-//
Sorry for late reply, I didn't notice the post was edited. I don't know if any DMM  would provide a matching low impedance input.
My Amprobe AM-140A allows for multiple impedance references. All of them require an external termination.
I hope you understand that it would be just a mathematical function, not hardware related.

thank you, now i understand. i was believing was hardware related as i read in fluke 8060a manual.

just for curiosity what are/mean  the characters in diode test?  >3 Volts perhaps?

best regards.


Pio
« Last Edit: August 12, 2019, 07:01:18 pm by yo0 »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #124 on: August 12, 2019, 08:39:01 pm »
thank you, now i understand. i was believing was hardware related as i read in fluke 8060a manual.
The fluke 8060a manual says that the base specifications for dB modes are the same as DC Volts/AC Volts.
So I assume it's just a math function.
What are you going to use the dB measurements for?

just for curiosity what are/mean  the characters in diode test?  >3 Volts perhaps?
Yes. 3kOhm range used for the diode test. It gives us precise 1mA test current, ~6V open circuit, ~3V measured diode drop at max. >3V is a bit of a lie, because it will measure slightly above 3V.
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #125 on: August 12, 2019, 10:13:38 pm »
thank you, now i understand. i was believing was hardware related as i read in fluke 8060a manual.
The fluke 8060a manual says that the base specifications for dB modes are the same as DC Volts/AC Volts.
So I assume it's just a math function.
What are you going to use the dB measurements for?

thank you! audio level adjustments in tape recorders mainly


best regards.

Pio
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5795
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #126 on: August 13, 2019, 12:22:38 am »
@yoO

You can do your math

0db is 775 mili volts  etc ... you have charts floating on the web ??
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #127 on: August 13, 2019, 12:37:07 am »
Thank you, Yes I know, just was a suggestion of features. :)
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #128 on: August 20, 2019, 12:37:05 am »
great project!, it is possible/viable  add dB measurements, frequency, and remember  the prefered digits  for example 4 1/2? thats will be great!, by the way  there is any source to buy for the project pcbs already populated like drop in solution? @Miti?

best regards.
Pio

Sorry, I missed your question. No, I don't have fully populated boards, only bare boards.
Fear does not stop death, it stops life.
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #129 on: August 20, 2019, 02:49:11 am »
great project!, it is possible/viable  add dB measurements, frequency, and remember  the prefered digits  for example 4 1/2? thats will be great!, by the way  there is any source to buy for the project pcbs already populated like drop in solution? @Miti?

best regards.
Pio

Sorry, I missed your question. No, I don't have fully populated boards, only bare boards.

thank you very much, do you think can be a business oportunity for you to sell it like a finished product?  do you think there is enough demand? i think still are thousands 3478a working out there.

if not, do yo have the needed files and the bom to replicate the pcb for sale or share?, i mean for my personal use.

best regards.

Pio
« Last Edit: August 20, 2019, 03:10:06 am by yo0 »
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #130 on: August 20, 2019, 11:38:16 pm »
thank you very much, do you think can be a business oportunity for you to sell it like a finished product?  do you think there is enough demand? i think still are thousands 3478a working out there.

First of all this is Kirill's project so he should be the one to commercialise it, if he decides to. He must have put much more hours in the SW than I've put in the PCB.
Second, no, I don't see a significant commercial value in this project, designed for a dying multimeter. It is very useful, nice exercise for hobbyists though.
I'm sorry Kirill, I hope you're not offended by what I said.  ;D

Edit: I can sell you a board or two if you want. Contact me on the PM if you want.
« Last Edit: August 20, 2019, 11:39:55 pm by Miti »
Fear does not stop death, it stops life.
 
The following users thanked this post: yo0

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #131 on: August 21, 2019, 12:13:34 am »
thank you very much, do you think can be a business oportunity for you to sell it like a finished product?  do you think there is enough demand? i think still are thousands 3478a working out there.

First of all this is Kirill's project so he should be the one to commercialise it, if he decides to. He must have put much more hours in the SW than I've put in the PCB.
Second, no, I don't see a significant commercial value in this project, designed for a dying multimeter. It is very useful, nice exercise for hobbyists though.
I'm sorry Kirill, I hope you're not offended by what I said.  ;D

Edit: I can sell you a board or two if you want. Contact me on the PM if you want.

Thank for your valuable response, you're right, my apologies.

Best regards.

Pio.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #132 on: August 21, 2019, 12:25:41 pm »
Why apologise? I agree with Miti. I don't think enough items would be sold to justify the effort. Pio, just get the board and build it!
All the parts are easily available and cheap. In fact, I was able to find everything at home. By the way, I highly recommend PC-speaker style buzzer,
as I find variable tone continuity test to be very useful.
 
The following users thanked this post: yo0

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #133 on: August 21, 2019, 12:54:27 pm »
Release 1.4 is ready.
* 5 presets can be saved and loaded. Preset 0 used after power-on (power-on SRQ should be enabled).
* Added menu timeout.
* Fixed key handling in MINMAX mode.
* Added error reporting. If something wrong happened, the error code is displayed.

There's a hidden feature. If an "ext" function used within 5 seconds before entering the menu, that function would be saved in preset.

I didn't have time to test it much as usual (this is the major advantage of non-commercial project by the way  :P).
 
The following users thanked this post: yo0

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #134 on: September 11, 2019, 04:02:37 pm »
Hi Kirill,

What compiler do you use?  Can it be compiled with AVR Studo? Can you post the hex and eep as you did before?

Thanks!
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #135 on: September 11, 2019, 07:17:11 pm »
Hi Kirill,

What compiler do you use?  Can it be compiled with AVR Studo? Can you post the hex and eep as you did before?

Thanks!

I thought I did upload the binaries  ???
Now it's there.
https://github.com/KIrill-ka/hp3478ext/releases/download/r1.4/hp3478ext-1.4.zip

The compiler is avr-gcc. Windows package is called winavr. And yes,  it comes with AVR Studio.
 
The following users thanked this post: yo0

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #136 on: September 12, 2019, 05:21:39 pm »
Kirill,

Most of the externally driven buzzers are single tone, usually the sound intensity decreases significantly outside of the resonant frequency they were designed for. Did you experiment with multiple buzzers, do you have a part number to recommend?
« Last Edit: September 12, 2019, 05:37:17 pm by Miti »
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #137 on: September 13, 2019, 07:36:31 pm »
Kirill,

Most of the externally driven buzzers are single tone, usually the sound intensity decreases significantly outside of the resonant frequency they were designed for. Did you experiment with multiple buzzers, do you have a part number to recommend?

I salvaged it from a PC motherboard. The part number is AC-1205G.
The datasheet shows a pronounced resonance @ 2kHz. In practice that AC-1205G sounds ok and I don't feel like it needs a freq response compensation.
https://www.eevblog.com/forum/projects/project-extending-hp3478a-functionality/msg2251509/#msg2251509
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #138 on: September 13, 2019, 08:27:40 pm »
Here's the settings I use for now:
Code: [Select]
<GPIB> Ocont_ran
1    # 300 Ohm range
<GPIB> Ocont_beep_ta
5    # 0.5 Ohm resistance for beep_pa & beep_da
<GPIB> Ocont_beep_pa
2000  # 8kHz
<GPIB> Ocont_beep_pb
40000 # 400Hz
<GPIB> Ocont_beep_da
15    # 15/256*100% = ~6% duty cycle
<GPIB> Ocont_beep_db
15
<GPIB> Ocont_beep_tb
1000   # 100 Ohm resistance for beep_pb & beep_db
<GPIB> Ocont_thr
1000   # 100 Ohm threshold where it starts buzzing
<GPIB>
I just noticed a bug in handling cont_thr parameter. There's an integer overflow so it triggers at lower value than specified. I'll publish a fix for it soon.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #139 on: September 20, 2019, 11:46:38 am »
I just noticed a bug in handling cont_thr parameter. There's an integer overflow so it triggers at lower value than specified. I'll publish a fix for it soon.
https://github.com/KIrill-ka/hp3478ext/releases/tag/r1.4.1

I spent some time trying to trace out a rare glitch where wrong data was received from GPIB.
It appeared due to the extension board had a bad contact with the socket. So I soldered contacts from 2mm pitch pin header on the top of the contacts I used previously. Note that I have an older model HP3478A which has a special socket and requires narrow contacts.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #140 on: November 19, 2019, 11:43:21 am »
Hi Kirill,

Any chance you can include Prologix commands into your project?

[url=https://www.eevblog.com/forum/projects/ar488-arduino-based-gpib-adapter/]https://www.eevblog.com/forum/projects/ar488-arduino-based-gpib-adapter/[/url]

Into your project? I doubt it would fit but I thought I’d ask anyway.


Edit: I remembered this has been discussed.   :palm:
« Last Edit: November 20, 2019, 11:22:25 am by Miti »
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #141 on: November 24, 2019, 04:37:01 pm »
Hi Miti,

I think I will do. It should be quite easy, but I need to find some time.
Do you mean some particular application? I want to start with some minimal implementation.

 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #142 on: November 25, 2019, 11:45:31 am »
No, I don’t have a special application. The other day I turned on one of my two meters just to be greeted with “Uncalibrated”, after I just replaced the batteries in the spring. I measured the battery and it was at 22mV. I measured the good one and it was 3.6V so basically right where I left it in March. I went to buy a new battery and out of four that I measured, one was dead, one was at 3.4V, so it was discharging internally, the other two were around 3.67V. You can’t trust anything anymore, bad quality everywhere.
Luckily, I saved the calibration memory before replacing the batteries so I thought, how nice would be just to connect the USB cable and upload the constants back using lmester’s free control program, since the extension is there anyway and it has GPIB capabilities.
I’m just trying to be greedy at your expense.  :-[
BTW, I tried your new version with variable tone. I assembled two new boards for that, I didn’t want to jinx the existing ones by replacing the internally driven buzzers, just in case I didn’t like it.
It’s really good, not too much variation in the buzzer level as I expected. However, I have a suggestion, you know by now that I always have one to the desperation of another member  here ;).
Most of the time I use the continuity function to check for, well, continuity and that high pitch is bothersome. Can you separate this function in two? Make one “CONT” with a fixed frequency like before, and the other one “SHORT DET” or “CONT VAR” for short detection.
One more thing, the beep in autohold is a bit too long for me and compared to Fluke.
I like the latch though.

Again, great project, thanks for the effort Kirill. This is my go to meter for almost everything after I added your extension and my backlight.
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #143 on: November 26, 2019, 09:54:55 am »
No, I don’t have a special application. The other day I turned on one of my two meters just to be greeted with “Uncalibrated”, after I just replaced the batteries in the spring. I measured the battery and it was at 22mV. I measured the good one and it was 3.6V so basically right where I left it in March. I went to buy a new battery and out of four that I measured, one was dead, one was at 3.4V, so it was discharging internally, the other two were around 3.67V. You can’t trust anything anymore, bad quality everywhere.
I still haven't replaced the battery. My 3478 dated back something like 1984 and the battery is from 1994. Calibration RAM data is kept in a safe place though.
Quote
Luckily, I saved the calibration memory before replacing the batteries so I thought, how nice would be just to connect the USB cable and upload the constants back using lmester’s free control program, since the extension is there anyway and it has GPIB capabilities.
It can be done with 3478ext in current state. I write my "remote controlling" scripts in Tcl. However, I agree it's much easier to do with a dedicated program.
I’m just trying to be greedy at your expense.  :-[
Another approach would be to send the 3478ext to lmester to encourage him to support the command set of 3478ext  ;D

BTW, I tried your new version with variable tone. I assembled two new boards for that, I didn’t want to jinx the existing ones by replacing the internally driven buzzers, just in case I didn’t like it.
It’s really good, not too much variation in the buzzer level as I expected. However, I have a suggestion, you know by now that I always have one to the desperation of another member  here ;).
Most of the time I use the continuity function to check for, well, continuity and that high pitch is bothersome. Can you separate this function in two? Make one “CONT” with a fixed frequency like before, and the other one “SHORT DET” or “CONT VAR” for short detection.
For now you can save 2 presets with different settings for the CONT mode. Is it ok for you?
One more thing, the beep in autohold is a bit too long for me and compared to Fluke.
I like the latch though.
It's configurable. Try "Ocont_latch" to see the current setting. Ok, got it. I didn't care to tweak it. What's you suggestion?

Thank you for the feedback :)
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #144 on: November 27, 2019, 02:42:22 am »
Another approach would be to send the 3478ext to lmester to encourage him to support the command set of 3478ext  ;D

I guess I could do that, lmester was very open with supporting Galvant interface. I have options though so it is not a priority. Ver. 6 of Galvant (released by steve1515) works well with lmester program, I have an Agilent PCI GPIB and I hope I'll get a NI USBGPIB soon, so no worries.

For now you can save 2 presets with different settings for the CONT mode. Is it ok for you?

I forgot about the presets, I haven't tested them yet. More button presses but I guess that should work, let me give it a try. I should save the default that loads at power up with constant tone and another one with variable tone.

It's configurable. Try "Ocont_latch" to see the current setting. Ok, got it. I didn't care to tweak it. What's you suggestion?

Fluke only beeps for about 25-30ms. I guess somewhere in the range of 25-50ms should be ok.

One more feature of Fluke meters praised in one of the threads on this forum is beep on diodes. I've tested my fluke 179 and it beeps about the same 25-30ms between  100-840mV of voltage drop. Below 100mV is continuous beep indicating a short, above 840mV is nothing.
Fear does not stop death, it stops life.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #145 on: November 29, 2019, 12:46:11 am »
I was trying to save two presets, one with fixed pitch for continuity test, and one with variable pitch for short detection. It looks like they are using the same EEPROM addresses as the settings overwrite each other.
Fear does not stop death, it stops life.
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #146 on: February 01, 2020, 05:02:55 am »
i have a new arduino nano v3 clone collecting dust, it can be used for this project in a basic implementation form instead the pro mini + UART to USB adapter combo? i have a gpib connector too, my idea is using the arduino externally in a suited enclosure for it and hopefully a funtional buzzer :D, i think this way i will lost the conectivity (powered via usb) but i am more interested in the new dmm features.  i am new in arduino stuff. any help or advice will be really appreciated.

best regards.


Pio
« Last Edit: February 01, 2020, 05:39:25 am by yo0 »
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #147 on: February 01, 2020, 12:33:25 pm »
I guess that would work but, unless you install two GPIB connectors, in and out, you loose the GPIB interface. The good thing about the internal implementation is that it is completely transparent to the GPIB communication.
Fear does not stop death, it stops life.
 
The following users thanked this post: yo0, Mp3

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #148 on: February 01, 2020, 08:02:51 pm »
I guess that would work but, unless you install two GPIB connectors, in and out, you loose the GPIB interface. The good thing about the internal implementation is that it is completely transparent to the GPIB communication.

thank you, you are right about that issue, i have really not use of the gpib communication. i was thinking the nano can be powered via some of its pins leaving the usb port free, maybe the unused usb port can be used for comms, i really don´t know.  :-//

anyway this exercise hopefully can be another implementation option for the users less skilled like me.


best regards

Pio
« Last Edit: February 16, 2020, 01:44:14 am by yo0 »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #149 on: March 12, 2020, 10:17:55 pm »
I was trying to save two presets, one with fixed pitch for continuity test, and one with variable pitch for short detection. It looks like they are using the same EEPROM addresses as the settings overwrite each other.

Hi Miti, it seems that I was not getting notifications for some reason. So I missed this. I'll take a look at this later.

Finally I got around to adding support for Prologix commands.
At least it works with the https://www.eevblog.com/forum/testgear/free-hp3478a-multimeter-control-program/

Link to the new release at github:
https://github.com/KIrill-ka/hp3478ext/releases/tag/r2.0
 
The following users thanked this post: djadeski

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #150 on: March 13, 2020, 08:38:23 am »
i have a new arduino nano v3 clone collecting dust, it can be used for this project in a basic implementation form instead the pro mini + UART to USB adapter combo?
Why not? In fact, it's better than "pro mini" variant, because you don't need a separate UART-USB converter. Just be sure that MCU is mega328 @ 16MHz
i have a gpib connector too, my idea is using the arduino externally in a suited enclosure for it and hopefully a funtional buzzer :D
The DC buzzer can be driven directly by the atmega. I'd just add a current limiting resistor. The piezo speaker thing requires a driver (or, possibly, some other schematic to limit the current).
, i think this way i will lost the conectivity (powered via usb)
What do you mean by that?
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #151 on: March 13, 2020, 10:31:02 am »
Kirill,

I totally missed the Prologix update. I will give it a try this weekend.
Fear does not stop death, it stops life.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #152 on: March 14, 2020, 05:31:11 pm »
I tested v2.0 with Prologix support, it works well, I didn't see any issue with Luke's free control program. The differences from Girlando's settings are the baud rate (115200) and the ++ver response (GPIB). Other than that everything is the same. There is however a "Prologix not found" but the retry finds it, see the attached log.

Code: [Select]
Version 12-24-19
Windows 7 / S-2008 R2 Service Pack 1 Platform ID 2
Config file loaded.
Debug ON.
Command delay = 50ms.
Max COM port = 64.
OC:Open COM33 CheckCom.
CheckCom start COM33
CheckCom end CreateFileA COM33
CheckCom port found
CheckCom end CloseHandle COM33
OC:Open COM33 open port.
OC:Open COM33 OK.
CA:Start CheckAdapter on COM33
CA:Check Prologix GPIB adapter. ProVer =:"GPIB"
QS: Send:"++ver" Reply:""
CA:Prologix not found. ++ver retry for Arduino.
CA:Retry ++ver (Arduino boot delay)
-CA:Retry: Found Prologix adapter (Arduino retry).
CA:Exit checkAdapter on COM33
COM port set to COM33
IG:Start InitGPIB
IG:Find Prologix GPIB adapter.
IG:ProVer srch:"GPIB"
IG:Found Prologix adapter.
IG:set ++mode 1.
IG:set eot_enable 0.
IG:set read timeout:++read_tmo_ms 3000
IG:SetGPIB Address ++addr 23 success.
IG:set EOI 0.
IG:set EOS 0.
IG:Set auto talk mode off: ++auto 0  success.
IGT:QSB result 1
Instrument address set to GPIB 23
Send saved config to instrument
F1
RA
N5
Z1
D1
3478A using program config settings.
Instrument start
Instrument stop/local

One issue is that once I use the remote control program, it locks all the local controls from the front panel until the instrument is restarted. I don't know if that's by design or is a bug.

Thanks for your effort!
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #153 on: March 14, 2020, 07:01:33 pm »
and the ++ver response (GPIB).
I just wanted it to work with the default settings. Though, I might change it to return the
actual version.

There is however a "Prologix not found" but the retry finds it, see the attached log.
That's normal. Since we use "reset via DTR" same as arduino, ++ver command fails for the first time.

One issue is that once I use the remote control program, it locks all the local controls from the front panel until the instrument is restarted. I don't know if that's by design or is a bug.
I'm not sure why it does that (the transcript of data sent and received to/from the serial port would help to find out), but gou should be able to use Local key to unlock the keypad (Do you see RMT annunciator?).
However it won't re-enable "ext" features. hp3478ext  won't exit the prologix  mode until the ++exit command.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #154 on: March 14, 2020, 11:24:23 pm »
No, it is not in RMT, it is local. I tried pressing Local button multiple times and it doesn't work. The external GPIB works, internal GPIB works, front panel extension functionality is dead until power cycle.
Fear does not stop death, it stops life.
 

Offline lmester

  • Regular Contributor
  • *
  • Posts: 143
  • Country: us
    • My page
Re: project: extending HP3478A functionality
« Reply #155 on: March 15, 2020, 12:53:42 am »
I tested v2.0 with Prologix support, it works well, I didn't see any issue with Luke's free control program. The differences from Girlando's settings are the baud rate (115200) and the ++ver response (GPIB). Other than that everything is the same. There is however a "Prologix not found" but the retry finds it, see the attached log.

One issue is that once I use the remote control program, it locks all the local controls from the front panel until the instrument is restarted. I don't know if that's by design or is a bug.

Thanks for your effort!

The front panel buttons should be functional when the program is running but not taking measurements. You may need to push the button more than once. The program polls the instrument status every 5 seconds and will update it's settings if you change modes using the buttons. If you press a button right when the instrument is being polled, it will miss the button press.

I just tested the program. My buttons are functional after program exit.

You may want to turn on debug mode and see if any code is failing.

Also, I have code to handle the Arduino reset when the COM port is opened.

Code: [Select]
        if QuerySER("++ver",ProVer$,.2) =0 then
           if DBug then print #main.Terminal,"CA:Prologix not found. ++ver retry for Arduino."
           call sleep  1400 'Delay for Arduino reboot on COM change
           if DBug then print #main.Terminal,"CA:Retry ++ver (Arduino boot delay)"
           print #main.Terminal,"-"; 'Give an indication of a Arduino prologix detect retry
               if QuerySER(cr$;"++ver",ProVer$,.2) =0 then
                  if DBug then print #main.Terminal,"CA:Retry ++ver fail" '
               else
                   if DBug then print #main.Terminal,"CA:Retry: Found Prologix adapter (Arduino retry)."
                   af=0    'Adapter good
               end if     
       else
            if DBug then print #main.Terminal,"CA:Found Prologix adapter (No arduino delay)."
            af=0    'Adapter good
       end if
       if  af=1 then
            close #comm 'Close port if adapter failed
            COpen=0
       end if
    end if
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #156 on: March 15, 2020, 06:34:56 am »
No, it is not in RMT, it is local. I tried pressing Local button multiple times and it doesn't work. The external GPIB works, internal GPIB works, front panel extension functionality is dead until power cycle.

That's strange. There's no direct control over the front panel buttons. The only way they are supposed to be disabled is the GPIB local lockout command. And the LLO command is not implemented in my code.
I haven't noticed such a behavior on my HP3478, but I didn't test it long enough. I'll check that in a couple of weeks when I return to home.
 
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #157 on: March 15, 2020, 06:39:30 am »
Also, I have code to handle the Arduino reset when the COM port is opened.

It works with the hp3478ext, I see no problems.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #158 on: March 15, 2020, 11:31:56 am »
The front panel buttons are functional, only the extension part is disabled.
Fear does not stop death, it stops life.
 

Offline lmester

  • Regular Contributor
  • *
  • Posts: 143
  • Country: us
    • My page
Re: project: extending HP3478A functionality
« Reply #159 on: March 21, 2020, 01:27:14 am »
and the ++ver response (GPIB).
I just wanted it to work with the default settings. Though, I might change it to return the
actual version.

I use a substring search when looking for the response to ++ver. As long as your ++ver response contains "GPIB" my program will detect it.

You could have a longer version string such as "Krill GPIB adapter Vx.x". This would allow my software to detect your adpter and also give you the ability to uniquely identify your GPIB adapter.

 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #160 on: March 25, 2020, 09:22:53 pm »
I was trying to save two presets, one with fixed pitch for continuity test, and one with variable pitch for short detection. It looks like they are using the same EEPROM addresses as the settings overwrite each other.

I just tried that. It works for me. So maybe you couldn't guess how it's supposed to work.
The command OVariableValueW always writes to the location of "preset 0".
You need the following sequence to store another preset.
1. Set variables without writing them to the EEPROM (such as OVariableValue)
2. Enter the measurement mode you need.
3. Press SRQ multiple times until you see "M: PRESET"
4. Press LOCAL 2 times. You should see S: SAVE0
5. Press SRQ. You should see S: SAVE1
6. Press LOCAL

To load PRESET1:
1. Press SRQ multiple times until you see "M: PRESET"
2. Press LOCAL. Press SRQ. You should see L: LOAD0
3. Press SRQ. You should see L: LOAD1
4. Press LOCAL
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #161 on: March 25, 2020, 09:34:42 pm »
I use a substring search when looking for the response to ++ver. As long as your ++ver response contains "GPIB" my program will detect it.
Thanks, I'll do so.
Maybe then you could send ++exit before your program terminates. So hp3478ext will exit the prologix interpreter and could take back the control of the multimeter.
 

Offline Mp3

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: us
Re: project: extending HP3478A functionality
« Reply #162 on: April 12, 2020, 11:45:35 am »
I apologize for the hassle, but is it possible to install this internally and have usb connectivity without making case mods?

I'd rather have it internal with the speaker, and even if i wanted to i don't have a drill powerful enough to break thru the 3478a casing...

 I suppose i might install it internally with a usb header to plug in when i want it and otherwise leave it closed up.
High school graduate
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #163 on: April 12, 2020, 04:18:41 pm »
I apologize for the hassle, but is it possible to install this internally and have usb connectivity without making case mods?

Yes, it's possible. You can ether use USB with the case open or sneak the cable through the ventilation grill.
As the MCU uses UART for connectivity, you may even hack in something like bluetooth to UART module.
Although I'm not sure if an RF module can introduce noise into the measurements.
 
The following users thanked this post: Mp3

Offline Mp3

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: us
Re: project: extending HP3478A functionality
« Reply #164 on: April 13, 2020, 10:02:48 pm »
Thanks, kirill_ka.

What did you choose to pull the power for the arduino from? It looks like straight off the underside of the voltage regulator?

I still have a couple days until my arduino boards show up then I will do the install.

...I just finished reading the rest of the thread and i guess arduino pin header cables are no good?  ???
« Last Edit: April 13, 2020, 10:12:17 pm by Mp3 »
High school graduate
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #165 on: April 14, 2020, 06:10:21 am »
What did you choose to pull the power for the arduino from? It looks like straight off th underside of the voltage regulator?
Yes, since I have an old style regulator in a TO3 case, I connected a jumper cable straight to the pin of the regulator.
In the case of arduino I used the unregulated supply (just to engage the protection diode and polyfuse).
For the board I got form Miti I used the regulated 5V.

...I just finished reading the rest of the thread and i guess arduino pin header cables are no good?  ???
Why? Maybe you mean the issues related to the GPIB socket? But there're no cables involved then.
« Last Edit: April 14, 2020, 06:27:53 am by kirill_ka »
 

Offline Mp3

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: us
Re: project: extending HP3478A functionality
« Reply #166 on: April 14, 2020, 07:25:20 am »
Ah! okay, thank you. I didn't realize the pin length problem was only with the PCB version.

I was going install it like this. https://www.eevblog.com/forum/projects/project-extending-hp3478a-functionality/msg2074201/#msg2074201
High school graduate
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #167 on: April 14, 2020, 08:06:44 am »
Ah! okay, thank you. I didn't realize the pin length problem was only with the PCB version.

I was going install it like this. https://www.eevblog.com/forum/projects/project-extending-hp3478a-functionality/msg2074201/#msg2074201
I didn't try it like that, so I don't know.
There was another issue with my unit. It uses an old kind of socket with narrow pins. This socket is not compatible with the standard 0.1" pin headers.
 

Offline Mp3

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: us
Re: project: extending HP3478A functionality
« Reply #168 on: April 16, 2020, 04:36:28 pm »
Last question for now, i hope....

Does your adapter support "W" command in gpib-usb, to use it for dumping SRAM calibration data?

https://www.eevblog.com/forum/repair/hp-3478a-how-to-readwrite-cal-sram/
High school graduate
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #169 on: April 16, 2020, 05:40:50 pm »
Last question for now, i hope....

Does your adapter support "W" command in gpib-usb, to use it for dumping SRAM calibration data?
Yes. No special support required for individual commands.
Did you see the following thread? Not only you can dump the calibration data, but also you can decode and tune the individual parameters.
https://www.eevblog.com/forum/testgear/free-hp3478a-multimeter-control-program/
 
The following users thanked this post: Mp3

Offline Mp3

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: us
Re: project: extending HP3478A functionality
« Reply #170 on: April 17, 2020, 12:58:57 am »
Last question for now, i hope....

Does your adapter support "W" command in gpib-usb, to use it for dumping SRAM calibration data?
Yes. No special support required for individual commands.
Did you see the following thread? Not only you can dump the calibration data, but also you can decode and tune the individual parameters.
https://www.eevblog.com/forum/testgear/free-hp3478a-multimeter-control-program/

I didn't know about that! Thanks again for your help, kirill. I can't wait to get this installed.
High school graduate
 

Offline lmester

  • Regular Contributor
  • *
  • Posts: 143
  • Country: us
    • My page
Re: project: extending HP3478A functionality
« Reply #171 on: April 19, 2020, 02:51:17 am »
I use a substring search when looking for the response to ++ver. As long as your ++ver response contains "GPIB" my program will detect it.
Thanks, I'll do so.
Maybe then you could send ++exit before your program terminates. So hp3478ext will exit the prologix interpreter and could take back the control of the multimeter.

Before program exit I send the following commands:

"D1"      'Turn instrument LCD display on
"++auto 0"   'Tell instrument to stop talking
"T1"      'Instrument trigger normal on stop
"++loc"      'instrument to local mode

I have now added "++exit".

This will return an "Unrecognized command" from the real Prologix adapter but won't cause any problems.

Please test it and verify that it's working with your firmware.
 
The following users thanked this post: Miti, kirill_ka

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #172 on: April 19, 2020, 10:02:22 pm »
Before program exit I send the following commands:

"D1"      'Turn instrument LCD display on
"++auto 0"   'Tell instrument to stop talking
"T1"      'Instrument trigger normal on stop
"++loc"      'instrument to local mode

I have now added "++exit".

This will return an "Unrecognized command" from the real Prologix adapter but won't cause any problems.

Please test it and verify that it's working with your firmware.

It works for me, thanks!

Now it would be nice to add Kirill's extended function to your software.  ;)
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #173 on: April 19, 2020, 10:34:05 pm »
Now it would be nice to add Kirill's extended function to your software.  ;)

Luke, beware, it's over 3000 lines of very dense C code already  ;)
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #174 on: April 19, 2020, 11:59:20 pm »
Now it would be nice to add Kirill's extended function to your software.  ;)

Luke, beware, it's over 3000 lines of very dense C code already  ;)

What I meant was buttons to select your functions but I guess SRQ must be a hard press, does it?
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #175 on: April 20, 2020, 05:51:28 am »
What I meant was buttons to select your functions but I guess SRQ must be a hard press, does it?

Yes, a kind of. If the 3478ext works in a pass through mode (GPIB adapter), it can't control the bus on it's own. For example, the continuity mode doesn't allow sending any other commands to the instrument. Otherwise it will start to skip events. So the only way that could be done is to add some special commands to interact with the "extended features".
 

Offline lmester

  • Regular Contributor
  • *
  • Posts: 143
  • Country: us
    • My page
Re: project: extending HP3478A functionality
« Reply #176 on: April 21, 2020, 05:31:36 am »
Before program exit I send the following commands:

"D1"      'Turn instrument LCD display on
"++auto 0"   'Tell instrument to stop talking
"T1"      'Instrument trigger normal on stop
"++loc"      'instrument to local mode

I have now added "++exit".

This will return an "Unrecognized command" from the real Prologix adapter but won't cause any problems.

Please test it and verify that it's working with your firmware.

It works for me, thanks!

Now it would be nice to add Kirill's extended function to your software.  ;)

It's good to know that ++exit is working.

It looks to me that using the kirill extended functions is a choice of one or the other. My software needs to have control of the instrument's GPIB bus. Kirill's 3478ext also needs this.

The primary purpose of my program is to allow a Windows PC to control the instrument and do extended data logging. I'm certainly not going to try and convert and add 3K+ lines of C to my program!

If kirill needs me to do anything during my GPIB adapter detection, I'd have no problem adding this. Do you need anything to get our programs to work better together? Does your firmware respond to ++ver? If you can provide a unique substring in response to ++ver, I could make adjustements based on the presence of your firmware.

 

Offline Mp3

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: us
Re: project: extending HP3478A functionality
« Reply #177 on: April 22, 2020, 09:52:14 am »
Hmm, something didn’t go right for me on this...

I had the issue where the pins of the GPIB socket were too narrow for arduino style pin headers. I soldered pin header cables to the underside of the socket instead.

I used the two avrdude commands on the github documentation to program the hex file and set the fuses with my USB-TTL on Linux.

Both times the arduino responds fine to commands from the computer before I switch the HP on, but when I do the arduino seems to die even though it lights up at power on.

I have tried with both usb power on one and power from the HP on the other.

I have another arduino pro board left but I wanted to ask before I Brick that one too. Is the issue my usb-ttl programmer? I only have a usb ttl and a ST-Link at my disposal.
I’m worried the fuse settings didn’t program and the boards are fried.
I’ve triple checked my wiring so I don’t think it’s that...
High school graduate
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #178 on: April 22, 2020, 10:08:25 am »
I’m worried the fuse settings didn’t program and the boards are fried.
You can't program the fuse bits with the serial interface at all. And the fuse settings are not that critical.
But I wonder where the VCC wire does go?
 

Offline Mp3

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: us
Re: project: extending HP3478A functionality
« Reply #179 on: April 22, 2020, 10:17:42 am »
I’m worried the fuse settings didn’t program and the boards are fried.
You can't program the fuse bits with the serial interface at all. And the fuse settings are not that critical.
But I wonder where the VCC wire does go?

There is a nearby spot marked +5, i measured it with the 3478a powered on, so i attached a diode to that point and that is what the internal vcc was coming from. I only tried that after the inital run with USB power also ended up with a non responsive arduino.

I forgot to mention - i accidentally mixed up the colors of the wires when making one with the diode attached. so i'm certain it's going to 5v and ground properly, although the colors are backwards from what they should be . I apologize for that.

I've tried to reprogram the hex and eeprom to both arduinos i tried so far, but no luck as neither responds. Does it sound like they are bricked?

I tried replicating the button presses of the demo video, so i'm not quite sure what i did wrong, but i assume the ardunio pro is getting fried from some of the GPIB wiring as it had the same reaction with usb power,
« Last Edit: April 22, 2020, 10:23:42 am by Mp3 »
High school graduate
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #180 on: April 22, 2020, 10:32:27 am »
I think it's more likely a power supply issue. May be ether wrong polarity or high voltage.
The GPIB pins should be current limited according to the spec.
Did you check the actual voltage going to the arduino board?
 

Offline Mp3

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: us
Re: project: extending HP3478A functionality
« Reply #181 on: April 22, 2020, 10:43:18 am »
I think it's more likely a power supply issue. May be ether wrong polarity or high voltage.
The GPIB pins should be current limited according to the spec.
Did you check the actual voltage going to the arduino board?

yes - but not the current, seemed okay (4.5v off my little diode wire, or 5.0 off usb)

thanks for your help, by the way, i appreciate it. excited to figure it out  :-+
High school graduate
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #182 on: April 22, 2020, 10:47:24 am »
I just noticed that you're messing around the place where the line voltages and the transformer primary side exposed...
 

Offline Mp3

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: us
Re: project: extending HP3478A functionality
« Reply #183 on: April 22, 2020, 10:48:43 am »
I just noticed that you're messing around the place where the line voltages and the transformer primary side exposed...

that is why i had each row of soldered-on wires insulated with a layer of kapton tape on each side. The photo was more to show that i didnt do awful soldering. You can't tell from the picture, but tehy're long enough to bring the board far out of the line voltage zone.
High school graduate
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #184 on: April 22, 2020, 11:38:04 am »
>
The GPIB pins should be current limited according to the spec.
It looks like I'm wrong.
I didn't find the current limiting requirement for the driver in the GPIB spec. It only
specifies the minimum current: "High state: Output voltage (three-state) ≥ + 2.4 V at −5.2 mA". The maximum spec is up to the driver IC.
However if you power the atmega from the same 5V as the driver chip, I don't know how the data lines could be the problem.
However, 4.5V supply seems a bit low. I suggest you use a Schottky diode.
 
The following users thanked this post: Mp3

Offline Mp3

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: us
Re: project: extending HP3478A functionality
« Reply #185 on: April 24, 2020, 04:22:42 am »
3rd try is the charm =)

Turns out my  3478A was on channel 6, not 23 - and on the 3rd Arduino I programmed the EEPROM as well as the hex file. I don't know if one or both steps were necessary. I assume so because my old Arduino's aren't responding to serial.

All's well, tried a few GPIB commands and looks good =)

If you wanna do a bottom side install like me, I suggest using only angle header pins on the Arduino board so that you can wrap it up in electrical tape after it's all wired up, then it can fit with the bottom panel still on. I left header cables for the USB-TTL attached so that I can plug one in when I need it.
High school graduate
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #186 on: April 24, 2020, 01:56:00 pm »
3rd try is the charm =)

Turns out my  3478A was on channel 6, not 23 - and on the 3rd Arduino I programmed the EEPROM as well as the hex file. I don't know if one or both steps were necessary. I assume so because my old Arduino's aren't responding to serial.

All's well, tried a few GPIB commands and looks good =)

Congratulations, you passed the quest  :-+ It makes me think I should start a Q&A section.

However those GPIB address and EEPROM issues do not explain what happened to the first couple of arduino boards?
Are they alive?
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #187 on: April 24, 2020, 03:16:04 pm »
I tripped over that GPIB Address 23 as well but I forgot about it. It is somewhere in this trail :-DD
Fear does not stop death, it stops life.
 
The following users thanked this post: Mp3

Offline Mp3

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: us
Re: project: extending HP3478A functionality
« Reply #188 on: April 24, 2020, 05:35:49 pm »
3rd try is the charm =)

Turns out my  3478A was on channel 6, not 23 - and on the 3rd Arduino I programmed the EEPROM as well as the hex file. I don't know if one or both steps were necessary. I assume so because my old Arduino's aren't responding to serial.

All's well, tried a few GPIB commands and looks good =)

Congratulations, you passed the quest  :-+ It makes me think I should start a Q&A section.

However those GPIB address and EEPROM issues do not explain what happened to the first couple of arduino boards?
Are they alive?

It's a mystery to me as well wit the first two boards, to be honest. I didn't try to make a serial connection to see if they responded before plugging them in, I have tried minimal testing with those two boards and have not been able to get them to respond whatsoever. I get programmer not responding errors with them. I may try to shock some life back into them at another time.  i could also send them in a plain envelope to you if you wish to inspect them! postage would be like less than $10 to you for this and if it helps you in any way, i don't mind.

If they're of no use, no worries, if i can't revive them i will toss them.

By the way, doing two failed attempted installs for the bottom side gave me some good ideas on how to build an Arduino pro really slim with angle headers only. I ended up moving the +5V diode wire over to the 5V point right next to the ground wire in my above picture and get 4.95v off it so I am happy. :D

I was thinking, with long enough ribbon wire, you might be able to sneak the USB TTL connection wires out around the HPIB address dip switches. There seems to be plenty of room around it.

Oh - i almost forgot, the only other difference is that the two times it didn't work, I had the GPIB header from the back panel unplugged. This time , i plugged it back into its socket. I don't see why that should matter.

I tripped over that GPIB Address 23 as well but I forgot about it. It is somewhere in this trail :-DD

Yes, thank you; it's your post that made me realize I had to check that!  :-+ You deserve credit for sure  :phew:
High school graduate
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #189 on: April 24, 2020, 07:05:51 pm »
It's a mystery to me as well wit the first two boards, to be honest. I didn't try to make a serial connection to see if they responded before plugging them in, I have tried minimal testing with those two boards and have not been able to get them to respond whatsoever. I get programmer not responding errors with them. I may try to shock some life back into them at another time.  i could also send them in a plain envelope to you if you wish to inspect them! postage would be like less than $10 to you for this and if it helps you in any way, i don't mind.
Not sure if it would help me, but I'm curious :) I'll pm you the address. I'd post the investigation results here if I get them.
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #190 on: April 25, 2020, 03:47:38 pm »
3rd try is the charm =)

Turns out my  3478A was on channel 6, not 23 - and on the 3rd Arduino I programmed the EEPROM as well as the hex file. I don't know if one or both steps were necessary. I assume so because my old Arduino's aren't responding to serial.

All's well, tried a few GPIB commands and looks good =)

Congratulations, you passed the quest  :-+ It makes me think I should start a Q&A section.

However those GPIB address and EEPROM issues do not explain what happened to the first couple of arduino boards?
Are they alive?

It's a mystery to me as well wit the first two boards, to be honest. I didn't try to make a serial connection to see if they responded before plugging them in, I have tried minimal testing with those two boards and have not been able to get them to respond whatsoever. I get programmer not responding errors with them. I may try to shock some life back into them at another time.  i could also send them in a plain envelope to you if you wish to inspect them! postage would be like less than $10 to you for this and if it helps you in any way, i don't mind.

If they're of no use, no worries, if i can't revive them i will toss them.

By the way, doing two failed attempted installs for the bottom side gave me some good ideas on how to build an Arduino pro really slim with angle headers only. I ended up moving the +5V diode wire over to the 5V point right next to the ground wire in my above picture and get 4.95v off it so I am happy. :D

I was thinking, with long enough ribbon wire, you might be able to sneak the USB TTL connection wires out around the HPIB address dip switches. There seems to be plenty of room around it.

Oh - i almost forgot, the only other difference is that the two times it didn't work, I had the GPIB header from the back panel unplugged. This time , i plugged it back into its socket. I don't see why that should matter.

I tripped over that GPIB Address 23 as well but I forgot about it. It is somewhere in this trail :-DD

Yes, thank you; it's your post that made me realize I had to check that!  :-+ You deserve credit for sure  :phew:

@Mp3

Glad you do it, can you post pictures of your finished installation please?


Best regards.

Pio
 

Offline Mp3

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: us
Re: project: extending HP3478A functionality
« Reply #191 on: April 30, 2020, 02:57:12 am »
@Mp3

Glad you do it, can you post pictures of your finished installation please?


Best regards.

Pio

Hey Pio,

Sure, this is my first install though. I have a 2nd (nicer, and calibrated) 3478A I still need to do the mod on, and I'll probably make it a little nicer this time. Though, by the time i got to my last attempt at this one it was much less of a mess than the first two  :D

Some of my thoughts for anyone considering the internal install:
  • You will be working in the area where there is line voltage active even with the power off, so do a really good job of making sure the wires you solder will never come loose.
  • Open the bottom up and plan to get the Arduino well out of the way of the line voltage area under the plastic cover, so make your wires long enough ( I did not make them long enough to re-install the plastic line voltage warning plate so I went crazy with the Kapton tape)
  • The solder for the HPIB pins and the pins themselves don't seem to solder very easily. The solder balls up easily. Just be patient with it and maybe wick some of it up
  • Use right angle pin headers for the entire Arduino if you have any hope of getting the bottom panel back on
  • I can't prove it, but it might need connections on the top side to work properly, since the two installs I had that didn't work had the HPIB header by the transformer unplugged, and the one that worked had it plugged in. Also, Miti's successful install was a top side install and I think kirill_ka's internal  installs are top side as well.
  • You can sneak a 5-wire ribbon cable for the USB-TTL out through the HPIB ID DIP switch assembly as there's plenty of room for it to come out of the case.
  • There are several options for powering it, I chose to pull 5V from one of the marked test points with a 1n4148.

« Last Edit: April 30, 2020, 02:59:03 am by Mp3 »
High school graduate
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #192 on: April 30, 2020, 05:24:00 pm »
@Mp3

Glad you do it, can you post pictures of your finished installation please?


Best regards.

Pio

Hey Pio,

Sure, this is my first install though. I have a 2nd (nicer, and calibrated) 3478A I still need to do the mod on, and I'll probably make it a little nicer this time. Though, by the time i got to my last attempt at this one it was much less of a mess than the first two  :D

Some of my thoughts for anyone considering the internal install:
  • You will be working in the area where there is line voltage active even with the power off, so do a really good job of making sure the wires you solder will never come loose.
  • Open the bottom up and plan to get the Arduino well out of the way of the line voltage area under the plastic cover, so make your wires long enough ( I did not make them long enough to re-install the plastic line voltage warning plate so I went crazy with the Kapton tape)
  • The solder for the HPIB pins and the pins themselves don't seem to solder very easily. The solder balls up easily. Just be patient with it and maybe wick some of it up
  • Use right angle pin headers for the entire Arduino if you have any hope of getting the bottom panel back on
  • I can't prove it, but it might need connections on the top side to work properly, since the two installs I had that didn't work had the HPIB header by the transformer unplugged, and the one that worked had it plugged in. Also, Miti's successful install was a top side install and I think kirill_ka's internal  installs are top side as well.
  • You can sneak a 5-wire ribbon cable for the USB-TTL out through the HPIB ID DIP switch assembly as there's plenty of room for it to come out of the case.
  • There are several options for powering it, I chose to pull 5V from one of the marked test points with a 1n4148.


thank you very much, looks very good. i think a slim case would be very neat and can isolate the arduino against the main board.

what you think? i think there is enough height room between the bottom side of the pcb and the case.

best regards.

Pio

 
The following users thanked this post: coromonadalix

Offline Mp3

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: us
Re: project: extending HP3478A functionality
« Reply #193 on: May 01, 2020, 08:06:14 am »
thank you very much, looks very good. i think a slim case would be very neat and can isolate the arduino against the main board.

what you think? i think there is enough height room between the bottom side of the pcb and the case.

best regards.

Pio

Hmm, that looks small enough to fit, you could probably make it work :-+

edit: Maybe the case would fit with some double sided  tape in the empty area where the thick ground trace separates the two sides? Not 100% sure but seems like it?
« Last Edit: May 01, 2020, 08:56:22 am by Mp3 »
High school graduate
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #194 on: May 02, 2020, 04:01:11 am »
thank you very much, looks very good. i think a slim case would be very neat and can isolate the arduino against the main board.

what you think? i think there is enough height room between the bottom side of the pcb and the case.

best regards.

Pio

Hmm, that looks small enough to fit, you could probably make it work :-+

edit: Maybe the case would fit with some double sided  tape in the empty area where the thick ground trace separates the two sides? Not 100% sure but seems like it?

yes i think it will fit there.

best regards.

Pio
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #195 on: May 18, 2020, 10:32:48 am »
It's a mystery to me as well wit the first two boards, to be honest. I didn't try to make a serial connection to see if they responded before plugging them in, I have tried minimal testing with those two boards and have not been able to get them to respond whatsoever. I get programmer not responding errors with them. I may try to shock some life back into them at another time.  i could also send them in a plain envelope to you if you wish to inspect them! postage would be like less than $10 to you for this and if it helps you in any way, i don't mind.
Not sure if it would help me, but I'm curious :) I'll pm you the address. I'd post the investigation results here if I get them.

Mp3, I've got the boards. I'm afraid there isn't a lot of mystery there.
One board (with all the pins soldered) is working. I've no problem programming it with both ISP and bootloader interfaces. So I can't tell what was wrong with it. The other one has a solder dag shorting out the resonator.
Thanks for the boards, they always come in handy!
« Last Edit: May 18, 2020, 10:40:22 am by kirill_ka »
 

Offline Mp3

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: us
Re: project: extending HP3478A functionality
« Reply #196 on: May 19, 2020, 06:44:03 am »
It's a mystery to me as well wit the first two boards, to be honest. I didn't try to make a serial connection to see if they responded before plugging them in, I have tried minimal testing with those two boards and have not been able to get them to respond whatsoever. I get programmer not responding errors with them. I may try to shock some life back into them at another time.  i could also send them in a plain envelope to you if you wish to inspect them! postage would be like less than $10 to you for this and if it helps you in any way, i don't mind.
Not sure if it would help me, but I'm curious :) I'll pm you the address. I'd post the investigation results here if I get them.

Mp3, I've got the boards. I'm afraid there isn't a lot of mystery there.
One board (with all the pins soldered) is working. I've no problem programming it with both ISP and bootloader interfaces. So I can't tell what was wrong with it. The other one has a solder dag shorting out the resonator.
Thanks for the boards, they always come in handy!

I'll chalk it up to user error on the alive board, then. How embarrassing though on the other board  :-DD

No problem, would love to know if you find any quirks from doing a bottom side install. Glad they made it to you safely!
High school graduate
 

Offline PixieDust

  • Frequent Contributor
  • **
  • Posts: 265
  • Country: au
Re: project: extending HP3478A functionality
« Reply #197 on: May 29, 2020, 02:04:01 pm »
There are 4 of them. I think 2 big ones (0.022uF) are not that dangerous, because they are connected across the switch.
But the other two 1000pF are across mains.

4 of them? I see the two 0.022uF sitting next to the transformer, where are the other two?
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #198 on: May 29, 2020, 02:33:33 pm »
There are 4 of them. I think 2 big ones (0.022uF) are not that dangerous, because they are connected across the switch.
But the other two 1000pF are across mains.

4 of them? I see the two 0.022uF sitting next to the transformer, where are the other two?

See reply#34
 
The following users thanked this post: PixieDust

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #199 on: May 29, 2020, 02:41:23 pm »
No problem, would love to know if you find any quirks from doing a bottom side install.

Well, not likely :) The socket installation is much cleaner. And I don't have a spare 3478a to experiment with.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #200 on: August 27, 2020, 09:31:51 am »
As someone may have noted :) The hp3478ext has a temperature measurement function.
It only supports 1kOhm 3850 ppm/K RTDs. The constants for which are hardcoded.
Yesterday I found a source of cheap sensors: https://aliexpress.com/item/32872179878.html
They look similar to the Honeywell sensor (700-102BAB-B00) that I have.
 
The following users thanked this post: bitseeker

Offline momoFukushima

  • Newbie
  • Posts: 2
  • Country: jp
Re: project: extending HP3478A functionality
« Reply #201 on: November 15, 2020, 11:17:37 pm »
Hello kirill-ka,

I recently bought a used 3478A and found this very interesting topic that can expand the functionalities as well as the prologix compatibility during searching various knowledge about this tool. Visiting the Git-hub, I noticed the source program has been updated very recently but looks like the binary has not been updated yet. I would be appreciated if you upload the updated binary, since I am not familiar with the compiling at all.

Thanks
 

Offline Tj138waterboy

  • Regular Contributor
  • *
  • Posts: 103
  • Country: us
Re: project: extending HP3478A functionality
« Reply #202 on: November 16, 2020, 04:33:24 am »
Not sure if this has been asked on other post but will the artag style adapter work and or does anyone have the gerber for a known working pcb layout.
« Last Edit: November 16, 2020, 04:35:03 am by Tj138waterboy »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #203 on: November 16, 2020, 07:02:27 pm »
I would be appreciated if you upload the updated binary, since I am not familiar with the compiling at all.
Hi,
There aren't serious changes, but here you go: https://github.com/KIrill-ka/hp3478ext/releases/tag/r2.2
 
  • fixed ++ver command to actually show a version
  • added 250ms delay before trying to initialize the HP3478A during startup
    Attempt to read from the HP3478A too early caused a harmless error message to be displayed on the second try.
  • some minor error handling modifications
« Last Edit: November 16, 2020, 09:56:54 pm by kirill_ka »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #204 on: November 16, 2020, 07:12:26 pm »
Not sure if this has been asked on other post but will the artag style adapter work
Sorry, I'm not quite sure what do you want.
Do you mean using some AR488 hw to run hp3478ext or what?
 

Offline momoFukushima

  • Newbie
  • Posts: 2
  • Country: jp
Re: project: extending HP3478A functionality
« Reply #205 on: November 16, 2020, 09:42:58 pm »
Thank you very much for binary update, kirill_ka.
 

Offline Tj138waterboy

  • Regular Contributor
  • *
  • Posts: 103
  • Country: us
Re: project: extending HP3478A functionality
« Reply #206 on: November 17, 2020, 11:55:55 am »
For the purpose of plugging into gpib externally. I was thinking that would work the same from my understanding. Pretty much just needs 5v supply to arduino and buzzer.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #207 on: November 17, 2020, 03:42:06 pm »
For the purpose of plugging into gpib externally. I was thinking that would work the same from my understanding. Pretty much just needs 5v supply to arduino and buzzer.
The external connection is not a problem. The cheap atmega328p board+USB2UART+connector+bunch of wires will do the job.
AR488 hardware will not work straight away as it uses different pin assignments (at least).
 

Offline mcj7247

  • Newbie
  • Posts: 8
  • Country: us
Re: project: extending HP3478A functionality
« Reply #208 on: January 09, 2021, 04:01:39 am »
For the purpose of plugging into gpib externally. I was thinking that would work the same from my understanding. Pretty much just needs 5v supply to arduino and buzzer.
The external connection is not a problem. The cheap atmega328p board+USB2UART+connector+bunch of wires will do the job.
AR488 hardware will not work straight away as it uses different pin assignments (at least).

Would it be possible to remap the pins to a custom layout in the AR488 FW to align with the HP3478A Control Software?
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #209 on: January 09, 2021, 06:48:29 pm »
For the purpose of plugging into gpib externally. I was thinking that would work the same from my understanding. Pretty much just needs 5v supply to arduino and buzzer.
The external connection is not a problem. The cheap atmega328p board+USB2UART+connector+bunch of wires will do the job.
AR488 hardware will not work straight away as it uses different pin assignments (at least).

Would it be possible to remap the pins to a custom layout in the AR488 FW to align with the HP3478A Control Software?

Everything's possible... Can you provide desired pin assignments?
Do you mean hp3478ext by the "Control Software" or something else?
« Last Edit: January 09, 2021, 06:54:10 pm by kirill_ka »
 

Offline mcj7247

  • Newbie
  • Posts: 8
  • Country: us
Re: project: extending HP3478A functionality
« Reply #210 on: January 09, 2021, 09:30:03 pm »

Everything's possible... Can you provide desired pin assignments?
Do you mean hp3478ext by the "Control Software" or something else?
[/quote]

I think I may have the various tools confused and apologize if I do. I think I'm referring to the HP3478A Control Software app developed by Steve1515, lmester etc.
 

Offline Tj138waterboy

  • Regular Contributor
  • *
  • Posts: 103
  • Country: us
Re: project: extending HP3478A functionality
« Reply #211 on: January 10, 2021, 08:46:57 am »
I just re-read entire thread and issue that seems to prevent using ar-tag adapter would be from post #105 the piezo/speaker pin. Also a reply from lmester pointed out you can't run both programs at same time, as from what I can tell all commands for the functions of 3478ext are manual button presses whereas the software mcj7247 shows in previous post is what I currently have been using and is ui controlled. It doesn't seem that the arduino sketch would allow both functions to work in unison due to the pin assignments as well as the user interface for the 3478 control software mcj7247 shows would have to be possibly recoded if you wanted a display.
« Last Edit: January 10, 2021, 08:52:28 am by Tj138waterboy »
 

Offline Tj138waterboy

  • Regular Contributor
  • *
  • Posts: 103
  • Country: us
Re: project: extending HP3478A functionality
« Reply #212 on: January 10, 2021, 08:50:02 am »
Also im not even sure a usb powered arduino could drive a speaker directly while performing as a gpib adapter. Never measured current draw from piezo.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #213 on: January 10, 2021, 10:32:09 am »
I just re-read entire thread and issue that seems to prevent using ar-tag adapter would be from post #105 the piezo/speaker pin.
Correct. If the PB2 (or PB1) pin is not available, then more modifications required for the hp3478ext to work. However if the variable tone buzzer is not essential, the firmware can be modified to use any digital pin for the buzzer.

It doesn't seem that the arduino sketch would allow both functions to work in unison due to the pin assignments as well as the user interface for the 3478 control software mcj7247 shows would have to be possibly recoded if you wanted a display.

The lmester's "HP3478A instrument control software" does work with the hp3478ext firmware. It has nothing to do with the pin assignments. You can't simultaneously use the PC software and the extended functions (relative, continuity, etc.). Once you exit the PC software, the extended functions "assigned" to the SRQ key will be restored.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #214 on: January 10, 2021, 10:40:16 am »
Also im not even sure a usb powered arduino could drive a speaker directly while performing as a gpib adapter. Never measured current draw from piezo.

An active buzzer can be driven directly by the MCU pin. I recommend adding a resistor in series.
The direct connection of a piezzo speaker will also work with a current limiting resistor, but the volume would be quite low.
A FET driver is recommended anyway.
 

Offline belzrebuth

  • Frequent Contributor
  • **
  • Posts: 483
  • Country: gr
Re: project: extending HP3478A functionality
« Reply #215 on: May 15, 2021, 01:23:43 am »
So now that this project seems mature enough shouldn't there be a PCB gerber available for it?
Just saying it would be far more tidy/safe to have this assembled outside and only do the absolute necessary soldering inside the instrument.
As I understand it Miti already done a PCB for it, maybe sharing it would be a good idea? ;D
 

Offline bywqdq

  • Newbie
  • Posts: 3
  • Country: cn
Re: project: extending HP3478A functionality
« Reply #216 on: July 20, 2021, 04:46:37 am »
Provide an idea to display the time when the multimeter is not operating. Add RTC to the circuit.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #217 on: July 20, 2021, 02:30:47 pm »
Provide an idea to display the time when the multimeter is not operating. Add RTC to the circuit.

Hi bywqdq, welcome to the forum!

That would be so complex and inconvenient with an Atmega 328p.
However if you provide some alternative hardware, I might do something about it ;)
 

Offline bywqdq

  • Newbie
  • Posts: 3
  • Country: cn
Re: project: extending HP3478A functionality
« Reply #218 on: July 20, 2021, 11:07:19 pm »
I make one.
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #219 on: October 25, 2022, 04:10:58 pm »
The hex files are compatible with the Arduino nano?

I ask because I wired per the pin table in the GitHub to the conector but no luck.

If not what is needed?

Best regards

Pio
« Last Edit: October 25, 2022, 04:22:00 pm by yo0 »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #220 on: October 25, 2022, 06:18:44 pm »
Hi,
Does it respond via serial (USB) interface? If it does, the second thing to check is the GPIB address.
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #221 on: October 25, 2022, 07:12:13 pm »
Hi,
Does it respond via serial (USB) interface? If it does, the second thing to check is the GPIB address.

thank you,

no response, and the address is set #23, i triple check the wiring,

perhaps defective nano? it can be read, write and verify with avrdude and avrdudess

thank you in advance.


Pio


« Last Edit: October 25, 2022, 09:12:46 pm by yo0 »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #222 on: October 25, 2022, 11:05:15 pm »
It should respond to UART commands without any connections. Just the bare board.
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #223 on: October 26, 2022, 01:56:37 am »
It should respond to UART commands without any connections. Just the bare board.

I think yes it does. If I send text over serial monitor it appears in the console. I don't have experience with Arduino, sorry

I needed load a serial sketch to do that

ps.

i think maybe the problem is the wiring, do you know which pin at the external dmm connector is #1?, i mean seeing it frontally , the red wire at the ribbon cable usually mean pin 1 as far i understand, but.. seeing the schematic pin 1 at the socket is connected to ground, that don't make sense to me. or at least hp mount the internal connector backwards to avoid the ribbon be too near the transformer. in that case pin 1 really is at the other extreme of the socket (i mean near to the notch of the socket, usually pin 1 is at the notch side). or the socket is inverted, i am confused.

just an idea  :-//

Best regards

Pio
« Last Edit: October 26, 2022, 04:23:29 am by yo0 »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #224 on: October 26, 2022, 07:05:42 am »
It should respond to UART commands without any connections. Just the bare board.

I think yes it does. If I send text over serial monitor it appears in the console. I don't have experience with Arduino, sorry

I needed load a serial sketch to do that
It's good to know, that the UART works. But you'd get the response from the hp3478-ext firmware. Just to know that it's loaded and works.
It should respond with the <GPIB> prompt.

The connector pinout is standard. Just google "GPIB pinout". You'd find the pictures of the connector with the pin names and numbers.
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #225 on: October 27, 2022, 07:57:14 pm »
It should respond to UART commands without any connections. Just the bare board.

I think yes it does. If I send text over serial monitor it appears in the console. I don't have experience with Arduino, sorry

I needed load a serial sketch to do that
It's good to know, that the UART works. But you'd get the response from the hp3478-ext firmware. Just to know that it's loaded and works.
It should respond with the <GPIB> prompt.

The connector pinout is standard. Just google "GPIB pinout". You'd find the pictures of the connector with the pin names and numbers.

unfortunately didn't work, i check the wiring and pinout, change the arduino for another (both new) and nothing, seems like the software is not running.

what software do you use for sending requests to the arduino?

best regards.


Pio
« Last Edit: October 28, 2022, 01:14:32 am by yo0 »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #226 on: October 28, 2022, 03:38:20 pm »
what software do you use for sending requests to the arduino?
kermit
Using the following settings:
open port /dev/ttyUSB0
set flow-control none
set carrier-watch off
set speed 115200
set terminal lf-display crlf
connect

I don't think that incorrect settings in the eeprom is an issue here. But I recommend also programming the eeprom (eep file) to be sure.
And please, disconnect the gpib connector. First we need to know that the serial communication is working.
« Last Edit: October 28, 2022, 03:40:00 pm by kirill_ka »
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #227 on: October 28, 2022, 08:35:50 pm »
what software do you use for sending requests to the arduino?
kermit
Using the following settings:
open port /dev/ttyUSB0
set flow-control none
set carrier-watch off
set speed 115200
set terminal lf-display crlf
connect

I don't think that incorrect settings in the eeprom is an issue here. But I recommend also programming the eeprom (eep file) to be sure.
And please, disconnect the gpib connector. First we need to know that the serial communication is working.

thank you, I think the software is running :)

++addr
++ver

So I think the wiring is the culprit or perhaps me :D

now i need figure out where is the mistake.


Pio
« Last Edit: October 28, 2022, 09:58:52 pm by yo0 »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #228 on: October 29, 2022, 08:53:26 am »
thank you, I think the software is running :)
:-+
Keep on trying! Eventually it will work :)
The next task is to get a reading from the 3478 through the serial.
Try ++read
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #229 on: November 02, 2022, 12:33:49 am »
thank you, I think the software is running :)
:-+
Keep on trying! Eventually it will work :)
The next task is to get a reading from the 3478 through the serial.
Try ++read

thank you!  it reads!

so what's next?

best regards



Pio
« Last Edit: November 02, 2022, 12:45:08 am by yo0 »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #230 on: November 02, 2022, 06:46:56 am »


thank you!  it reads!

so what's next?


Then it just works. To enable the extended functions of the 3478, enter OX1w command (before entering any of the ++ commands).
This is also can be done by flashing the eeprom (eep file).
Then you should see "init ok" after OX1 or during the start up.
All the functions are initialted with the SRQ key. Also enable "power on SRQ" with the dip switch on the back of 3478. It allows the firmware to know when the 3478 is initialized.

Some of the steps above are mentioned in the hp3478 ext documentation. But it's outdated, I know...
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #231 on: November 04, 2022, 01:48:36 am »
Thank you, now it works, just something strange occurs after the self test ok , two different screens, one with the power on sqr switch and other without it active.

Maybe 250ms delay isn't enough.

Any ideas?

best regards.

Pio
« Last Edit: November 04, 2022, 05:09:28 am by yo0 »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #232 on: November 04, 2022, 09:59:54 am »
Thank you, now it works, just something strange occurs after the self test ok , two different screens, one with the power on sqr switch and other without it active.

Maybe 250ms delay isn't enough.

Any ideas?

best regards.

Pio

Do you power the arduino board externally?
If yes, then those errors are probably normal. The 250ms delay only counts if the atmega and the 3478 are started simultaneously.
Please, monitor the error codes for some time and tell me if something different appears. If they only happen during the start up, I can disable them.
Are the "power on srq" and "no power on srq" errors consistently different?
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #233 on: November 04, 2022, 11:48:14 am »
Pio, It's a bit strange, that you are getting E:2F000005 and E:30000003
Those codes are not happening on the first attempt to send something to the 3478.
So there's a slight chance that the errors indicate some of the GPIB control lines are not wired up correctly.
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #234 on: November 04, 2022, 04:16:32 pm »
Thank you, now it works, just something strange occurs after the self test ok , two different screens, one with the power on sqr switch and other without it active.

Maybe 250ms delay isn't enough.

Any ideas?

best regards.

Pio

Do you power the arduino board externally?
If yes, then those errors are probably normal. The 250ms delay only counts if the atmega and the 3478 are started simultaneously.
Please, monitor the error codes for some time and tell me if something different appears. If they only happen during the start up, I can disable them.
Are the "power on srq" and "no power on srq" errors consistently different?


yes i power it externally, if i power up the multimeter first got no error messages, the error codes stay the same for both srq switch states. E:30000003 for off and E:2F000005 for on,  every time got the same code, i  keep the power on srq switch to on as your advice. i am evaluating if it keep external attached or internal (have hard time soldering to ic sockets). can disable the displayed error codes via commands at the terminal?


best regards and thank you again for your valuable help and kindness.

Pio

 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #235 on: November 04, 2022, 04:19:46 pm »
Pio, It's a bit strange, that you are getting E:2F000005 and E:30000003
Those codes are not happening on the first attempt to send something to the 3478.
So there's a slight chance that the errors indicate some of the GPIB control lines are not wired up correctly.

i recheck the wiring and it match your table.

Pio

 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #236 on: November 07, 2022, 08:05:05 am »
can disable the displayed error codes via commands at the terminal?
Please, try the attached version. I've added the option.
Oerr_disp0w should disable the on-screen codes.
Disclaimer: I've not tried it yet myself :)
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #237 on: November 14, 2022, 05:48:03 pm »
thank you, it works!, now if i turn off the dmm the terminal connected to the arduino show errors, but i think it is normal.


best regards :)

Pio
« Last Edit: March 12, 2023, 04:23:58 pm by yo0 »
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #238 on: December 23, 2022, 02:38:18 pm »
As someone may have noted :) The hp3478ext has a temperature measurement function.
It only supports 1kOhm 3850 ppm/K RTDs. The constants for which are hardcoded.
Yesterday I found a source of cheap sensors: https://aliexpress.com/item/32872179878.html
They look similar to the Honeywell sensor (700-102BAB-B00) that I have.

Hi Kirill,

How do you access that function? I think that I asked and I think that you answered, so forgive me if I'm too lazy to look through all the posts but did you publish a complete, updated menu tree anywhere. I know there is one in reply#19 but I think is obsolete by now.

Cheers,
Miti
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #239 on: December 23, 2022, 07:41:06 pm »
Hi Miti,

It shows up as TEMP when you cycle through with SRQ key in OHMS mode.
But it's hidden when there's nothing connected.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #240 on: December 23, 2022, 10:24:46 pm »
Aha, I found it, it didn't show up with the input open. However, it is not dynamic for me, it only reads the temperature once when i select the function and doesn't change when I change the resistance. I don't have an RTD, I simulated it with 100Ohm and 82Ohm.
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #241 on: December 24, 2022, 04:52:18 am »
Aha, I found it, it didn't show up with the input open. However, it is not dynamic for me, it only reads the temperature once when i select the function and doesn't change when I change the resistance. I don't have an RTD, I simulated it with 100Ohm and 82Ohm.
It only has 1K RTD constants compiled in. So I'd try 1000 and 820 instead :)
I use 1k because it's more suitable for 2 wire measurements.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #242 on: December 24, 2022, 12:34:17 pm »
Aha, I found it, it didn't show up with the input open. However, it is not dynamic for me, it only reads the temperature once when i select the function and doesn't change when I change the resistance. I don't have an RTD, I simulated it with 100Ohm and 82Ohm.
It only has 1K RTD constants compiled in. So I'd try 1000 and 820 instead :)
I use 1k because it's more suitable for 2 wire measurements.

And that’s exactly what I used, 1k and 820Ohm but… brain fart.
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #243 on: December 24, 2022, 01:19:22 pm »
However, it is not dynamic for me, it only reads the temperature once when i select the function and doesn't change when I change the resistance.
Which revision are you using by the way?
It just came up to me that there was a bug fixed in rev2.1.

Recently I checked accuracy with a body thermometer. The readings were rather close (~0.2K difference). I think it's ok as I'm just using generic RTD constants.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #244 on: December 24, 2022, 04:09:37 pm »
Which revision are you using by the way?
It just came up to me that there was a bug fixed in rev2.1.

Recently I checked accuracy with a body thermometer. The readings were rather close (~0.2K difference). I think it's ok as I'm just using generic RTD constants.

I was behind with the updates. I don't know what revision was because it wasn't showing at ++ver but definitely was one with the bug. I updated to 2.2 and it works now.

Thanks Kirill!
Fear does not stop death, it stops life.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #245 on: December 24, 2022, 07:29:54 pm »
Kirill,

I'm trying your extension with this software:
https://www.eevblog.com/forum/testgear/hp-34401a-standalone-software

For some reason I can't make it work. Do you know why? Have you tried this SW?
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #246 on: December 25, 2022, 06:42:19 pm »
For some reason I can't make it work. Do you know why? Have you tried this SW?
Hi Miti,

I'll take a look. Maybe it's using some of the ++ commands which are not implemented in hp3478ext.
Thanks for the link, interesting software!
Corrected link: https://www.eevblog.com/forum/testgear/hp-34401a-standalone-software/
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #247 on: December 29, 2022, 08:05:22 pm »
Kirill,

I'm trying your extension with this software:
https://www.eevblog.com/forum/testgear/hp-34401a-standalone-software

For some reason I can't make it work. Do you know why? Have you tried this SW?

The first issue was <LF> line termination. Now the hp3478ext supports <CR>, <LF> and <CR><LF>.
The second issue caused by the "software" continuously issuing ++read command. And the hp3478ext did not support command interruption which caused loss of any other commands.
Fixed in https://github.com/KIrill-ka/hp3478ext/releases/tag/r2.3
Now it works ok, besides that the first connection attempt fails (unless command echo is disabled with OI0w).
Second attempt should work even if echo is enabled.
« Last Edit: December 29, 2022, 08:36:24 pm by kirill_ka »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #248 on: December 29, 2022, 08:28:14 pm »
Note that "hp-34401a-standalone-software" seems to have some serious issues with the way how it updates the readings.
1. It doesn't check the actual status of HP3478A. It just sends the range switch command without checking the result.
2. The displayed range is updated immediately while it still displays previous readings.
3. In my setup it seriously lags behind the HP3478A. For example, if I switch from V to  \$\Omega\$, it displays past V readings as Ohms for a good few seconds.

Maybe my 12 year old core i5 CPU is not fast enough to keep up with 40 year old MCU of the HP3478A?
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #249 on: December 29, 2022, 11:46:22 pm »
Thanks Kirill, it works now but I see those issues as well and my laptop is I7  ;D.
If I set it to fast, beside lagging behind the instrument, I see something that looks like burst reading. It updates fast a number of times and then it freezes for half a second or so. This happens with AR488 as well.
Fear does not stop death, it stops life.
 

Offline ysg2k6

  • Newbie
  • Posts: 6
  • Country: hk
Re: project: extending HP3478A functionality
« Reply #250 on: April 15, 2023, 04:05:20 pm »
this is a very interesting project!

Can this hp3478-ext firmware work together with AR488? I'm thinking to install internally a well flashed arduino promini without any ttl-USB conversion circuit, simply stay inside the case, meanwhile if in case I want to do data logging, I can insert the AR488 externally and connect it to PC... my question is, is there any interference between the internal simply hp3478-ext and external connected AR488?
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #251 on: April 15, 2023, 09:19:07 pm »
this is a very interesting project!

Can this hp3478-ext firmware work together with AR488? I'm thinking to install internally a well flashed arduino promini without any ttl-USB conversion circuit, simply stay inside the case, meanwhile if in case I want to do data logging, I can insert the AR488 externally and connect it to PC... my question is, is there any interference between the internal simply hp3478-ext and external connected AR488?

Nope, no interference from what I can see. It is completely transparent to the GPIB port. You may not need the AR488 though, the extension shows up as a COM port that emulates a Prologix GPIB adapter.
Fear does not stop death, it stops life.
 

Offline ysg2k6

  • Newbie
  • Posts: 6
  • Country: hk
Re: project: extending HP3478A functionality
« Reply #252 on: April 15, 2023, 10:44:06 pm »
thanks Miti. you mean use the hp3478-ext with ttl-usb circuit without AR488? my thought is to avoid drilling a hole on hp3478A case. or do you have good suggestion to do so? I think the AR488 is a generic gpib to usb adapter can be used on other instrument as well,so it is worth a try.
 

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: project: extending HP3478A functionality
« Reply #253 on: April 16, 2023, 03:30:20 pm »
thanks Miti. you mean use the hp3478-ext with ttl-usb circuit without AR488? my thought is to avoid drilling a hole on hp3478A case. or do you have good suggestion to do so? I think the AR488 is a generic gpib to usb adapter can be used on other instrument as well,so it is worth a try.

Yes, it does involve cutting a hole in the back panel, see reply #73, but then you don’t need the AR488 anymore. You can control it, read an write the calibration constants, upgrade the software.
« Last Edit: April 16, 2023, 03:31:59 pm by Miti »
Fear does not stop death, it stops life.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #254 on: April 18, 2023, 04:06:07 pm »
Can this hp3478-ext firmware work together with AR488?
Yes and no. When the hp3478-ext is in passive state, there should be no interference (although I'm not 100% sure).
hp3478 is passive if:
- there's no SRQ interrupt
- it's not initializing
- extended function is not active
- there're no explicit serial/usb commands provoking hp3478-ext to access GPIB
« Last Edit: April 19, 2023, 09:13:04 am by kirill_ka »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #255 on: April 18, 2023, 04:11:05 pm »
thanks Miti. you mean use the hp3478-ext with ttl-usb circuit without AR488? my thought is to avoid drilling a hole on hp3478A case. or do you have good suggestion to do so? I think the AR488 is a generic gpib to usb adapter can be used on other instrument as well,so it is worth a try.

Yes, it does involve cutting a hole in the back panel, see reply #73, but then you don’t need the AR488 anymore. You can control it, read an write the calibration constants, upgrade the software.

I second that. USB interface to the hp3478-ext is useful :) If you absolutely don't want to drill the case, you can still sneak a cable through one of the existing holes.
 

Offline ysg2k6

  • Newbie
  • Posts: 6
  • Country: hk
Re: project: extending HP3478A functionality
« Reply #256 on: April 20, 2023, 04:15:38 pm »
Thanks kirill, I played the software HP_3478A_Software_AR488_Arduino_GPIB and HP3478A.exe, they are also interesting but I'd rather use the pure bench meter function, so I made decision not to make an external serial connection. the HP3478-ext I like most, and also I think the most useful function, is conductivity and diode, it is very helpful when doing some repair work.

so I made a simplified circuit and a tiny PCB, it works like a charm! I BTW changed the 4 capacitors as well, now it may work for me for anther decades :-)

« Last Edit: April 20, 2023, 04:22:31 pm by ysg2k6 »
 
The following users thanked this post: kirill_ka

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #257 on: April 26, 2023, 08:00:21 pm »
Thanks for the pictures! Very nice and clean installation.
It's funny that you also find the diode function useful. It's just 3k Ohms mode with the units displayed as V. HP3478A has precise and round current source for Ohms measurement so the reading also can be interpreted as a voltage drop. I decided to add the "diode" as a separate function so I don't have to remember the Ohms range I need to select.
« Last Edit: April 26, 2023, 08:03:45 pm by kirill_ka »
 
The following users thanked this post: ysg2k6

Offline ysg2k6

  • Newbie
  • Posts: 6
  • Country: hk
Re: project: extending HP3478A functionality
« Reply #258 on: April 29, 2023, 04:17:36 am »
Thanks for the pictures! Very nice and clean installation.
It's funny that you also find the diode function useful. It's just 3k Ohms mode with the units displayed as V. HP3478A has precise and round current source for Ohms measurement so the reading also can be interpreted as a voltage drop. I decided to add the "diode" as a separate function so I don't have to remember the Ohms range I need to select.

Kirill, I'm interested in how you do this "Ohms interpreted as voltage drop". I have a linear programmable power supply with GPIB interface, what I want to do is to replace the transformer and diode bridge by an adjustable switching power supply, make the switching power output always 5V higher than the programmed output. by this way I can extend the max current from 1A to 5A, now I need to interpret 1A shown on PSU as 5A ... can I do the same as you did for HP3478_ext diode function? I'm not good at C coding, but if you can explain the way in detail, I believe I can try to make the code using Arduino.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #259 on: April 30, 2023, 09:11:16 pm »
Kirill, I'm interested in how you do this "Ohms interpreted as voltage drop". I have a linear programmable power supply with GPIB interface, what I want to do is to replace the transformer and diode bridge by an adjustable switching power supply, make the switching power output always 5V higher than the programmed output. by this way I can extend the max current from 1A to 5A, now I need to interpret 1A shown on PSU as 5A ... can I do the same as you did for HP3478_ext diode function? I'm not good at C coding, but if you can explain the way in detail, I believe I can try to make the code using Arduino.
Sorry, I don't understand what are you trying to do.
Note that the GPIB is just a bus. You need to check the command set of the particular instrument to see if your idea can be implemented.
 

Offline ysg2k6

  • Newbie
  • Posts: 6
  • Country: hk
Re: project: extending HP3478A functionality
« Reply #260 on: June 08, 2023, 11:47:27 am »
Thanks Kirill, it works now but I see those issues as well and my laptop is I7  ;D.
If I set it to fast, beside lagging behind the instrument, I see something that looks like burst reading. It updates fast a number of times and then it freezes for half a second or so. This happens with AR488 as well.

may I invite you and @kirill_ka to test the modified HP3478A PC software? the full credit is owned by the original author(https://github.com/Niravk1997/HP-3478A-Software)

unzip the attached .exe file and replace the one on your disk.
 

Offline selevo

  • Newbie
  • Posts: 7
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #261 on: November 15, 2023, 01:49:49 pm »
Hi all!
Can anyone tell how to use tcl? I didn't find any documentation. My multimeter does not have a display (cracked) . I want to read readings using a computer and this adapter (hp3478aext)
https://github.com/KIrill-ka/hp3478ext/tree/master/tcl
« Last Edit: November 15, 2023, 03:23:44 pm by selevo »
В начале была мысль и только потом слово, дело и всё остальное.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #262 on: November 17, 2023, 10:32:17 pm »
Hi Selevo,
Are you targeting some automated measurements or just want to see the readings?
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #263 on: November 17, 2023, 10:47:45 pm »
Hello, will be implemented the to do list?

especially the dBm function :)

/*
 TODO list

 - Display 0 with O?
 - Implement unbuffered binary write TUD using escape-sequence as stop
 - Implement unbuffered binary read TUD using escape-sequence as stop
 - Save & restore "ext" functions using presets.
 - Add dBm measurements in ACV.
 */

/*


Best regards

Pio
« Last Edit: November 17, 2023, 11:36:42 pm by yo0 »
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #264 on: November 21, 2023, 03:20:16 pm »
Hello, will be implemented the to do list?

especially the dBm function :)

Hi,
Do you think the world is ready for it?
Ok, I'd add it by the end of 2023 ;)

- Save & restore "ext" functions using presets.
That was done already by the way. I forgot to remove it from the list.
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #265 on: November 22, 2023, 03:27:37 am »
Hello, will be implemented the to do list?

especially the dBm function :)

Hi,
Do you think the world is ready for it?
Ok, I'd add it by the end of 2023 ;)

- Save & restore "ext" functions using presets.
That was done already by the way. I forgot to remove it from the list.




yes we are ready!!

thank you very much!!


best regards


Pio
 

Offline selevo

  • Newbie
  • Posts: 7
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #266 on: November 27, 2023, 01:31:25 pm »
Only for read LCD information
I’ve been wanting to write something in tcl/TK for a long time, and then I came across an example that was just related to my problem. Although on the other hand it may not be very correct to install another interpreter one more language and do it another bike. )) While Windows has built-in tools for working with scripting languages.

Hi Selevo,
Are you targeting some automated measurements or just want to see the readings?
В начале была мысль и только потом слово, дело и всё остальное.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #267 on: November 27, 2023, 05:54:15 pm »
Writing GUI in Tcl/Tk is a pure fun :) The Tcl/Tk runtime is very compact if you get just an interpreter. You may even try androwish as it seems to have serial support. I think of adding some basic Tk GUI sample so to have at least something to start with. Selevo, feel free to PM me if you have questions about using Tcl with hp3478ext.
 

Offline kirill_kaTopic starter

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: ru
Re: project: extending HP3478A functionality
« Reply #268 on: December 31, 2023, 08:34:58 pm »
Here's a preliminary version of dBm function.
The reference can only be set with the console command.
E.g. Odbm_ref50w sets the reference to 50 Ohm.
Switch to ACV, then three times press SRQ then LOCAL to enter.

Pio, do we want a way to show/select the reference prior to entering the dBm mode? What do you think?
 

Offline yo0

  • Regular Contributor
  • *
  • Posts: 132
  • Country: mx
Re: project: extending HP3478A functionality
« Reply #269 on: December 31, 2023, 09:07:40 pm »
I think it is a very good idea, thank your very much for you valuable effort and talent, and happy new year to all!
« Last Edit: December 31, 2023, 09:36:16 pm by yo0 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf