-
Notifications
You must be signed in to change notification settings - Fork 69
3) Configuration
- Get Arduino software if you don't have it already (really ?). Teensy++2 users also need to get Teensyduino
Important note for Teensy++2 users: There's a bug in Teensyduino you need to edit hardware\teensy\cores\teensy\new.cpp in your Arduino folder, and uncomment all the latest lines:
int __cxa_guard_acquire(__guard *g) {return !*(char *)(g);};`
void __cxa_guard_release (__guard *g) {*(char *)g = 1;};`
void __cxa_guard_abort (__guard *) {}; `
void __cxa_pure_virtual(void) {};`
- Grab latest Ghettostation files:
- Edit Config.h according to your needs. Read all the comments, to understand what those settings are for.
- Compile & upload to your board.
Ghettostation load at startup the latest settings profile loaded. For the first power-up it will start with first profile with default values. Go in the "Config" menu, and set your servos endpoints & angle settings. When configured it will save them in the actual loaded profile.
You have 4 different settings profiles you can use. Change profile from the "Switch Settings". Then configure the other profile according to your needs to.
Navigate through LCD menu: To navigate on the menu use the left/right keys to get up/down or change values, and enter to validate. Going back is done by pressing Enter more than a second.
- SERVOS -> PAN/TILT
- MINPWM: pwm value for max PAN counter clockwise rotation or min TILT position.
- MAXPWM: pwm value for max PAN clockwise rotation or max TILT position.
- MINANGLE: PAN angle counter clockwise from neutral or min TILT angle relative to horizon gave by MINPWM value. (always positive for PAN, can be negative for TILT if your antenna can point to the ground)
- MAXANGLE: PAN angle clockwise from neutral or max TILT angle gave by MAXPWM value. (always positive)
- TEST: Test servo configuration.
- TELEMETRY:
- PROTOCOL Select telemetry protocol here
- BAUDRATE: Select telemetry baudrate here.
- OTHER:
- OSD: enable/disable OSD display
- BEARING METHOD: select required bearing reference method
- BATTERY ALERT: set voltage divider ratio for groundstation low voltage alarm
- SWITCH SETTINGS: Change setting profile ( from 1 to 4 )