Some more workshop work on the SDG2042X Linux GUI today (got a free Monday): Fixed 5 bugs in this round, including ARB handling on the real instrument, sweep fallback timing, preset handling, and one unsafe input-parsing corner.

I hope GUI is getting a bit less fragile / more reliable.

Blog:
https://togo-lab.io/?p=287

Gitea:
https://gitea.togo-lab.io/tgohle/0003-SDG2042X-PyQt-GUI-for-Linux

#ToGoLab #Siglent #SDG2042X #PyQt5 #Testbench #OpenSource #python #weekendProject #diy_electronics #DIY

Project 0003: SDG2042X GUI v0.2.* — first patch round and bug tracker setup – togo-lab.io

Some quiet workshop work behind the scenes in the last weeks: Fixing bugs in my SDG2042X GUI & using the process to learn Git issue tracking.

Found 14 bugs and hope to fix 4 of them soon; tests are ongoing.

Blog:
https://togo-lab.io/?p=287

Git:
https://gitea.togo-lab.io/tgohle/0003-SDG2042X-PyQt-GUI-for-Linux

Issues I found so far:
https://gitea.togo-lab.io/tgohle/0003-SDG2042X-PyQt-GUI-for-Linux/issues

#SDG2042X #GUI #ToGoLab #Linux #PyQt #Python #Electronics #SCPI #Gitea #BugFixing

Project 0003: SDG2042X GUI v0.2.* — first patch round and bug tracker setup – togo-lab.io

New lab gear for upcoming TōGō-Lab projects: Picked up Nordic’s Power Profiler Kit II to get a good look at low-power behavior instead of guessing with a handheld power meter.

Setup in a virtual Win10 was easy. But getting it running on my Ubuntu workbench machine was a bit more fiddly than expected.

Nordic's AppImage works, but not quite as plug-and-play as I hoped.

Blog:
https://togo-lab.io/?p=258

Git:
https://gitea.togo-lab.io/tgohle/0006-Setting_up_Nordic_PowerProfilerKitII_Linux

#ToGoLab #Nordic #PPKit2 #nanoAmpere #Linux #Ubuntu #Electronics #DIY_electronics #LabNotes #DIY

The last few weeks went into project Nr. 0005: 電力番長 (Denryoku Bancho), my Linux-native fork path for the MightyWatt electronic load.

Main reason: Finally wanted this thing to live where I want it: In my Linux lab environment instead of in a virtual Windows side corner so I can better integrate. It also fits well with restarting my electronics hobby & reshaping my lab.

So the cli part of the project is now at beta 0.1. It basically works, but it still needs heavy testing and improve over the next few weeks. Maybe a GUI will follow later.

Blog: https://togo-lab.io/?p=250

Git: https://gitea.togo-lab.io/tgohle/0005-DenryokuBancho

#MightyWatt #DenryokuBancho #電力番長 #ToGoLab #Linux #Electronics #ElectronicLoad #CLI #Python #TestAutomation #OpenSource #HardwareHacking #DIY #DIY_electronics

電力番長 Denryoku Banchō – a MightyWatt Linux CLI – togo-lab.io

電車ベクトル (Train Vector):

Software post is now online. 3rd & final post about the current version 2.

https://togo-lab.io/?p=243

Job of the SW: Read 2 analogue inputs, averages signals, calibrates itself at startup, applies thresholds + hysteresis, remembers the last valid direction (using by a state machine) & switches the headlights accordingly.

The optional functions are not in use. I want to wait until feedback from the train club testing this project.

Link to the git:
https://gitea.togo-lab.io/tgohle/0004-DenshaBekutoru/src/branch/master/firmware/ArduinoTest/DenshaBekutoru-0004_Version-0-2_ProMini_PCB2026-2_V01

#電車ベクトル #TrainVector #ToGoLab #BrickTrains #ModelRailway #Arduino #Electronics #Projects

電車ベクトル (Train Vector): The Software – togo-lab.io

電車ベクトル (Train Vector project): Hardware description:

The main board reads the noisy motor signal of a brick-built model locomotive directly from the H-bridge controller, isolates and processes it & controls the headlights.

There are also a future option board & a detachable test circuit (4 LEDs).

Blog, describing the schematic & showing the PCB:
https://togo-lab.io/?p=233

Gitea (schematic, PCB):
https://gitea.togo-lab.io/tgohle/0004-DenshaBekutoru/src/branch/master/KiCad/0004-DenshaBekutoru_v0.2

#電車ベクトル #TrainVector #ToGoLab #BrickTrains #ModelRailway #Arduino #Electronics #Projects

Finished my 電車ベクトル (Train Vector) project:

A Arduino-based board will detect the driving direction of brick-built model locomotives directly from the noisy H-bridge motor controller & switches the headlights automatically.

Sounds simple, but due signal noise, switching artefacts & inductive (reverse) spikes direction sensing is quite hard.

Schematics, PCB, and firmware for beta (version2) finished & working.

Three PCBs were built & tested & the first 2 boards are now handed over for real-life testing in a model railway club.

Blog:
https://togo-lab.io/?p=223

Gitea (Schematic, PCB):
https://gitea.togo-lab.io/tgohle/0004-DenshaBekutoru

#電車ベクトル #TrainVector #ToGoLab #BrickTrains #ModelRailway #Arduino #Electronics #projects

Today I pushed my 1 GB VPS over the limit by running #Nextcloud, #Matrix, and #Gitea for togo-lab.io and adding #ClamAV AV scanning as an experiment. It crossed the line due too much load during scanning, and my system crashed.

Maybe you’ll find my post-mortem useful.

https://togo-lab.io/?p=190

#togolab #tgonet #postmortem #selfhosted

Post-Mortem: Antivirus Integration on a 1 GB Nextcloud VPS (failed due load) – togo-lab.io

Lazy Sunday afternoon project, a simple *PC817 OptoCoupler tester.

Two very simple ~5V circuits:

1) Quick check — push the button, LED on = works.

2) Test Circuit as mentioned in the datasheet for frequency / pulse behavior test.

Nothing fancy, but handy for sorting out good vs questionable parts.

Blog:
https://togo-lab.io/?p=153

Gitea:
https://gitea.togo-lab.io/tgohle/0002-PC817-Series-PhotoCoupler-Tester

#electronics #DIY #optocoupler #pc817 #ToGoLab #SundayDIY

Improving my test bench for future projects, I wrote a small PyQt5 GUI to control my Siglent SDG2042X from a remote Ubuntu desktop.

It handles basic waveform setup, sweeps, bursts, presets (so you can adjust at the generator and than load down for later), ARB upload/download (not fully tested yet), and SCPI commands, also screenshots.

I’m more of a hardware guy than a coder (for sure there will be some bugs), so feedback are welcome. Fork if you like.

--
Blog:
https://togo-lab.io/?p=130

Gitea with script:
https://gitea.togo-lab.io/tgohle/0003-SDG2042X-PyQt-GUI-for-Linux

#ToGoLab #Siglent #SDG2042X #PyQt5 #Testbench #OpenSource #python #weekendProject #diy_electronics #DIY

Controlling my Siglent SDG2042X from Linux – togo-lab.io