This Month in PPO - September
How do you get a photo, a livestream, or the game state of Doom from the satellite back to Earth? That question drove much of our work this month. We’ve added a Raspberry Pi coprocessor for camera work and experiments and gotten a rudimentary version of Doom running on it, and continued developing the radio links that will send PixelSat I’s data to the ground.
We’re Project Pixel Orbital, a student-led team building a CubeSat from scratch. Here’s what we’ve done in September, what we’re still testing, and what we hope to tackle next.
We’re switching our 435 MHz UHF radio to the SPI version of the E-byte E22 transceivers. It gives us a direct connection to the SX1262 transceiver, allowing us to experiment with GMSK as well as expanded LoRa parameters. Additionally, the UART version of the E22 (which we were previously using) adds encryption, which is against FCC regulations, so our original downlinks would technically have been against the law.
The signal will travel through a deployable dipole (we ruled against a monopole due to the challenge of integrating a ground plane, which would be a PITA to implement) tape-measure antenna. This month, we built the initial tape measure antenna prototype [Fig. 3], and confirmed its frequency was centered and that we could communicate using UART E22s.
The actual antenna part of a tape measure antenna is actually surprisingly trivial. However, the deployment mechanism is something that many CubeSat teams have spent months designing and iterating on. It must be reliable, compact, and make sure the whipping tape measure antenna [See Fig. 2] as it deploys does not hit any other components. Many teams use a burn wire as the release mechanism, which is what we will do as well. We are planning to have the antenna deploy out of small cutouts on the lower side panels [as seen in Fig. 1]. Once we finish, PixelSat I’s UHF antenna will allow us to transmit heartbeats and other data to ground stations and amateur networks across the globe.
Figure 1: antenna for “TinSat”, a PoC design used throughout this excellent master’s thesis
Figure 2: still from a slowmo of our antenna prototype violently and uncontrollably deploying. Note the torque being exerted on the protoboard by the deploying antenna and the antenna whipping below the coaxial cable
Figure 3: prototype in high res
For larger payloads, we’re implementing a separate 2.4 GHz S-band link. Our patch antenna [Fig. 4] is one of the more ambitious pieces of PixelSat I. We’re developing an antenna that has to send a 2.4 GHz signal to Earth from a 3U CubeSat, with carefully aimed antennas on the ground ready to receive it. If it works, S-band could net two orders of magnitude faster downlink than our default UHF connection, scaling to 260 kilobits per second, meaning our image downlinks become significantly faster. These speeds are also what allow streaming for DOOM and camera video, two of our most ambitious experiments.
Figure 4: S-band patch antenna prototype, viewed in Ansys HFSS
PixelSat I now has a Raspberry Pi coprocessor working alongside its STM32 flight computer; they communicate over UART. Our STM32 remains our reliable onboard flight computer, but the Raspberry Pi adds significantly more processing power (and a full operating system) for noncritical and experimental tasks.
Figures 5, 6: Testing the Raspberry Pi
That extra computing power is already making new experiments possible. We’ve successfully patched DOOM and implemented significant strategies for the Pi to be able to play it from space (see below), and we’re exploring how the Pi could support higher-resolution images and video streaming experiments. It’s an exciting step toward doing much more with a comparatively small spacecraft.
To hear PixelSat I after launch, we’re connecting to TinyGS, an open-source network of LoRa UHF ground stations, which we’ll utilize to downlink PixelSat I’s UHF heartbeat (telemetry) packets. Our goal is that amateur radio operators around the world can receive our downlinks and hopefully even contribute back by operating our own TinyGS station.
You can find PixelSat I’s TinyGS listing here.
Testing a Heltec TinyGS receiver with our transceivers
Building PixelSat means building an organization that can support it, too. We’re applying for recognition as a 501(c)(3) tax-exempt organization as part of giving PPO a stronger foundation for its educational mission and future projects. Our legal team is also ramping up work on the requirements of operating a CubeSat, including coordination with NOAA, the FCC, and the IARU.
Our test PCBs have arrived! Now we face the real challenge, having to debug the PCBs on the bench to see what issues with power, crosstalk, and the like we might encounter that weren’t obvious in the schematics.. Our goal is to soon have an integrated FlatSat (that is, all hardware and software working with our PCBs) before our final manufacturing job and integration for launch.
Revolutionizing the orbital gaming community
In the past, some European guys ran a DOOM demo on their satellite and returned images to Earth. With PixelSat I, our goal is to make it interactive. Instead of playing demos and returning screenshots, we’re going to play the game from the ground (think cloud gaming… but from space) and stream it back. Our ultimate goal is to directly stream the game’s frames over S-band back to the ground using the H.264 hardware-accelerated GPU encoder on the Raspberry Pi. We’re also implementing a path using delta encoding and ZSTD compression for downlinking game state (a snapshot of what’s going on the game which the ground reconstructs into frames) which is significantly more bandwidth-efficient. We hope to follow in the legacy of “It runs DOOM.”
The game state path running on the Pi over WebSockets and SSH (which we are currently ripping out to instead use our production RF link), rendering a playable DOOM window on the host laptop.
An early version of Doom is already running on the Pi over WebSockets. We’ve implemented several thousand lines of patches and surrounding code to make DOOM resistant to crashes, more memory safe, support game state imports/exports and delta encoding, etc. and are currently running large-scale fuzzing amounting to tens of thousands of hours of gameplay to test our changes. The next challenge is compiling it on the Raspberry Pi and adapting it to our complex communications stack. We’ll have a more technical writeup on our various work on DOOM soon.
Thanks for following along as we turn PixelSat I from prototypes into a spacecraft. In the coming weeks, we’ll test the new boards, refine our antennas and radio links, and push DoomSat beyond its ground prototype. We’ll share what works, what doesn’t, and what we learn along the way.
We are a high school student team, operating solely off private donations. Every dollar counts; if you’d like to support the team, donate here.
Learn more at projectpixelorbital.com.
- The Project Pixel Orbital team