Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt real time sensors
Forum Update on Monday, May 27th 2025

Qt real time sensors

Scheduled Pinned Locked Moved General and Desktop
7 Posts 2 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.
  • R Offline
    R Offline
    RAVIKUMARJ
    wrote on 3 Mar 2015, 13:54 last edited by
    #1

    Hello Sir

    I am newbie here. I want to do create a widget (for temp) which takes inputs from real world sensor and the widget should show the real time temperature based on the sensor values.

    Please help me. How to begin or if any one has previously worked on that then please help me out.

    Thanks in advance
    Ravi Javali

    Thanks & regards
    Ravikumar J

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dheerendra
      Qt Champions 2022
      wrote on 3 Mar 2015, 14:40 last edited by
      #2

      Hope you have libraries to read your sensor values. Once you have those values, it is very easy to display those values in Qt using widgets like Label, QPushButton etc. Reading sensor values is something you need make first and here Qt has no role.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      2
      • R Offline
        R Offline
        RAVIKUMARJ
        wrote on 3 Mar 2015, 14:52 last edited by
        #3

        @Dheerendra : Can u explain me or give any link that helps me to find my way

        Thanks & regards
        Ravikumar J

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dheerendra
          Qt Champions 2022
          wrote on 3 Mar 2015, 14:58 last edited by
          #4

          There is no link like that. It is all program logic. Do you have program to read the sensor values ? This program is nothing to with Qt.

          Dheerendra
          @Community Service
          Certified Qt Specialist
          http://www.pthinks.com

          1 Reply Last reply
          3
          • R Offline
            R Offline
            RAVIKUMARJ
            wrote on 3 Mar 2015, 14:59 last edited by
            #5

            @Dheerendra: Actually i can read the sensor values serially by accessing serial port values.
            My problem is in displaying the values in digitally in Qt widget

            Thanks & regards
            Ravikumar J

            1 Reply Last reply
            0
            • R Offline
              R Offline
              RAVIKUMARJ
              wrote on 3 Mar 2015, 15:03 last edited by
              #6

              @Dheerendra: Yes Sir, I am using Teensyduino module which is from arduino. I am able to read the values from sensor and also able to send the ADC( Analog to digital Converter) values to serialport.

              From serial port we can access the values using creader async program which comes in Qt as example.

              Thanks & regards
              Ravikumar J

              1 Reply Last reply
              0
              • D Offline
                D Offline
                dheerendra
                Qt Champions 2022
                wrote on 4 Mar 2015, 04:13 last edited by
                #7

                Hope you have seen the simple Qt classes like QLabel or QPushButton. There are many methods/slots exist to update the text labels of these visual elements. You can set values you read from sensors to these visual elements.

                Dheerendra
                @Community Service
                Certified Qt Specialist
                http://www.pthinks.com

                1 Reply Last reply
                2

                1/7

                3 Mar 2015, 13:54

                • Login

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