100 likes | 205 Views
Ryan McLean John-Michael Mulesa Joe Perrin Zach Schoenberger. [ Overview ]. C#, ASPX, and Javascript / jQuery on ARM board for ease of use and the ability to use web browser USB/SCI interface between ARM board and Microcontroller Microcontroller p olling of the peripherals
E N D
Ryan McLean John-Michael Mulesa Joe Perrin Zach Schoenberger
[Overview] • C#, ASPX, and Javascript/jQuery on ARM board for ease of use and the ability to use web browser • USB/SCI interface between ARM board and Microcontroller • Microcontroller polling of the peripherals • Custom command interface between ARM board and the Microcontroller
[Software Design Considerations: ARM Board] • C# used for back end • State machine • Generates images based on state • 6 states total based on images to be displayed • Polls different peripherals based on state • Deals with failure of peripherals • Easily embedded in ASPX
[Software Design Considerations: ARM Board] • ASPX used as front end • Six total pages • One for each on mode of operation • One for device failure page • Javascript/jQuery used for formatting • State machine based on mode of operation
[Software Design Considerations: Microcontroller] • Constant polling of peripherals • GSM data only polled when ARM board polls Microcontroller for it • Accelerometer and others constantly polled • All peripheral data only sent when asked for • Data sent over SCI to USB converter • GSM data forwarded immediately as recieved
[Software Design Considerations: Communication] • Custom Communication Protocol • 9 commands for polling Microcontroller • Each one requests a different peripherals data • Each command is three ASCII characters • Possibly followed by an instruction character • ARM board always polls for data from Microcontroller before it receives data • SCI to USB converter • Microcontrollers SCI sends/receives data from ARM board • ARM board uses USB port to send/receive data • Data is converted from SCI to USB between Microcontroller and ARM board
[Summary] • C#, ASPX, and Javascript/jQuery used on ARM board to generate the final image as well as get data from Microcontroller • Microcontroller constantly polls the peripherals • Custom command interface between ARM board and the Microcontroller • USB/SCI converter used between ARM board and Microcontroller