background image

FlightStab Guide 

WIP WIP WIP  manual being revamped  WIP WIP WIP 

Open Flight Stabilizer (FlightStab) 

updated 07/072013

 

rcgroups thread 

http://www.rcgroups.com/forums/showthread.php?t=1794672

 

source code 

https://github.com/noobee/FlightStab

 

build images 

https://github.com/noobee/FlightStab/tree/master/Builds

 

Key Features 

3-axis gyro-based stabilization.  
WING mode mixing (single aileron and flaperons).  
DELTA mode mixing.  
VTAIL mode mixing.  
CPPM mode.  
throttle and flap channels pass through in CPPM.  
gyro-based attitude hold.  
configurable mixer limits to prevent servo binding.  
stick-based configuration for options.  
EEPROM storage for configurations (can be reset through jumpers on bootup)  
LED flashes for status and errors.  
RX calibration during startup to determine neutral stick positions.  
IMU calibration during startup to remove sensor offsets.  
AUX channel controls master gain linearly from 0% to 100%  
AUX channel also controls RATE and HOLD modes  
VRs on RX3S control axis gain and direction.  
DIP switches on RX3S control the mix mode.  
HOLD mode for attitude hold  
stick-controlled rotation rate in HOLD mode, optional in RATE mode  
inflight RX calibration to reset RX neutral values  
PID parameters adjustable through program box  
stick position controls gain, which prevents overcorrection or "fighting" commanded stick movement during 
manoeuvres.  
allows side mounting on flat fuselage foamies (by rolling 90° left or 90° right and then mounting to the 
fuselage side)  
optional AVRootloader to allow firmware update without usbasp ISP.  
use pre-built firmware or build your own from the source code.  
support the AQUASTAR or DLUX programming box 

note that some features are currently only in the dev/beta image.

 

Supported Devices 

RX3S V1 

http://www.hobbyking.com/hobbyking/store/uh_viewitem.asp?idproduct=25448

  

RX3S V2 or V3 (they use the same firmware) 

http://www.hobbyking.com/hobbyking/store/uh_viewitem.asp?

idproduct=28456

 

http://www.hobbyking.com/hobbyking/store/uh_viewitem.asp?idproduct=31586

  

NanoWii  
ITG-320x, MPU-6050 sensors  
Aquastar Programming Box 

http://www.hobbyking.com/hobbyking/store/uh_viewitem.asp?idproduct=25492

  

Page 1 of 16

FlightStab Guide

10/07/2013

https://docs.google.com/document/d/1Wu7kNyU2rjOpttHuphGEAHgbkrqj7dtaAC7H...

Summary of Contents for NanoWii

Page 1: ...ntrol the mix mode HOLD mode for attitude hold stick controlled rotation rate in HOLD mode optional in RATE mode inflight RX calibration to reset RX neutral values PID parameters adjustable through program box stick position controls gain which prevents overcorrection or fighting commanded stick movement during manoeuvres allows side mounting on flat fuselage foamies by rolling 90 left or 90 right...

Page 2: ...he first time run eXtreme Burner and select Chip type as ATmega168PA connect the ISP connector to the RX3S select Read All the program should recognize the chip and proceed to read the flash EEPROM and fuse lock bits the flash and EEPROM will be read back as 0xff since the lock bits LB1 2 are set that is correct the fuse lock bits should read the following the calibration value does not have to ma...

Page 3: ...NanoWii that port number will be Trigger Port Replace Blue with this number You ll manually reset the board while watching device manager Will change to the Active Port number for few sec s Change Red with this number How to use Right click on _NanoWii hex file and go to option Send to chose NanoFlash and your done Optional Flashing the AVRootloader It is possible to flash a bootloader via usbasp ...

Page 4: ...If you have trouble connecting try pressing connect to device then turn on the switch to power up and boot the device select the flightstab hex file as the flash image file click program to flash the stabilizer firmware it should flash and verify the image which completes in about 4 seconds at 115200 baud rate OPTIONAL Building the firmware image from source code Building firmware from sources is ...

Page 5: ...tall C Program Files arduino 1 0 3 this exact path is important ensure PATH includes C Program Files arduino 1 0 3 hardware tools avr utils bin run the following commands a list of hex files will be created in the current directory for all the different devices and with different compile time options Connecting the RX3S V1 https docs google com drawings d 1UIpZlqXQydiNrwG9xPUMn7 c8fgz9dmPhzMvmBZxM...

Page 6: ... V1 with CPPM https docs google com drawings d 1OSFdJhFkyxzuxppBQuRJt8MLZkH4 uPX9_TsbjsJbFA pub w 1036 h 1138 Page 6 of 16 FlightStab Guide 10 07 2013 https docs google com document d 1Wu7kNyU2rjOpttHuphGEAHgbkrqj7dtaAC7H ...

Page 7: ...Connecting the RX3S V2 Page 7 of 16 FlightStab Guide 10 07 2013 https docs google com document d 1Wu7kNyU2rjOpttHuphGEAHgbkrqj7dtaAC7H ...

Page 8: ... V2 with CPPM https docs google com drawings d 17n4bOpNZL B_cwbcNCIPpM4CLkEAdrxoobJhFI5 300 pub w 1086 h 1272 Page 8 of 16 FlightStab Guide 10 07 2013 https docs google com document d 1Wu7kNyU2rjOpttHuphGEAHgbkrqj7dtaAC7H ...

Page 9: ...e NanoWii https docs google com drawings d 10f_17nVnECrE8oCDNfB_Dw8DAffwjvNOaXWew73Y3qs pub w 739 h 637 Page 9 of 16 FlightStab Guide 10 07 2013 https docs google com document d 1Wu7kNyU2rjOpttHuphGEAHgbkrqj7dtaAC7H ...

Page 10: ... the TX AUX1 for 1500us apply subtrim to AUX1 with 3P switch in middle position for example until you are at the point between 4 flashes and no flashes that is effectively zero stabilization the stick position also controls the gain to reduce the stabilizer from over correcting your controls during manoeuvres neutral position max gain extreme position zero gain in between linear between max and ze...

Page 11: ... could based only what it learnt from the RX the mixer EPA mode can be set from stick configuration CPPM Mode The device supports CPPM mode for reduced connections to the RX and to enable more channels AUX2 THROTTLE and FLAP on the RX3S V1 and V2 devices The RX3S V3 device has an integrated RX which cannot be set to CPPM mode Refer to the connection diagram for CPPM connection note that the THROTT...

Page 12: ...ight to change the config item and the ELE stick up or down to change the config value WING mode and Roll Pitch Yaw gains are ignored on the RX3S since they use the DIP switches and VR POTs for WING mode and axes gains respectively For the Pitch Roll Yaw gain the AIL servo toggles one way to indicate positive gain and the opposite way to indicate negative gain It does not toggle when the gain is z...

Page 13: ...Rootloader_AQUASTAR hex bootloader Use the AVRootloader to update the main programming box firmware 2013xxxx_AQUASTAR hex for the AQUASTAR box 2013xxxx_DLUX hex for the DLUX box Connect the programming box to the FlightStab device through the one wire servo connector and power them up Flashing the Aquastar DLUX with AVRrootloader On the Aquastar the CPU is exposed so it is highly recommended to us...

Page 14: ...at the same time or the RX3S after the program box If the device recognizes the program box the program box will display the recognized device ID on the status page Press left right to change pages and up down to change sub options within the page The status page first page has several items The device ID device version and EEPROM statistics 1 2 R 1 means the number of times the device detected an...

Page 15: ... rate at full stick to 6 ail 49 49 deg s 1 ele 98 98 deg s 2 ele 196 196 deg s 3 ele 391 391 deg s 4 ele 782 782 deg s 5 ele RATE STICK_ROTATE allow stick controlled rotation rate in RATE mode 7 ail DISABLE disabled 1 ele ENABLE enabled 2 ele INFLIGHT CALIBRATE toggle RATE HOLD 3x within 0 5s to calibrate 8 ail DISABLE disable inflight RX calibration 1 ele ENABLE enable inflight RX calibration 2 e...

Page 16: ...Segnala una violazione Aggiornato automaticamente ogni 5 minuti Erase Stats Erase 1 2 R Stats in EEPROM to 0 0 0 NA Page 16 of 16 FlightStab Guide 10 07 2013 https docs google com document d 1Wu7kNyU2rjOpttHuphGEAHgbkrqj7dtaAC7H ...

Reviews: