At my University we have a project where we have to capture the meterological data in Siberia.
Now I got the task to get the data from a Methansensor to a SD-Card. In order to do this, I need a Timestamp.
On the probe (Helipod->http://www.awi.de/fileadmin/user_upload/Research/Research_Divisions/Climate_Sciences/Polar_Meteorology/campaigns/WARPS-helipod.jpg) we have a GPS-Computer trasmitting data via RS-232.
To test everything at home i´ve lend a GPS-Modul (ublox LEA-4T->http://www.u-blox.com/images/downloads/Product_Docs/LEA-4x_Data_Sheet(GPS.G4-MS4-06143).pdf)
Unfortunately i´m not quite sure what signal it is sending. The Data-sheet says UART but i´m not quite sure wheter it is RS-232 oder already TTL. I assumed it was RS232 so i bought a MAX232N-Chip and hooked it up, although i was not quite sure how to connect Vs+ and Vs-. In the Datasheet (http://pdf1.alldatasheet.com/datasheet-pdf/view/27230/TI/MAX232N.html) it says it has to be connected to 8.5v and -8.5v… I connected it to 5v and ground.
When i read the signal with the analog input, i recognize that the signal is reversed, so i assume the RS232 is working…
But i still get something similiar looking like this → http://img37.imageshack.us/img37/5079/serialdatafromgps.png
I coded the bare minimum to directly get the Serial:
What am I doing wrong? And sorry for my noobish questions but I am quite new to Arduino…