Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. Simple GUI Troubleshooting in Qt – Any Tips for Handling Sensor Input?
Forum Updated to NodeBB v4.3 + New Features

Simple GUI Troubleshooting in Qt – Any Tips for Handling Sensor Input?

Scheduled Pinned Locked Moved Unsolved The Lounge
2 Posts 2 Posters 102 Views 1 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.
  • A Offline
    A Offline
    Aria James
    wrote last edited by
    #1

    Hey folks! I’ve been building a basic GUI in Qt to visualize real-time sensor data (starting with ultrasonic sensors). I followed this great guide on interfacing the HC-SR04 sensor with Arduino:
    https://www.theengineeringprojects.com/2023/02/introduction-to-hc-sr04-ultrasonic-sensor.html
    I’m now trying to replicate the concept in Qt (reading distances and displaying them smoothly), but I notice the UI starts to lag when I increase the update rate. Has anyone here implemented something similar with proper signal-slot optimization or multithreading?

    1 Reply Last reply
    0
    • jeremy_kJ Online
      jeremy_kJ Online
      jeremy_k
      wrote last edited by
      #2

      What update rate is being attempted? What does the general program structure look like?

      Asking a question about code? http://eel.is/iso-c++/testcase/

      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