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. Can we interface qt gui with PIC (dsPIC33EP32MC202) micro-controllers?
Forum Updated to NodeBB v4.3 + New Features

Can we interface qt gui with PIC (dsPIC33EP32MC202) micro-controllers?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
9 Posts 4 Posters 1.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.
  • M Offline
    M Offline
    Mohit Tripathi
    wrote on last edited by
    #1
    This post is deleted!
    aha_1980A 1 Reply Last reply
    0
    • M Mohit Tripathi

      This post is deleted!

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Mohit-Tripathi

      Depending on how you interface both sides, yes that is possible.

      Qt has to stay free or it will die.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Mohit Tripathi
        wrote on last edited by
        #3

        @aha_1980 I have used modbus for communication between PIC and some peripherals. Can I use UART for communication between Qt gui and PIC?

        aha_1980A J.HilkJ 2 Replies Last reply
        0
        • M Mohit Tripathi

          @aha_1980 I have used modbus for communication between PIC and some peripherals. Can I use UART for communication between Qt gui and PIC?

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Mohit-Tripathi

          Yes that is possible. Qt has QSerialPort as cross platform solution.

          I've used it a lot to connect to diverse microcontrollers already.

          Qt has to stay free or it will die.

          M 1 Reply Last reply
          2
          • M Mohit Tripathi

            @aha_1980 I have used modbus for communication between PIC and some peripherals. Can I use UART for communication between Qt gui and PIC?

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by
            #5

            @Mohit-Tripathi
            Take a look at these links

            QtSerialPort
            Examples for QtSerialPort

            QtModbus via serial bus

            This should get you started.


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            1 Reply Last reply
            2
            • aha_1980A aha_1980

              @Mohit-Tripathi

              Yes that is possible. Qt has QSerialPort as cross platform solution.

              I've used it a lot to connect to diverse microcontrollers already.

              M Offline
              M Offline
              Mohit Tripathi
              wrote on last edited by
              #6

              @aha_1980 can you help me with the some examples of Modbus protocol in Qt?
              I want to use Modbus protocol in between PIC microcontroller and peripherals and also UART in between Qt gui and PIC simaltaneously.

              aha_1980A 1 Reply Last reply
              0
              • M Mohit Tripathi

                @aha_1980 can you help me with the some examples of Modbus protocol in Qt?
                I want to use Modbus protocol in between PIC microcontroller and peripherals and also UART in between Qt gui and PIC simaltaneously.

                aha_1980A Offline
                aha_1980A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Hi @Mohit-Tripathi, If your PIC is the Modbus slave, then you can have a look at the Qt Modbus Master Example.

                Qt has to stay free or it will die.

                1 Reply Last reply
                1
                • M Offline
                  M Offline
                  Mohit Tripathi
                  wrote on last edited by Mohit Tripathi
                  #8

                  @aha_1980 @J-Hilk @I know now some basic concept about Modbus.
                  Now, I want to write/read the data through Moddbus like "03020001000A". How can I do that? Is there any tutorial or documentation is given because I need some basic example of this?
                  I can read/write the data through UART.

                  jsulmJ 1 Reply Last reply
                  0
                  • M Mohit Tripathi

                    @aha_1980 @J-Hilk @I know now some basic concept about Modbus.
                    Now, I want to write/read the data through Moddbus like "03020001000A". How can I do that? Is there any tutorial or documentation is given because I need some basic example of this?
                    I can read/write the data through UART.

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @Mohit-Tripathi Did you check the example @aha_1980 gave you?

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    2

                    • Login

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