170 likes | 181 Views
Sieg Defense Platform. Michael Dougherty, Gary Look, Gene Ma. Overview. Project motivation System overview Design specifics Commentary and retrospective. Project Motivation. Design and implement an embedded system that would allow a user to easily target things
E N D
Sieg Defense Platform Michael Dougherty, Gary Look, Gene Ma
Overview • Project motivation • System overview • Design specifics • Commentary and retrospective
Project Motivation • Design and implement an embedded system that would allow a user to easily target things • Lots of applications (i.e. military purposes, batting practice)
Touch Screen-mController Talk • Touch screen sends a header byte followed by x and y coordinates • The x- and y-coordinates require a total of two to four bytes • Our mController code is based on our serial lab (Lab 4) • Low order byte must be shifted left one bit!
Vgacam modifications • Bus interface to retrieve motor and touch coordinates from FPGA 1. • Draws crosshairs at motor and touch screen coordinates. • Increases image from 256x256 pixels to 512x480 pixels. • Modifications to decrease memory use and to fit the project into the FPGA.
Simple Bus Interface • Receives two bits of data and a strobe signal. • Shifts the data in and stores the touch screen and motor coordinates into registers.
CrossHairs • Logic Compares Hcnt and Vcnt with Motor and Touch Screen Coordinates to determine where to draw the crosshairs.
Pixel in Memory Buffered Pixel Horizontal Rows Vertical Columns Pixel Displayed 2x on monitor 2x Image Size • Buffer every other pixel read from memory. • Use high order bits of Hcnt and Vcnt for memory address.
Need more space! • After the above modifications, the project would not fit into the FPGA • Since we only access memory every other cycle instead of the original 256-cycle bursts, we can decrease the camera data FIFO.
Final Project Status IT WORKS!!
Commentary and Retrospective • A bad thing: Do not reinvent the wheel. • A good thing: Plan for the unexpected.