skip to Main Content

RPi Node-Red: Car Kit Assembly

Table of Contents Mounting the Raspberry Pi computer Installing the Battery Mount Mounting the Front Camera Prep and Mount the Motor Controller Connecting the I2C pins (SDA, SCL, VIN, GND) Voltage Regulator IR Laser BME280 Temperature/Humidity Sensor OLED Display Install…

Read more

RPi Node Red: Logging Data to Thingspeak

Goal: Log and view data from a node-red flow to thingspeak graphs Resources: Raspberry pi running node-red, and an internet connection.   Getting Started: https://thingspeak.com/sign_up Step one is setting up a thing-speak account, which is very easy. All you need…

Read more

RPi Node Red: Remotely accessing node-red and VNC

Goal: Connect to your node-red flows and/or to your Raspbian desktop remotely using a web browser or VNC client. Resources: Raspberry pi and another computer on the same network, the other computer could be running Windows, OSX, or a different…

Read more

T3 Lesson 8: Project – Make a Whoopee Cushion:

https://youtu.be/83G9fbKAxC8 INTRODUCTION This lesson is an opportunity for students to have fun converting their understanding of the technology into something in the real world.  A whoopee cushion is a glorified button that can be made out of easily available materials.…

Read more

T3 Lesson 7: Advanced Node-Red and the camera

https://youtu.be/QvoYuJ7N7Ds https://youtu.be/Iq8Bq8i_ySU INTRODUCTION Slides Setting up a camera can be one of the more exciting activities for your students to complete.  It provides immediate feedback that is very gratifying and provides ample opportunity to explore what can be done. APPLICATION…

Read more

RPi: Streaming raspberry shake data to node-red

Goal: Learn how to send seismology data from a raspberry shake into a separate raspberry pi with node-red. And how to use the data once it arrives.   Resources: Raspberry shake, setup following this guide: https://t3alliance.org/rpi-setting-up-a-raspberry-shake/ A separate raspberry pi…

Read more

T3 Lesson 6: Node-Red and programming the GPIO pins

https://www.youtube.com/watch?v=2Ya8wpBbiEc https://www.youtube.com/watch?v=uquO2Uwos-E Note:  This is divided into two section INTRODUCTION Slides This lesson introduces Node-Red and how it can be used to control the GPIO pins on the Raspberry Pi.   The first part of the lesson is seeing how Node-Red…

Read more

T3 Lesson 5: Scratch and Basic Programming

https://www.youtube.com/watch?v=DXJPsHb1fc8 INTRODUCTION This lesson teaches about some basic programming constructs using one of the simplest programming languages.  Many students will have been exposed to it, so if it's not for your crew, skip it. There are enough advanced options that…

Read more

T3 Lesson 15: Air Quality Sensors

https://youtu.be/bZwCk4sa1cc INTRODUCTION Air quality is one of those topics that connects all of us.  It's not difficult to find someone in your community who is sensitive to variations in air quality and is willing to share their story as a…

Read more

Rpi: Time and Timezones

Goal: Understand how to configure time and timezone settings on the raspberryPi. What you will learn: How to set the timezone on boot, or later and make sure time is being updated correctly. What you will need: RaspberryPi and an…

Read more

Rpi Airquality Station: Indepth Assembly

Goal: Assemble an RPi Airquality Station from the parts kit, and turn it on for the first time. What you will learn: Special considerations for connecting sensors to the airquality hat, and how each part in the kit goes together.…

Read more

RPi Airquality Station: setting up the default flow

Goal: Connect to the airquality station's node-red instance, and configure the Grafana node. What you will learn: How to connect to the airquality station's node-red, and detailed info on the Grafana node configuration.   What you will need: An airquality…

Read more

RPi Airquality Station: setup and access

Goal: Connect your airquality kit to the internet to enable online data-logging. Either through WiFi or a wired LAN network. What you will lean: The best method of configuring your airquality kit depending on what hardware is available. Parts List:…

Read more

RPi Node-Red: BME280 Temperature Pressure Humidity

Parts List: Getting Started: Setting up the Hardware Setting up Node-Red 1) Start Node-Red and navigate to 127.0.0.1:1880. If your Raspberry Pi does not have the node-red-contrib-bme280 palette, follow the instructions located here. 2) After installing the BME280 palette, place the Bme280…

Read more

RPi Raspberry Shake: Setting up a raspberry shake NOOBS image

Goal: Create a  raspberry shake SD card used to setup a raspberry-shake for the first time Resources: SD card, SD card reader, Raspberry Shake NOOBS zip: https://gitlab.com/raspberryShake-public/raspShake-SD-img/raw/master/raspishake-release.zip?inline=false Introduction: The raspberry shake is mostly a hands-off piece of hardware, it just…

Read more

RPi Node-Red: Minimal Selfie Station Tutorial

Goal: setup the RPi's software and hardware to create a minimal selfie station. Utilizing node-red, and a few components like the RPi camera and the led ring. What you will learn: Advanced node-red usage, using hardware with node-red, how to…

Read more

RPi-NodeRed OLED IP Address Display

Please copy and paste the entire code block below into the node-red clipboard import window. [{"id":"a1ae5e26.b300a","type":"String","z":"e0e44734.95d078","name":"OLED","display":"4fe1da30.5141a4","x":690,"y":220,"wires":[]},{"id":"60037f1d.3914b","type":"function","z":"e0e44734.95d078","name":"Format Message","func":"msg.payload={\nx:1, \ny:50,\ntext:\"IP \"+msg.payload+\":1880\"\n}\n\nreturn msg;","outputs":1,"noerr":0,"x":520,"y":220,"wires":[["a1ae5e26.b300a"]]},{"id":"8971c892.2fa0f8","type":"change","z":"e0e44734.95d078","name":"IP","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload[0].address","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":350,"y":220,"wires":[["60037f1d.3914b"]]},{"id":"974cfafc.e526d8","type":"inject","z":"e0e44734.95d078","name":"","topic":"","payload":"10","payloadType":"num","repeat":"60","crontab":"","once":true,"onceDelay":0.1,"x":90,"y":220,"wires":[["8c7a8725.02fa58"]]},{"id":"8c7a8725.02fa58","type":"hostip","z":"e0e44734.95d078","name":"Host IP","x":220,"y":220,"wires":[["8971c892.2fa0f8"]]},{"id":"8f95bb29.b800d8","type":"comment","z":"e0e44734.95d078","name":"Display IP address on the mini OLED display","info":"","x":300,"y":180,"wires":[]},{"id":"4fe1da30.5141a4","type":"oled-config","z":"","name":"","width":"128","height":"64","address":"3c"}]

Read more

RPi Node-Red: Buzzer

Parts List: What is a Piezoelectric Buzzer? A piezoelectric buzzer is a buzzer that is activated with an oscillating electric signal.  This means to produce a tone the buzzer must be turned on and off many times per second. The…

Read more

RPi Node-Red: Push Button+ RGB LED or Buzzer

Parts List: Getting Started: Setting up the Hardware Setting up Node-Red Start Node-Red and navigate to 127.0.0.1:1880.  Drag one Raspberry Pi input node and five Raspberry Pi output nodes into the flow area. Double click on the Raspberry Pi input…

Read more

RPi Node-Red: PIR + RGB LED or Buzzer

Parts List: Getting Started: Setting up the Hardware Setting up Node-Red Start Node-Red and navigate to 127.0.0.1:1880.  Drag one Raspberry Pi input node and five Raspberry Pi output nodes into the flow area. Double click on the Raspberry Pi input…

Read more

RPi Node-Red: Push Button

Parts List: What is a Push Button? A push button is a momentarily activated button.  When the button mechanism is fully depressed an internal electrical connection is made and this newly made connection can be read as the activation of…

Read more

RPi Node-Red: automatically running node-red, as root

This tutorial shows you how to have node-red start and run as root instead of a normal user. This is necessary for the RGB Matrix node: node-red-contrib-easybotics-led-matrix Open a terminal and paste in the following lines: sudo systemctl enable nodered.service sudo npm config set unsafe-perm true…

Read more

Selfie station example project

Here is an example of an applied design thinking project done with a class of 17 students at the University of Hawaii Hilo Upward Bound T³ Alliance during the summer of 2018.  Node Red and physical Raspberry Pi setup instructions…

Read more

RPi Node-Red Auto Start

When deploying a Raspberry Pi as a permanent/semi permanent installation is will be useful to have Node-Red start persistently, in the case of power failure, etc. Open a terminal and paste the following command sudo systemctl enable nodered.service Now Node-Red…

Read more

RPi Node-Red: Sonic Sensor (HC-SR04)

Goal: Read distance measurements from the sonic sensor within Node-Red What You Will Learn: Basic Circuit Prototyping Basic Node-Red Programming What You Need to Know: Getting Started with Node-Red In Depth Breadboarding Tutorial Parts List: What is a Sonic Sensor?…

Read more

RPi Scratch 2 + GPIO Introduction

Goal: Using a button control a sprite within Scratch 2 and then to turn an LED on and off. What You Will Learn: Control the GPIO with Scratch 2 Wire a button with a pull down resistor Parts List Breadboard…

Read more

RPi Minecraft Cannon

Goal: Using Minecraft’s API and the Python programming language, spawn a cannon that’s orientation and launch trajectory can be adjusted in real time. What You Will Learn: Introduction to Github What is GitHub? GitHub is an online repository that offers…

Read more

RPi Minecraft + Python Introduction

Goal: Interact with Minecraft using the Python programming language and Minecraft’s application programming interface(API). What You Will Learn: Basic Python Programming Use of the Minecraft API What is an API? To put it simply an API is a well defined…

Read more

RPi Node-Red: Neopixel LED Ring

Goal: Use string injection nodes and a specific LED ring node to control a LED ring What You Will Learn: Basic Node-Red Programming What You Need to Know: RPi Node-Red: LED Tutorial Parts List: Getting Started: Setting up the Hardware…

Read more

RPi Node-Red: Camera

Goal: Install the Raspberry Pi camera and take a picture using Node-Red Parts List: Pi Camera Pi Camera Ribbon Cable Getting Started: First the camera needs to be physically installed and enabled. The installation looks like this, note the orientation…

Read more

(Archive) RPi Node-Red: PIR(motion) Sensor

Goal: Learn how to wire a passive infrared sensor and read it’s state in Node-Red. What You Will Learn: Basic Circuit Prototyping Basic Node-Red Programming What You Need To Know: Getting Started with Node-Red In Depth Breadboarding Tutorial Parts List:…

Read more

(Archive) RPi Node-Red: Push Button

Goal: Learn how to wire a push button and read it's current state in Node-Red What You Will Learn: Basic Circuit Prototyping Basic Node-Red Programming What You Need to Know: Getting Started with Node-Red Optional In Depth Breadboarding Tutorial Parts…

Read more

(Archive) RPi Node-Red: LED

Goal: Turn a light emitting diode(LED) on and off using a button in Node-Red. What You Will Learn:  Basic circuit prototyping Basic Node-Red programming What You Need to Know: Node-Red Basics Optional Getting Started with Node-Red In Depth Breadboarding Tutorial…

Read more

RPi Camera Setup

In this activity we will set up a camera and write a program to control it using Python. This project worksheet from Raspberry Pi will be a valuable resource to keep open during the installation and setup. https://projects.raspberrypi.org/en/projects/getting-started-with-picamera

Read more

RPi GPIO + Scratch 2.0

In this activity we will use Scratch 2.0 to light LED bulbs and sense a button push. Begin by lighting a LED bulb with an always on 3.3 v pin and a resistor. If this isn't working, check your connections…

Read more

RPi Intro to GPIO

On top of the Raspberry Pi are a row of pins that can be given specific tasks to collect or send out data. These are called GPIO (General Purpose Input Output) pins and can be hooked up to a variety…

Read more

RPi Minecraft + Networking

In this activity students will learn about networking on the Raspberry Pi using a popular pre installed game called Minecraft. I use this opportunity to speak about the human networking that happens when a team of individuals work together. Minecraft…

Read more

RPi Scratch Reaction Time

Programing is about giving a computer a set of instructions. Instructions can be given in a text based format or in a visual format. Scratch is a visual programing language that allows a user to easily create interactive stories, games, and animations by dragging specific bits of code to an area and running the program. To get an idea of what Scratch can do, share this overview video.

Scratch can be run in a browser on a regular computer but it is a bit resource intensive to run on a Pi. Two versions come installed on the Raspberry Pi, the classic version labeled Scratch, and an updated version Scratch 2.0.  Scratch 2.0 tends to be a bit less responsive, however it has some very cool features that are explored in a later lesson.

Have students open Scratch (not scratch 2) from the program menu and follow along with the tutorial below.

When students have been able to do some basic functions in a Scratch environment introduce them to this project creating a reaction time game.

Read more

RPi Sense HAT+Minecraft

The Sense HAT was developed by the folks at Raspberry Pi as an add on board that contains a number of sensors and a LED display. In this lesson we can demonstrate how to use the Sense HAT in conjunction…

Read more

4. Github Intro

Github is known as a repository for cool programs that can be used in all sorts of ways on your Pi. In this lesson we will learn how to install programs from Github using the terminal. First lets install a…

Read more

RPi: Terminal + Python Intro

Navigating with the terminal Like on windows or any other computer, files in Linux are arranged in a hierarchical directory structure; meaning starting at root there is a sort of tree of folders containing files and other folders. The terminal…

Read more

1.1 Box Build

If you are setting up the box for the Raspberry Pi Kit, here are the steps you need to follow. Step 1: Glue the bottom of the box together. Use a tiny bit of glue on each tab. Let the…

Read more

1. Getting Started

In this lesson students will learn about the Raspberry Pi computer and the components provided in the kit.  Having a completed kit as an example will be helpful but not necessary.  Begin by showing this short video about a raspberry…

Read more

LCD setup 7″ 1024×600

Screen manufacturer page The config.txt file on your SD card must be modified to include these lines in the HDMI section - this tells your raspberry pi the correct resolution to use. If you are using one of the pre-configured…

Read more

RPi Python: LED Ring Clock WS2812

Prereqs: Have Raspbian Stretch installed, running, and connected to the internet. You should refresh on how to easily edit files and navigate the filesystem using a terminal in these tutorials: Terminal Intro Editing Files Intro Next some configuration, To correctly…

Read more

RPI Python: DHT-11 Temp / Humidity

Prereqs: Readers should be familiar with navigating using the terminal and editing / running python scripts. Tutorials are available here: Terminal Intro Editing Files Tutorial Hardware setup: Carefully observe the ports and connect the positive line to the 5v, negative…

Read more
Back To Top