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

0 Members and 1 Guest are viewing this topic.

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: 1324
  • 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: 1324
  • 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: 133
  • 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: 133
  • 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: 133
  • 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