SSD1306 OLED LCD Library

October 27, 2018

Although there are already many examples and fine libraries readily available, most of them are using a buffer, meaning all the drawing operations are saved to a memory array and them dumped to the LCD as one complete frame. This has certain advantages that I would normally go for, but it also uses a lot of memory, a no go for small microcontrollers. This is why I wanted to write a library that will directly write to the LCD hardware instead of using a buffer. It’s a bit slower but it saves considerable memory!


ESP8266 Troubleshooting

July 29, 2015

I got a few esp8266 modules back in 2014, shortly after they’ve been announced on HackaDay. I didn’t have much time for them, being caught with other projects, up until recently when the portable environmental monitor project needed a versatile wireless communication mechanism, low powered and if possible at a decent price. The esp8266 seemed the best candidate, but like with everything in life where nothing comes free, getting it…


ILI9341 touchscreen LCD Library

July 23, 2015

I got a few QVGA LCD’s with resistive touchscreen for an ongoing project. All that was left to do was putting the driver code together. The LCD code part was very much similar to my previous work on the ILI9163 but this time I went for faster SPI communication (also due to the bigger resolution). The microcontroller – an Atmega128 – uses normal SPI transfer and the external quartz crystal…