Wilson’s theorem in finite fields

I’ve been reading some algebra from Larry C. Grove’s Algebra from Dover. It’s a nice book with lots of exercises, and while doing some of them I found out a nice way to prove Wilson’s theorem in any finite field . This post does require the reader to know what a group is and what … Read more

Generating negative bias voltage for LCDs

It’s been quite a while from the last post. I’ve had many projects and several ideas that would have made for a nice blog post but I never quite got around to writing, but now I finally decided to write a small memo. When you are using a LCD the driver needs to generate bias … Read more

Recovering a corrupted Firefox database

Recently when developing my kernel module I experienced multiple crashes, mostly as a result of giving bad pointer to some kernel function which resulted in random writes to crucial kernel memory. That manifested as kernel crashing at some point of time in the future, locking up the system completely. Well, reboot and no big deal, … Read more

Driving an old Brother LCD display

Yes, display is there twice. Anyways, I’ve got this old dot matrix LCD, and for fun I decided to try to make a driver for it. It’s from a Brother LW-1 word processor which was a sort of electrical typewriter that included a printer and digital software for, well, word processing. The display is a … Read more

RP2040 and SWDv2

I finally got around to soldering my new RP2040 breakout board to try the MCU a bit before using it in any complex projects. The board is quite simple and consists only of a linear regulator, a W25Q16JVSSIM 16 megabit Winbond flash memory, a 12MHz crystal , some usual resistors and capacitors, and of course … Read more

Waiting for a sunny day

I couldn’t get to test my new solar charge controller coupled with a cheap 10W solar panel, and won’t be able to for a while as the weather forecast tells that it will be cloudy for the next week. So instead I decided to write some thoughts about my project. The goal for the project … Read more