Last Updated: 8/1/18
Teaching Standards:
This module demonstrates the use of tkinter package for developing graphical user interface (GUI) in python scripts and make temperature, humidity and pressure using the sensors on the Sense HAT add-on board for the Raspberry Pi. First the GUI shown below is implemented and then interfaced with the Sense HAT sensors. On a user clicking the Start button in the GUI will instruct the Sense HAT sensors to make temperature, humidity and pressure measurements every 2 seconds and display in the GUI.
The presentation material and the code can be downloaded at Weather Station with GUI.