altoslib: Add support for TeleGPS v2
[fw/altos] / doc / getting-started.inc
1 == Getting Started
2
3         The first thing to do after you open the box is to hook up a
4         battery and charge it if necessary.
5
6         === Batteries
7
8                 ifdef::telemetrum,telemega,easymega[]
9                 For TeleMetrum, TeleMega and EasyMega, the battery can be charged by plugging it into the
10                 corresponding socket of the device and then using the USB
11                 cable to plug the flight computer into your computer's USB socket. The
12                 on-board circuitry will charge the battery whenever it is plugged
13                 in, because the on-off switch does NOT control the
14                 charging circuitry.
15                 endif::telemetrum,telemega,easymega[]
16                 The Lithium Polymer
17                 ifdef::telemini[TeleMini and]
18                 EasyMini battery can be charged by disconnecting it
19                 from the board and plugging it into a standalone
20                 battery charger such as link:http://altusmetrum.org/LipoCharger[LipoCharger], and
21                 connecting that via a USB cable to a laptop or other
22                 USB power source.
23
24                 You can also choose to use another battery with
25                 EasyMini, anything supplying between 4 and 12 volts should
26                 work fine (like a standard 9V battery), but if you are planning
27                 to fire pyro charges, ground testing is required to verify that
28                 the battery supplies enough current to fire your chosen e-matches.
29
30                 ifdef::telemetrum,telemega,easymega[]
31                 [NOTE]
32                 ====
33                 On TeleMetrum v1 boards, when the GPS chip is initially
34                 searching for satellites, TeleMetrum will consume more current
35                 than it pulls from the USB port, so the battery must be
36                 attached in order to get satellite lock.  Once GPS is locked,
37                 the current consumption goes back down enough to enable charging
38                 while running. So it's a good idea to fully charge the battery
39                 as your first item of business so there is no issue getting and
40                 maintaining satellite lock.  The yellow charge indicator led
41                 will go out when the battery is nearly full and the charger goes
42                 to trickle charge. It can take several hours to fully recharge a
43                 deeply discharged battery.
44
45                 TeleMetrum v2.0, TeleMega and EasyMega use a higher power battery charger,
46                 allowing them to charge the battery while running the board at
47                 maximum power. When the battery is charging, or when the board
48                 is consuming a lot of power, the red LED will be lit. When the
49                 battery is fully charged, the green LED will be lit. When the
50                 battery is damaged or missing, both LEDs will be lit, which
51                 appears yellow.
52                 ====
53                 endif::telemetrum,telemega,easymega[]
54
55         ifdef::radio[]
56         === Ground Station Hardware
57
58                 There are two ground stations available, the TeleDongle USB to
59                 RF interface and the TeleBT Bluetooth/USB to RF interface.  If
60                 you plug either of these in to your Mac or Linux computer it should
61                 “just work”, showing up as a serial port device.  Windows systems need
62                 driver information that is part of the AltOS download to know that the
63                 existing USB modem driver will work.  We therefore recommend installing
64                 our software before plugging in TeleDongle if you are using a Windows
65                 computer.  If you are using an older version of Linux and are having
66                 problems, try moving to a fresher kernel (2.6.33 or
67                 newer).
68         endif::radio[]
69
70         === Linux/Mac/Windows Ground Station Software
71
72                 Next you should obtain and install the AltOS software.
73                 The AltOS distribution includes the AltosUI ground
74                 station program, current firmware images for all of
75                 the hardware, and a number of standalone utilities
76                 that are rarely needed.  Pre-built binary packages are
77                 available for Linux, Microsoft Windows, Mac OSX. Full
78                 source code and build instructions are also
79                 available. The latest version may always be downloaded
80                 from http://altusmetrum.org/AltOS
81
82         ifdef::radio[]
83         === Android Ground Station Software
84
85                 TeleBT can also connect to an Android device over
86                 BlueTooth or USB. The
87                 link:https://play.google.com/store/apps/details?id=org.altusmetrum.AltosDroid[AltosDroid
88                 Android application] is available from the  
89                 link:https://play.google.com[Google Play system].
90
91                 You don't need a data plan to use AltosDroid, but
92                 without network access, you'll want to download
93                 offline map data before wandering away from the
94                 network.
95         endif::radio[]