Skip to content

Program main module and sensor modules

Mario Frei edited this page Jul 22, 2020 · 4 revisions

The following instructions apply to the main module and to the sensor module. These instructions do not apply to the sensor module for heat fluxes since it uses a different microcontroller. Before you start, make sure that you have installed the Arduino IDE with the required libraries. We recommend using the latest versions of the libraries through the Arduino IDE. However, we provide a backup of the libraries in this repository. Custom libraries for the sensor modules and the payload management are included in this repository.

  • Connect the ISP-programmer to the main module and the computer

    Main module with ISP-programmer

  • Or connect the ISP-programmer to the sensor module and the computer

    Sensor module with ISP-programmer

  • Open the Arduino IDE on your computer

  • Under «Tools»

    • Configure the board as «Arduino Pro or Pro Mini»

      Set board to Arduino Pro Mini

    • Configure the processor as «ATmega328P (3.3V, 8MHz)»

      Set board to Arduino Pro Mini

    • Under "Port" select the serial port of the ISP-programmer

      Select programmer

    • Under "Programmer" select the respective ISP-programmer

      Select programmer

  • Open the Arduino file you want to load onto the main module

    Open sketch

  • Verify the sketch. Proceed to the next step if no error messages appear. Otherwise, install the missing libraries.

    Open sketch

  • Go to «Sketch» -> «Upload Using Programmer»

    Open sketch