title: Sensors monitoring using Python on Rapsberry
body: <p>I would like some help to find the best way to code a Raspberry python program.</p>
  
  <p>In this program, I need to monitor several values coming from various sensors connected to the raspberry, and interact with these values from a pyqt GUI. The GUI and the sensors drivers have to be completely separated.</p>
  
  <p>To do that, I was considering to make and use a "Variable Manager" object between the GUI and the sensors, as a "buffer" or something like that. With the use of threads and locks, the sensors would update continuously the Variable Manager (with while loops in the corresponding drivers), while the GUI would query certains values whenever I need.</p>
  
  <p>It would be also nice to be able to send some commands to the sensors from the gui but I don't know how to do that in this configuration.</p>
  
  <p>Do you think that this could work correctly ? Is there any other way more efficient / more adapted to do that ?</p>
  
  <p>Thank you a lot in advance ! </p>