Musings of an aging computer nerd hitting 0x32
Blacksmith Day 2023
Had a great day on my blacksmith course making a Ram’s head fire poker at Adrian Wood’s Forge, I would highly recommend it.
I went back for a second course after making a dragon coat hook last year, course which was part of my 50th birthday presents.

TFT Display ST7735 MicroPython
I got a cheap SPI TFT ST7735 Display module with SD Card reader off ebay, it had an unusual number of pins on the back.

It took a while searching about on the internet and some head scratching to find a library and work out what connected to what on the Pico.
This is what I found, and worked out.
TFT Board | Raspberry Pi Pin |
---|---|
LED | 3v3(Out) |
SCK | GP10 |
SDA | GP11 |
AO/DC | GP16 |
Reset | GP17 |
CS | GP18 |
GND | GND |
VCC | VBUS 5V |
Using that information I was able to put together this library based on a few others I found and a few test programs.
Small LED Matrix Numbers
Something I did a few (8) years ago on the Arduino to display two-digit numbers on a 8x8 LED matrix, this is an update to do the same in Micropthon.
Numbers have been defined to 3x5 pixels, so for a two-digit number it fits into 8x5 LED grid with spacing, saving some LED Matrix space.

The code for this can be found here numbers.py
DHT11 Sensor in Micropython
Just a short bit of code to test a DHT11 temperature and humidity sensor module.
This version has just three pins VCC, GND and data, so easy to connect and use with the DHT library.
