Hardware

NDVI Mapping Payload

A high-altitude balloon payload for NASA TechRise. I designed its circuitry and wrote the data logger.

  • Role: Electronics Lead
  • Team: South Brunswick High School Aerospace Club
  • When: 2026
  • Status: Payload hardware and logging code built
PythonAdafruit Metro M4 ExpressI²C sensorsSD loggingSoldering
Enlarge image: The payload: a tall clear acrylic enclosure on a lab table, packed with sensor boards and colored jumper wires, with a cable leaving through the white top plate.
Fig. 1 The assembled payload in its clear enclosure.

Overview

Our aerospace club proposed an NDVI (vegetation index) mapping payload that would use machine learning, and NASA selected it as a winner of the TechRise Student Challenge in the high-altitude balloon category, with $1,500 in funding. As Electronics Lead, I designed the payload’s circuitry and onboard data collection, and wrote the code that logs flight telemetry and four sensors to an SD card once per second.

Context

What NDVI measures

The Normalized Difference Vegetation Index compares how much near-infrared and red light a surface reflects: NDVI = (NIR − Red) / (NIR + Red). Healthy vegetation reflects strongly in near-infrared, so it scores high. The payload doesn’t compute NDVI in flight. It records raw spectral channels, including near-infrared, alongside position and attitude so the index can be mapped after recovery.

Design

Data path

Inputs

  • WorldView flight moduleGPS, altitude, speed, heading, vertical velocity, pressure, temperature, flight status
  • AS7343 spectral sensor11 channels: F1–F8 visible bands and near-infrared
  • TSL2591 light sensorLux, infrared, visible, full spectrum
  • BME280Temperature, humidity, pressure, estimated altitude
  • MPU6050 IMU3-axis acceleration and rotation

Logger

Adafruit Metro M4 Express
  1. Mount SD card, start I²C bus
  2. Detect and configure each sensor
  3. Every second: update telemetry, detect flight-phase changes, read sensors
  4. Format one CSV row; write N/A for any failed sensor

Outputs

  • SD cardCSV log, 39 fields per row, plus an error log
  • NeopixelFlight phase: yellow initializing, green launching, cyan floating, blue terminating
  • GO LEDBlink pattern shows whether telemetry is streaming
Diagram How data moves through the payload. This is a data-flow sketch, not a wiring schematic.
  • The WorldView flight module supplies GPS position, altitude, speed, heading, vertical velocity, pressure, temperature, and flight status.
  • An AS7343 provides 11 channels: eight visible bands (F1–F8) plus near-infrared, with configurable gain and integration time.
  • A TSL2591 measures lux, infrared, visible, and full-spectrum intensity.
  • A BME280 records temperature, humidity, and pressure, and estimates altitude.
  • An MPU6050 records 3-axis acceleration and rotation.

The firmware checks each sensor at startup and keeps running if one fails, writing N/A in that sensor’s columns instead of halting. A Neopixel shows the flight phase (initializing, launching, floating, terminating), and a GO LED blink pattern shows whether telemetry is streaming.

Results

Build

Enlarge image: A student in a black hoodie solders at a bench under a desk lamp, with a laptop open on a video call to the left and an orange tool case to the right.
Fig. 2 Soldering during the payload build.
Enlarge image: Nine students stand in a row in a school lab around a woman holding a NASA TechRise certificate.
Fig. 3 The TechRise team with the winner’s certificate.
Enlarge image: The payload in its clear enclosure, set into pink foam, with a 3D-printed plate reading South Brunswick Aerospace, NASA TechRise and an Adafruit Metro M4 Express board inside.
Fig. 4 The finished payload in its foam case, under a 3D-printed South Brunswick Aerospace / NASA TechRise plate. The Adafruit Metro M4 Express board is visible inside.
Enlarge image: A livestream frame of a high-altitude balloon rising into a blue sky with a gondola and parachute below it, with an overlay listing launch stages and Liftoff highlighted.
Fig. 5 World View’s launch livestream at liftoff of the TechRise balloon flight.
Resources

Links & Source