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)

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 Week 3 Tasks (Python)

Python Bubble Sort

Although it is still officially "week 1" of Programming 102: Think Like A Computer Scientist I'm onto week 3 as I've been enjoying the course and like the little programming tasks/challenges. 3.5 Implementing Bubble Sort Task: "Now you’re going to write a bubble sort program in Python" my_list = [5,9,5,8,1,3] my_2nd_list = [100,99,44,77,1000,3,6,78,93] def bubble_sort(list_to_sort): … Continue reading Programming 102 Week 3 Tasks (Python)