Re:Ask HN: Looking for difficult/intermediate projects invol...
by bush-bby on Monday September 13, 2021 @05:41PM
(#28517232)
I do definitely like the idea of BLE...all with my own code.
Also minimizing power draw, an excellent idea I think...not only a legitimate challenge, but also supplies a beneficial purpose.
Re:Ask HN: Looking for difficult/intermediate projects invol...
by loxias on Monday September 13, 2021 @05:50PM
(#28517333)
Figure out how to accurately transmit and reproduce jitter sensitive data over BLE as the transport, while keeping latency bounded. (ok, now I'm blatantly just rehashing problems I've solved before. But it was kinda hard!)
The reason I suggested BLE and USB was because, for both of those transports, I really felt myself "level up" as an engineer after reading the whole >1000 page spec, and use that knowledge to implement my own device.
Knowing how things like that work "behind the scenes" feels gratifying. Tho it may impact your normal life, sometimes seeing how the sausage is made turns you into a vegetarian. ;)
I've done a moderate amount of firmware programming, and while some of it seems "easy" or "obvious" in retrospect, taking a new chip, implementing a crude task sharing "operating system", writing drivers for peripherals, then writing a host facing interface (like USB, or bluetooth) and then writing the host driver for it, and making it all happy... Eh, actually that might be more tedious than hard.
The last thing I worked on that evoked "wow that was fucking hard", required minimizing the power draw without sacrificing features, so you have to deal with creating state machines to track all the various standby and power states of your peripherals and radios and mcu, and transitioning between them in the right way (and with the right timing!)
Doing cool sound/music stuff used to be hard, but it's eas(ier) now that your microcontroller is frequently 32bit.
Make a live update mechanism for your project that is provably un-brickable. That was difficult 10 years ago. Might still be difficult.