Modifications

Sauter à la navigation Sauter à la recherche
226 octets ajoutés ,  14 mai 2012 à 10:38
Ligne 226 : Ligne 226 :  
Hormis cet inconvénient, il s'agit d'un joli plus et AdaFruit propose une librairie vous permettant de supporter et d'utiliser cette fonctionnalité.
 
Hormis cet inconvénient, il s'agit d'un joli plus et AdaFruit propose une librairie vous permettant de supporter et d'utiliser cette fonctionnalité.
    +
=== Démarrer ===
 
Dans un premier temps, nous allons mettre le data-logger en marche.  
 
Dans un premier temps, nous allons mettre le data-logger en marche.  
    
Ouvrez le sketch '''File→Examples→Adafruit_GPS→locus_start''', ce dernier montre comment démarrer le logger (appelé LOCUS)  
 
Ouvrez le sketch '''File→Examples→Adafruit_GPS→locus_start''', ce dernier montre comment démarrer le logger (appelé LOCUS)  
   −
The key part is here:  
+
La partie principale du code est reprise ci-dessous:  
 
  <nowiki>  Serial.print("STARTING LOGGING....");
 
  <nowiki>  Serial.print("STARTING LOGGING....");
 
   if (GPS.LOCUS_StartLogger())
 
   if (GPS.LOCUS_StartLogger())
Ligne 239 : Ligne 240 :  
</nowiki>
 
</nowiki>
   −
You should start the logger and then check the response
+
Vous devriez démarrer le Logger et vérifier la réponse par la suite.
    
[[Fichier:GpsUltimateLocus1.jpg]]
 
[[Fichier:GpsUltimateLocus1.jpg]]
   −
Once you've seen that the GPS is OK with logging, you can load up the status sketch which will also give you more data. Upload '''File→Examples→Adafruit_GPS→locus_status'''
+
=== Statut du LOCUS ===
 +
 
 +
Une fois que vous avez constaté que le GPS effectue l'enregistrement des donnée, vous pouvez charger le sketch "Statut du LOCUS" qui vous fournira plus d'information.
 +
 
 +
Chargez le sketch '''File→Examples→Adafruit_GPS→locus_status''' sur votre Arduino.
    
[[Fichier:GpsUltimateLocus2.jpg]]
 
[[Fichier:GpsUltimateLocus2.jpg]]
   −
This output gives you some more information. the first entry is the Log #. This is how many log traces are in the memory. Every time you start and save data, a new log is made. Full Stop means that once the logger has run out of memory it will stop. Next the output indicates that we are logging only during fix data and at set intervals, with an interval delay of 15 seconds. We are not logging based on distance or speed. The current status is LOGGING (active), there's also the number of records we've stored. Each record is a timestamped location. We log once every 15 seconds, you can see the records increment from 344 to 345 here. Lastly, we can see how much of the internal flash storage is used, only 4% at this point
+
Il produit plus d'information
 +
 
 +
La première donnée est le nombre de collecte (Log #), cela indique combien de traces sont stockées en mémoire. Chaque fois que vous commencez et sauvez des données, un nouvelle collecte est faite. Full Stop means that once the logger has run out of memory it will stop. Next the output indicates that we are logging only during fix data and at set intervals, with an interval delay of 15 seconds. We are not logging based on distance or speed. The current status is LOGGING (active), there's also the number of records we've stored. Each record is a timestamped location. We log once every 15 seconds, you can see the records increment from 344 to 345 here. Lastly, we can see how much of the internal flash storage is used, only 4% at this point
    
In real use, you'll probably want to start the loggging and then have your microcontroller go to sleep to reserve power, waking up once in a while to check up on the logging status.
 
In real use, you'll probably want to start the loggging and then have your microcontroller go to sleep to reserve power, waking up once in a while to check up on the logging status.
29 836

modifications

Menu de navigation