banner
mrmartincowen.bsky.social
@mrmartincowen.bsky.social
39 followers 45 following 340 posts
Posts Media Videos Starter Packs
I don't think there's any reason I should accept a LI request from a company owner who didn't honor their contract to pay for licences for software which I wrote.

It's a small business so they either knew or should have known. B2B so not a small % of sales like B2C.
Addendum since finding WinLibs, seems better than TDM-GCC:
C is simple language, they said. Then you get this comment in response to this talk www.youtube.com/watch?v=2KZg...
Feels odd doing publicity photography, should be bottom of the priorities list, but then the results are worth it. Updated the blog header photo
from to
C&K Button D6 model was badly offset and rotated in two axes
and model has pins where it shouldn't - data sheet says 7, 8, 15 is no pin, and that's true of component.
Even when you find the models, some offset or rotation can be needed. eg the IGS file from www.kingbrightusa.com/kcpn3d.asp?P... comes out with the face in the board plane, needed Z = 0.331 inch to correct
Thanks. STM32C031C6
12k RAM, 32k Flash. Was the smallest with the number of IOs I needed, and stocked by LCSC (JLC) so they soldered it.

Effort with render is in finding the models, not all in KiCad libs.
Reminder of the board that this firmware is for: Countdown Timer PCB

#electronics #firmware #STM32 #KiCad
My blogging software says that it's 2360 words and should take about 13 mins to read. But it's mostly instructions so you'll probably be going slower than that. Nevertheless I try and keep these below 20 mins each.
Tell me you've written a giant pile of code and have just found out that your compliance procedure requires tests a few weeks before the release date, without telling me.
I got 3 blog posts out last week, a record for me, totaling 6k words. Final in the series should be out by the end of tomorrow, another 2k words.

But it's the research and code development behind these posts that takes the time, not the final write up. As always, I'm hoping they will help someone.
Was in Website Speed under Responsive images which seems to affect all screen resolutions, didn't realise that.

Before and after
I've increased the quality factor on images which should make them much more readable, not just for this latest post but all posts on the blog.

I don't usually do how-tos but this wasn't covered in one place anywhere else, AFAIK. And is essential for the next step - unit testing (on host).
Having extolled the virtues of diagrams, I felt the need to add another one to this post to explain the program and data flow, especially when you can't yet see the complete code.
Lighting control complexity is underestimated, story of my life.
📫New on the blog: blog.martincowen.me.uk/using-finite...

Second of 4 posts on the firmware for my PCB, covering designing FSMs, using DOT language, Graphviz and visualisers to autogenerate C code with a python script. Links to expert calcs on real-time scheduling.

#STM32 #firmware
📫New on the blog: blog.martincowen.me.uk/countdown-ti...

First of 4 posts on the firmware for my previously published PCB, covering layered design, 7-segment driver, overcoming HAL limitations with PWM using Negative polarity pin, musical pitch generation.

#STM32 #firmware
Motivated reasoning, expectancy bias, subject behaves as in cold reading. But it's not AI boosters' job to study psychology, especially if would make you doubt your product.