Using Adafruit's GPS logger with various probes

Hi there,

I'm having some trouble trying to write the data output from various Adafruit probes onto a SD card, mounted via Adafruit's Ultimate GPS and SD data logger shield. I've read from previous threads that the Wire.h library could interfere in some capacity, which would explain why my code doesn't work when both libraries are combined. Could anyone offer advice (or a support sketch) that would allow me to transfer the COM output from the weather probes onto the SD card? I'd like to put these probes into payload for a high altitude balloon, so any alternative ideas on how to save the data are very much welcomed!

Kind regards,

Skyler

My blog post on using UNO with multiple weather probes: http://zenofstem.com/project/using-arduino-to-run-multiple-probes/

Adafruit Ultimate GPS shield: Adafruit Ultimate GPS Logger Shield - Includes GPS Module : ID 1272 : $29.95 : Adafruit Industries, Unique & fun DIY electronics and kits

shield_sdlog.ino (4.75 KB)

Multiprobes18April2014.ino (5.61 KB)

Let's get the easy questions out of the way first. You posted two codes. Which one is causing the problem? What IS the problem?

"I'm having some trouble" doesn't give us ANYTHING to go on.

PaulS + others,

Thanks for helping out. Allow me to clarify: I've mounted the various weather probes onto the Adafruit GPS + SD logger, which is mounted to an Arduino UNO. Both codes work when I upload them separately, one pulls data from the probes (multiprobe), the other pulls GPS data and stores it into a .txt file on an SD card(sd_log.) When I try to combine both sketches together, the problem comes when in line 2, when I try to import Wire.h . Here's a sample code to help you ID the issue.

codeforPaulS.ino (4.77 KB)