forked from KipK/Ghettostation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
90 lines (44 loc) · 2.95 KB
/
README.txt
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
82
83
84
85
86
87
88
89
90
###################################################################################################
# Ghettostation antenna tracker #
# README #
###################################################################################################
What you need:
- A Teensy++2
- a serial wireless link between the tracker and the UAV ( Xbee, Oplink, RF433, FSK audio modems )
- optional: a bluetooth dongle to bridge telemetry from the tracker to your GCS.
- 2 servos
- a 5V ubec with enough amps for your servos
- 3 push buttons
- an LCD03/LCD05 I2C 20x4 lcd panel.
* *Build*
- Follow the wiring scheme here:
http://img839.imageshack.us/img839/2492/9jjr.png
- You can bridge telemetry with a bluetooth dongle if you want to use your groundstation software at the same time :
Wire bluetooth Tx to your serial module Rx, and BT rx to serial module Tx.
- you'll need an external 5/6v voltage source for the servos power. Teensy can't draw too much amp on it's own 5v line.
* *Software*
- edit config.h according to your needs.
Default servo pwm endpoints & max/min angles can be setup here, you can configure this later trough the menu while running.
You can put some conservative default parameters to avoid forcing on the servo for first configuration.
Check in the config.h what those parameters means.
Compile & start.
* *Usage*
In the menu:
Enter = Select
Long press Enter ( >1sec ) = Go back.
LeftRight: Navigate.
- At first launch, go to CONFIG menu, and set your servos endpoints & angle capabilities.
You will now you have good endpoints values when you don't ear your servo forcing.
Then configure your servos angle limits. 90° as min& max angle for pan means you have a 180° pan config.
Once all those parameters are set, Ghettostation will now your hardware capabilities and adapt servo path to it's need.
It means if your pan servo is limited to 180° but your tilt can go almost 180° too, you can cover 360 by reversing your pan and tilt.
If you servo can go further, it'll just continue to it's own limits and then switch if needed.
If there's no path possible because your servo can go further, it will just stop & wait you come back in a covered area.
- Go to SET HOME first & wait for telemetry data.
Wait for a 3D GPS fix then save home position.
Once done you have to set the bearing.
There's now 4 different method for setting the bearing ( you have to choose the correct method on the config.h file )
Method 1: put your UAV 20m ahead, with the tracker pointing it, and click Enter again.
Method 2: manually enter bearing value from an external compass ( your smartphone one will do the job )
Method 3: just point the tracker to the North.
Method 4 (auto): use HMC5883L compass ( experimental )