Community Project: Using PPK2 for Thermodynamic Computing on ARM Cortex; BOOP A Thermodynamic Voxel Architecture for Energy-Constrained Edge Computing

Hello DevZone Community,

I wanted to share a unique hardware-in-the-loop implementation using the Power Profiler Kit II (PPK2). While the industry is heavily focused on manufacturing custom silicon for thermodynamic computing, my framework—BOOP (Biologically-Inspired Organic Operating Principles)—proves that these exact self-healing, biological paradigms can be achieved on commercial off-the-shelf digital microcontrollers entirely through system design.

The Hardware Loop:
• MCU: ARM Cortex
• Power Source: Sunnytech Solar Panel + Supercapacitors
• Telemetry & Constraints: Nordic PPK2 (measuring real-time milliwatt draw and voltage decay profiles).

How it Works:
Instead of operating under the standard software assumption of an infinite power supply, the C++ runtime loop is stripped of active loops and hardcoded if/else power states. Instead, the PPK2 data stream acts as a strict "metabolism" tracker (symbolic ATP and CHNOPS token accounting). By forcing a deterministic digital microcontroller to strictly obey these physical thermodynamic resource limits, several emergent behaviors naturally manifest:

1. Passive Volatility Management: During power drops ("Dark Phase"), computation smoothly decelerates along the physical capacitor decay curve, preserving state natively without panic-saving code.
2. Emergent Resource Shunting: Using a decentralized spatial algorithm, empty nodes create an energetic vacuum that naturally draws power and data down concentration gradients from insulated storage nodes—mimicking a digital placenta.

I’d love to get feedback from the Nordic Applications Engineering team on optimizing the high-frequency telemetry callback from the PPK2 to further minimize the computational overhead of the metabolic ledger itself!

***

About the Researcher:
Samuel Earl Fazio is an independent researcher based in Belleville, Kansas, specializing in the intersection of biomimetic computing and hardware-in-the-loop system design. His research focuses on forcing commercial-off-the-shelf microcontrollers to mirror the complex, energy-efficient survival behaviors of biological organisms in highly volatile power environments.

BOOP A Thermodynamic Voxel Architecture for Energy-Constrained Edge Computing.pdf

Parents
  • Hi Samuel,

    This is an interesting project with lots of complicated words you have there, but I'm not sure to fully understand the role of the PPK2 in it...

    Are you trying to use it in a feedback loop to check the current draw, or just to monitor the current externally?

    Also, please note that the PPK2 doesn't measure the voltage. I would recommend you reading a bit more documentation on the PPK2 here.

    Best regards,

    Simon

  • "Hi Simon, thanks! To put it simply: we use the PPK2 as our power supply and physical referee ;)

    It plugs into our board to feed it power and accurately measure every tiny micro-amp of electricity it uses. In BOOP the software treats electricity like physical 'food' or energy, keeping with the biologic metaphor So, when the code puts the chip to sleep, we use the PPK2 to watch the power drop and prove that our software's simulated 'metabolism' actually matches real-world physics. Using the PPK as the primary in Source Meter Mode. Instead of using the PPK as the active feedback sensor, the PPK2 serves/is the Metabolic and external validation tool. To sample every individual "sample" inside a real-time metabolic loop, the CPU would burn more "energy" processing than the actual application.

    2. Set up

    • Routing the USB stream from USB,  the PPK2 directly into downsamples the raw data into rolling window averages

    • The Interrupt Bridge: A hardware pin from our Sunnytech Solor Panal/capacitor rail directly into the nRF54L15 / STM32 so the chip see's the voltage/current shifts instantly, hopefully bypassing the need to constantly poll.

    Good catch on the voltage side—we'll use the PPK2 to deliver clean power and handle our tracking inside the chips!"

  • Hi,

    Then, if you plan to use it as an external monitoring device, it should work fine.

    Another thing worth noting is that if you are not using the "Power Profiler Application" from nRF Connect for Desktop, and you want to use it in your own software, the PPK2 doesn't have an official nice ready-to-use API. It simply outputs the data to his serial interface, and you will have to parse it yourself. However, the "Power Profiler Application" is completely open source (link), so if you need an example on how to get the PPK2 data, feel free to check how we did it for this application.

    Best regards,

    Simon

  • SImon; Cool ;)  Thank you for the info ;) The PPK is "new" equipment application for myself, thank you for the insight and advice and also you're timley response ;) 

    -Sam

Reply Children
No Data
Related