SNAPPY CubeSat Control Script Generation and Data File Processing

This paper describes a server system and GUI application developed to automatically retrieve, process, and store data from the SNAPPY CubeSat while maintaining a command database, with future plans to implement automated email notifications for the team.

Edward Bierens, Jonathan Folkerts, Brian Doty, Holger Meyer, Nickolas Solomey

Published 2026-03-06
📖 5 min read🧠 Deep dive

Imagine you are running a very busy, high-tech post office, but instead of letters, you are receiving tiny, fragile packages from a satellite orbiting the Earth. This satellite, named SNAPPY, is part of a mission to catch "ghost particles" called neutrinos that come from the Sun. Because these particles are so hard to catch, the satellite has to be very close to the Sun, and the data it sends back is messy, complex, and arrives in a chaotic jumble.

This paper describes the two main tools the team at Wichita State University built to manage this chaos: a Super-Automated Sorting Machine and a Magic Command Remote.

1. The Super-Automated Sorting Machine (The Server Daemon)

Think of the satellite's data as a massive pile of mail that arrives 24/7. If a human had to open every envelope, read the note, file it, and write a receipt, they would go crazy.

Instead, the team built a digital robot (called a "daemon") that lives on a powerful computer server. Here is how it works:

  • The Drop-Off Zone: When the satellite sends data, it lands in a special folder called the "Launchpad." It's like a waiting room where the robot gives the package a one-minute "cooling off" period to make sure the whole file has arrived.
  • The Sorting Hat: Once the wait is over, the robot instantly sniffs the file to see what kind of data it is.
    • Is it a picture of a particle? It goes to the Science Folder.
    • Is it a log of what the satellite did? It goes to the Log Folder.
    • Is it a health report on the satellite's battery? It goes to the Telemetry Folder.
  • The Filing Cabinet (Database): The robot doesn't just move the files; it writes a detailed receipt for every single one in a giant digital ledger (a PostgreSQL database). It notes exactly when it arrived, what it contains, and who sent it.
  • The Safety Net: The team uses a "RAID 1" system. Imagine you have two identical filing cabinets. Every time you put a file in one, you instantly put a copy in the other. If one cabinet burns down, the other is still perfect. This ensures that if the computer crashes, no data is ever lost.
  • The Translator (ROOT): The raw data the satellite sends is like a secret code. The robot translates this code into a format called ROOT (a special language used by scientists at CERN). It turns the messy code into neat charts and graphs (histograms) that scientists can actually understand, showing them things like "how many particles we caught today."

2. The Magic Command Remote (The Script Generator)

While the robot handles the incoming mail, the team also needs to send outgoing instructions to the satellite. They need to tell the satellite: "Turn on the detector," "Change your orbit," or "Take a photo."

Writing these instructions by hand is like trying to program a robot by typing thousands of lines of code in a dark room. One typo could break the satellite.

So, they built a Graphical User Interface (GUI), which is basically a Magic Remote Control with buttons and menus.

  • No Coding Required: Instead of typing code, a team member just clicks on a tab (like "Science" or "Navigation") and selects what they want the satellite to do.
  • The Preview Window: Before sending the command, the software shows a "preview" of the instructions, like a "To-Do List" that the satellite will read.
  • The Safety Check: The software automatically formats the message perfectly, ensuring the satellite understands it. It's like a spell-checker that prevents you from sending a text message with a typo that accidentally deletes your entire photo album.

3. What's Next? (The Future Upgrades)

The team knows their system is great, but they want to make it even better before the satellite launches. They have two big plans:

  • The Double-Backup: They plan to add a system that automatically copies their entire database to a computer in a different building (and maybe even a different city). This is like having a backup of your phone in the cloud, just in case the office building catches fire.
  • The Wake-Up Call: Currently, if the robot makes a mistake, nobody knows until someone walks into the office. They plan to add an automatic email system. If the robot encounters a problem at 3:00 AM, it will instantly text or email the team: "Hey, something is wrong! Wake up and check the server!"

Summary

In short, this paper is about building a digital nervous system for a space mission. They created a robot that never sleeps to sort and translate data from a satellite, and a user-friendly remote control to send commands back to it. This ensures that when the SNAPPY CubeSat flies, the scientists on the ground can focus on discovering new physics about the Sun, rather than worrying about lost files or broken code.