User Tools

Site Tools


weasel_code

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
weasel_code [2011/07/17 15:22]
chrism [Nova 19 Arduino code]
weasel_code [2011/09/20 11:27] (current)
chrism [circuit diagram]
Line 6: Line 6:
 This is the latest code. It uses struct for gps, so gps data can be easily accessed for use in functions. ​ This is the latest code. It uses struct for gps, so gps data can be easily accessed for use in functions. ​
   - The GPS nav mode check bug has been attempted to be fixed by re-ordering statements. ​   - The GPS nav mode check bug has been attempted to be fixed by re-ordering statements. ​
-  - The zeros after the decimal place bug has also been fixed, by converting the gps strings into char arrays in the GPS_Coord function. ​+  - The zeros after the decimal place bug has also been fixed, by converting the gps strings into char arrays in the GPS_Coord function. 
 +  - depend on NewSoftSerial library found [[http://​arduiniana.org/​libraries/​newsoftserial/​|here]]
 As much as possible all bugs have been eliminated, but this code has not been tested on an Arduino with a fully functioning GPS. However it has been beta tested using test strings on a static arduino uno.  As much as possible all bugs have been eliminated, but this code has not been tested on an Arduino with a fully functioning GPS. However it has been beta tested using test strings on a static arduino uno. 
-Using this code is at your own risk, and I recommend some ground testing first. ​+Using this code is at your own risk, and I recommend some ground testing first. If you want to use some existing code, or want to see fragments. See our dedicated code dump page [[weasel_code|here]]
  
-<code cpp>+<​code ​cpp tracker.cpp>
 // This code sets a FSA03 GPS module to give gps data to a radio module to downlink to earth. ​ // This code sets a FSA03 GPS module to give gps data to a radio module to downlink to earth. ​
  
Line 447: Line 448:
  
 </​code>​ </​code>​
- 
- 
 ===== C++ GPGGA to Char Arrays ​ ===== ===== C++ GPGGA to Char Arrays ​ =====
  
Line 668: Line 667:
 {{https://​lh5.googleusercontent.com/​-_okrrjXgOkE/​TfvCmscXVxI/​AAAAAAAAAVU/​CRUWfjwJPWQ/​s400/​pyro.JPG}} {{https://​lh5.googleusercontent.com/​-_okrrjXgOkE/​TfvCmscXVxI/​AAAAAAAAAVU/​CRUWfjwJPWQ/​s400/​pyro.JPG}}
  
-the transistor used http://​www.fairchildsemi.com/​ds/​2N/​2N7000.pdf but could use any enhance mode transistor. +the transistor used [[http://​www.fairchildsemi.com/​ds/​2N/​2N7000.pdf|2N7000]] ​but could use any enhance mode transistor. 
-<code cpp>+<​code ​cpp cut-the-cord.cpp>
 int explode(int X, int Y); int explode(int X, int Y);
 void trigger(); void trigger();
Line 717: Line 716:
     if(!digitalRead(test_pin))result++; ​   //test weather successful     if(!digitalRead(test_pin))result++; ​   //test weather successful
 } }
 +
 </​code>​ </​code>​
  
weasel_code.1310912525.txt.gz · Last modified: 2011/07/17 15:22 by chrism