4
votes
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
So I did some slight improvements on my audio player project, and have started work on expanding it more.
I added the ability to use the USB-C charging port as a pass through port to plug the DAC into a computer. Most of this work was hardware, as I had to connect the unused data lines from the charging port up to the DAC. When plugged in to a computer, the DAC is receiving power from the battery, so the battery system needs to be turned on, but the RPi turned off. So, I rewired the hold switch, so that it cuts the power to the screen and on a certain page of the app also shuts off the RPi. Overall, this was a simple addition, and adds another functionality to this device. It also becomes an improved version of the original DAC since it now plugs into a computer via usbc instead of micro-usb and the extra weight of the device minimizes it sliding around on a desk.
I tried to make it shutdown with a 30 second timer instead of a 1min timer, and found out about the limitations of the linux shutdown command. Turns out, the time options are either now or anything greater than 1min. I could do a scheduled task, but that might be more hassle than it is worth.
I have started on improving my software update process. In app, there is currently only the option of pulling the git branch that it is currently on, but does not display which branch it is on. So, I have started the process of getting all branches to display, and adding the ability to switch between branches. This will minimize my need to have to SSH into the device during development.
Warrantied my 8 FAILED seagate drives and those are coming back so I can finish up my NAS.
Next steps are getting more comfortable with ssh, figuring out why ubiquiti teleport and mDNS don't seem to work as expected, and then eventually converting my server to headless.
Also need to poke more at my F#/Falco/Datastar dev stack to see if I can abstract out some basic rendering so I can do quick design and prototyping.
I don't know how many drives you have in total but damn that's a lot of drive failures! At least they're warrantied
7 and 1 for hotswap....
They failed out of the gate so I didn't lose anything. Some spun up and then failed, others literally wouldn't spin at all even when testing on another machine. Maybe there was some user error in there i'm unaware of, but I had 3 other drives (which were higher rpm) and those slotted in and just worked so I guess bad batch or something.
Ah okay, yeah that's a better scenario at least and a bad batch would make sense