======Flight Computers====== The flight computer usually takes the NMEA stream outputted by the gps module, converts it into easy to read coordinates and logs it. It then sends the gps data via various communication methods to the payload operator. Flight computers are also used to trigger cameras, activate cutdown devices and control sensors and even stream video. There are a wide range of cheap and easily accessible systems avaliable which have been used by various members of UKHAS, each member usually has their favourite! =====Microcontrollers===== ==== PIC's ==== ==== AVR's ==== Used on MIHAB 1,2, and 3 in conjunction with [[http://www.mcselec.com|Bascom AVR]] compiler, this is avaliable as a free trial that will compile 4Kb of code. AVR's have to be programmed using ISP (in system programming) you can make your own printer port based programmer, but buying one will remove a source of headaches. (They can be found for < £15 on ebay). You can get really easy to use AVR controller boards from [[http://www.active-robots.co.uk|active robots]], [[http://www.display3000.com|display 3000]], and [[http://www.mcselec.com/index.php?page=shop.product_details&flypage=shop.flypage&product_id=54&category_id=17&option=com_phpshop&Itemid=1|mcs electronics]] also sell some very good looking boards with external ram and SD cards. You will need to use the bascom programmer plugin or [[http://www.lancos.com/prog.html|ponyprog]], to program your chip. AVR's have loads of great built in hardware e.g. I2C, SPI, multiple UART's , wake on interrupt, external ram busses ect. They are also a lot less power hungry than gumstix or routers, a typical AVR clocked at 16MHz will run off 3.3 volts at 25ma. If you're looking for some help/advice on AVR's check out: *[[http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewforum&f=1|BASCOM forum]] *[[http://www.avrfreaks.net/|AVR freaks]] ==== Basic stamp ==== Not used on any UKHAS projects, perhaps a bit overpriced. [[http://www.parallax.com/html_pages/resources/custapps/app_nearspace.asp|Some US based groups]] have used Basic stamps (well according to parallax promotional material at least). [[http://www.parallax.com/]] ==== PICAXE ==== Cheap but seems to lack memory ect? [[http://www.rev-ed.co.uk/picaxe/]] ==== ARM ==== Used successfully by CUSpaceflight for the Badger flight computer series. (NXP LPC2148 on current revision). =====Gumstixs===== *[[http://www.gumstix.com|Gumstix Website]] *[[http://docwiki.gumstix.org|Gumstix Documentation]] Used in: * [[projects:pegasus|Pegasus High Altitude Balloon Project]] * [[projects:nomad|Nomad]] * [[projects:high altitude slug|High Altitude Slug Project]] * [[http://defy.net/balloon/|Defy's Balloon Project]] A Gumstix is a very small computer based on the Intel Xscale processor running at either 200 or 400mhz. It is a mother / daughterboard system with a variety of different functions such as: * GPS * Audio * Servo motor controllers * Analog to digital converters * General-purpose digital I/O * 10/100 Ethernet * 10/100 Ethernet with MMC * dual 10/100 Ethernet * WLAN 802.11(b)/(g) * Compact flash * MMC/SD/SDIO * Robotics * Robotics with audio Pros: *Very small - 20mm x 80mm x 8mm (main board) *Low power consumption *Light weight *Variety of add on boards *Run embedded Linux (2.6) therefore easy to program. Cons: *Expensive when compared to microcontrollers ($119 for basic working system) *Perhaps too much processing power for simple tasks ====="Smart" Mobile Phones====== ====Round Solutions==== Not really a smart phone but more a smart phone module, but as it has a python interpreter, camera interface, GPS, GPRS with TCP/IP and analogue inputs this could run a whole payload! [[http://www.roundsolutions.com/gsm-modem/GSM-module-GM862-GPS.pdf]] The python code has access to virtual terminals to control the phone and recieve data from the GPS (sirf3). There are also libraries for running bit banged i2c and spi out of the GPIO pins. 1.5Mb of ram avaliable. [[http://www.roundsolutions.com/techdocs/docs/80000ST10020a_Easy%20Script%20in%20Python_r2.pdf]] =====FOX board===== =====Soekris===== [[http://www.soekris.com/ |Soekris Website]] Used in: [[http://vpizza.org/~jmeehan/balloon/ |Balloon v1.0]] =====Laptops===== =====Linux based Wireless Routers===== Can be reflashed to run a customisable operating system like [[http://www.openwrt.org|OpenWrt]]. Can be customised to have serial ports, GPIOs, i2c, USB, ethernet and also of course Wifi. Pegasus IV is using a Motorola WR850G - more infomation [[http://www.pegasushabproject.org.uk/pegasus4.html|here]]