Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 2.71 KB

README.md

File metadata and controls

56 lines (46 loc) · 2.71 KB

sensor_board

Read ancillary sensor data and send timestamped sensor data over serial to PC. Code written for a Teensy 4.0 target.

HSI pushbroom sensors require motion to generate a 2D spatial datacube. To accurately model this motion, IMU absolute orientation and GPS coordinates are needed. We also include a humidity/pressure/temperature sensor to measure the local weather conditions.

Sensors

Additional Components include:

  • Operating LED: blinking indicates code runs normally. Lack of blink indicates program abort or hang.
  • Latching LED button: This is used to start data packet transfer and indicate operational status. Blink means waiting for HSI camera. Solid colour means camera is currently collecting data.
  • Reset button: Reboots the Teensy. Press this button instead of power cycling.

PCB

In the PCB folder, the custom parts library, schematic, and board files are provided. The Gerber files are also included.

Scheduler

All sensor update events are handled by a cooperative task scheduler. Sensors will try to update at their desired frequency and if the sensor is missing on startup, the task is removed from the schedule.

There is a debug mode which prints out sensor readings but requires the USB serial port to be connected. To use this, simply add #define DEBUG at the top of the code.