Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. how to write PID control algorithm to control temperature
Servers for Qt installer are currently down

how to write PID control algorithm to control temperature

Scheduled Pinned Locked Moved Solved C++ Gurus
9 Posts 4 Posters 3.1k Views 3 Watching
  • 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.
  • _ Offline
    _ Offline
    _bhum
    wrote on 6 Sept 2018, 09:47 last edited by
    #1

    i am working on project which is monitoring and controlling the temperature and humidity inside a chamber using raspberry pi and HTU21D sensor. i am very new on qt please help me coding.

    K 1 Reply Last reply 6 Sept 2018, 09:56
    0
    • _ _bhum
      6 Sept 2018, 09:47

      i am working on project which is monitoring and controlling the temperature and humidity inside a chamber using raspberry pi and HTU21D sensor. i am very new on qt please help me coding.

      K Offline
      K Offline
      koahnig
      wrote on 6 Sept 2018, 09:56 last edited by
      #2

      @_bhum

      Hi and welcome to devnet forum

      You need to cross-compile Qt libraries for raspberry pi https://www.raspberrypi.org/forums/viewtopic.php?t=204778 or to find an already compiled version. However, I would recommend to do the cross-compilation yourself, because you willknow what you have done when running into issues.

      Furthermore, it is a good recommendation to install Qt creator and Qt libs on a desktop.

      When you are stuck with specific Qt issues, there are a lot of people in the forum being to offer advice and assistance.

      Vote the answer(s) that helped you to solve your issue(s)

      _ 1 Reply Last reply 6 Sept 2018, 10:05
      0
      • K koahnig
        6 Sept 2018, 09:56

        @_bhum

        Hi and welcome to devnet forum

        You need to cross-compile Qt libraries for raspberry pi https://www.raspberrypi.org/forums/viewtopic.php?t=204778 or to find an already compiled version. However, I would recommend to do the cross-compilation yourself, because you willknow what you have done when running into issues.

        Furthermore, it is a good recommendation to install Qt creator and Qt libs on a desktop.

        When you are stuck with specific Qt issues, there are a lot of people in the forum being to offer advice and assistance.

        _ Offline
        _ Offline
        _bhum
        wrote on 6 Sept 2018, 10:05 last edited by
        #3

        @koahnig Thanks. but the problem is that i dont know how to implement a controller algorithm on qt

        J P 2 Replies Last reply 6 Sept 2018, 13:01
        0
        • _ _bhum
          6 Sept 2018, 10:05

          @koahnig Thanks. but the problem is that i dont know how to implement a controller algorithm on qt

          J Offline
          J Offline
          JKSH
          Moderators
          wrote on 6 Sept 2018, 13:01 last edited by
          #4

          @_bhum said in how to write PID control algorithm to control temperature:

          the problem is that i dont know how to implement a controller algorithm on qt

          It's the same way you implement a controller algorithm in C/C++.

          Do you know how to do that?

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          5
          • _ _bhum
            6 Sept 2018, 10:05

            @koahnig Thanks. but the problem is that i dont know how to implement a controller algorithm on qt

            P Offline
            P Offline
            Pablo J. Rogina
            wrote on 6 Sept 2018, 13:06 last edited by
            #5

            @_bhum said in how to write PID control algorithm to control temperature:

            i dont know how to implement a controller algorithm on qt

            so questions you may ask yourself:

            1. Why I'm gonna use Qt to implement a PID control algorithm?
            2. Am I able to implement a PID control algorithm with C++?

            If answer to #2 is yes, then it implies #1 yes.

            What I see here is that you'll be using Qt to make a fancy UI to let the user know about the status of the chamber under control, so he/she can set thresholds for temperature and humidity with nice UI controls/displays.

            Upvote the answer(s) that helped you solve the issue
            Use "Topic Tools" button to mark your post as Solved
            Add screenshots via postimage.org
            Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

            _ 1 Reply Last reply 7 Sept 2018, 11:01
            1
            • P Pablo J. Rogina
              6 Sept 2018, 13:06

              @_bhum said in how to write PID control algorithm to control temperature:

              i dont know how to implement a controller algorithm on qt

              so questions you may ask yourself:

              1. Why I'm gonna use Qt to implement a PID control algorithm?
              2. Am I able to implement a PID control algorithm with C++?

              If answer to #2 is yes, then it implies #1 yes.

              What I see here is that you'll be using Qt to make a fancy UI to let the user know about the status of the chamber under control, so he/she can set thresholds for temperature and humidity with nice UI controls/displays.

              _ Offline
              _ Offline
              _bhum
              wrote on 7 Sept 2018, 11:01 last edited by
              #6

              @Pablo-J.-Rogina said in how to write PID control algorithm to control temperature:

              @_bhum said in how to write PID control algorithm to control temperature:

              i dont know how to implement a controller algorithm on qt

              so questions you may ask yourself:

              1. Why I'm gonna use Qt to implement a PID control algorithm?
              2. Am I able to implement a PID control algorithm with C++?

              If answer to #2 is yes, then it implies #1 yes.

              What I see here is that you'll be using Qt to make a fancy UI to let the user know about the status of the chamber under control, so he/she can set thresholds for temperature and humidity with nice UI controls/displays.

              Thanks for your reply, by keeping the above questions in mind I've started coding.

              1 Reply Last reply
              0
              • _ Offline
                _ Offline
                _bhum
                wrote on 19 Sept 2018, 06:47 last edited by
                #7

                how i execute my program on raspi terminal????

                K P 2 Replies Last reply 19 Sept 2018, 07:19
                0
                • _ _bhum
                  19 Sept 2018, 06:47

                  how i execute my program on raspi terminal????

                  K Offline
                  K Offline
                  koahnig
                  wrote on 19 Sept 2018, 07:19 last edited by
                  #8

                  @_bhum

                  You need to use a terminal program such as putty on your desktop. For details on how check out the raspberry pi webpage.

                  Vote the answer(s) that helped you to solve your issue(s)

                  1 Reply Last reply
                  1
                  • _ _bhum
                    19 Sept 2018, 06:47

                    how i execute my program on raspi terminal????

                    P Offline
                    P Offline
                    Pablo J. Rogina
                    wrote on 19 Sept 2018, 12:59 last edited by
                    #9

                    @_bhum said in how to write PID control algorithm to control temperature:

                    how i execute my program on raspi terminal????

                    do you know how to run a program in a Linux terminal?

                    Upvote the answer(s) that helped you solve the issue
                    Use "Topic Tools" button to mark your post as Solved
                    Add screenshots via postimage.org
                    Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                    1 Reply Last reply
                    1

                    • Login

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