Arduino Weather Shield Hookup Guide V12

Pages
Contributors: Nate, santaimpersonator, SparkFro
Favorited Favorite 17

Troubleshooting

I2C Error

If there is an error you will see:

I2C communication to sensors is not working. Check solder connections.

This message appears when the board is unable to get a response from the I2C sensors. This could be because of a faulty solder connection, or if there are other devices on the A5/A4 lines (which are also called SDA/SCL).

Barometeric Reading

The Weather Shield example firmware outputs regular barometric pressure. This is very different from the pressure that weather stations report. For more information, see the definition of "altimeter setting pressure". For an example of how to calculate altimeter setting type barometric pressure see the MPL3115A2 hook-up guide. Also check out the MPL3115A2 library, specifically the BarometricHgInch example.

No GPS Data

Even if the GPS module doesn't have a fix, it should still transmit blank NMEA sentences. However, if there is no serial data being transmitted from the GPS module, the following error will be displayed before the GPS data.

No GPS data: check wiring/switch.

If the GPS module is connected properly, double check the switch position on the board and that the RX/TX pin connections are defined properly in the sketch.

Status LEDs

  1. In the example firmware, the blue LED should blink when the data from the weather sensors are being transmitted.
  2. In the example firmware, the green LED will only turn on when the GPS data has been updated. The LED may blink, as blank or incomplete NMEA sentences get parsed from the GPS module.
    • There is a commented out block of code, if users wish to reconfigure the logic for the LED to check for new GPS data that is also valid.