James Munns (Twitter Archive)
bitshiftmask.bsky.social
James Munns (Twitter Archive)
@bitshiftmask.bsky.social
A twitter archive of @bitshiftmask

Owned by @jamesmunns.com on bluesky
In case folks are still moving over, reminder I'm over there too, still doing all the electronics, embedded, rust, and protocol stuff I've always been doing :)
November 3, 2024 at 10:42 PM
📣 Second episode of the "Self-Directed Research Podcast" with me and @fasterthanlime is now up! This episode is "BBQueue - Going Just Far Enough with Generics"!

Links to Apple Podcasts and Spotify below :D

https://sdr-podcast.com/episodes/bbqueue/
November 3, 2024 at 10:42 PM
The first episode of the "Self-Directed Research Podcast" with me and @fasterthanlime is now up! The podcast is a weekly deep dive, and this first episode is Amos exploring what they got right, and what they got wrong, when it comes to Rust build...
November 3, 2024 at 10:42 PM
Hey, just a rememinder: I'm pretty active over on the other site, and as of today, you no longer need an invite to sign up!

It would be cool to see more Rust and Embedded folks over there.
November 3, 2024 at 10:42 PM
Update, added bluesky to my list of websites. Find me there if you'd like. (I don't have invites)

Still most active on Cohost and Matrix. Full list of places to find me in the linked tweet.
November 3, 2024 at 10:49 PM
Been hacking on some stuff for my generative synth, primarily how to build/store musical notes.

I also wired it up so it can:

A: generate midi of the stored contents
B: you can use a tool (MuseScore) to dump the midi to music notation

This is mary had a little lamb
November 3, 2024 at 10:42 PM
I cannot begin to explain to you the things you are missing over on @cohost_org. This is all done in CSS.
November 6, 2024 at 12:38 AM
Elon buying twitter / Elon burning it down

(in this metaphor twitter is the lamp, I think)
November 3, 2024 at 10:42 PM
Surprising no one, (nearly) 70W of LED lighting is in fact, bright.

Also while my load tester (with current and voltage measuring) is now ready, I severely regret doing things this way. However we're here, so might as well go through with it at this point.
November 3, 2024 at 10:42 PM
Still probably my most used bash shortcut/command - a script that:

* Makes sure I have a folder for the current year in my "notes" folder
* Opens up a new markdown document with today's date, in my editor of choice.

https://gist.github.com/jamesmunns/5d3400cb6d3109a0ed03cf35ebb29228
November 3, 2024 at 10:49 PM
Kuma, upset that we have momentarily moved his stairs to change the sheets.
November 3, 2024 at 10:49 PM
Boards arrived, so it is time for gratuitous lego glamour shots.
November 3, 2024 at 10:49 PM
More happy little wiggles.

First picture is showing the three-part RS-485 comms sequence (Router addresses node, node responds with data and capacity, router responds with data then ends comms).

Second picture is the SPI communication sequence.

Good enough to fully demo now.
November 3, 2024 at 10:49 PM
Planning, overplanning, and load testing.
November 3, 2024 at 10:54 PM
Huh. Compression did me dirty there. Lets see if this works better:
November 3, 2024 at 11:00 PM
And also working on a plan for a test setup, and what still needs to be done in software before I can get some stuff going.
November 3, 2024 at 10:54 PM
my "silkscreen" to "routing" effort ratios are way off here.
November 3, 2024 at 10:54 PM
Update: LEDs blinked, all is right in the world.

(alt: two small boards each blinking red + amber LEDs in a two-bit binary counter pattern)
November 6, 2024 at 12:38 AM
Honestly, it's frustrating how close x server forwarding is.

With compression, it's *ALMOST* there, but still 10ish fps, which is fine for typing, but you REALLY notice it when scrolling.

Left: local/native. Right: x-server forwarding.
November 6, 2024 at 12:39 AM
Bytes go in (on SPI),
Bytes go out (on RS485).

It's all DMA + interrupts. The latencies are super tight, it all fits in 15KiB of flash, and in 6KiB of RAM. I'm super excited about it.

Should be able to mostly saturate 8mbps, with 2KiB incoming and 2KiB outgoing buffers each.
November 3, 2024 at 10:54 PM
Yaaaaay bidirectional comms at 8mbaud over RS-485.

The router is addressing the node, then offering 512 bytes of RX space, and the node is responding that it will send 127 bytes, and can receive up to 256 bytes.
November 3, 2024 at 10:54 PM
I've never missed Kansas City as much as after seeing this photo.

Source: https://old.reddit.com/r/kansascity/comments/xs3vfr/kc_inspired_bbq_burnt_ends_with_extra_sharp/
November 3, 2024 at 11:00 PM
Oh.
November 3, 2024 at 11:00 PM
Here’s an annotated version just for funsies.
November 3, 2024 at 11:06 PM
Test jig intensifies.
November 3, 2024 at 11:00 PM