Azure IoT Hub / Raspberry Pi IoT Project – Connecting Pi, Azure and Power BI.

With the Pi successfully reading temperature and pressure from the sensor, and connecting successfully to Azure it left one more step in my project - outputting the data in a meaningful way.  For this part of my project I'm looking to collect the data Azure is receiving and put it into a line graph which … Continue reading Azure IoT Hub / Raspberry Pi IoT Project – Connecting Pi, Azure and Power BI.

Azure IoT Hub / Raspberry Pi IoT Project – Connecting Pi and Azure (Raspberry Pi / Python)

Azure and Raspberry Pi successfully communicating

I have looked at the best Raspberry Pi & sensor for my IoT Temperature Project, setup the hardware, took measurements and outputted them to a Twitter bot. Then yesterday I created an Azure IoT Hub, which means I now need to connect the Raspberry Pi to the Azure IoT Hub. The first step is to … Continue reading Azure IoT Hub / Raspberry Pi IoT Project – Connecting Pi and Azure (Raspberry Pi / Python)

Installing / Using Flask or Raspberry Pi IoT Project: Temperature Part 4 (Raspberry Pi / Python)

Flask running and updating data

Now that the temperature sensor is taking readings and tweeting them I want to look at exporting the results another way, and what better way than a web page. I have created guides on using a Raspberry Pi as various different types of web server; see: Node.JS Apache / WordPress Django So today I am … Continue reading Installing / Using Flask or Raspberry Pi IoT Project: Temperature Part 4 (Raspberry Pi / Python)

Raspberry Pi IoT Project: Temperature Part 3 – Tweet Bot (Raspberry Pi / Python)

geektechstuff tweet bot now with temperature readings

With the Raspberry Pi set up (see parts 1 and 2) it is time to expand the project. First up is bringing back the geektechstuff_automated twitter bot to get it to regularly tweet the room temperature. Thankfully my previous experience with Twitter let me reuse some of my old coding: And using a crontab I … Continue reading Raspberry Pi IoT Project: Temperature Part 3 – Tweet Bot (Raspberry Pi / Python)

Raspberry Pi IoT Project: Temperature Part 2 – Testing Hardware (Raspberry Pi / Python)

In part 1 I looked at the planning of my new Raspberry Pi / IoT project (temperature readings) and decided on the hardware to use. I already had the Raspberry Pi 3 (and appropriate microSD, power etc...) so the only thing missing was the temperature sensors. I ordered the sensor highlighted in part 1 (BMP280 … Continue reading Raspberry Pi IoT Project: Temperature Part 2 – Testing Hardware (Raspberry Pi / Python)

Raspberry Pi IoT Project: Temperature Part 1 – Initial Planning (Raspberry Pi)

Time for a new project for my Raspberry Pi 3B, this one has the current aim of regularly taking a rooms temperature and recording the results. However, for this project I will also be looking at the possibility of later expanding it so I am going to look at multiple options. Which Pi ? I … Continue reading Raspberry Pi IoT Project: Temperature Part 1 – Initial Planning (Raspberry Pi)

Programming 102: Think Like A Computer Scientist (Python)

Programming 102: Cert

Today I finished/completed Programming 102: Think Like A Computer Scientist, which is a course created by the Raspberry Pi Foundation and hosted on the FutureLearn platform (details for both below). Programming 102: Think Like A Computer Scientist is an 8hr course split over 4 weeks (2hrs per week), although I found all 4 weeks available … Continue reading Programming 102: Think Like A Computer Scientist (Python)

Programming 102 “Think Like A Computer Scientist” (Python / Raspberry Pi)

A function to find the area of a triangle

In my approach to keep learning I've signed up to Programming 102: Think Like A Computer Scientist" via FutureLearn and the Raspberry Pi Foundation.  The course is available for free (or for a small fee to have a certificate) at: https://www.futurelearn.com/courses/programming-102-think-like-a-computer-scientist/ I'm using this blog post to post my code for the course. The course … Continue reading Programming 102 “Think Like A Computer Scientist” (Python / Raspberry Pi)

Network Boot Pi (Raspberry Pi)

Continuing my current Raspberry Pi themed posts (making a BASH script executable, installing web server in a BASH script) today I will be looking at network booting a Raspberry Pi. For this exercise I'm using Debian Stretch with Raspberry Pi Desktop, available from https://www.raspberrypi.org/downloads/raspberry-pi-desktop/ , running in a virtual machine. Debian Stretch with Raspberry Pi … Continue reading Network Boot Pi (Raspberry Pi)

Installing Web Server and WordPress via a BASH script (Rasbperry Pi)

Imagine this scenario; you have several Raspberry Pi computers and want to install the various packages (Apache, PHP, MySQL, WordPress) needed to make them web servers. This might be because you have a Code Club lesson where you want students to interact more with how web servers work, or if you are rebuilding a Raspberry … Continue reading Installing Web Server and WordPress via a BASH script (Rasbperry Pi)