Skip to content

Program Gateway

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

Gateway Mega

  • Connect the USB cable to the Arduino Mega.

  • Open the Arduino IDE on your computer.

  • Under «Tools»

    • Configure the board as «Arduino Mega 2560».

      Arduino IDE, select board, Arduino Mega 2560

    • Configure processor as «ATmega2560».

      Arduino IDE, select processor, ATmega2560

    • Under "port", select the serial port of the Arduino Mega.

      Arduino IDE, select port

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

    Arduino IDE, select sketch

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

    Open sketch

  • Click «Upload»

    Arduino IDE, upload sketch to Arduino Mega

Gateway Feather FONA

Warning: We found the Adafruit Feather 32u4 FONA (revision B) to be unreliable, especially in cases with medium to low cellular reception. In these cases, the Feather 32u4 FONA gets stuck in a reset loop. We could not determine the exact cause of these issues. Hence, we are currently using an Arduino Mega and a FONA Mini Cellular GSM breakout board as a gateway (see above).

  • The Adafruit Feather 32u4 FONA is not a standard Arduino device. Therefore the Arduino IDE needs to be setup for this board. Setup the Arduino IDE following these instructions: https://learn.adafruit.com/adafruit-feather-32u4-fona/setup
  • Connect the USB Micro cable to the Feather 32u4 FONA.
  • Open the Arduino IDE on your computer.
  • Under «Tools»
    • Configure the board as «Adafruit Feather 32u4».
    • Under port, select the serial port of the Feather 32u4 FONA.
  • Open the Arduino file you want to load onto the main module.
  • Click «Upload»