Skip to content

Instantly share code, notes, and snippets.

@dirksan28
dirksan28 / ht02.md
Last active July 12, 2023 09:35
Repair Hit HT-02 thermal imaging camera (clock/date reset after restart) + HowTo open the enclosure

Repair / MOD Hti HT-02 thermal imaging camera (clock/date reset after restart)

ht02

Symtoms

I recently bought a Hti ht-02 thermal imaging camera second hand. Unfortunately, I found that the time and date settings were lost after it was turned off.

|wrongTime1 |wrongTime2|

As a result, the camera always started with the defaults 13/4/7 10:07.

How to embed diagrams natively to github markdown files

Code example

Here is a simple flow chart:

```mermaid
flowchart TD;
    B([B This is the text in a round-box])
    A==>B;

A-->C[\This is text in a parallelogram called C];

Firefox tweaks

limit cache size

Firefox will create a large cache if your hard drive or SSD has a lot of space. To constrain it:

  • In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.
  • In the search box above the list, type or paste cache.d and pause while the list is filtered
  • Double-click the browser.cache.disk.smart_size.enabled preference to switch the value from true to false -- this is necessary to override the size, otherwise Firefox will enlarge it again in a day or two
  • Double-click the browser.cache.disk.capacity preference to display a dialog where you can edit the size, then click OK -- if this number is 7 digits, for example, 1000000, that is 1 gigabyte; if this number is 6 digits, for example, 500000, that is 500 megabytes.
@dirksan28
dirksan28 / FW_ZPB30A1.md
Last active January 5, 2023 00:21
Custom Firmware for Electronic load ZPB30A1 (60W)

HowTo Update the Firmware of the Electronic load ZPB30A1 (60W)

FwUpdateDone

Motivation

  • new operation modes:
    • CC: Constant current
    • CR: Constant resistance
    • CP: Constant power
    • CV: Constant voltage (slow regulation due to hardware limitations)
  • Easily usable menu system with many configuration options

Install XGecu TL866 II plus on linux

tl866

  • Obtain a copy of the Xgpro software. This is the official link: http://www.xgecu.com for XGecu T56/TL866II Plus Software Version 10.15
  • Install Wine if required.
  • Extract the contents of the XgproV10xx_setup.rar and run wine ./XgproV1013_Setup.exe or double click from file manager app. Note that the application should install fine, but you won't be able to talk to the device just yet.
  • Download setupapi.dll from https://github.com/radiomanV/TL866/tree/master/wine and copy it to the same location where you installed Xgpro. This might be somewhere like ~/.wine/drive_c/Xgpro or similar.
  • As root, create /etc/udev/rules.d/50-xgpro.rules and add the following:
SUBSYSTEM=="usb", ATTR{idVendor}=="a466", ATTR{idProduct}=="0a53", GROUP="plugdev", MODE="0666"
@dirksan28
dirksan28 / ESRValues.md
Created September 13, 2022 01:06
ESR values for electrolytic capacitors

Testing electrolytic capacitors...

Table of known good ESR values for electrolytics

C/V 10V 16V 25V 35V 63V 160V 250V
1uF 5 4 6 10 20
2.2uF 2.5 3 4 9 14
4.7uF 6 3 2 6 5
10uF 1.6 1.5 1.7 2 3 6
22uF 3 0.8 2 1 0.8 1.6 3
@dirksan28
dirksan28 / RolandEM55Floppy.md
Last active November 25, 2023 13:53
Gotek emulator for Roland EM-55 howto
@dirksan28
dirksan28 / PSUs.md
Last active October 15, 2022 08:27
Random electronics related stuff