Posts

Showing posts from 2025

I2C and SPI - what would you like to know?

Image
You can find more about I2C, SPI, Raspberry Pi and Pico on the free RAREBlog stack . I'll be posting all new RAREblog content on that stack. I will keep old content here, since some of these pages still get inbound traffic from links. My goal for the next few months is to post a full article each week, but I'm also sharing work in progress as substack notes. You can follow those without signing up for the full substack experience. In the current project, I'm getting a monochrome display to show how the current through an LED varies with voltage. I'm nearly there: I expect to complete the project in the next day or so. Here's the display; the video below shows the breadboard with the Pico, the LED and additional circuitry. Here's the latest plot; it's generated on my workstation from a csv file, but I should soon have a version on the OLED display!   Remember to follow the new version of RAREblog if you want to follow my progress!    

Coding with Cascade

Image
Using SVG for interactive knowledge graphs A while ago I built an interactive knowledge graph visualiser using svg. The code has long been lost, and I wondered how hard it would be to re-create it.   Like all good programmers, I'm lazy, so I asked Cascade to write it for me. Here's the first output: Alas, you can't see the hover text in the image, but it's there in the svg. It took  under 20 minutes of pairing with Cascade to create a json schema, a test file and the python code to create the svg. In the next 10 minutes  I got Cascade to generate a unit test, document the code, commit and push to GitHub. I've found that AI makes it possible to create simple tools in minutes, but only if you are an experienced developer and take the time to learn how to pair productively with AI.