Hi all! Its my first my post here.
I am embarking on the new (well new for me) project building a GPS based data logger for a kart and possibly for a racing car if all goes well. And I need your advice in choosing the right components from the SFE site and to maybe give me an idea what’s involved in terms of compiling the code etc.
The goals I am trying to achieve with this logger.
First stage:
- Log data from 5Hz or even 10Hz GPS on to a SD card for later analysis using free software from www.racechrono.com. This should give me an idea of speed at different parts of the track and lap times / sector times. Already a good result.
Second stage.
-
Overlay additional data from various sensors, such as RPM (2-stroke pulse), Engine temperature, wheel speed, throttle position, brake position and maybe accelerometers to analyse G-force going through the corners.
-
If that all works fine, then next would be to output some of the above to the dash board, either the existing Mychron 4 dashboard, I believe it is using CAN interface or build my own dash.
Then lastly,
- Transmit the data to a remote laptop using Serial RF senders / receivers, max range shouldn’t be more then 500-1000 meters.
I am new to all this here, but I have been reading a lot on this forum and quite prepared to learn.
So far I have chosen the following components.
LS20031 GPS 5Hz Receiver
Logomatic v2 Serial SD Datalogger
Accelerometer ADXL320
RF Modem WRL-00560 - http://www.sparkfun.com/commerce/produc … cts_id=560
or
XBee Pro
The main question to start with, could I use the above products and connect them together or do I need something else? Would the logger be able to produce the following output file (below)?
This is an example of file recognised by the Racechrono software, so I would like it to be in this format.
You can see here sentences from the GPS mixed with Sensor data sentences with timestamps.
$GPGGA,124341.400,5049.7753,N,00023.0818,W,1,9,0.92,10.5,M,47.1,M,*71
$GPGSA,A,3,20,04,17,23,13,11,12,31,32,1.80,0.92,1.54*03
$GPGSV,3,1,10,20,76,068,41,23,58,173,49,17,44,258,45,32,44,072,41*7F
$RC1,124341.818,6384,8,-5,1960,0,14,96,110,230*22
$RC1,124341.862,6385,2,16,1960,0,54,130,208,224*0D
$RC1,124341.907,6386,3,3,1960,0,0,37,74,227*04
$RC1,124341.951,6387,-2,-3,1995,0,6,60,67,228*04
$RC1,124341.995,6388,3,-1,2065,0,50,152,169,245*1F
$RC1,124342.040,6389,13,-0,2100,0,0,17,43,238*18
$GPGSV,3,2,10,11,33,148,42,13,30,195,42,04,30,301,40,37,28,152,*71
where
$RC1,,,,,,,,,,,,,,*checksum
Awaiting for your comments on that.
Many thanks.