Qt real time sensors
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
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 : Can u explain me or give any link that helps me to find my way
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: 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
@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.
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.