Lurker News
Maybe you've created your own AR program for wearables that shows the definition of a word when you highlight it IRL, or you've built a personal calendar app for your family to display on a monitor in the kitchen. Whatever it is, I'd love to hear it.

Comments (1,792) 625 threads

Earlier comments
osigurdson#
I built an ice cream pail drum machine interface as a kid using cheap piezoelectric speakers (in reverse to generate a signal). This was amplified and brought into a micro-controller to generate a MIDI signal for the drum machine. It actually worked pretty well.
TrueDuality1 reply#
It's not personally useful but I wanted to see if I could design and build a navigation controller designed for a satellite with different configurations. I started with a sandbox simulator that emulated all the hardware sensors down to the noise (according to their data sheets) and a microcontroller emulator that ran real code compiled for a microcontroller I chose for the task (STM32G431).

I tested different control schemes and thrust firing plans, added support for different types of thrusters, errors in sensor readings, atmospheric drag depending on altitude, weird anomalies in the earth's magnetic field, simulated bit flip events and hardware lockups (I left the internal watchdog out of the hardware lockups which is probably not realistic).
In an effort to stress test my simulator I ended up writing a genetic algorithm solver for thruster, magneto-torquer, and reaction wheel placement on arbitrary craft bodies with different mission plans and let it solve it.
I ended up designing a physical circuit board matching the simulator, flashing the board with the same code that was running in the simulator and it worked! I roughly made an approximate cube sat (10cm^3) (had a mechanical engineer friend design me a frame and manufacture it for me) with some small cold gas thrusters out of pressurized CO2 cartridges, controlled by solenoids, and placed by my genetic algorithm.
I dropped it off a cliff that was ~600ft high (best I could do for a "zero gravity" environment that was away from people). It was able to completely arrest its angular rotation before slamming into the ground which is better than I was expecting.

science400#
That is awesome! I've had an inkling of an idea similar to that for years, but definitely not so well thought through.

Is there any place you have more info on this? I'm especially interested in the genetic algorithm.

z500#
It's probably not as cool as some of the other projects in here, but I've been working on a sound change applier, which is a hobbyist tool for applying sound change rules to a lexicon. You could use this to generate pronunciations for a language with particularly regular spelling, but these tools are mainly used for evolving constructed languages.

The way it works is it generates an NFA for a rule. You can define sets of sounds, some of which can be multiple characters long, and also define distinctive features, which allows you to define how sounds change by adding or removing them, but also allows you to match groups of sounds based on combinations of distinctive features. It builds up these ad-hoc sets of sounds and produces a prefix tree, which it uses as a template to build the NFA. Finally, the NFA is converted to a DFA for performance. It takes a while (the console app is much faster than the browser demo), but the rules run many, many times, so they need to be fast. It's essentially a special purpose regex engine. I'm working on bug fixes and some enhancements for now, but it basically works.
Demo: https://marriola.github.io/transmute-demo

Zanfa1 reply#
A Bluetooth dongle for my standing desk that lets me control it from my Mac. I kept bumping the wired remote with my chair when it was mounted under the table and since it had a fat Cat5 cable, it was too ugly to have on the table.

So I hooked the remote up to an oscilloscope, figured out the signals it uses and used a nRF52 dev kit plus a small custom PCB shield to be able to control it over BLE. A small toolbar utility for the Mac and it’s more convenient than it’s ever been.

rft1 reply#
Reminds me of a prank I pulled with a mate on a colleague. They recently got standing desks and of course a bit of fun ensued with them. Over one weekend we build a remote control for it based on an ESP32, of course fully MQTT compatible. We hid it as best as we could and it was not visible unless you crawled under the desk. Fun was had, because you could just program the behavior via a small python script and override the physical buttons. It also was briefly hooked up to my Home Assistant for voice control.

We used nothing as fancy as an oscilloscope, bought a new RJ11 cable, cut it in half and interposed the connection from the remote to the controller. We also used relays, just for the nice clicking sound :)

Zanfa#
My plan was to get my setup super fancy to also display the current height and memory functions from within the Mac utility, so it had to read the full protocol that the remote used. Up/down alone was supposed to be the proof of concept, but once I got it working, it was good enough that I didn't really care about the rest.

Load more comments