Gerrit Niezen

Maker of open-source software and hardware.

On Linux, getting details about the USB devices connected to your computer is as simple as typing lsusb. If you want even more info, like what kernel driver is being used, you can use usb-devices.

On MacOS, things are a little bit more complicated. You can open System Information and look under USB, or you can type system_profiler SPUSBDataType.

On Windows, it's a bit of a nightmare. Sure, you can open Device Manager if you're just looking for some USB product ID and vendor ID details, but what if you want to list all the details of all the USB devices connected? The official Microsoft advice is to:

  • Download and install the Windows SDK
  • During the installation, select only the Debugging Tools for Windows box and clear all other boxes.
  • Navigate to the right directory (probably C:\Program Files (x86)\Windows Kits\10\Debuggers\x64) and then select USBView.exe to start the utility.

I’m publishing this as part of 100 Days To Offload. You can join in yourself by visiting https://100daystooffload.com.

#100DaysToOffload #day45

I saw this toot on Mastodon today and decided to see if there's anything interesting on Bandcamp:

And would you know, within a couple of minutes I discovered an amazing chiptune album created by someone living in my town (!):

Not only that, but this same person also created a Nintendo Game Boy game during lockdown, and their blog is pretty delightful too.

The things you can discover when you don't depend on algorithms to do your discovery for you, which is basically what I've done with Spotify for the last decade.


I’m publishing this as part of 100 Days To Offload. You can join in yourself by visiting https://100daystooffload.com.

#100DaysToOffload #day44

I've been growing a Habanero chilli plant in a small hydroponics setup for a while now, and harvested enough chilli peppers a couple of months ago to make this 5-ingredient Habanero hot sauce.

I enjoyed it so much that I'm planning on making it again tonight, as the chilli plant is very heavy with peppers again.

Habanero chilli plant grown hydroponically


I’m publishing this as part of 100 Days To Offload. You can join in yourself by visiting https://100daystooffload.com.

#100DaysToOffload #day43

I'm about halfway through reading Humankind: A Hopeful History by Rutger Bregman. So far it's been a really insightful read, and it's one of the few books that I've read lately where I can say I've learnt a lot. I want to say I wish that this is a book everyone would read, but I'll wait until I've actually finished the book before I actually say that.

It's not a quick read, coming in at about 480 pages, but it covers a lot and is written in very accessible language. So far it has focused on a lot of scientific studies and debunking ones that try to show that humans are selfish by nature. I'm hoping the second half of the book will be looking at some really actionable advice for the future.

I also enjoyed Bregman's 2017 book Utopia for Realists, but it hasn't had the same perspective-shifting impact on me as Humankind has had so far.


I’m publishing this as part of 100 Days To Offload. You can join in yourself by visiting https://100daystooffload.com.

#100DaysToOffload #day42

I'm pretty excited about a new project here in my neighbourhood that's getting off the ground called Room to Grow. They basically want to convert people's front gardens into places to grow food.

I recently came across a book called Eat Your Front Garden by Mat Coward. It describes various plants that may look ornamental, but are actually edible. I was hoping to plant some of them in our own front garden, so it's great to see that there are other people in my local community thinking the same thing. Hopefully I can get more involved with the project, instead of just doing it on my own.

If you're based in Swansea, maybe have a look at their crowdfunding page! The people behind this are the same ones behind a lovely local cafe called Hoogah.


I’m publishing this as part of 100 Days To Offload. You can join in yourself by visiting https://100daystooffload.com.

#100DaysToOffload #day41

In a previous post I mentioned that I would be taking part in the Stay-at-Home TH/NGS Jam today.

I decided to build a Hide & Seek game, where one person would select a room in a virtual house to hide in, and the other person would seek them out using the NFC scanner on an Android phone. I managed to get everything working in the end, resulting in two small web apps.

One webapp is for the person hiding, where they can select where they're hiding:

Hiding in the dining room

The room they select is saved to a remote database, which can be read by another web app for the seeker:

Seeking the person hiding

They press the Scan button to enable the NFC scanner, and then move their phone over a physical paper map of the house, embedded with NFC tags. When the scanner reads a tag for a room, it will display whether the person is hiding in that room or not.

The code is available on GitHub.


I’m publishing this as part of 100 Days To Offload. You can join in yourself by visiting https://100daystooffload.com.

#100DaysToOffload #day40

Following on Part 1 and Part 2, this post is about my ongoing adventures in building my own webcam.

I got the software working yesterday, but still needed to put everything in a suitable enclosure to mount on top of my monitor. I found out that I can mount my small GorillaPod tripod on top of my monitor arm with its magnetic feet, such that the camera peeks out above the monitor itself. Now I just needed a suitable enclosure.

I searched Thingiverse and PrusaPrinters and came across this design specifically made for the Raspberry Pi Zero and HQ camera. I printed the parts and everything just worked. I even had the right length M2.5 screws and nuts on hand to close everything up.

DIY Webcam made with Raspberry Pi

There are some parts that I still want to improve:

  • The Pi Zero W that I bought has a header soldered on, as the regular one was out of stock. This means that the enclosure doesn't close completely. I'd like to replace this with a regular Pi Zero without header. It also doesn't need WiFi, as I can talk to it over USB.
  • The USB connection is currently at the top. I'd like to switch it around to make it look a bit neater.

Apart from those two niggles, I'm perfectly happy with my new webcam!

DIY webcam mounted on monitor


I’m publishing this as part of 100 Days To Offload. You can join in yourself by visiting https://100daystooffload.com.

#100DaysToOffload #day39 #rpicam

In the first part I discussed why I'm not able to get a decent webcam, and deciding to make my own using a Raspberry Pi Zero and the new Raspberry Pi High Quality Camera instead.

Well, all the parts arrived from the friendly pirates at Pimoroni today, so I got to work at putting it together.

The first speed bump was discovering that the Zero W has a mini-HDMI port. I have many HDMI cables as well as a micro-HDMI adaptor for the Raspberry Pi 4, but no mini-HDMI cables or adaptors. I decided to just connect to it over WiFi instead. First up, Adafruit's Raspberry Pi Zero Headless Quick Start guide. That got me to the point where I could ssh into the Pi Zero W and update the operating system without seeing the screen or plugging in a keyboard or mouse.

The Raspberry Pi High Quality Camera Getting Started manual was also quite helpful in figuring out how to connect and adjust the lenses.

I tried a whole bunch of things, mainly on this forum thread, to try and get the Pi Zero to act as a webcam. It wasn't working, so I started wondering if the guy who showed a successful demo of it working on YouTube had a blog with instructions.

Turns out, he wrote up the instructions just four days ago! I tried it, and it works! Another turns out: He's the same guy behind the PiPhone, Drop Pi and the Lapse Pi.

One last issue was that everything was out of focus. I had a look at the Pimoroni website again and found the manual for the lens that I bought. Turns out I had to remove the CS-S adaptor, fully screw in the backfocus, and only then adjust the aperture and focus.

I compared it against my built-in webcam, and it looks so much better! Going from a 720p fixed-focus webcam to a 12MP camera running at 1080p with a manual focus is quite the difference.


I’m publishing this as part of 100 Days To Offload. You can join in yourself by visiting https://100daystooffload.com.

#100DaysToOffload #day38 #rpicam

I haven't played a computer game for more than a couple of minutes in a very long time. The last game I played seriously was World of Warcraft in the early 2000s. As a teenager I loved real-time strategy games like Starcraft and Homeworld, but as I got older they felt more like work than play.

I recently found myself looking at everyone playing Animal Crossing: New Horizons, and it reminded me of a game I bought as a Humble Bundle in 2017, but never played: Stardew Valley. After playing it for a couple of hours with a toddler on my lap over the last week or so, I realised that I do miss that sense of enjoyment that you get from playing computer/video games. I'm especially enjoying seeing my son discover virtual worlds for the first time.

I do think that play (even if it is in a virtual world) is a very important of living, and maybe I've neglecting it in favour of “productivity” for far too long.


I’m publishing this as part of 100 Days To Offload. You can join in yourself by visiting https://100daystooffload.com.

#100DaysToOffload #day37

Since I got a second monitor, I've been meaning to install a webcam so that I can look at my main screen instead of my laptop screen when on video calls. According to The Wirecutter, the Logitech C920S is the best webcam out there at the moment.

Due to the Covid-19 pandemic, the webcam is out of stock at all the usual resellers, but you can find it on eBay for £180, instead of the usual £85. Apparently drop shippers have switched from hoarding toilet paper and hand sanitiser to work-from-home tech?

Then I remembered that I actually just want a good-quality video feed, and that it doesn't necessarily have to be a webcam. A lot of people have been using point-and-shoot cameras combined with an HDMI capture card. That made me wonder if the new Raspberry Pi high-quality camera module could be used a as webcam?

Yes, it can. So I've ordered a Raspberry Pi Zero W, a HQ Camera module, 6mm wide-angle lens, camera cable and micro SD card. I'm looking forward to putting this together, with the hope that it will be a better quality video feed than what would've been possible with the Logitech webcam. DIY FTW!


I’m publishing this as part of 100 Days To Offload. You can join in yourself by visiting https://100daystooffload.com.

#100DaysToOffload #day36 #rpicam

Enter your email to subscribe to updates.