TarableCode
tarableco.de
TarableCode
@tarableco.de
Tara.

I write weird code that does weird things sometimes.
Toronto smells weird.
I’m not sure how to solve this problem. The threads on the standoffs are too short, but they don’t seem to make longer ones.

Any ideas how I can mount this PCB?
I do have those knurled screw inserts, but the plastic isn’t solid so I’m a bit scared of ruining my only 3d print.
November 24, 2025 at 8:16 PM
Trying to take pictures of the sky.
September 28, 2025 at 5:36 PM
I'm kicking myself for not adding test points for USB, and now it doesn't want to enumerate for either TinyUSB or the built-in USB bootloader.

I'm not really sure what to do in this situation; USB is kind of a big deal for what I want to do.
Any thoughts?
April 24, 2025 at 2:35 PM
Yay: Part of my PCB works!
Noooooo: USB Does not!
April 24, 2025 at 2:35 PM
PCBs came and this one seems to program.
I’m a bit afraid of checking further in case I made a boat anchor, in which case I would be emotionally devastated for several hours to a day or so.

If I never actually test it then it’s possible everything works.
April 22, 2025 at 12:12 AM
I have no idea if I’m doing this correctly or if I’m about to make expensive e-waste.

Anybody used these kind of ribbon cables or displays?
April 7, 2025 at 11:51 PM
Pointless, but it was fun to try.
April 4, 2025 at 2:42 PM
God that ratsnest looks indimidating...
I really hope I'm not going to create e-waste right out of the gate.
March 25, 2025 at 5:23 PM
So I can measure ~36MHz if I just ignore the flash failing to init and try to read from it anyway.

This is my first time using an analog oscilloscope, so it's definitely possible that I'm doing something wrong.
March 19, 2025 at 3:44 PM
Finally got around to playing with this scope to help debug issues with SPI speed beyond 18MHz.

Well, it looks like the 10x probes that came with this interfere with anything beyond ~8MHz.
Still, that can't look good, right?
March 19, 2025 at 1:25 PM
Bitbanged WS2812B LEDs on the Adafruit QT Py CH32v203.
I wasn't expecting this pattern at all, I just started out rotating bits to the left and was pleasantly surprised.

This is my first time driving addressable LEDs with my own code.
February 17, 2025 at 4:06 AM
Prolly fine…
CMD8 Succeeding so far, but lots more to go.
January 31, 2025 at 8:19 PM
I opened up my PS2 for a deep clean to discover whatever this damage is.
Any thoughts on a repair strategy?

I couldn't remove the shielding or take it apart further without risking damage.
My best guess is epoxying the plastic and leaving it in a vice for a while. All I have is a metal vice though.
January 24, 2025 at 3:46 PM
All working good so far using the rp2040 to push flash into an lcd.
Next, I need to implement DMA to keep the SPI peripheral going.
January 16, 2025 at 3:05 AM
I'm currently revisiting something I did years ago, and I wanted to give more thought to this potential problem.

Normally, when I've done this before, I've tristated MOSI on the MCU which seems to work fine.
Part of me worries that it might not be enough, should more hardware be added?
January 15, 2025 at 4:29 PM
Well, now I've learned another lesson.

Never refactor your code. Nothing good comes from refactoring your code.
Leave it all spaghetti.
January 14, 2025 at 3:34 PM
I finally got around to making the debug probe for the rp2040.

With it, I was able to write a serial port interface to flashrom and write to SPI flash.

I suppose soon I have to start thinking about making a PCB, but it feels more daunting with these faster, more powerful chips.
January 14, 2025 at 2:12 PM
Well, that's a new one.
Bringing my hand closer to wires on a breadboard is enough to show up as weird noise on my logic analyzer.

I don't remember seeing this before, and maybe this also explains why my ch32v003 sometimes fails to program.
January 10, 2025 at 9:20 PM
SSD1351 Working now, but it seems to prefer running at 5v.

For some reason it looks really flickery at 3.3v.
January 9, 2025 at 3:39 AM
Seems like it’s easy to get other LCDs working as well; this gc9a01 worked right off the bat.
January 8, 2025 at 11:46 PM
I got the ST7735 working with the shim I’ve been writing to interface with TFT_eSPI LCD initialization functions.

No Arduino framework needed, and so far only ~2.1KB of flash taken up.

Idk if it’s worth putting up anywhere though.
January 8, 2025 at 7:35 PM
Working on running TFT_eSPI on the ch32v003 with the ch32v003fun framework.

I’m writing a basic API to use the init functions from TFT_eSPI with plain C. This ILI9341 and an ST7796S are working so far 😀
January 7, 2025 at 5:02 PM
Turns out you shouldn’t write the 24bit address after the read command when hooking up a display like this.
January 4, 2025 at 7:44 PM
Finally got this sort of working after fighting with some incredibly dumb bugs.
This is a ch32v003 microcontroller dumping the contents of SPI flash directly into a 480x320 display.

Still have to fix a bit more bugs with the colours being inverted (normal when doing regular SPI transfers).
January 4, 2025 at 6:21 PM
Got these from my dad, but I need to make so much more space before I can set them up.
Same deal with that really heavy analog scope he gave me last year.

I hate making space because it always means throwing out something I’ll need later and not know it.
December 31, 2024 at 1:55 PM