Uncategorized

Node-RED on the Raspberry Pi Goal: Learn how to work on the Raspberry Pi with the Sense HAT. Tips: Node-RED documentation is here. You need to install npm. Search for “npm install linux”. (Or see below) The browser on the…

In this week, we use Telenor Start IoT’s setup for the LoPy to send data via LoRaWAN into a data collection backend. This is the antenna on the roof of the Electrical Building that connects to your LoPy: Start Tutorial…

This tutorial will guide you through the steps needed to set up an SQL database on your Pi. We will be using MySQL, as it is the most common implementation of the SQL standard. Pre-requirements In the terminal on your…

This tutorial will describe how to create and test a lightweight, object-oriented state machine implementation in Python. Create State Machine First, you need to install transitions and import it to your python project. pip install transitions from transitions import Machine…

This tutorial will describe how to send messages to Slack, using the Slack API with Python. Slack To send slack messages, you need to download Slacker. pip install slacker Then in your python script, you need to import it. from…

This tutorial will describe how to create and serve a simple REST API using Django. Django is a framework for creating web backends using Python. It’s very fast, and if you are familiar with Python it is very easy to…

Creating a simple MQTT client in JavaScript This recipe contains a step-by-step guide to setting up and getting started with a simple MQTT client using HTML, JavaScript and CSS. For extended explanation of concepts and code using a similar code…

The MQTT Protocol Last week we used HTTP to communicate between applications. HTTP was a request-response protocol. This week, we look at MQTT, which is a publish-subscribe protocol. Some useful things to Know About MQTT Read the following articles: 5…

In this recipe we connect the Adafruit PN532 NFC/RFID Shield to a Raspberry Pi and Reactive Blocks via the I2C bus. Physical Connection Connect the NFC shield with the following pins of the Raspberry Pi Connector. (Use a breadboard or…