Extensible SSEL Beacon Parser for HAM Operators Andrew Seel Summer - - PowerPoint PPT Presentation

extensible ssel beacon parser for ham operators
SMART_READER_LITE
LIVE PREVIEW

Extensible SSEL Beacon Parser for HAM Operators Andrew Seel Summer - - PowerPoint PPT Presentation

Extensible SSEL Beacon Parser for HAM Operators Andrew Seel Summer 2013 REU Project August 2, 2013 FIREBIRD Science Requirements Monitor serial stream Identify, collect, and validate SSEL packets Send validated SSEL packets to SSEL


slide-1
SLIDE 1

FIREBIRD Science

Extensible SSEL Beacon Parser for HAM Operators

Andrew Seel Summer 2013 REU Project August 2, 2013

slide-2
SLIDE 2

FIREBIRD Science

Requirements

  • Monitor serial stream
  • Identify, collect, and validate SSEL packets
  • Send validated SSEL packets to SSEL
  • Select mission of interest (e.g. FIREBIRD, EPISIM)
  • Display and/or plot variables of user interest
  • Distributable as a single executable (Not Open Source)
slide-3
SLIDE 3

FIREBIRD Science

Original Flowchart

slide-4
SLIDE 4

FIREBIRD Science

Programming Language

  • Python 2.7
  • Tkinter

Cross-platform GUI toolkit

  • Matplotlib and Numpy

Graphing

  • PySerial

Serial Communications

  • PyInstaller

'Compiles' python files into a single standalone file

slide-5
SLIDE 5

FIREBIRD Science

Current Progress

  • Barebones GUI
  • Serial Port selection

Attempts to autodetect ports on the system

Allows for user to type in port name if correct port isn't detected

  • Detects FIREBIRD packets

Unstuffs, Checks CRC, Checks spacecraft ID fields

  • Parses FIREBIRD packets into Python Dictionaries

{“BEACON_SYSTEM_TIME_YEAR”: 2013, “BEACON_SYSTEM_TIME_MONTH”: 8, etc}

  • Graphs user selected variable from a series of packets

Updates when a new packet is received or variable selection changes

slide-6
SLIDE 6

FIREBIRD Science

Current Classes

  • APP

FBGUI

  • FULAYOUT

– graphWithSelector

  • UNSTUFFER

– UN_ENUMS

  • beaconParse
  • beaconConvert
  • SERIALMONITOR
slide-7
SLIDE 7

FIREBIRD Science

Core App Flowchart: Current Implementation

COM/TTY Port SERIALMONITOR (Thread 2) byteQueue APP (Thread 1) Tk.root menubar GUI_CLASS UNSTUFFER processQueue packetList beaconParse beaconConvert serPref

slide-8
SLIDE 8

FIREBIRD Science

GUI_CLASS: FBGUI

FBGUI FULAYOUT Flight Unit 1 graphWithSelector voltDisplay graphWithSelector tempDisplay graphWithSelector ampsDisplay packetLog packets UNSTUFFER beaconParse beaconConvert addPacket FULAYOUT Flight Unit 2 packets Same as Left

slide-9
SLIDE 9

FIREBIRD Science

Screenshots

slide-10
SLIDE 10

FIREBIRD Science

Screenshot: with fake data

slide-11
SLIDE 11

FIREBIRD Science

To Do

  • Verify serial data parsing with data from the Firebird

engineering unit

  • List the remaining variables in the bottom right quadrant

Use values from either first packet or packet currently highlighted in the packetLog

  • Export packets to SSEL
  • Write GUI_CLASSes for other missions
  • General GUI cleanup