TinyCircuits

Problem Initializing BMP280 Sensor after SD Card Insertion

Problem Initializing BMP280 Sensor after SD Card Insertion
« on: March 01, 2019, 12:49:25 PM »
I am configuring the BMP280 pressure sensor for a science project using instructions provided at Rocket Altimeter Logger[tinycircuits.com]. The instructions are well-written, and provide a direct interface with the device. First, I tested the TinyShield USB using the "blinking" sample code. Then, I uploaded the actual code for the pressure sensor. Initially, this also was successful. However, the remaining instructions do not provide a link to a serial monitor to display data output. To address this issue, I ran the program in the Arduino Sketchbook (Arduino.cc) environment. I transferred the written code for the sensor and data logger (4 programs: TinyShield BarometricPressure, BMP280.CC, BMP280.h, Altimeter_DataLogger) to the Sketchbook to monitor its output on the Serial Monitor. The board and port designations were correct. I was able to obtain sequential output (time-temp-pressure) from the device, displayed on the serial monitor. However, when I attempted to load the SD card to download the data (turning off the device before inserting the SD card), the sensor stopped working. On the serial monitor, I received an error message, "BMP Init failed". It appears that running the code in the Arduino.cc environment is compromised when the SD card is introduced to download the data, leaving definitions of the BMP280, imprecise. Please provide general feedback, or a specific recommendation for, a) code correction for the data output interface, and/or b) how to secure a link to the serial monitor on the Rocket Altimeter Logger page. Thank you.