summaryrefslogtreecommitdiff
path: root/doc/telegps-using.inc
blob: 1dd889cda8b37e0f6d8234f89ef2298f02f2fd3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
== Using TeleGPS Hardware

	=== Hooking Up Lithium Polymer Batteries

		TeleGPS has a two pin JST PH series connector to connect up
		a single-cell Lithium Polymer cell (3.7V nominal). You can
		purchase matching batteries from the Altus Metrum store, or
		other vendors, or you can make your own. Pin 1 of the
		connector is positive, pin 2 is negative. Spark Fun sells a
		cable with the connector attached, which they call a
		link:https://www.sparkfun.com/products/9914[JST Jumper 2 Wire Assembly]


		[WARNING]
		Many RC vendors also sell lithium polymer batteries with
		this same connector. All that we have found use the opposite
		polarity, and if you use them that way, you will damage or
		destroy TeleGPS.

	=== On-board Data Recording

		TeleGPS logs GPS data at a user-configurable
		rate. Data are logged to a 2MB on-board flash memory
		part, which can be partitioned into several
		equal-sized blocks, one for each flight. 64kB of this
		storage are reserved to hold configuration data,
		leaving 1984kB for flight data.

		The on-board flash is partitioned into separate flight
		logs, each of a fixed maximum size. Increase the
		maximum size of each log and you reduce the number of
		flights that can be stored. Decrease the size and you
		can store more flights.

		To compute the amount of space needed for a single
		log, you can divide the expected time (in seconds) by
		the sample period (by default, 1 second per sample)
		and then multiply the result by 32 bytes per
		sample. For instance, a sample period of 1 second and
		a flight lasting one hour will take 32 * 3600 = 115200
		bytes. TeleGPS does try to reduce log space used by
		not recording position information when it isn't
		moving, so actual space consumed may be less than
		this.

		The default size allows for four flights of 496kB
		each, which provides over four hours of logging at 1
		sample per second.

		TeleGPS will not overwrite existing flight data, so be
		sure to download flight data and erase it from the
		onboard flash before it fills up. TeleGPS will still
		report telemetry even if memory is full, so the only
		thing you will lose is the on-board data log.
      
	=== Installation

		The battery connectors are a standard 2-pin JST
		connector and match batteries sold by Spark Fun. These
		batteries are single-cell Lithium Polymer batteries
		that nominally provide 3.7 volts.  Other vendors sell
		similar batteries for RC aircraft using mating
		connectors, however the polarity for those is
		generally reversed from the batteries used by Altus
		Metrum products. In particular, the Tenergy batteries
		supplied for use in Featherweight flight computers are
		not compatible with Altus Metrum flight computers or
		battery chargers.

		[WARNING]
		Check polarity and voltage before connecting any
		battery not purchased from Altus Metrum or Spark
		Fun.

		TeleGPS uses an integrate GPS patch antenna and won't
		receive GPS signals if installed inside a metal or
		carbon fiber compartment. Test GPS reception and
		telemetry transmission with the system installed and
		all other electronics powered up to verify signal
		reception and make sure there isn't any interference
		from other systems.