Author Topic: Instek GPP4323 Beep Volume: Can it be decreased?  (Read 1706 times)

0 Members and 1 Guest are viewing this topic.

Offline jjoonathanTopic starter

  • Frequent Contributor
  • **
  • Posts: 865
  • Country: us
Instek GPP4323 Beep Volume: Can it be decreased?
« on: October 16, 2022, 12:30:26 am »
I love this power supply but wow is the beeper loud. Is there an easy way to turn off the beeper (or make it quieter) while still resetting the supply settings on startup? Or do I have to take it apart?
 

Offline jjoonathanTopic starter

  • Frequent Contributor
  • **
  • Posts: 865
  • Country: us
Re: Instek GPP4323 Beep Volume: Can it be decreased?
« Reply #1 on: October 16, 2022, 01:29:40 am »
Yes, yes it can be. I made a service to sit on my server, wait for the GPP-4323 to appear, and kill the beeper.

They really should have made this an option but w/e.

Code: [Select]
sudo pip install ping3
cat | sudo tee /opt/gpp4323-beep-off.py >/dev/null <<HACK
gpp_address = 'gpp-4323.lan'

import ping3, socket, time
was_visible = False
while True:
    is_visible = bool(ping3.ping(gpp_address,timeout=.5))
    if not was_visible and is_visible:
        print(f"A wild GPP-4323 appeared.", flush=True)
        mission_accomplished = False
        attempt = 1
        while not mission_accomplished:
            try:
                with socket.create_connection((gpp_address,1026),timeout=.5/6) as s:
                    print("Beeper killed. Mission accomplished.", flush=True)
                    s.send(b':SYST:BEEP:STAT 0\nLOCAL\n')
                    mission_accomplished = True
            except:
                pass
            attempt += 1
            if attempt >= 10:
                print("We'll get 'em next time.")
                break
    if was_visible and not is_visible:
        print("Poof.", flush=True)
    if is_visible: # Didn't hit ping timeout, so manually rate limit here.
        time.sleep(0.5)
    was_visible = is_visible
HACK

cat | sudo tee /etc/systemd/system/gpp4323-beep-off.service >/dev/null <<THEPLANET
[Unit]
Description=Whenever GPP4323 appears, silence the beeper.
After=multi-user.target

[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/python3 /opt/gpp4323-beep-off.py

[Install]
WantedBy=multi-user.target
THEPLANET

sudo systemctl daemon-reload
sudo systemctl enable gpp4323-beep-off
sudo systemctl start gpp4323-beep-off
sudo journalctl -fu gpp4323-beep-off




EDIT: bugfix
EDIT2: perffix
« Last Edit: October 18, 2022, 09:39:16 pm by jjoonathan »
 
The following users thanked this post: Hexley

Offline Kean

  • Supporter
  • ****
  • Posts: 2468
  • Country: au
  • Embedded systems & IT consultant
    • Kean Electronics
Re: Instek GPP4323 Beep Volume: Can it be decreased?
« Reply #2 on: October 16, 2022, 06:25:26 pm »
 :-DD

Nice!
 

Offline nomead

  • Contributor
  • Posts: 28
  • Country: 00
Re: Instek GPP4323 Beep Volume: Can it be decreased?
« Reply #3 on: October 17, 2022, 01:46:43 pm »
So you have some dual socket Xeon server running just to keep the PSU quiet.  :-+

In my Quick 861DW hot air station i just stuffed the beeper with some blu tack.
Not much use for a Python script here.
 
The following users thanked this post: edavid

Offline Otso

  • Contributor
  • Posts: 20
  • Country: fi
Re: Instek GPP4323 Beep Volume: Can it be decreased?
« Reply #4 on: October 18, 2022, 07:58:40 pm »
System -> Setting -> Beeper -> Off

System -> Power On -> Last

That doesn't do the trick for you? It does for me.
 

Offline jjoonathanTopic starter

  • Frequent Contributor
  • **
  • Posts: 865
  • Country: us
Re: Instek GPP4323 Beep Volume: Can it be decreased?
« Reply #5 on: October 18, 2022, 09:15:11 pm »
That turns off the beeper, but it does not reset the supply settings on startup. For almost all settings, I want a clean slate on startup -- except for the beeper, which I want to STFU. The problem with the existing settings is that I can't have both at once. Now I can :)

Quote
dual socket Xeon server
Think bigger. Every time I turn on my power supply, lights flicker across the Eastern Seaboard of the United States. Peaker plants fire up, AWS datacenter quick response teams get paged, and operations centers around the world hold their breath as they wait to find out if the world's infrastructure can cope with the majesty of my python script.
 

Offline Otso

  • Contributor
  • Posts: 20
  • Country: fi
Re: Instek GPP4323 Beep Volume: Can it be decreased?
« Reply #6 on: October 18, 2022, 10:09:29 pm »
Gotcha. I missed the "while still resetting the supply settings on startup" in your original post. Personally I want to continue where I left off, so for me it's perfect. But nice that you found a working solution!
 
The following users thanked this post: jjoonathan

Offline Pr Utser

  • Contributor
  • Posts: 20
  • Country: nl
Re: Instek GPP4323 Beep Volume: Can it be decreased?
« Reply #7 on: October 16, 2023, 10:26:21 pm »
You can tweak the beeper loudness with GPP firmware mod 1v01: firmware-mod-for-gwinstek-gpp-series-lab-bench-power-supply
« Last Edit: October 16, 2023, 11:07:15 pm by Pr Utser »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf