I wanted a skip backwards button for audiobooks in the car so I used the android headphone button standard.
I just wanted to add a hard drive for more boot, home, and swap. Four days later it eventually worked.
I run octoprint on a pi. I have octoprint controlling a relay for the printer, and I wanted a physical button on the printer to make octoprint toggle it.
Turns out a pi can also have a functional power button to turn it on and off these days too.
A friend needed amazon order data for tax reasons. The order export didn’t work.
I use afwall to prevent most things from having internet.
I had a lot of trouble getting wifi to work with afwall enabled in android 11.
It’s harder than expected
Notes on how far I got trying to use RTKLIB and the uBlox C94-M8P.
I got a realtime RTKNAVI solution that switched between fixed and floating.
I require symlinks in the user portion of my android storage. Turns out it’s a lot more complex than that.
Making a phone trust a jenkins docker container is annoying but doable.
I have a headset that has two output devices, a stereo and a mono, with a fade pot to go between them. This means I want voice programs to go to mono, and everything else to go to stereo.
I also have some speakers, and I would like to output to them at the same time.
I replaced the tuya w8bp with an ESP-12E.
Steps to compare GNSS antennas.
Notes on scripting in kicad 5.1.5, updated 2020-10-14
Linux has two joystick modules,
Most joystick calibration tooling is for joydev, but that’s deprecated. There aren’t any default tools for saving evdev calibrations.
This is my notes on how I got my joystick calibrated.
This was my first defcon, and I chose to spend it playing the MUD from EvilMog.
Here is my writeup.
Just got an HP 7475A plotter working with a National Instruments PCI-GPIB 183617K-01.
At $work I have a motorized sit/stand desk. I have to hold the up/down buttons to go to any height. Clearly, this is far too difficult. So I put together a thing to read the height and use double presses to automatically go to high/low setpoints while keeping single button hold functionality intact a while back.
A few weeks ago, someone emailed me about it and I got inspired to clean it up and redo some bits.
Some friends use the TP link kasa lightswitches. I intended to buy one to evaluate, but got confused by someone else talking about what they use(z-wave) while I tried to order it.
I don’t use zwave, so I decided to see what would be involved with converting it to be ESP based.
TL;DR: Maybe possible to convert, but way too much effort.
Segger RTT(Real Time Transfer) is an out of band debugging tool. I specifically want to use it with Nordic’s logger.
If you search “rtt nordic linux”, you get a forum post explaining how to do it.
Pity it doesn’t work.
Putting logos on a kicad board isn’t terribly hard, just slightly annoying.
i3Detroit Automation System Architecture
We started looking into automation for a few reasons: simplifying the space shutdown procedure, and cost/complication of expanding. Most of our existing lighting circuits are where they were when we started renting the building but some of them have been cumbersome to work with (“no, you can’t plug that in there that outlet turns off when the lights do”). When we expand to encompass even more space it gets increasingly difficult to run more and more light switches to control groups of outlets. With networked relays on every light we can specify groupings in software rather than spending 4-5 hours bending conduit, planning a route in our increasingly crowded ceiling and walls, and pulling fairly expensive wire long distances. Doing this in our current space gives proof that we do not need to spend a lot of time re-wiring any building we inhabit, just plug in the lights to whatever outlets are already up there and we can control them in whatever pattern is most convenient.
Frequently people would complain because they come in and find the doors to have been unlocked all night, or the tank of argon has all leaked away, or maybe someone decided to try to heat our colander of a shop to 75F all night long in the middle of winter when no one was there. The benefits of automating things is not just saving time on tasks that get done, but making sure all the tasks actually do get done.
Just notes on using mbed
Trying to get to a lorawan gateway.
Got the Low Cost LoRa Gateway running, but no lorawan.
Trying to make it blink.
Took far longer than expected or probably necessary.
The definition that is not actually from MIT in spite of always being cited as from MIT of hacking is
Hacking: Using things in ways they were not intended to be used.
It’s a good definition.
So here’s how I hacked my electronic sit/stand desk controller to have set points in yet another one day project.
In my continuing quest to turn a thinkpad keyboard into a USB keyboard, I decided to try the at90 line of avr chips. Bought a AT90USBKEY2 dev kit, and tried to put TMK on it.
This was another “one” day project. It ended in running the onekey example, so this post is more just “how to use the AT90USBKEY2.
So at i3, one issue we have is people leaving the thermostats on high temepratures and going home.
So we built our own into the automation system.
We are seeing mysterious button presses on one of our iot lightswitches at i3.
Herein lies the debugging so far.
Notifications are useful when services fail.
Sadly, they often get sent to
email@example.com, where they don’t get read because nobody sets up their mta.
nullmailer to the rescue.
One thing I’ve wanted for a while is a USB keyboard with a trackpoint.
I made a good start with an atmega32u4 on an arduino micro board.