Downloading Files Asynchronously with Rust Using Futures
1/4/2025When working on a service that had to download many files from multiple sources it became apparent the files should be downloaded in groups rather than one at a time. In making the code asynchronous, I made extensive use of
Future
s, and I felt it was worth writing about because they mad...read more ➦
Casio Watch with Bluetooth (nrf52832) Part 4
11/5/2023The design was flawed from the start because I made some assumptions about the lcd display. Turns out, it is multiplexed, which requires an AC signal along with some finer voltage control rather than 1 and 0. The options are now to either find a ble SOC which also has LCD driving capabilities built ...
read more ➦
Casio Watch with Bluetooth (nrf52832) Part 3
9/4/2023The new programmer arrived, along with the realization that they won't fix the problem. The issue was not only did I fry the last couple of processors with 5V signals (arduino UNO), but the factory new chips come with protection on the debug access port. This means the chip needs a programmer that c...
read more ➦
Casio Watch with Bluetooth (nrf52832) Part 2
9/2/2023The PCB design I created in the last part had many issues which led me to do much research into high frequency designs. The book Right the First Time by Lee Ritchey was especially helpful in teaching what to consider when working with high speed designs, which I very much was because the ante...
read more ➦
Casio Watch with Bluetooth (nrf52832) Part 1
7/17/2023After buying a watch I noticed I began using my phone less. Eventually, I figured out it was because I wasn't using it to check the time, which would lead to checking everything else. It was like that Portlandia episode where the main guy got stuck in a loop switching between his phone and other dev...
read more ➦
Fluid Simulation
5/19/2022There are two primary ways of simulating fluid: the surface can be approximated via the wave equation across a 2d plane, or the water particles themselves along with the forces between them can be simulated. My first attempt at simulating the surface of water starts with a grid of scalars (integers)...
read more ➦
Ray Marching
3/13/2022Ray marching is a technique for rendering signed distance fields (SDFs). A SDF is a way of defining if a given point is within a volume. In essence, a volume defined by a SDF is rendered through ray marching, and ray marching does this through detecting collisions between rays sent from the camera a...
read more ➦