uxszlwe.jcaxcrmdrzhf.hath.network Open in urlscan Pro
64.225.5.107  Public Scan

URL: https://uxszlwe.jcaxcrmdrzhf.hath.network/
Submission: On June 21 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Skip to content


STEVE DOUGHERTY'S BLOG


BOUNDARY WIRE SEARCH

My mower boundary wire got a break in it this spring, and unlike previous times,
I didn’t know why. So now I had to check the perimeter of my lawn for damage,
and in most cases the wire is underground or at least undergrass. Turns out
there’s a better way!

It took shoving a LONG screwdriver into the ground, but I was able to use a wire
toner tracer between the screwdriver and one of the wire ends. It wasn’t audible
very far from the wire itself, unfortunately, so finding the wire could be a
challenge. The break turned out to be the neighbor’s lawn aeration hitting the
line. Wire strippers and waterproof wire nuts made it a quick fix.

Published 2023-07-14
Categorized as Maker


STEVE’S MP3 PLAYER 3000

That’s what it says on the case, anyway. (Thanks to Hannah for the silly name.)

This has been a hobby project for about a year! It’s a compact audio player with
a clickable control knob, display, and a volume knob on the back. Surface
transducers on the bottom allow it – depending heavily on the surface it’s on –
to sound louder (and ideally even higher quality) than one might expect for its
size and hobby project status.

You can charge it and access its internal MicroSD card over USB, and also charge
it with any 5-10V 2.1mm DC plug – including a solar panel!

I wrote the control software in PlatformIO flavored Arduino, and designed,
modeled, and 3D printed the case. This meant learning – and subsequently
outgrowing – TinkerCad, and then moving to Fusion 360. The case has 3 pieces,
and they print (almost) entirely without supports: body, back, and bottom.


BEHAVIOR

It reads tags from files on the MicroSD card, sends commands and audio data to
the VS1053 on the Music Maker board, renders text, and writes it to the display.


CONSTRUCTION

A stack of Adafruit Feather boards:

 * 128×64 OLED FeatherWing
 * Adafruit Feather M4 Express
 * Music Maker FeatherWing
 * Hand-soldered FeatherWing Proto in the back for a USB storage mode toggle,
   power handling, and volume potentiometer connection. (This part hasn’t
   stabilized yet.)

As well as Non-Feather parts:

 * Universal USB / DC / Solar Lithium Ion/Polymer charger
 * 3.7V 400mAh Lithium Ion Polymer Battery
 * I2C Stemma QT Rotary Encoder Breakout with NeoPixel
 * Solid Machined Metal Knob – 1″ Diameter
 * Power Button Toggle Switch
 * Panel Mount 10K Log Potentiometer

If you’re interested in the code, case design files, or assembly instructions,
you can find them here.

Published 2023-01-19
Categorized as Maker Tagged hardware, maker


FUN WITH STABLE DIFFUSION

After Ars Technica ran this article on a Stable Diffusion mobile app, it seemed
like a good time to give Stable Diffusion another shot. I had previously given
up figuring out how to set up the desktop version. It’s polished! It includes
example prompts to demonstrate what sorts of incantations make up a good prompt,
and with that and a moderate wait for it to generate I had this:

8k resolution, beautiful, cozy, inviting, bloomcore, decopunk, opulent,
hobbit-house, luxurious, enchanted library in giverny flower garden, lily pond,
detailed painting, romanticism, warm colors, digital illustration, polished,
psychadelic, matte painting trending on artstation

That was enough to hook me, so when I noticed that article also linked to
stable-diffusion-webui, it became a great time to see what the same underlying
image generation can do when it can draw ~300W continuously on my desktop
instead of being limited to a phone’s resources. I quickly (and somewhat
inadvertently) was able to generate a cat fractal:

cute ((cat)) with a bow, studio photo, soft lighting, 4k

This was my introduction to the sorts of artifacts I could expect to do battle
with. Then I had an idea of how to use its ability to modify existing photos.
After some finagling, I had a prompt ready, set it to replace the view outside
the window, and left it running. When set to a very high level of detail and
output resolution, it generated 92 images over about 6 hours. Of those, 22
seemed pretty good. Here is a comparison of my 2 favorites:

 * 
 * 
 * 
 * 



And a slightly different prompt where I had selected part of the window other
than the glass:

a colorful photo of the circular wooden door to a hobbit hole in the middle of a
forest with trees and (((bushes))), by Ismail Inceoglu, ((((shadows)))),
((((high contrast)))), dynamic shading, ((hdr)), detailed vegetation, digital
painting, digital drawing, detailed painting, a detailed digital painting,
gothic art, featured on deviantart

There were three sorts of artifacts or undesirable outputs that were frequent:

 1. It focused too much on the “circular” part describing a hobbit hole door.
 2. It added unsettling Hobbit-cryptids that brought to mind Loab.
 3. The way I used the built-in inpainting to replace the outside meant both
    that the image was awkwardly separated into 3 largely independent areas, and
    those images often tried to merge with the area around the window. This
    makes total sense for its actual use case of editing an image, but I’d tried
    to configure it to ignore the existing image without success. In retrospect,
    I could have used the mask I made to manually put the images behind the
    window with conventional editing software.

 * 
 * 
 * 
 * 



It’s wild to use image generation to generate this without being able to even
imagine painting it myself. It’s definitely not the system doing all the work –
you have to come up with the right kind of prompt, adjust generation parameters,
and curate the results. But it’s a lot cheaper and easier than art school and
practice, which I feel uncomfortable about because this model was trained in
part and without permission on art from those who did go to art school.

Published 2022-11-12
Categorized as Software Tagged art, cat, stable diffusion


DEEP ROCK GALACTIC IN VR!

I had figured it wouldn’t happen once Ghost Ship Games said they weren’t going
to tackle it, but it turns out it’s viable to mod in! It’s in open beta
currently, and there are rough edges throughout the experience, but the core of
it – being in a huge cave and fighting bugs – is just as incredible as I had
hoped it might be. It lets VR do what it’s good at – intensify already-good
experiences. A far cry from the stereoscopic screenshots NVIDIA’s Ansel
provided! I’m very pleased.


Published 2022-06-09
Categorized as Site Related Tagged VR


HOME ASSISTANT BUTTON

I made button-poe to allow using an Adafruit Feather as a light switch via Home
Assistant:

It’s not super clear that it’s doing anything, so check the shadow the cable
casts from the lamp in the lower right.
Published 2022-04-05
Categorized as Maker


INVENTION THROUGH ANNOYANCE

Here’s the problem – my neighbor’s HVAC closet is doing this, and it’s
preventing me from sleeping:

Audacity spectrogram with primary component around 55 Hz This is the highlighted
section

I’ve submitted a maintenance request, sure, but more data more better, right?
There are three states here: not buzzing, buzzing, and buzzing without the
higher component. 55 Hz primary, 220 Hz higher component. FFTs away!

I was hoping this would be the part where I link to the code, but boy howdy is
it harder than I anticipated to get a microcontroller to do this.

Published 2022-01-11
Categorized as Maker


POWER SUPPLIES

Not for computers – for other electronics. I’d glossed over the “it can supply
600mA peak” part for my microcontroller board’s 3.3V regulator, and assumed I
wouldn’t hit it. Then I spent a great deal of time trying to diagnose strange
nondeterministic behavior. The OLED display would quickly go blank. The SCD40
CO2 sensor would quickly stop providing data. These problems all immediately
stopped when I used an external power supply capable of higher amperage. Go
figure.

Published 2021-11-22
Categorized as Hardware


FEIT ELECTRIC LED STRIP LIGHT PINOUT

Tested on Costco item #1528979, which is in a black box. They’re still selling
one in a white box online. (On further inspection its pinout seems the same.)

 * +: GND
 * B: D-
 * R: D+
 * G: VBUS
 * W: CC2, SBU1, CC1, SBU2

Published 2021-11-02
Categorized as Hardware


MAKER STUFF!

It turns out that it’s pretty dang gratifying to build embedded systems. Don’t
like the power LED that’s always on? It’s your code that turns it on! You can
turn it off!

I have three projects that are functional so far. One logs temperature to a
MicroSD card, which helped convince the leasing office that my fridge was not
cooling well enough to be food safe. Another displays CO2 sensor readings. The
third sends door close/open events over MQTT.

Currently I’m working on giving a kitchen scale the MQTT treatment so I can make
detailed cat food consumption graphs over time instead of manually weighing for
two inconsistently timed data points per day. Next will probably be designing
and printing a case for the CO2 thing, which is currently just a bunch of
components taped to a power bank, and is very flimsy.

Published 2021-08-28
Categorized as Hardware Tagged hardware


HEADPHONE RECOVERY

I moved my computer, and with a new setup comes new hazards. My headphone cable
was wrapped around my foot when I tried to get up, and it ripped the headphones
out of the jack. Both the jack and the plug were damaged – the jack was no
longer in one piece, and pieces of plastic had flown off its housing, and the
plug was bent but still in one piece. We were able to bend the plug back into
shape with a vice, but the damaged jack would only provide audio to the left
ear. Enter jack retasking in the Realtek Audio Console:

I was able to use the remaining front panel jack, and made sure to run the
headphone cable with less slack to try to prevent a repeat performance. There’s
a bug here, too: even though I’ve requested separate playback devices for the
front and rear panel, it only gives me two if the normally-output jack is set to
output. Close enough, and if I really wanted to work around it I could probably
rewire the remaining jack to appear as the output one by moving cables in the
front panel connector.

Published 2020-12-12
Categorized as Hardware


POSTS NAVIGATION

Page 1 … Page 36 Older posts
 * Mastodon


PAGES

 * Animations
 * Contact

Steve Dougherty's Blog
Privacy Policy
Proudly powered by WordPress.
Dark Mode: