150 likes | 261 Views
Final Presentation Group G: Drive While You Surf. Duy Le Ngochan Nguyen Valdis Riekstins. Project Goals. Create a vehicle that is controlled over the Internet Create an easy-to-use user interface for the vehicle. Steering Servo. Serial Port. Throttle ESC. Camera. VB User Interface.
E N D
Final PresentationGroup G:Drive While You Surf Duy Le Ngochan Nguyen Valdis Riekstins
Project Goals • Create a vehicle that is controlled over the Internet • Create an easy-to-use user interface for the vehicle Group G: Drive While You Surf
Steering Servo Serial Port Throttle ESC Camera VB User Interface XS40 Board Project Overview Internet Web Server User’s PC Vehicle Group G: Drive While You Surf
Serial Interface XBus Interface XS40 Board Diagram u-Controller Memory FPGA XBus Interface Camera Interface Servo Controller Group G: Drive While You Surf
Servos • Steering and throttle: two very different servos, but both have same interface • Pulse-width encoded signal, like the accelerometer 1-2 ms 50 Hz Group G: Drive While You Surf
Camera Interface • Using RC1 camera to get 128x120 pixels image (~15kb). • Using 32kb memory which can store 2 frames. • Because of the serial bottle neck, we have to drop some camera frames. Group G: Drive While You Surf
Camera Interface (cont.) Memory Write Camera in Read Xbus in Group G: Drive While You Surf
Serial Link • Serial Interface: • Send image to server. Send 0 as frame start + change all 0 pixels to 1. • Read control signal from server. • Server: • Receive pixels from u-controller, put them in a buffer. Using double buffer here. • Send Steering and Throttle signal to u-controller. Send 255 as header. Group G: Drive While You Surf
Server • Is the connection between the XS40 board and the client-side UI • Uses the MSComm control to send and receive data from the serial port • Uses the ActiveX Winsock control to communicate with the client over the Internet Group G: Drive While You Surf
UI • Created in Visual Basic Group G: Drive While You Surf
Software extension to user interface Makes controls for vehicle much more intuitive for the user DriveByMouse™ Group G: Drive While You Surf
Current Status:What Works Well • Sending data from memory to the u-controller through XBus • Sending data to the server through the serial port • Server and client UI communication Group G: Drive While You Surf
Current Status:What Needs Work • Serial link speed • Currently at 9600bps • Just received new oscillator that will increase to 115kbps • Latency between camera image capture and display to UI Group G: Drive While You Surf
Possible Extensions • Wireless serial connection • RF Monolith will have a VirtualWire kit operating at 115kbps in a few months • Add controls to user interface for lights, sensors, robotic arms, etc. • Visual Basic UI makes this straight-forward • Add more cameras for different views • rear view would be useful Group G: Drive While You Surf
Group Contact Info • Duy Le • dmle@cs.washington.edu • Ngochan Nguyen • ngochan@cs.washington.edu • Valdis Riekstins • valdis@digitalharmony.com FOR MORE INFO... Visit our webpage: http://www.cs.washington.edu/education/courses/477/00sp/projectwebs/groupg/ Group G: Drive While You Surf