Skip to Main Content

Apply Now to the University of Wyoming apply now

Weather Station with GUI

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.

Contact Us

1000 E. University Ave. Laramie, WY 82071
UW Operators (307) 766-1121 | Contact Us | Download Adobe Reader

Accreditation | Virtual Tour | Emergency Preparedness | Employment at UW | Privacy Policy | Harassment & Discrimination | Accessibility Accessibility information icon