Month: March 2017

  • Visualizing Data

    We need a way of presenting the temperature data that has been saved to the database in the last tutorial. This tutorial shows how we can create a simple representation of the data and is only intended to as a starting point for the display of data and can be taken much further. For the purposes of this…

  • VNC Resolution

    By now you’ve probably tried to connect to your Pi with VNC. In VNC Viewer on your laptop the resolution of the your Pi is set low by default. To change this default we’ll need to change a setting in raspi-config. To use raspi-config, access Terminal and run raspi-config. Then navigate to Advanced Options >…

  • Recording Data

    To record data from a sensor we will use a Python program that checks the sensor every minute and writes the temperature (with a time stamp) into our MySQL database. First we’ll need to install a package that will help us connect Python to MySQL: sudo apt-get install python3-mysqldb Database preparation First we will set…