Giter Club home page Giter Club logo

ambasat1-flight-software's Introduction

AmbaSat-1 Flight Software

This repository contains a complete, integrated suite of flight software for the AmbaSat-1 picosat. This software is not officially associated with the AmbaSat-1 makers, but instead the work of Michael Kamprath, a participant in the AmbaSat-1 project. This software is being released as open source in the hopes that other participants in the AmbaSat-1 project find it useful

Project Structure

This project has the following main areas:

  • satellite-software - This directory contains the software that gets flashed onto the AmbaSat-1 picosat. This directory is a PlatformIO project, set up to be used in Visual Studio Code. The README in this directory gives comprehensive requirements for what the satellite will be able to do with this software, and by extension, how the ground software will support it.
  • ground-software - This directory contains several pieces of software that will be used on the ground (not in the satellite). Most notable is the payload decoder for the telemetry sent to The Things Network.
  • boards - These are the PlatformIO board definitions for the AmaSat-1 hardware.

Contributing

Pull requests are welcome! However, please do read and understand the satellite-software requirements first and keep any changes in line with the intentions of those requirements.

This software has been licensed under the GPL v3 license.

Notes

This project is very much a work in progress. Please expect things to change signficantly over time.

ambasat1-flight-software's People

Contributors

michaelkamprath avatar p-w-t avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ambasat1-flight-software's Issues

Si1132 defaults to low light conditions - maxes out in bright sunlight.

Suggestion:

I've noticed that in bright sunlight, the values max out at 65K. According to the spec sheet: "By default, the measurement parameters are optimized for indoor ambient light levels where it is possible to detect light levels as low as 6 lx. For operation under direct sunlight, the ADC can be programmed to operate in a high signal operation so that it is possible to measure direct sunlight without overflowing the 16-bit result."

Given the use case for this sensor (in space), shouldn't the default be "high signal operation". Or should it switch automatically once the value maxes out? (I'm not sure if this is desirable, since it makes the absolute values a bit more difficult to compare. Or perhaps the code adjusts and returns the value as a scaled 32 bit result.)

I realize you have better things to do with your spare time and I'm willing to take on this assignment should you so desire. Please comment.

Si1132 IR value returns as negative number in bright sunlight

Minor bug in payload_decoders.js:

ir and visible returned as SignedInts, thus resulting as negative values in bright sunlight.
They should be converted as unsigned ints.

I fixed it by adding a convertTwoBytesToUnsignedInt function:

function convertTwoBytesToUnsignedInt( highByte, lowByte ) {
var x = (((highByte & 0xFF) << 8) | (lowByte & 0xFF));
return x;
}

Project won't compile with BME680 sensor and without ENABLE_AMBASAT_COMMANDS anymore

You should enclose the implementation of
uint8_t BME680Sensor::handleCommand(uint16_t cmdSequenceID, uint8_t command, uint8_t* recievedData, uint8_t recievedDataLen)

with

#ifdef ENABLE_AMBASAT_COMMANDS

in BME680Sensor.cpp
since also the declaration is conditional
i would make a pull request on this, but last time didn't work very well and now my fork is even farther from yours so i tought i'd point it out here...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.