Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Arduino Firmata Qt-Application
QtWS25 Last Chance

Arduino Firmata Qt-Application

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 3 Posters 3.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    deleted28
    wrote on last edited by
    #1

    Hello,

    are there any snippets, examples available, how to control
    an Arduino from a Qt Application using "Firmata" ?
    "firmata":http://www.firmata.org

    On microcontroller side is more or less clear, but i don't know
    how to design the Qt Application part.
    thank you

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      From a quick overlook at the firmata test program, it looks like you need to use QSerialPort for the communication. Then implement their protocol. One thing you could to is port firmata_test to Qt.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        deleted28
        wrote on last edited by
        #3

        Yes, i will, but first i must see any advantage of using firmata instead of a custom (e.g. switch case parser) protocol.
        I do not get the philosophy behind firmata yet.

        You mentioned above this :
        http://www.pjrc.com/teensy/firmata_test/firmata_test
        right ?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Yes, that's exactly the one

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • D Offline
            D Offline
            deleted28
            wrote on last edited by
            #5

            Nobody know a simple Qt example using firmata to, lets say,
            switch the led (p13) on and off from a Qt application ?

            The above mentioned examples are too complex to learn.

            Serialport implementation not needed, maybe even pseudocode
            :)

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Do you mean something like "that":http://code.google.com/p/firmatator/ ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kerecsen41
                wrote on last edited by kerecsen41
                #7

                Take a look at this: https://github.com/jazzycamel/QtFirmata

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved