Download
how to develop qt program simple examples 5 n.
Skip this Video
Loading SlideShow in 5 Seconds..
How to Develop Qt Program Simple Examples (5) PowerPoint Presentation
Download Presentation
How to Develop Qt Program Simple Examples (5)

How to Develop Qt Program Simple Examples (5)

387 Vues Download Presentation
Télécharger la présentation

How to Develop Qt Program Simple Examples (5)

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Howto Develop Qt ProgramSimple Examples (5) 2011. 2 . 2 Mr. Kwon

  2. Contents • I2C Control • EEPROM • Serial Communication • Simple Serial Communication Program • GPS Receiver • UDP Socket Timer Server/Client • Mp3 Player

  3. Simple Qt Example for MINI6410 I2C -EEPROM

  4. I2C-EEPROM

  5. Create New Project Create New Project (Abstract)

  6. Design UI QLabel • Window Size : 420 X 240 • Design the form below with: • - QLabel • - QPushButton • - QTextEdit TextEdit PushButton

  7. Implementing the MyWidget Class mywidget.h

  8. Implementing the MyWidget Class mywidget.h

  9. Implementing the MyWidget Class mywidget.cpp

  10. Implementing the MyWidget Class mywidget.cpp

  11. Implementing the MyWidget Class mywidget.cpp

  12. Implementing the MyWidget Class (Details) I2C.pro

  13. Implementing the MyWidget Class (Details) mywidget.h

  14. Implementing the MyWidget Class (Details) main.cpp

  15. Implementing the MyWidget Class (Details) mywidget.cpp (1/4)

  16. Implementing the MyWidget Class (Details) mywidget.cpp (2/4)

  17. Implementing the MyWidget Class (Details) mywidget.cpp (3/4)

  18. Implementing the MyWidget Class (Details) mywidget.cpp (4/4)

  19. Run on Host PC

  20. Run on MINI 6410

  21. Simple Qt Example for MINI6410 Serial Communication

  22. Serial Communication

  23. Create New Project Create New Project (Abstract)

  24. Design UI QLabel • Window Size : 420 X 240 • Design the form below with: • - QLabel • - QPushButton • - QTextEdit TextEdit PushButton

  25. Implementing the MyWidget Class mywidget.h

  26. Implementing the MyWidget Class mywidget.h

  27. Implementing the MyWidget Class mywidget.cpp

  28. Implementing the MyWidget Class mywidget.cpp

  29. Implementing the MyWidget Class mywidget.cpp

  30. Implementing the MyWidget Class mywidget.cpp

  31. Implementing the MyWidget Class (Details) SerialCom.pro

  32. Implementing the MyWidget Class (Details) mywidget.h

  33. Implementing the MyWidget Class (Details) mywidget.h

  34. Implementing the MyWidget Class (Details) main.cpp

  35. Implementing the MyWidget Class (Details) mywidget.cpp (1/5)

  36. Implementing the MyWidget Class (Details) mywidget.cpp (2/5)

  37. Implementing the MyWidget Class (Details) mywidget.cpp (3/5)

  38. Implementing the MyWidget Class (Details) mywidget.cpp (4/5)

  39. Implementing the MyWidget Class (Details) mywidget.cpp (5/5)

  40. Run on Host PC

  41. Run on MINI 6410

  42. Simple Qt Example for MINI6410 GPS Receiver

  43. GPS Receiver

  44. GPS • GPS Module (UIGGUB01-R003) • -Integrated Antena • Serial Interface • High Speed Acquisition (10Hz) • Small Size, Efficient Power Management • - Max. update : 4Hz • - Sensitivity : • Acquisition : -160 dBm • Tracking : -160 dBm • Cold starts : -160 dBm • - Operating Temp. -40°C to 85°C • - Protocol : NMEA

  45. How to Connect GPS and Host PC GPS Host PC

  46. GPS Data Format (NMEA) (GPRMS : Recommended Minimum Specific GNSS Data)

  47. Create New Project Create New Project (Abstract)

  48. Design UI QLabel • Window Size : 420 X 240 • Design the form below with: • - Qlabel • - QTextEdit TextEdit

  49. Implementing the MyWidget Class mywidget.h

  50. Implementing the MyWidget Class mywidget.h