VSCode for everything

Atmel Microchip Studio 1 1/2 years ago now I have finally abandoned Microchip (Atmel) Studio for programming AVR microcontrollers. I have been using Atmel Studio from the very first day I have been programming AVR microcontrollers and I have been following it through the version 4 to 7. But already a couple of years ago… Continue reading VSCode for everything

The TIAN MA A2C00096100 LCD

The electronics distributor https://www.pollin.de/ is often selling surplus displays, but normally these are not very well documented. The TIAN MA A2C00096100  LCD module is a 90 mm x 20 mm character display with on-board chip-on-glass controller. It has 20 alphanumeric character positions, actually 18+2 since there is a vertical 1-pixel wide bar separating the last… Continue reading The TIAN MA A2C00096100 LCD

Temperature measurements with an NTC thermistor

Following a discussion on Facebook I put here an online tool to calculate the output of a voltage divider consisting of a fixed resistor and an NTC thermistor following a first order Steinhart–Hart equation. The calculations are based on a voltage divider where either the voltage over the NTC or over the pass resistor is… Continue reading Temperature measurements with an NTC thermistor

A tiny watchdog

In a recent quick-and-dirty project with a Wemos D1 mini clone I had some problems with the reliability of the code. The ESP8266 contains two watchdogs which have the sole purpose to reset the chip if the firmware ever should get stuck. Previously I experienced these watchdogs to be too aggressive, but this was not… Continue reading A tiny watchdog

240×320 TFT with touch on an ATmega328

Breadboard construction.

It’s been a while since I purchased some TFT modules on eBay. These modules come in different sizes and two varieties – with and without integrated touch controller XPT2046. The controller in the TFT display itself is an ILI9341 wired up to be controlled by SPI. When planning my new remote control project I briefly… Continue reading 240×320 TFT with touch on an ATmega328

Hacking an AVR programmer II

USBasp v3.02 from eBay, top side. (photo Sven H)

This is a follow-up of my most popular post, Hacking an AVR programmer. MX USBasp v3.02 Recently there have been quite a few comments about a new version 3.02 layout of the USBasp programmer available from many Chinese ebay sellers, which appears to be incompatible with my previous hack. The problem is still that these… Continue reading Hacking an AVR programmer II