Giter Club home page Giter Club logo

proto-cubes-obc's People

Contributors

ihamed98 avatar j0npatrik avatar patrikj5 avatar tstana avatar zethian avatar

Watchers

 avatar

proto-cubes-obc's Issues

DAQ filename error on SD card

After daq0773.dat, the next file name was daq7740.dat. The error on the serial monitor shows:

Could not open daq7742.dat, file already exists!
response: TRANSACTION SUCCESSFUL
CMD_REQ_PAYLOAD received
  Obtaining latest data from SD card...
Reading data from daq7741.dat
CMD_DAQ_STOP received
response: TRANSACTION SUCCESSFUL
------- Invoking REQ_PAYLOAD ---------
response: TRANSACTION SUCCESSFUL
--------------------------------------
Could not open daq7742.dat, file already exists!
CMD_REQ_PAYLOAD received
  Obtaining latest data from SD card...
Reading data from daq7741.dat

There were more files written on SD card after daq7742.dat. It went up to daq7762.dat but they contained same data inside i.e all HK information was same. SD card was cleared and reinserted.

Last DAQ file in EEPROM or SD card file

On startup, the Proto-CUBES OBC tries to find the last written DAQ file on the SD card by sequencing through the currently existing files on the SD card, starting from file DAQ0000.txt. With a large number of files, this process can be very time-consuming.

Fix by storing the last written DAQ file in EEPROM, or (probably easier) in a dedicated file on the SD card, e.g., _lastfile.txt?

Only one histogram written with long cable

When attempting to operate Proto-CUBES with a long cable (preparing for the 2020 radiation test), one of the issues that appears is that only one histogram (of six) is written to data files.

Setup:

  • Arduino > (Long I2C cable, ~2.1 m) > CUBES
  • Proto-CUBES OBC code from commit a37aed0
    • 400 kHz
    • potential for DAQ timing mismatch between Arduino and CUBES exists...

Four example data files attached (*_Citi is data file equivalent from CitirocUI):

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.