HowTo: A very simple three step water level indicator for Arduino / ESP

March 31, 2024 @ 06:03

When thinking about my new CanGrow project, which things I want to have data and want to measure, I thought having a water level indicator, for a water tank for example, would be a good idea.

Most things I found were about the premade Waterlevel module, which can be found on ebay, amazon and quite every maker shop. The downside of this module is, that it has a limited length. And I dont want to hack around a module, as my goal for the CanGrow project is, to be very simple.

So I did some further research and thought about those very simple water level indication schematics, which just use a transistor, resistor , led and power source, which brought me also to this arduino projecthub article, which describes how to build such a water level indicator with only a few resistors.

When looking at the schematics, it reminded my heavily to a voltage devicer circuit. So I ignored the “virtual Wheatstone bridge” stuff described in the article and played around a bit and found the solution for my projects problem.

I came up with this schematic:

[Read more...]

HowTo: XCompile Xash3D-NG for ReactOS on Linux

January 17, 2024 @ 00:35

For about a year I haven’t updated my ReactOS server, so it was time to update everything and the new year was a good moment for that.

Installing and stuff was pretty easy, I don’t want to go into much detail about that, as it is mostly unzipping stuff and copy them somewhere. Maybe I go in a future post into detail, how this setup is built up.

Today I want to focus on the way to get an working win32 binary of Xash3D-NG, an fork of Xash3D maintained by a user called tyabus which represents the version 0.19.4 of Xash3D. This particular version is quite popular, even when a much more active developed fork, named Xash3D-FWGS (version 0.20), exists.

Reason for its popularity is, that still many of the Xash3D android apps are based on the old version, so there is a quite large user base. Unfortunately tyabus do not offer (any more?) binaries for his fork.

Update: There is a build pipeline for the Windows client binaries but no for the server ones, Github comment
I will upload my builds to when there is a new one

So I have to compile them myself which is not such a big deal for me when it comes to compiling stuff for linux, but cross-compiling windows binaries on linux is something i am really not used to.

A year ago I already had this challange and I only remembered that it was not pretty easy for me. Compiling this time the latest master branch was a much dirtier game in comparison what I remembered from the last time and I forgot most of the things. So I want to write them down for the case I need these steps again or someone other can find some useful information from there, so I also will write about the way to the solution with all errors I came across.

  [Read more...]