120 likes | 217 Views
Eye In The Sky TCSP # 6 Software Narrative -Team 3 Upsham Dawra Joe Katz Samit Sura Ashwin Shankar. Project Overview. Portable low-cost aerial drone that can be used for reconnaissance
E N D
Eye In The SkyTCSP #6Software Narrative-Team 3UpshamDawra Joe KatzSamitSuraAshwin Shankar
Project Overview • Portable low-cost aerial drone that can be used for reconnaissance • Relay real-time video and data, like location, heading, battery life • Take high-resolution pictures of the ground in flight • Store photos and some flight data in non-volatile memory, á la “blackbox” system. • Control drone manually via a control unit
Software Narrative Overview Base Station Code Flow
Software Narrative Overview Start USART RTC SPI Init Embedded Code Flow I2C Video ON TIMER Get Data From XBEE Change PWMs Yes Change? No Get Sensor Data Send Data to XBEE Write to SD
Debugging Issues • No on-chip debugging with STK600 and AT32UC3A • JTAG can be used only to program • Using the USART to print debug messages on TeraTerm instead • Needed to get USART functioning first
USART Functions • Required for: • GPS • XBEE • Battery Management • More importantly, essential for debugging • Status: • Initialization – Written, Tested, Functioning • Debugging via RS232 – Written, Tested, Functioning (Thankfully) • GPS/Altimeter – Written, Testing + Debugging
GPIO Functions • Used to turn on/off the video camera • Also, used to click photos with on board high resolution camera • Status : Written, Tested, Functional
SD/MMC Card Base Station App • FAT32 Filesystem • Will use FatFs module • ff.c • Also needs a low-level driver • sd_mmc_spi_mem.c • Status • Written, Testing + Debugging Clock
Other Progress - Embedded • RTC (SD Card) • Written, Tested (Heartbeat) and Functioning • SPI (SD Card) • Written, Initialization Working, Debugging other issues • I2C (IMU/Altimeter/Compass) • Written, Init works, debugging • PWM/TIM (Motors) • To be started
Other Progress – Base Station • Xbox Input Parsing • Written, Tested, functional • Video Input • Started work on, not tested/debugged yet. • Talking to XBEE • To be started • GUI • To be started
Q/A • Questions?