Sophia’s Status Report for 2026-11-21

This week, I worked on designing the second iteration of the board given the results of hardware and firmware testing, and ordered the final version of our PCB. The main urgent issues with our board is that there was a mistake in the wiring of the display backlight, and we put too large of a load on our boost converter while testing and caused it to overheat and fail. Both of these issues have been dealt with in the newest iteration— the wiring issue has been fixed, and I’ve added more thermal vias that were missing in the first iteration, as well as switching out a capacitor that should have been polarized rather than ceramic. In the case that these fixes don’t work, I’ve also added some 0-ohm resistors that we can remove to break out these rails to external power supplies.

Other adjustments that I’ve made to the board include spacing out test points and adding one for the USB voltage, and replacing the charger IC as it is now out of stock on JLCPCB’s parts library. This is somewhat of a risk, so I’ve made sure that anything that we may need to short in case of failure is also broken out to a test point. I’ve also elongated the board so that the display screen doesn’t cover the keys when it’s folded over. Here is an image of the newest version of the board:

This is slated to arrive around the last few days of November/first few days of December, which is on track with my current schedule (although with less wiggle room than we would have hoped for at the beginning of the semester).

As you’ve designed, implemented and debugged your project, what new tools or new knowledge did you find it necessary to learn to be able to accomplish these tasks? What learning strategies did you use to acquire this new knowledge?

While I was already familiar with using Altium as a tool for PCB design and exporting design files, I had not done much actual circuit design, as my previous PCB designs were very simple. I think that the biggest resource for me while working on this project was referencing dev boards and schematics on Adafruit or similar websites for part choices, as well as forums on the internet, then using the manufacturer datasheets/other documentation for layout recommendations. I also talked to other electrical engineers, who seconded using manufacturer datasheets for most cases.

In addition, an underrated aspect of PCB design that nobody had really emphasized to me before was how important it is to make sure that your parts are obtainable. I was not very familiar with the actual workflow of ordering PCBs myself as I had only designed PCBs for internships where other vendors handled sourcing, so I think there was a lot of hangup in picking parts (especially the processor, which is in a weird spot in terms of supply chain at present) that were difficult to obtain that could have been avoided had I known more about ordering my own PCB. Learning this ended up being more of trial and error (and learning by failure) than I had hoped, but I’m glad that I learned this.

Team Status Report for 2026-11-21

This week, we continued to test our integrated package. Everything powered on and battery charging works. We were able to demonstrate the touch sensor as well as message transmission and reception between the dev board and our PCBA. We had an issue with the display backlight, and were not able to check that images are rendered correctly to the display as a result. (We were not able to check with a flashlight, but we tried.)

However, we mistakenly put a large load on the boost converter and burnt it out. We’ve updated our design with more reinforcement so this is not possible in the future. For now, we were not successful at removing the boost from the board, and we will instead move the MCU and radio from the dead board to the other board (with precautions to keep it safe).

Firmware and software are both tying up loose ends and integrating. Maggie did a lot of testing the board this week. Tucker has mostly been using a dev board for validation. The emulator now runs on FreeRTOS, but there is more work to be done integrating the software and firmware interfaces. There is also moderate work to be done for performance and verification.

Next week, we’re continuing on with our validation and working towards our final integration. There is some risk if we have more physical issues: we cannot drive our displays from the dev board, as we don’t have enough IO pins. However, we could still stream the framebuffer back out if it comes to it. At the same time, we are also proceeding with the back-up plan as discussed during the meeting on Monday, where we use laptop as an alternative to the touchscreen display. The preliminary development has been done as we are able to see rendered graphics, but more integration work will need to be needed for fully displaying the system UI and emulator next week. We do not have other known catastrophic risks right now; we know our peripherals work and we know the emulator runs.

We’ll leave the learning strategies the individual posts, though as a group, we’ve been sharing the things we learn during our meetings throughout the process. Our focus as a group is mostly on cross-cutting concerns and double-checking key decisions.

Maggie’s Status Report for 2026-11-21

Dev Progress: This week, I worked on developing the fuel gauge firmware for monitoring and showing battery state of charge and low battery alerts over I2C. I also worked on integrated the LVGL UI with the ESP32’s frame buffer output over USB. This is a temporary alternative solution to the display backlighting issue, so we can use a laptop to display content rendered by the processor. I added 4 push buttons to the dev board, simulating opening virtual keyboard, typing the letter A, confirming the message, and sending the message using the processor’s GPIOs. This workflow is successful, so the work left is migrating this to the physical display afterwards.

Test Progress: I tested the LoRa message transmission and reception between the dev board and the PCBA and it was successful. However, during the process, I fried the 5V boost converter, and we thus found some PCB designs need to be changed. While waiting for the new PCB to arrive, we plan to fab another PCB on tomorrow (Sunday) so that physical display integration could continue to happen.

The firmware development is on track as it’s basically complete. What’s missing is still the end-to-end physical integration, which is a bit behind as the new batch of PCBA won’t arrive until December. Meanwhile, to mitigate this, we will be using the dev board and using the newly fab’d PCB with care to work through physical integration, so that once the new PCBs arrive, we only need to validate the results.

Next week, I plan to integrate as well as verify fuel gauge readings and the touch screen input, display, and system UI. Once this is complete, we will have a functional device.

As you’ve designed, implemented and debugged your project, what new tools or new knowledge did you find it necessary to learn to be able to accomplish these tasks? What learning strategies did you use to acquire this new knowledge?

New tools or knowledge I found necessary to accomplish many of the debugging of the project is the ability to gather information from different sources (very likely someone has run into similar issues before), looking for hints in data sheets, and actually applying these new knowledge that I just picked up. For example, before this week, I’ve never used the rework station, but it was necessary as I needed to remove components from our PCB, so I learned how to use it (theoretically) from people and then tried it myself. Though I think the most useful way of learning is still directly from another person who has done what I’m trying to do, such as observing/hearing how they do it, and then trying the repeat that process.

The methods I often use for gaining new knowledge is a combination of traditional methods and AI. For conceptual understanding of a concept that I’m entirely new to, I usually go with watching online videos (visually learning about how something works), reading forum posts (e.g., the specific forum for the esp processor we are using), tech blogs (shares many integration ideas), and starter guide and sample codes from each frameworks we are using (e.g. the component manufacturer or even retailer often has very complete docs for getting started). Once I have gained a basic understanding, I use AI pretty heavily to combine info from different sources and compile human understandable explanations as well as usage examples of how everything work together. I think this workflow is very helpful and efficient for gaining new knowledge; however, all the classes I’ve taken before also contributed heavily to this process as I would otherwise likely have no clue what those sources are talking about or judging whether the AI is explaining what I’m actually looking for.

Tucker’s Status Report for 2026-11-21

This week I’m finishing up running the emulator on the P4 microcontroller. I also worked on performance. Next week, I’m working on validation and performance. The emulator is on schedule, and the risks around it are well-known and unsurprising by now.

We’re now running the emulator as a FreeRTOS task. I achieve this by linking the emulator with our FreeRTOS code and using FFI to call into it. This is slightly unusual, but prevents us from requiring larger architectural changes to the emulator for now. We are having some difficulty with the hardware, so we write the framebuffer out to serial. It is unfortunately slow to write frames, but compressing with miniz gets this time to around 1 second at the cost of running compression.

Performance on the P4 is unsurprisingly worse than on my Mac. Now that we’re running in FreeRTOS, my measurements are more faithful than running on bare-metal (which will tend optimistic). Boot-up is the most intensive section, as it clears memory and spends a lot of time doing device writes. It takes about 75 seconds (with frame streaming on), which is about 3-4x larger than reasonable. The emulator takes 16 seconds on my laptop, so we’re looking at about a 5x disadvantage. Interactions appear within about 1.5 seconds: some amount is due to emulator speed, yet this is confounded by: time to send frames over serial, the (emulated) timer interval, the scheduler, and compute overhead of compressing and streaming frames. I’ll discuss more in the next paragraph: I’ve learned that I don’t have the right tooling to measure practical latency yet.

I demonstrated this week that boot time is not a good predictor of usability. I planned several changes for performance (reducing allocations, updating rustc, LTO, using a single compilation unit, switching to m68k as CPU backend, using JIT) and measured almost every change to increase boot time, ending up with what appears to be a 50% regression in boot. Yet, after every change I also used the emulator interactively, and I observed a notable speedup in touch and frame latency. This has added unanticipated work, as I want to understand why the discrepancy exists (JIT is obvious: time compiling up front, time saved later; why updating rustc caused a major regression is less clear) and I need to write benchmarks against interaction latency.

Much of the knowledge needed for the emulator is in interface specs: the DragonBall VZ, the SED1376 display driver, etc. Architectural details about the m515 are largely not documented; some I’ve figured out through reverse engineering, some through the writings of reverse engineers like Dmitry Grinberg. The interface between PalmOS applications and the kernel is well-documented in prose by Palm. Similarly, m68k toolchains (I used gcc) are well-documented in manuals by their authors (though I often find the gcc manuals confusing and spend a lot of time on them). My strategy here has largely been to read a wide swath of online literature to extract high-level details during design, and then close read the most relevant sources during implementation.

It is difficult to disentangle what systems knowledge I’ve learned specifically for this project; I am already focused on systems and will work full-time on OS performance. Therefore, I’ll focus on my learning strategy this semester. I’ve acquired a lot of general embedded, systems, and performance knowledge through book learning and coursework. I read Remzi and Andrea Arpaci-Dusseau’s Operating Systems: Three Easy Pieces and am reading Hennessy and Patterson’s Computer Architecture: A Quantitative Approach (3rd Edition). While less specifically applicable, Stevens and Rago’s Advanced Programming in the Unix Environment presented broad ideas that have been useful here. I’ve read some of Brendan Gregg’s work (and have plans to read his book Systems Performance). Finally, I drew upon things I learned in 18-349 Embedded Systems course, 18-213 Computer Systems, and 15-441 Compilers, as well as parts of 15-445 Databases and 15-410 OS; I also drew upon performance and RISC-V knowledge developed in a hobby OS and in my compilers project. Most of this material either has exercises included or has been used towards a project of mine at some point, so my strategy here has been to work through closely and gradually over months.

I’ve mostly learned about FreeRTOS through their website. I skimmed their docs early on because I care mostly about the high-level architecture; other details I’ve picked up from their website later on and from Maggie’s code. I’ve learned about the ESP32-P4 and ESP-IDF toolchain through their documentation. This has mostly been understanding interfaces, so the strategy has been to search when the need arises.

In the interest of preparing to work in an industry heavily using LLMs, I have experimented with using Google’s Gemini-3.X and OpenAI’s Sol-6.2 to dig up facts and further reading. I was hoping that given their large training sets, they would be effective at identifying likely high-quality sources. I am not satisfied. In these cases, I’ve independently researched and come to a conclusion to compare against. For facts that are not “common knowledge,” the Gemini models appear to regularly hallucinate details and bias towards suggestions by the user, regardless of sources given or found. The OpenAI models appear to report facts reliably, but since I’m looking for obscure details, it tends to use the most direct option available — pulling someone else’s github code and scanning it — and this is uncomfortable in terms of integrity and licensing. Therefore, I’ve avoided using either as a search engine or for source discovery. It is possible that the situation has changed in recent weeks, especially having seen the recent Riemann news. In general, though, I’ve found that the sources and strategies that stuck with me the most were human recommendations, and I would be interested in hearing about teams and people that are effectively using LLMs to find sources.

Team Status Report for 2026-11-14

We received our second PCB iteration! We added the MCU and radio in the reflow oven, and Sophia cleaned up a few joints that were sketchy or failed to connect. The results of testing traces and subsystems is promising – we have connections in the right places and power is regulated well. We were delayed slightly by needing to clean up at an inopportune time, but the next step is for Maggie to boot the integrated package.

If all goes well, we’ll try running the whole software stack in the second half of this week! Additionally, we will assemble the second board: we opted to leave it for this week so we can learn from the first board (and adjust if we make any permanent mistakes).

The largest risks are problems with the PCB and unrealized assumptions in the software. Fortunately, when integrating, we will find out quite quickly if anything fully block progress (so far so good!). We have mitigation strategies planned for physical failures – for example, we can move the key switches and battery around in the case. The worst-case software failure is poor performance, and we have quite a few mitigation strategies for that. Other known potential software failures (e.g. if the radio uses more power than documented) could result in underperforming versus our design goals, but would not prevent a viable product.

We’re very approaching the point of validating the whole stack. Maggie’s already run some GPS and LoRa verification with the dev board; checking them on the integrated package will (ideally) look similar. The minimum progress we need to verify the application layer is running the display and touch sensor; then, the most simple check is using the device for a time, and from there we can start running tests against the entire package: for example, our battery life test has a straightforward methodology (to summarize, run it for a while and check drop) but is only meaningful with everything together. Our target is testing during the week of 11/23, giving us a week to integrate, though in practice we can start some tests on the partially integrated device.

Sophia’s Status Report for 2026-11-14

The PCB arrived this week! Unfortunately, it arrived mere hours after the interim demo, so we weren’t able to show it off, but we were able to assemble the surface-mounted components successfully, which was the biggest risk in ordering the board partially assembled. We cut the stencil we received with the previous order to apply solder paste, and Tucker spent some time under a microscope adjusting the paste and placement to minimize the possibility of bridging. We then put the PCB in the reflow oven; while I was worried about the possibility of this affecting some of the pre-soldered parts, the PCB came out of the oven safely! A few joints were not fully connected, so I spent some time poking at them with a fine-tipped soldering iron, which worked well enough.

I also used a multimeter to continuity test all the new joints that we soldered in the oven and measure the voltage rails. The 5V rail regulates slightly above (around 5.05V), which was an intentional choice in case of voltage drop, and all other rails also operate as expected; all peripherals also receive the appropriate power. All of the joints were also successfully connected (except for a few that were unused and left purposefully floating). The main risk is now ensuring that the data is transferred properly from the peripherals to the PCB. In terms of remaining verification on my end, I need to verify that the PCB meets the battery life requirement (16 hours including 2 hours of active use). This can happen after we get the device up and running.

In the next week, Maggie and Tucker will be using this new PCB to test firmware and software. There are a few things I would already like to change in the case of a new PCB order, such as adding indicator lights for the power connectors, increasing the size of the hand-soldered resistors, and making the design more suited to fitting the display; however, none of these are critical changes so far. Based on developments this week, I aim to finalize whether I need to make another PCB order by the end of this week. This is still around a week behind schedule; however, the newest board should still be fine to arrive by the final demo, and if it doesn’t, we should still have a prototype that mostly works.

Tucker’s Status Report for 2026-11-14

This week, we gave our interim demos and received our new dev board. I worked on SMD soldering for the dev board and on emulator support, in addition to more testing of the emulator.

Our new PCB is here! We ordered small components pre-assembled, and did the MCU, radio, some pull-ups, and through-hole components ourselves. We cut our stencil for paste application, which worked, but had some of its own issues. Any solder bridges here would present a major risk, as we want to minimize the additional runs through the reflow oven or in rework. In the end, I spent a while fixing the paste layer with tweezers and a knife, then on placement under a microscope. It worked out, as we didn’t bridge anything, but we had a few joints on the MCU fail to flow correctly and need fix-up.

I was hoping to test the emulator interactively on-device over the weekend, but due to further work soldering, and an unforeseen work bringing up the PCB, I don’t think I will get to this point. However, I’ve made progress on the dev board tests. This is the same test suite that runs on my laptop: testing device stubs, boot, app injection, and correct interactivity. This is still the largest risk for me!

I also performed further extensive testing of the emulator on PC, cumulating in demonstrating that the device reliably functions, including correct functionality of first-party and third-party apps, under regular interaction, for at least an hour. This is more intense than anything we demoed, but assures us of correctness, and is practical for the final demo. I found an issue where the emulator stopped after being left idle for several minutes, and I believe I’ve corrected it, though it’s hard to validate that an intermittent bug is fixed (especially when waiting for it to potentially reappear takes minutes, and I need to try repeatedly).

The next big milestone for verification on the emulator subsystem is on the intergrated device. Emulated devices and the interrupt controller need to interface with hardware and firmware, which means more code to test, and a “fuzzier” view of the overall system. We become more sensitive to MCU and peripheral throughput and latency. Therefore, we need to check the integration against the concrete specifications laid out in our proposal, and we need to interact with it and extract subjective results. I’ve done some UI tests with friends, and I’m tentatively doing the same with local family friends (with parental consent). If that falls through, I’ll increase the rigor and span of testing with peers.

Maggie’s Status Report for 2026-11-14

I worked on prepping for the interim demo earlier this week. Besides that, I focused on the Lora messaging service development. It’s now capable of encrypting and decrypting packets using AES-256-GCM and then broadcasting the messages. The reception side hasn’t been developed yet since we only had one physical LoRa module earlier.

Firmware development remains on schedule. It might get tight depending on how integration goes on the PCB. I plan to verify the messaging between 2 physical LoRa nodes next week.

The PCB arrived towards the end of the week, so we will also work on assembling the components (processor and lora and a few resistors)and testing it. After that, I will work on integrating the existing firmware and developing communication service between 2 devices.

Currently, for the firmware subsystem verification, I plan to test:

  1. LoRa: decrypted messages on the receiver exactly match the original message on the sender.
  2. tampered data is rejected.
  3. sending 100 messages between 2 devices and at least 95 of them are successful (repeat for a few times).
  4. physically moving around buildings on campus and checking location tracking accuracy against Google Maps. (done)

For the overall system validation, we will test messaging between 2 complete devices at increasing distances (to check the 1km communication range requirement) and record the delivery rate, latency, and range.

Sophia’s Status Report for 2026-11-07

Last week, I ordered the PCBA off of JLCPCB with the goal of it arriving on or slightly after the interim demo. Unfortunately, due to customer support being rather unresponsive and delaying fabrication after asking some clarifying questions about the assembly specifically, it seems more likely that the PCBA will arrive after the interim demo. This puts us behind schedule; however, the PCBA is slated to arrive later in the week, which means that we will be able to start work on testing and integration and continue to move forward.

I was able to visually inspect some of the components we received before I reordered the PCB, and I found that my initial design had the header pins for the display wired backwards due to inconsistent vendor documentation. As a result, I was able to substitute the part for a connector that had contacts on the top rather than the bottom. This may require us to flip the board upside down in the housing so that the display can face up, as well as putting the buttons on the bottom— I’m looking ahead into how to design the housing around this.

This week and next week, I also worked on preparing for the interim demo— even if I do not have the PCBA, I still have a lot to discuss on the choices I made when designing it.

Team Status Report for 2026-11-07

We’re preparing to demo our work thus far on Monday and Wednesday. This week, Tucker worked on app emulation and running on the dev board, Maggie worked on getting the holistic P4 firmware ready to demo, and Sophia worked on getting our second-round PCB back.

The emulator is going along nicely! We’re on schedule, though Tucker has prioritized running apps over running on the dev board. Both carry similar risk but applications make for a much more impactful demo. The risks are largely the same as last week.

Maggie was working on developing a simulated message transmission interface and also integrating this into the UI so that users can send messages to receivers. The goal is to reduce some future integration work once the new PCB with the physical LoRa module arrives.

Sophia put together a new order last week and this week in record time. It’s also allowed us to fix a bug: the display connector profile was backwards in the vendor docs. Correcting this now prevents us from having to rework the enclosure.

Unfortunately, the new PCB order got delayed, so we won’t be able to demo it. That’s just part of the risk; we can still demonstrate the engineering involved in it, and show functionality of the firmware and software.

Our largest risk now is of the new PCB having issues, since we weren’t able to test the first draft as much as we’d have liked to. If it comes to it, though, we’ll show as much of our final demo as possible on a breadboard. Smaller risks are the radio underperforming or the emulator having performance issues in the final integration, which we’re planning for and hoping to not experience.