1 / 23

Real Time Embedded System

EE4214. Real Time Embedded System. Finger Finger Revolution. Inspiration. Real Time Arcade M achine. Real Time Game Application. Finger-Finger Revolution. Rhythm-and-Hand Gesture Gaming Platform Supports Gesture Detection Plays Music Provides Visual Display. Brief System Overview.

nhi
Download Presentation

Real Time Embedded System

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EE4214 Real Time Embedded System Finger Finger Revolution

  2. Inspiration Real Time Arcade Machine Real Time Game Application

  3. Finger-Finger Revolution • Rhythm-and-Hand Gesture Gaming Platform • Supports Gesture Detection • Plays Music • Provides Visual Display

  4. Brief System Overview Memory Controller Hardware Drivers PWM LCD IR

  5. Hardware • IR Sensors – captures hand gestures • LCD - displays timer, scoring and moves • Sound buzzer – plays PWM pitch tones

  6. Voltage Regulator • Regulates incoming 7.5 vdc to 5 vdc • 1A Max current limit • Capacitors to remove noisein power source

  7. IR Circuit • Converts IR’s analog signal to digital • Transistor acts as switch

  8. Buzzer High Pass Filter • Logic ‘Low’ produces 0.3v atPWM0 output • HPF used to remove this offset • Cutoff Frequency formula • fc= 15.9Khz • Audible range 20 to 20kHz

  9. LCD Connections • RT1602 • 2 rows x 16 columns • LCD using 4-bit data mode

  10. Flow Chart

  11. Task Criticality Firm • Game Timer • Music Playback • LCD Updating Soft • IR Input Sensing • Score Updating

  12. Task Scheduling

  13. Task Utilization Analysis • Processor Utilization Factor: UP = = 0.300 Up ≤ 1 (schedulable) • Utilization Least Upper Bound (1973, Liu and Layland): - UlubRM = n(21/2 - 1) = 0.735 - Case, for large n, n → ∞:Ulub → ln 2 ≈ 0.693 Since Up ≤Ulubin both cases, schedulable with RMA. • Hyperbolic Bound (2000, Bini et al.): • Hence the 6 periodic tasks are schedulable with RMA.

  14. 1500ms 1500ms 1500ms 1500ms 500ms 500ms 500ms 500ms 1000ms 1000ms 1000ms 1000ms 1250ms 1250ms 1250ms 1250ms 2000ms 2000ms 2000ms 2000ms 2250ms 2250ms 2250ms 2250ms 0ms 0ms 0ms 0ms 250ms 250ms 250ms 250ms 750ms 750ms 750ms 750ms 1750ms 1750ms 1750ms 1750ms Timing Diagram Overall Timing LCD IR Sensor Scoring

  15. 1500ms 500ms 1000ms 1250ms 2000ms 2250ms 0ms 250ms 750ms 1750ms Timing Diagram Cont’ 1500ms 1500ms 500ms 500ms 1000ms 1000ms 1250ms 1250ms 2000ms 2000ms 2250ms 2250ms 0ms 0ms 250ms 250ms 750ms 750ms 1750ms 1750ms Update move Update time PWM sound

  16. State Transition Diagram

  17. Data Flow Diagram

  18. Data Flow Diagram Cont’

  19. Data Flow Diagram Cont’

  20. Data Flow Diagram Cont’

  21. Inter Process Communication Mailbox with Semaphore LCD IR Sensors FIFO1 Controller FIFO2 Calculate Score Socket PWM

  22. Possible Improvement • More time • More help support • Multi-Player mode

  23. Lesson Learnt “What works on paper may not be feasible in implementing it…”

More Related