Make Kasprzak ๐Ÿง‘โ€๐ŸŽค๐Ÿ's Avatar

Make Kasprzak ๐Ÿง‘โ€๐ŸŽค๐Ÿ

@distraction.engineer

Engineer of Distractions; Pro/Indie Game Dev (1999+); IGF Finalist (2009); Retro, DIY, C64 nerd; AKA PoV, PoVRAZOR, VA3POV ๐Ÿ–๐Ÿ“ป; a them; ๐Ÿ Caretaker/co-creator of the @ludumdare.com online game jam; @facade.music Empathy is punk! Trans rights! ๐Ÿณ๏ธโ€โšง๏ธ๐Ÿ’œ๐Ÿค˜

2,147
Followers
308
Following
6,227
Posts
17.10.2024
Joined
Posts Following

Latest posts by Make Kasprzak ๐Ÿง‘โ€๐ŸŽค๐Ÿ @distraction.engineer

I have a much greater appreciation for network ping now: Every packet you send is at the mercy of every chip and magnetic field separating you and who you're talking to. NTP exists only to sync your "time of day" clocks, not the 125 MHz reference clocks of every Ethernet adapter inbetween. ๐Ÿฅฒ

06.03.2026 06:58 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Of course, crystals themselves aren't perfect. This is why you still sometimes want access to an atomic clock (or an upstream like GPS): to "factory calibrate" your crystals. That said, a crystal can drift based on temperature, so you may want a temperature probe on your PCB too.

Wow. Pedantic. ๐Ÿค“

06.03.2026 06:41 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Ahhhh! I hadn't realized internal clocks on microcontrollers need calibration! This is why the CH32Vxxx chips still support "more power hungry" external crystals: for calibration!

Therefore, the reason the CH592 omits an internal high frequency clock is because high speed USB & Bluetooth are picky.

06.03.2026 06:23 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0

I really don't like how the WCH HAL is set up in Zephyr OS, but I think I'm ready to concede. It could be made to generate much better code, but my pedantic efforts needed to improve the core are better spent elsewhere.

So yeah, I'll "make it work like the other ones" so I can start my project. ๐Ÿคท

05.03.2026 23:16 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Panel 1: Shen is keeled over a chess board in his chair at the park, sweating and gritting his teeth. He thinks "NO! I'M GONNA LOSE!! I'M... FALLING INTO DESPAIR..."

Panel 2: It shows the chess board, with Shen's clenched fist on it. Shen is playing the white pieces, and his king is on H1 somehow behind 2 rows of 4 pawns. The black king is on B7 and the black queen on D8 threatens checkmate.

Panel 3: A bishop comes in from off the board and takes out the black queen.

Panel 4: Overly realistic depicting of Shen dramatically beginning to look over his shoulder, into the light.

Panel 5: There's a person diagonal from him behind him with a chess board with just the white pieces set up. He has a confident smile. Sunbeams come down behind him and the wind blows the grass gently.

Panel 6: Closeup of that person giving a thumbs up as the beginning of the song "Rap is a Man's Soul!" from Gurren Lagann begins to come on, with the lyrics "do the impossible, see the invisible..." The sun is producing a glare reflection off of his thumb somehow. He had moved his D2 pawn forward to D3 to line up the bishop.

Panel 1: Shen is keeled over a chess board in his chair at the park, sweating and gritting his teeth. He thinks "NO! I'M GONNA LOSE!! I'M... FALLING INTO DESPAIR..." Panel 2: It shows the chess board, with Shen's clenched fist on it. Shen is playing the white pieces, and his king is on H1 somehow behind 2 rows of 4 pawns. The black king is on B7 and the black queen on D8 threatens checkmate. Panel 3: A bishop comes in from off the board and takes out the black queen. Panel 4: Overly realistic depicting of Shen dramatically beginning to look over his shoulder, into the light. Panel 5: There's a person diagonal from him behind him with a chess board with just the white pieces set up. He has a confident smile. Sunbeams come down behind him and the wind blows the grass gently. Panel 6: Closeup of that person giving a thumbs up as the beginning of the song "Rap is a Man's Soul!" from Gurren Lagann begins to come on, with the lyrics "do the impossible, see the invisible..." The sun is producing a glare reflection off of his thumb somehow. He had moved his D2 pawn forward to D3 to line up the bishop.

05.03.2026 23:05 ๐Ÿ‘ 4802 ๐Ÿ” 815 ๐Ÿ’ฌ 60 ๐Ÿ“Œ 14
Preview
GitHub - rsta2/circle: A C++ bare metal environment for Raspberry Pi with USB (32 and 64 bit) A C++ bare metal environment for Raspberry Pi with USB (32 and 64 bit) - rsta2/circle

Also hey look, Circle!

I hadn't noticed Mini Dexed was based on this "bare-metal" Raspberry Pi framework, but in hindsight it makes sense.

*cough* I'm slightly disappointed Circle isn't more of a HAL, but I'm biased Zephyr OS brained right now, so meh. ๐Ÿ˜…

05.03.2026 22:58 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
GitHub - probonopd/MiniDexed: Dexed FM synthesizer similar to 8x DX7 (TX816/TX802) running on a bare metal Raspberry Pi (without a Linux kernel or operating system) Dexed FM synthesizer similar to 8x DX7 (TX816/TX802) running on a bare metal Raspberry Pi (without a Linux kernel or operating system) - probonopd/MiniDexed

This DAC module was recommended by the Yamaha DX7 on a Raspberry Pi project. I keep thinking I need to add an amplifier for headphone out, though SBCs like the Raspberry Pi do have a "meh" headphone jack available. Still, it would be nice to have a builtin AMP suitable for pro/audiophile headphones.

05.03.2026 22:44 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image Post image

Oops! I mistook I2S for I2C... which was a concern as I was worried it would flood the I2C bus or be susceptible to occasional pops if interrupted by other devices. ๐Ÿคฆ

No longer a problem tho. ๐Ÿ˜…

This PCM5102 module excites me (DAC with 112dB SNR), though I do wish it had a hole to screw it down. ๐Ÿคท

05.03.2026 22:19 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Keep the dead-naming fuck Carmack out of this. ๐Ÿคฌ

05.03.2026 21:50 ๐Ÿ‘ 14 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
a skeleton is standing at a podium with the words balls written on it . ALT: a skeleton is standing at a podium with the words balls written on it .

๐Ÿซฐ

05.03.2026 21:47 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Ya, which is how I see the NPUs as useful for this. I also see it as something small enough to be trained in real-time either "from zero" or from a very light pre-train (i.e. if moving forward, the room I'm in is familiar, and there are no obstructions, I will with high probability continue forward)

05.03.2026 21:41 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Funny shirt with the text "I only give negative feedback", with the picture of a voltage inverting schematic in the middle.

Funny shirt with the text "I only give negative feedback", with the picture of a voltage inverting schematic in the middle.

Another funny shirt showing a stereotypical heart rate monitor waveform, but in the waveform is an inverter schematic, and after the inverter the heart waveform is now upside down

Another funny shirt showing a stereotypical heart rate monitor waveform, but in the waveform is an inverter schematic, and after the inverter the heart waveform is now upside down

Tangentially, I'm kind-of annoyed that so many fundamental circuits in digital electronics are just analog feedback loops. ๐Ÿคฆ

I also think volts, amps, resistance, capacitance, & inductance could be explained better. Like if you worked backwards from the schematic above, IMO teaching would be easy.

05.03.2026 21:29 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Power supply schematic for CH32V002 SOC... Literally just a capacitor.

Power supply schematic for CH32V002 SOC... Literally just a capacitor.

I'm spoiled by the CH32Vxxx chips with their built-in 32 MHz clocks. It makes operating one so ridiculously simple: Just add a capacitor and apply power. Done! ๐Ÿ˜‹

05.03.2026 20:50 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 1

I've been crash-coursing myself in oscillators and op-amps to better understand them. The CH591 SOC my "find-me" project needs an external 32 MHz clock for CPU, USB, and Bluetooth (it can run the CPU at 32 KHz without though). I'm also exploring headphone amplification options for my Cyberdeck. โšก

05.03.2026 20:35 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

I'm a voice in Shrek (video game)

05.03.2026 13:32 ๐Ÿ‘ 19 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

No, it's not generic. It's a specific generalization of a single game. If there's anything generic, it would be a high level decision tree of thoughts like "I should take action", "I should wait", "I should observe", etc.

05.03.2026 13:16 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Folks with prior success are struggling to realize that the game industry has changed completely. It's never going back to how it was. Funding, development, and audiences have all fragmented and that is the "new normal." Only folks who have been scrapping their whole career will weather this change.

04.03.2026 21:24 ๐Ÿ‘ 434 ๐Ÿ” 81 ๐Ÿ’ฌ 7 ๐Ÿ“Œ 1

This usb3.1 to TRRRRRRRRRRRRRRS looks very sexy...

04.02.2026 00:52 ๐Ÿ‘ 18 ๐Ÿ” 7 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 1

Okay good, I feel like I've explored that theoretical tangent enough that I can stop thinking about it. ๐Ÿ˜…

04.03.2026 21:20 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
Radxa Orion O6 World's First Open Source Arm V9 Motherboard

Cool. Given the TOPS rating, it sounds like it's in a similar ballpark to other ARMv9 chips.

04.03.2026 21:16 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

The first tier is cheap because it exists entirely within gameplay, deconstructing play into a list of cues and clues.

The second tier is where things get invasive (maybe impractical). It would require capturing clues and cues outside of mere gameplay. Think: how you would describe bluffing. ๐Ÿคจ

04.03.2026 21:11 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

The first tier of the idea should be able to capture roughly how a person moves in a game. This should be good enough to broadly emulate a play style, but it will completely fail to account for mind games, strategy, and metagaming.

In other words, a digital zombie. A mindless facsimile.

04.03.2026 20:55 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

I'm conflicted.

I accidentally came up with a way cheap NPUs could be used to both capture and simulate how a specific person plays a game. In theory, the data could be as little as 1 MB (in some cases even less), BUT implementing it requires a deep understanding of how good players of a game think

04.03.2026 20:47 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Top view of chip

Top view of chip

Bottom view of chip

Bottom view of chip

The SOC I'm considering is the BLE 5.4 capable CH591D from WCH (i.e. CH592 w/ 256k Flash instead of 512k). Yes this is the same chip my Zephyr port is based on. It takes 2.5V or 3.3V, but if it also took 5V that would greatly simplify things. It's USB capable too! I just need a reference schematic.

04.03.2026 17:35 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image Post image

Inspired by a Great Scott video, I pondered how I'd make a custom "find my" device that's the size/shape/thickness of a USB-A pinout (similar to this FIDO key). AKA, a Bluetooth beeper. Power would be parasitic, requiring you to attach a GND and VCC wire to the device you want to make findable.

04.03.2026 17:13 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
03.03.2026 12:14 ๐Ÿ‘ 2177 ๐Ÿ” 835 ๐Ÿ’ฌ 17 ๐Ÿ“Œ 21

I want to see Neo benchmarks.

04.03.2026 15:25 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Imagine there were MILLIONS of 10+ year old computers still in operation today that never got software updates. ๐Ÿค”

Imagine they had 2.4 GHz WiFi, Bluetooth, 2.3 GHz SiriusXM, 3G radios, and LAN (CAN) networks. ๐Ÿค”

You could totally turn this into a self-replicating viral mesh network, right? ๐Ÿ˜…

03.03.2026 20:11 ๐Ÿ‘ 6 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Not just OnStar, but so many vehicles have SiriusXM radios. Even if it's read-only, it still operates on 2.3 GHz, a hair away from WiFi & Bluetooth (2.4 GHz). Many radio chipset only software locked to frequencies, and a 2.4 GHz antenna is just "less good" at other frequencies.

Car viruses anyone?

03.03.2026 19:46 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Yet all it takes is an infotainment system with on-screen climate controls and boom, you've exposed the bus.

Oh gosh, not to mention all the bazillion vehicles with built-in Sirius radios. You don't need to be a satellite to broadcast a 2.3 GHz signal. Heck, an exploited WiFi chipset could do it.

03.03.2026 19:20 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0