Distractions

@distractions
4 Followers
21 Following
100 Posts
I get easily distracted.

Finally found a MOSFET with a small footprint and a low price that seems to be able to easily handle PWM for 12V/6W dimmable LED spots when driven by only 3.3V logic level: AOD424.

I use NRF52840 dev boards, as they have a minuscule power consumption of less than 15mA at 3.3V even with Bluetooth on and discoverable. Sure, not much of a difference when the lights are on; but when the lights are off, and you throw 20 of those onto your offgrid net, it suddenly matters!

#diy #ble #homecontrol

Received this little sprocket wheel from Australia last week; it should fix the date setting on my recently acquired Seiko 5606-8110.

The 56 movement series is a great Seiko movement series from the 70s; with the little issue that the date quickset can literally fall apart, as they used a plastic wheel - which reduces wear on the day/date disc, but after 50 years, the gear gives up instead. Wish me and my staking set luck :)

#watchmaking #seiko #vintagewatches #vintage

I just learned about Ronnie’s 153 break, while watching the latest video of the fantastic Break From Life Channel.

I believe we can finally agree that Ronnie is GOAT. I think even for his opponent Ryan Day this must have been a historic achievement, just being present.

Let’s just appreciate what hyperfocus can do for us. And I need to drink water.

#snooker #therocket #ronnie

Again, a hobby revived… this time, its model trains. As always it escalated quickly, especially when I noticed my diy low voltage home control solution has all capabilities (with a ton of Claude based vibe coding, that is) to control the whole system. Welp. Also as usual, I promise to upload the code ASAP, just „a few more tweaks and tidying up“… #Märklin #SpurZ #modeltrains #bluetooth #ble

This is the (older) bug report:
https://github.com/obsproject/obs-studio/issues/4740

And while we are at it: when compound clips with mono audio tracks suddenly don't produce audible sound during editing, this might help:

https://www.youtube.com/watch?v=SnIg4IoLfHU

#finalcut #obs #bug #crackles #clicks #audio

MKV muxing generates audio crackles in macOS 11.3+ QuickTime Player · Issue #4740 · obsproject/obs-studio

Operating System Info macOS 11.3 Other OS No response OBS Studio Version Other OBS Studio Version (Other) Mac 27.0 RC 4 & RC5 OBS Studio Log URL http://obsproject.com/ OBS Studio Crash Log URL No r...

GitHub

Audio crackles/clicks in FinalCut with OBS...

This has been pestering me a long time: when cutting videos in FinalCut, sometimes I had the worst crackles in my audio recordings. I always suspected my "cheap" lavalier microphone or my audio setup. Until I noticed that the raw files played fine with VLC.

BUT: it's actually an issue in OBS remuxing, combined with FinalCuts handling of VFR.

Demuxing using Handbrake or ffmpeg instead of the internal OBS - and everything is fine!

#obs #finalcut

When you build an Arduino application with the Bluefruit library - say, for a SuperMicro/Nice!Nano/Feather - and you can't create more than 9 characteristics on your BLE service:

There is a limit of 10 for the UUID128 numbers. You can increase it like this:

// set max number of UUID128
Bluefruit.configUuid128Count(20);

// start Bluefruit
Bluefruit.begin(); // 1 peripheral, 1 central

I sunk four hours into this - thank me later :)

#arduino #adafruit #bluetooth #ble #nrf52

Back in 2021, I build this little thing…

8 rotary encoders, sending midi control events by an Arduino Leonardo (that can pose as a USB MIDI device out of the box), and a small Bitwig driver script.

To show controller position, a shift register per encoder drives seven LEDs. The Bitwig driver can push the logic controller states down to the device :)

It’s actually pretty neat. Still need to do a video and set up a proper code repository and instructions

#midi #diy #diycontroller #bitwig

This has puzzled me for two month.

I actually had to dive into the source code of BlueFruit to figure out why the UUID object wasn't doing it's job...

Interestingly enough, passing the string UUID directly into checkReportForUuid compiles just fine, but also doesn't seem to work.

I have struggled with Arduino code utilizing BlueFruit. When checking a BLE scan result for a service UUID, this code is broken:

#define UUID "595b2a07-6cd1-4ece-80c6-b34c985d8086"

if ( Bluefruit.Scanner.checkReportForUuid(report,BLEUuid(UUID)))
{ ... }

correct is:

BLEUuid bId=BLEUuid(UUID);
bId.begin();

if ( Bluefruit.Scanner.checkReportForUuid(report,bId))
{ ... }

The reason is that the begin() method parses the string, not the constructor.

#arduino #bluetooth #BLE