Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X...

32
Mobile & Pervasive Computing project: LEDGRID Presentatie 26 mei 2010 Bruggemans Jens Leers Wim

Transcript of Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X...

Page 1: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Mobile & Pervasive Computing project: LEDGRID

Presentatie 26 mei 2010

Bruggemans JensLeers Wim

Page 2: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Voorstel

• gebaseerd op Monome

• 10x10 LED-knoppen & tilt sensor

• zeeslag, tetris, snake …

• multiplayer

• fysiek spel

• uitbreidbaar

Wat?

Waarom?

Page 3: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Resultaat

• gebaseerd op Monome

• 8x8 LED-knoppen & tilt sensor

• Game of Life, Pong, Bomberman …

• multiplayer

• fysiek spel + emulator

• uitbreidbaar

Wat?

Waarom?

Page 4: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Hardware

Page 5: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Hardware

Page 6: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID

Page 7: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID — PWM simulatie

Page 8: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID — PWM simulatie

• Timer interrupts

Page 9: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID — PWM simulatie

• Timer interrupts

• FlexiTimer2 library: http://github.com/wimleers/flexitimer2

Page 10: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID — PWM simulatie

• Timer interrupts

• FlexiTimer2 library: http://github.com/wimleers/flexitimer2

• NUM_ROWS*INTENSITIES*REFRESH_RATE = 8*6*60 = 2880 interrupts/sec

Page 11: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID — PWM simulatie

• Timer interrupts

• FlexiTimer2 library: http://github.com/wimleers/flexitimer2

• NUM_ROWS*INTENSITIES*REFRESH_RATE = 8*6*60 = 2880 interrupts/sec

• Kleurbereik: 6 keer per refresh led aan/uit ⇒ 7^3 = 343 kleuren

Page 12: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID — PWM simulatie

• Timer interrupts

• FlexiTimer2 library: http://github.com/wimleers/flexitimer2

• NUM_ROWS*INTENSITIES*REFRESH_RATE = 8*6*60 = 2880 interrupts/sec

• Kleurbereik: 6 keer per refresh led aan/uit ⇒ 7^3 = 343 kleuren

• Gevolg: Serial niet langer reliable

Page 13: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID — PWM simulatie

• Timer interrupts

• FlexiTimer2 library: http://github.com/wimleers/flexitimer2

• NUM_ROWS*INTENSITIES*REFRESH_RATE = 8*6*60 = 2880 interrupts/sec

• Kleurbereik: 6 keer per refresh led aan/uit ⇒ 7^3 = 343 kleuren

• Gevolg: Serial niet langer reliable

• Corruptie detectie + herverzenden

Page 14: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID — API, Apps & App Switching

Page 15: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID — API, Apps & App Switching

• LEDGRID API: kleuren instellen & knoppen detecteren

Page 16: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID — API, Apps & App Switching

• LEDGRID API: kleuren instellen & knoppen detecteren

• App Switching: RFID

Page 17: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID — API, Apps & App Switching

• LEDGRID API: kleuren instellen & knoppen detecteren

• App Switching: RFID

• Apps

Page 18: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID — API, Apps & App Switching

• LEDGRID API: kleuren instellen & knoppen detecteren

• App Switching: RFID

• Apps

• Remote Control, Remotely Controlled Display

Page 19: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID — API, Apps & App Switching

• LEDGRID API: kleuren instellen & knoppen detecteren

• App Switching: RFID

• Apps

• Remote Control, Remotely Controlled Display

• Game of Life, Pong, Bomberman

Page 20: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID — API, Apps & App Switching

• LEDGRID API: kleuren instellen & knoppen detecteren

• App Switching: RFID

• Apps

• Remote Control, Remotely Controlled Display

• Game of Life, Pong, Bomberman

• HSV Color Wheel, Numbers, Paint

Page 21: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID Emulator

Page 22: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID Emulator

Page 23: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID Emulator

Page 24: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID Emulator

• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7)

Page 25: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID Emulator

• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7)

• Laat toe om LEDGRID apps ongewijzigd te runnen

Page 26: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID Emulator

• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7)

• Laat toe om LEDGRID apps ongewijzigd te runnen

• Simuleert Serial

Page 27: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID Emulator

• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7)

• Laat toe om LEDGRID apps ongewijzigd te runnen

• Simuleert Serial

• Simuleert de LEDGRID API

Page 28: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID Emulator

• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7)

• Laat toe om LEDGRID apps ongewijzigd te runnen

• Simuleert Serial

• Simuleert de LEDGRID API

• Apps ontwikkelen: debugging tools, geen upload-wacht-test-herhaal cyclus

Page 29: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

Software: LEDGRID Emulator

• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7)

• Laat toe om LEDGRID apps ongewijzigd te runnen

• Simuleert Serial

• Simuleert de LEDGRID API

• Apps ontwikkelen: debugging tools, geen upload-wacht-test-herhaal cyclus

• Geforkte QextSerialPort: http://github.com/wimleers/qextserialport

Page 30: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

One More Thing

Page 31: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

One More Thing

Page 32: Mobile & Pervasive Computing project: LEDGRID presentatie.pdf• C++/Qt, cross-platform (Mac OS X 10.6, Windows XP & 7) • Laat toe om LEDGRID apps ongewijzigd te runnen • Simuleert

One More Thing