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

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

Hacking IKEA trådfri lighting automation

IKEA TRÅDFRI Zigbee module on a breadboard.

I recently visited IKEA again and got interested in their affordable line of home automation/LED lighting products called TRÅDFRI (meaing wireless in a play-with-words kind of Swedish). Of course there was already an internet community active in hacking these devices and I joined in. Getting started I installed the gateway and after pairing devices to… Continue reading Hacking IKEA trådfri lighting automation

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