system
January 17, 2014, 10:42pm
1
Everything was working great until I tried to add gps.
The CO2 meter is now reading -203 and the gps prints to the usb serial until the data is valid.
-203 for a K30 series sensor means no communication.
If I comment out the gps everything is great.
Any thoughts?
Box_ready_v1_3.ino (32.4 KB)
system
January 17, 2014, 10:45pm
2
Oh I also forgot it doesn't read the SD card anymore either
vaj4088
January 17, 2014, 10:58pm
3
It looks like a big program, and you haven't told us which Arduino you are using.
My first thought is that you are out of memory. Have you checked?
Do you have a simpler test case that exhibits the problem?
system
January 17, 2014, 11:44pm
4
I'm using a mega 2560 and have plenty of memory and sram.
Sorry I don't have a problem until I combine my gps with my main code.
system
January 17, 2014, 11:55pm
5
I'm using a mega 2560 and have plenty of memory and sram.
With 4 hardware serial ports, why do you need ANY software serial ports?
system
January 18, 2014, 12:58am
6
I have tried hard serial for the weather board I'm using and it doesn't seem to work. I haven't tried the co2 yet. I moved up from an uno when I ran out of space, so my programming was originally written with softSerial
system
January 18, 2014, 1:00am
7
this is the code I am using for hard serial. The board has a switch from soft to hard serial. I have tried both positions
website for board
GPS_off_weather_hard_Serial.ino (2.32 KB)
system
January 18, 2014, 3:09am
8
i figured out the problem between the weather and gps. get that data separately.